Commit f4723e02 by rongkailun

【修改】政策法规新增默认数据审核状态

parent 03b52d18
...@@ -45,6 +45,7 @@ public class PolicyServiceImpl extends ServiceImpl<PolicyDao, PolicyEntity> impl ...@@ -45,6 +45,7 @@ public class PolicyServiceImpl extends ServiceImpl<PolicyDao, PolicyEntity> impl
policy.setLasteditor(user.getUsername()); policy.setLasteditor(user.getUsername());
policy.setReleasedate(new Date()); policy.setReleasedate(new Date());
policy.setUpdatedate(new Date()); policy.setUpdatedate(new Date());
policy.setStatus("0");
//二级栏目不为空时 classid取值二级栏目id值 //二级栏目不为空时 classid取值二级栏目id值
int insert = baseMapper.insert(policy); int insert = baseMapper.insert(policy);
if (insert>0){ if (insert>0){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment