|
@@ -169,6 +169,8 @@ public class SysDeptSubServiceImpl extends ServiceImpl<SysDeptSubMapper, SysDept
|
|
|
updateDeptSub.setSubjectLocation(sysDeptSub.getSubjectLocation());
|
|
|
updateDeptSub.setSubjectInvoiceCategory(sysDeptSub.getSubjectInvoiceCategory());
|
|
|
updateDeptSub.setLimitAmount(sysDeptSub.getLimitAmount());
|
|
|
+ updateDeptSub.setCertLimit(sysDeptSub.getCertLimit());
|
|
|
+ updateDeptSub.setSettleLimit(sysDeptSub.getSettleLimit());
|
|
|
updateDeptSub.setEnableFlag(SubjectTypeEnum.ENABLE_FLAG_TRUE.getCode());
|
|
|
updateDeptSub.setUpdateTime(LocalDateTime.now());
|
|
|
sysDeptSubMapper.updateById(updateDeptSub);
|
|
@@ -181,6 +183,8 @@ public class SysDeptSubServiceImpl extends ServiceImpl<SysDeptSubMapper, SysDept
|
|
|
insertDeptSub.setSubjectLocation(sysDeptSub.getSubjectLocation());
|
|
|
insertDeptSub.setSubjectInvoiceCategory(sysDeptSub.getSubjectInvoiceCategory());
|
|
|
insertDeptSub.setLimitAmount(sysDeptSub.getLimitAmount());
|
|
|
+ insertDeptSub.setCertLimit(sysDeptSub.getCertLimit());
|
|
|
+ insertDeptSub.setSettleLimit(sysDeptSub.getSettleLimit());
|
|
|
insertDeptSub.setEnableFlag(SubjectTypeEnum.ENABLE_FLAG_TRUE.getCode());
|
|
|
sysDeptSubMapper.insert(insertDeptSub);
|
|
|
}
|