Browse Source

修改政策制度的通知标题

shengyang000 3 years ago
parent
commit
86a2c92192

+ 4 - 1
src/main/java/com/unissoft/service/impl/SysPolicySystemServiceImpl.java

@@ -43,6 +43,8 @@ import java.util.Map;
43
 @Service
43
 @Service
44
 public class SysPolicySystemServiceImpl extends ServiceImpl<SysPolicySystemMapper, SysPolicySystem> implements SysPolicySystemService {
44
 public class SysPolicySystemServiceImpl extends ServiceImpl<SysPolicySystemMapper, SysPolicySystem> implements SysPolicySystemService {
45
 
45
 
46
+    private static final String STR_ZCZD = "政策制度";
47
+
46
     @Autowired
48
     @Autowired
47
     private SysPolicySystemMapper policySystemMapper;
49
     private SysPolicySystemMapper policySystemMapper;
48
 
50
 
@@ -215,7 +217,8 @@ public class SysPolicySystemServiceImpl extends ServiceImpl<SysPolicySystemMappe
215
             SysNoticeVO noticeVO = new SysNoticeVO();
217
             SysNoticeVO noticeVO = new SysNoticeVO();
216
             noticeVO.setNoticeType(50);//通知类型:10系统、20待办、30审批通过、40审批不通过、50警告
218
             noticeVO.setNoticeType(50);//通知类型:10系统、20待办、30审批通过、40审批不通过、50警告
217
             noticeVO.setNoticeTime(new Date());
219
             noticeVO.setNoticeTime(new Date());
218
-            noticeVO.setTitle(model.getTitle());
220
+//            noticeVO.setTitle(model.getTitle());
221
+            noticeVO.setTitle(STR_ZCZD);
219
             noticeVO.setContent(model.getTitle());
222
             noticeVO.setContent(model.getTitle());
220
             noticeVO.setOrgName(userPO.getDepotName());
223
             noticeVO.setOrgName(userPO.getDepotName());
221
 
224