Commit 2bdbc199 authored by tangfang's avatar tangfang

修改审核bug

parent 82403819
......@@ -146,7 +146,9 @@ public class CompanyOtherMoneyServiceImpl implements CompanyOtherMoenyService {
}
updateReq.setOtherMoney(otherMoney);
System.err.println("处理分销商余额:" + JsonHelper.serialize(updateReq));
companyOtherMoneyDao.updateMoney(updateReq);
if(updateReq.getOtherMoney() >0 || updateReq.getOtherMoney() <0 ){
companyOtherMoneyDao.updateMoney(updateReq);
}
CompanyOtherMoneyVo companyOtherMoneyReqVo = new CompanyOtherMoneyVo();
companyOtherMoneyReqVo.setCompanyId(req.getCompanyId());
......@@ -165,7 +167,10 @@ public class CompanyOtherMoneyServiceImpl implements CompanyOtherMoenyService {
superUpdateReq.setMerchantId(req.getMerchantId());
superUpdateReq.setOtherMoney(superOther);
System.err.println("处理代理商余额:" + JsonHelper.serialize(superUpdateReq));
companyOtherMoneyDao.updateMoney(superUpdateReq);
if(updateReq.getOtherMoney() >0 || updateReq.getOtherMoney() <0 ){
companyOtherMoneyDao.updateMoney(superUpdateReq);
}
}
}
}
......
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