feat: 被打包的项目的税额和未税金额变为0
This commit is contained in:
+12
@@ -208,6 +208,8 @@ public class PayPackCompanyProjectServiceImpl extends ServiceImpl<PayPackCompany
|
||||
throw new JeroBootException("项目不存在");
|
||||
}
|
||||
payCommonProject.setReceivableAmount(new BigDecimal(0));
|
||||
payCommonProject.setNoTaxAmount(new BigDecimal(0));
|
||||
payCommonProject.setTax(new BigDecimal(0));
|
||||
payCommonProjectMapper.updateById(payCommonProject);
|
||||
break;
|
||||
// 工作组项目
|
||||
@@ -217,6 +219,8 @@ public class PayPackCompanyProjectServiceImpl extends ServiceImpl<PayPackCompany
|
||||
throw new JeroBootException("项目不存在");
|
||||
}
|
||||
payWorking.setReceivableAmount(new BigDecimal(0));
|
||||
payWorking.setNoTaxAmount(new BigDecimal(0));
|
||||
payWorking.setTax(new BigDecimal(0));
|
||||
payWorkingGroupSubItemMapper.updateById(payWorking);
|
||||
break;
|
||||
//会议项目
|
||||
@@ -226,6 +230,8 @@ public class PayPackCompanyProjectServiceImpl extends ServiceImpl<PayPackCompany
|
||||
throw new JeroBootException("项目不存在");
|
||||
}
|
||||
meeting.setAmountReceivable(new BigDecimal(0));
|
||||
meeting.setNoTaxAmount(new BigDecimal(0));
|
||||
meeting.setTax(new BigDecimal(0));
|
||||
payMeetingSituationMapper.updateById(meeting);
|
||||
break;
|
||||
//会员项目
|
||||
@@ -235,6 +241,8 @@ public class PayPackCompanyProjectServiceImpl extends ServiceImpl<PayPackCompany
|
||||
throw new JeroBootException("项目不存在");
|
||||
}
|
||||
member.setAmountReceivable(new BigDecimal(0));
|
||||
member.setNoTaxAmount(new BigDecimal(0));
|
||||
member.setTax(new BigDecimal(0));
|
||||
payMemberProjectSubitemMapper.updateById(member);
|
||||
break;
|
||||
//标协会员
|
||||
@@ -244,6 +252,8 @@ public class PayPackCompanyProjectServiceImpl extends ServiceImpl<PayPackCompany
|
||||
throw new JeroBootException("项目不存在");
|
||||
}
|
||||
tbMember.setAmountReceivable(new BigDecimal(0));
|
||||
tbMember.setNoTaxAmount(new BigDecimal(0));
|
||||
tbMember.setTax(new BigDecimal(0));
|
||||
tbMemberProjectSubitemMapper.updateById(tbMember);
|
||||
break;
|
||||
//标协证书
|
||||
@@ -254,6 +264,8 @@ public class PayPackCompanyProjectServiceImpl extends ServiceImpl<PayPackCompany
|
||||
}
|
||||
// 获取待确收金额
|
||||
tbMemberCertificate.setAmountReceivable(new BigDecimal(0));
|
||||
tbMemberCertificate.setNoTaxAmount(new BigDecimal(0));
|
||||
tbMemberCertificate.setTax(new BigDecimal(0));
|
||||
certificatePaymentMapper.updateById(tbMemberCertificate);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user