Commit 89f38d59 by huluobin

# update

parent fda760ad
...@@ -87,7 +87,7 @@ public class DepartmentCheckState extends CostState { ...@@ -87,7 +87,7 @@ public class DepartmentCheckState extends CostState {
List<CostCurrentReviewer> costCurrentReviewerList = costCurrentReviewerMapper.selectByCostNo(costDomain.getCostNo()); List<CostCurrentReviewer> costCurrentReviewerList = costCurrentReviewerMapper.selectByCostNo(costDomain.getCostNo());
costLogService.saveByManage(costDomain.getCostNo(), "部门审核自动通过,当前审核人:" + costCurrentReviewerList.stream().map(CostCurrentReviewer::getUsername) costLogService.saveByManage(costDomain.getCostNo(), "部门审核自动通过,当前审核人:" + costCurrentReviewerList.stream().map(CostCurrentReviewer::getUsername)
.collect(Collectors.joining()), CostLogDomain.DEPARTMENT_AUTO_PASS); .collect(Collectors.joining(",")), CostLogDomain.DEPARTMENT_AUTO_PASS);
//流转状态 //流转状态
nextState(hrCheckState); nextState(hrCheckState);
...@@ -105,7 +105,7 @@ public class DepartmentCheckState extends CostState { ...@@ -105,7 +105,7 @@ public class DepartmentCheckState extends CostState {
costDao.updateById(costDomain); costDao.updateById(costDomain);
List<CostCurrentReviewer> costCurrentReviewerList = costCurrentReviewerMapper.selectByCostNo(costDomain.getCostNo()); List<CostCurrentReviewer> costCurrentReviewerList = costCurrentReviewerMapper.selectByCostNo(costDomain.getCostNo());
costLogService.saveByManage(costDomain.getCostNo(), "部门审核自动通过,当前审核人:" + costCurrentReviewerList.stream().map(CostCurrentReviewer::getUsername) costLogService.saveByManage(costDomain.getCostNo(), "部门审核自动通过,当前审核人:" + costCurrentReviewerList.stream().map(CostCurrentReviewer::getUsername)
.collect(Collectors.joining()), CostLogDomain.DEPARTMENT_AUTO_PASS); .collect(Collectors.joining(",")), CostLogDomain.DEPARTMENT_AUTO_PASS);
//流转状态 //流转状态
nextState(hrCheckState); nextState(hrCheckState);
......
...@@ -47,7 +47,7 @@ public class FinalCheckState extends CostState { ...@@ -47,7 +47,7 @@ public class FinalCheckState extends CostState {
List<CostCurrentReviewer> costCurrentReviewerList = costCurrentReviewerMapper.selectByCostNo(costDomain.getCostNo()); List<CostCurrentReviewer> costCurrentReviewerList = costCurrentReviewerMapper.selectByCostNo(costDomain.getCostNo());
costLogService.saveByManage(costDomain.getCostNo(), "最终审核自动通过,当前审核人:" + costCurrentReviewerList.stream().map(CostCurrentReviewer::getUsername) costLogService.saveByManage(costDomain.getCostNo(), "最终审核自动通过,当前审核人:" + costCurrentReviewerList.stream().map(CostCurrentReviewer::getUsername)
.collect(Collectors.joining()), CostLogDomain.DEPARTMENT_AUTO_PASS); .collect(Collectors.joining(",")), CostLogDomain.DEPARTMENT_AUTO_PASS);
//流转状态 //流转状态
nextState(unPayState); nextState(unPayState);
//通知财务系统 //通知财务系统
......
...@@ -64,7 +64,7 @@ public class FinancialCheckState extends CostState { ...@@ -64,7 +64,7 @@ public class FinancialCheckState extends CostState {
List<CostCurrentReviewer> costCurrentReviewerList = costCurrentReviewerMapper.selectByCostNo(costDomain.getCostNo()); List<CostCurrentReviewer> costCurrentReviewerList = costCurrentReviewerMapper.selectByCostNo(costDomain.getCostNo());
costLogService.saveByManage(costDomain.getCostNo(), "财务自动审核通过,当前审核人:" + costCurrentReviewerList.stream().map(CostCurrentReviewer::getUsername) costLogService.saveByManage(costDomain.getCostNo(), "财务自动审核通过,当前审核人:" + costCurrentReviewerList.stream().map(CostCurrentReviewer::getUsername)
.collect(Collectors.joining()), CostLogDomain.DEPARTMENT_AUTO_PASS); .collect(Collectors.joining(",")), CostLogDomain.DEPARTMENT_AUTO_PASS);
//流转状态 //流转状态
nextState(finalCheckState); nextState(finalCheckState);
//发布到总线尝试下个环节的自动审核 //发布到总线尝试下个环节的自动审核
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment