法规月报--添加默认状态

This commit is contained in:
zhn
2022-06-29 13:47:04 +08:00
parent 7f5d22fc14
commit f946814b7b
@@ -33,6 +33,7 @@ public class LawsMonthlyReportManageEOServiceImpl extends ServiceImpl<LawsMonthl
*/
@Override
public void add(LawsMonthlyReportManageEO lawsMonthlyReportManageEO) {
lawsMonthlyReportManageEO.setIssueStatus(InventoryStateEnum.TO_BE_RELEASED.getValue());
Date now = new Date();
lawsMonthlyReportManageEO.setCreateTime(now);
lawsMonthlyReportManageEO.setUpdateTime(now);