Commit 1ce07760 by jianshuqin

修复啫啫煲总经办审核通过后异常

parent e882065c
......@@ -85,7 +85,7 @@ public class GeneralManagerCheckState extends CostState {
//目前限定铭哥能审核或者主体是啫啫煲鹏哥能审核
if (currentUserId == 681 || ("啫啫煲".equals(costDomain.getCompanyName()) && currentUserId == 720)) {
//大于等于5需要铭哥审批
if (costDomain.getAmountRmb().compareTo(new BigDecimal("5000")) >= 0) {
if (costDomain.getAmountRmb().compareTo(new BigDecimal("5000")) >= 0 || ("啫啫煲".equals(costDomain.getCompanyName()) && costDomain.getAmountRmb().compareTo(new BigDecimal("1000")) >= 0)) {
costDomain.setCostStatus(CostDomain.STATUS_FINANCIAL_CHECK);
costDomain.setLastModifyDate(LocalDateTime.now());
costDao.updateById(costDomain);
......
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