|
@@ -1684,7 +1684,7 @@ handlingProportion,
|
|
|
BigDecimal settleNotMentAmount = BigDecimal.ZERO;
|
|
BigDecimal settleNotMentAmount = BigDecimal.ZERO;
|
|
|
for (InsPlyIncomeVo item : multipleSelection){
|
|
for (InsPlyIncomeVo item : multipleSelection){
|
|
|
SettlementDocumentaryFeesEntity settlementDocumentaryFeesVo = new SettlementDocumentaryFeesEntity();
|
|
SettlementDocumentaryFeesEntity settlementDocumentaryFeesVo = new SettlementDocumentaryFeesEntity();
|
|
|
- if(item.getInvoicCommissionFeevalue() ==null || item .getSettlementAmount().compareTo(BigDecimal.ZERO) <0){
|
|
|
|
|
|
|
+ if(item.getInvoicCommissionFeevalue() ==null || item .getInvoicCommissionFeevalue().compareTo(BigDecimal.ZERO) <=0){
|
|
|
throw new SystemException("请输入正确金额");
|
|
throw new SystemException("请输入正确金额");
|
|
|
}
|
|
}
|
|
|
String id = item.getId();
|
|
String id = item.getId();
|
|
@@ -1915,6 +1915,9 @@ handlingProportion,
|
|
|
@Override
|
|
@Override
|
|
|
@Transactional
|
|
@Transactional
|
|
|
public HttpResult<Object> batchBxBalance(InsPlyIncomeVo insPlyIncomeVo) {
|
|
public HttpResult<Object> batchBxBalance(InsPlyIncomeVo insPlyIncomeVo) {
|
|
|
|
|
+ if( insPlyIncomeVo.getSettlementAmount() ==null || insPlyIncomeVo.getSettlementAmount().compareTo(BigDecimal.ZERO) <=0){
|
|
|
|
|
+ throw new SystemException("金额未填写");
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
// 表内总金额
|
|
// 表内总金额
|
|
|
SettlementDocumentaryFeesEntity byIdSettlementDocumentaryFeesEntity =
|
|
SettlementDocumentaryFeesEntity byIdSettlementDocumentaryFeesEntity =
|