Przeglądaj źródła

修改政策制度的通知标题

shengyang000 3 lat temu
rodzic
commit
86a2c92192

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

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