|
@ -201,12 +201,12 @@ public class EasOutInBillServiceImpl extends ServiceImpl<EasOutInBillMapper, Eas |
|
|
bill.setId(IdUtil.getStringId()); |
|
|
bill.setId(IdUtil.getStringId()); |
|
|
bill.setCode(IdUtil.getStringId()); |
|
|
bill.setCode(IdUtil.getStringId()); |
|
|
bill.setTjkwbm(bill.getKwbm()); |
|
|
bill.setTjkwbm(bill.getKwbm()); |
|
|
bill.setSysl(bill.getSl()); |
|
|
|
|
|
bill.setCzsl(BigDecimal.ZERO); |
|
|
bill.setCzsl(BigDecimal.ZERO); |
|
|
bill.setKcsl(BigDecimal.ZERO); |
|
|
bill.setKcsl(BigDecimal.ZERO); |
|
|
if (bill.getSl().compareTo(BigDecimal.ZERO) < 0) { |
|
|
if (bill.getSl().compareTo(BigDecimal.ZERO) < 0) { |
|
|
bill.setSl(bill.getSl().abs()); |
|
|
bill.setSl(bill.getSl().abs()); |
|
|
} |
|
|
} |
|
|
|
|
|
bill.setSysl(bill.getSl()); |
|
|
if (bill.getDjly() == null) { |
|
|
if (bill.getDjly() == null) { |
|
|
bill.setDjly("1"); |
|
|
bill.setDjly("1"); |
|
|
} else { |
|
|
} else { |
|
|