|
|
@@ -225,6 +225,12 @@ public class BillsServiceImpl extends ServiceImpl<BillsMapper, Bills> implements
|
|
|
throw new RuntimeException(year + "年" + month + "月账期已锁定,保存失败");
|
|
|
}
|
|
|
}
|
|
|
+ } else {
|
|
|
+ if ("SE".equals(bills.getBusinessType())) {
|
|
|
+ bills.setBillDate(bills.getActualEtd());
|
|
|
+ } else if ("SI".equals(bills.getBusinessType())) {
|
|
|
+ bills.setBillDate(bills.getActualEta());
|
|
|
+ }
|
|
|
}
|
|
|
if (ObjectUtils.isNotNull(bills.getCorpId())) {
|
|
|
BCorps bCorps = corpsMapper.selectById(bills.getCorpId());
|