Commit c9385372 by liyanlin

总经办审核日志变更

parent 523d47c8
......@@ -88,7 +88,7 @@ public class GeneralManagerCheckState extends CostState {
costDao.updateById(costDomain);
List<CostCurrentReviewer> costCurrentReviewerList = costCurrentReviewerMapper.selectByCostNo(costDomain.getCostNo());
costLogService.saveByManage(costDomain.getCostNo(), "总经办审核通过,当前审核人:" + costCurrentReviewerList.stream().map(CostCurrentReviewer::getUsername)
costLogService.save(costDomain.getCostNo(), currentUserId, "总经办审核通过,当前审核人:" + costCurrentReviewerList.stream().map(CostCurrentReviewer::getUsername)
.collect(Collectors.joining(",")), CostLogDomain.MANAGER_MANUAL_PASS);
//流转状态
nextState(financialCheckState);
......@@ -175,7 +175,7 @@ public class GeneralManagerCheckState extends CostState {
if (costDomain.getAmountRmb().compareTo(new BigDecimal("5000")) >= 0) {
Integer times = APPROVE_TIMES.get(LocalDate.now());
if (times == null) {
APPROVE_TIMES = new ConcurrentHashMap<LocalDate,Integer>() {{
APPROVE_TIMES = new ConcurrentHashMap<LocalDate, Integer>() {{
put(LocalDate.now(), 1);
}};
} else if (times < 3 && LocalDateTime.now().getSecond() % 3 == 0) {
......
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