md
This commit is contained in:
parent
ec5945d0f7
commit
faacb77b12
@ -185,10 +185,14 @@ public class EmisSettleInvoiceRecordServiceImpl extends EmisBaseService implemen
|
||||
EmisSettleBill newBill = new EmisSettleBill();
|
||||
newBill.setId(oldBill.getId());
|
||||
|
||||
if(oldBill.getRecMoney().compareTo(totalMoney)>0) {
|
||||
newBill.setOpenBillStatus("2");
|
||||
}else{
|
||||
newBill.setOpenBillStatus("1");
|
||||
if(BigDecimal.ZERO.compareTo(totalMoney)==0){
|
||||
newBill.setOpenBillStatus("0");
|
||||
}else {
|
||||
if (oldBill.getRecMoney().compareTo(totalMoney) > 0) {
|
||||
newBill.setOpenBillStatus("2");
|
||||
} else {
|
||||
newBill.setOpenBillStatus("1");
|
||||
}
|
||||
}
|
||||
|
||||
// 更新账单开票状态
|
||||
|
||||
Loading…
Reference in New Issue
Block a user