修改bug#46982

This commit is contained in:
liangqitao
2022-01-07 10:33:09 +08:00
parent df6de51727
commit 1bd7cec218
2 changed files with 2 additions and 1 deletions
@@ -148,7 +148,7 @@ public class PayCommonProjectServiceImpl extends ServiceImpl<PayCommonProjectMap
paySendContactsMessageDTO.setUserId(payCommonProject.getPrincipalId());
paySendContactsMessageDTO.setFlag(ProjectCommon.FLAG0);
// 项目的应收金额>0 发送缴费通知
if(payCommonProject.getReceivableAmount().compareTo(new BigDecimal("0")) > 0){
if(!Objects.isNull(payCommonProject.getReceivableAmount()) && payCommonProject.getReceivableAmount().compareTo(new BigDecimal("0")) > 0){
paySendContactsMessageDTO.setFlag(ProjectCommon.FLAG0 + "," + ProjectCommon.FLAG1);
}
JSONObject json = new JSONObject();