修改bug#40330

This commit is contained in:
梁琦涛
2021-10-25 12:07:18 +08:00
parent c4793c5063
commit 91ef458342
2 changed files with 83 additions and 0 deletions
@@ -86,6 +86,12 @@ public class ProjectDetailServiceImpl implements ProjectDetailService {
if(Objects.isNull(payCommonProject)){
throw new JeroBootException("项目不存在!");
}
if(Objects.isNull(payCommonProject.getPaidAmount())){
payCommonProject.setPaidAmount(new BigDecimal("0.00"));
}
if(Objects.isNull(payCommonProject.getReceivableAmount())){
payCommonProject.setReceivableAmount(new BigDecimal("0.00"));
}
// 工作组项目资料
if(Objects.equals(String.valueOf(payCommonProject.getProjectType()), ProjectCommon.PROJECT_TYPE2)){
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();