|
@@ -262,7 +262,7 @@ public class MouldServiceImpl extends ServiceImpl<MouldMapper, Mould> implements
|
|
newsNotice.setNoticeType(Constant.MAINTAIN_TYPE);
|
|
newsNotice.setNoticeType(Constant.MAINTAIN_TYPE);
|
|
newsNotice.setProjectId(project.getId());
|
|
newsNotice.setProjectId(project.getId());
|
|
newsNotice.setProjectName(project.getProjectName());
|
|
newsNotice.setProjectName(project.getProjectName());
|
|
- newsNotice.setRefId(mould.getId());
|
|
|
|
|
|
+// newsNotice.setRefId(mould.getId());
|
|
newsNotice.setContent(Constant.MAIN_TAIN_NOTICE);
|
|
newsNotice.setContent(Constant.MAIN_TAIN_NOTICE);
|
|
newsNoticeMapper.insert(newsNotice);
|
|
newsNoticeMapper.insert(newsNotice);
|
|
for (User u : users) {
|
|
for (User u : users) {
|
|
@@ -307,7 +307,7 @@ public class MouldServiceImpl extends ServiceImpl<MouldMapper, Mould> implements
|
|
newsNotice.setNoticeType(Constant.MAINTAIN_TYPE);
|
|
newsNotice.setNoticeType(Constant.MAINTAIN_TYPE);
|
|
newsNotice.setProjectId(project.getId());
|
|
newsNotice.setProjectId(project.getId());
|
|
newsNotice.setProjectName(project.getProjectName());
|
|
newsNotice.setProjectName(project.getProjectName());
|
|
- newsNotice.setRefId(mould.getId());
|
|
|
|
|
|
+// newsNotice.setRefId(mould.getId());
|
|
newsNotice.setContent(Constant.SCRAP_NOTICE);
|
|
newsNotice.setContent(Constant.SCRAP_NOTICE);
|
|
newsNoticeMapper.insert(newsNotice);
|
|
newsNoticeMapper.insert(newsNotice);
|
|
for (User u : users) {
|
|
for (User u : users) {
|
|
@@ -458,7 +458,7 @@ public class MouldServiceImpl extends ServiceImpl<MouldMapper, Mould> implements
|
|
NewsNotice newsNotice = new NewsNotice();
|
|
NewsNotice newsNotice = new NewsNotice();
|
|
newsNotice.setNoticeType(Constant.EMERGENCY_TYPE);
|
|
newsNotice.setNoticeType(Constant.EMERGENCY_TYPE);
|
|
newsNotice.setProjectName(project.getProjectName());
|
|
newsNotice.setProjectName(project.getProjectName());
|
|
- newsNotice.setRefId(mould.getId());
|
|
|
|
|
|
+// newsNotice.setRefId(mould.getId());
|
|
newsNotice.setContent(mou.getModelNo()+"-"+Constant.EMERGENCY_NOTICE);
|
|
newsNotice.setContent(mou.getModelNo()+"-"+Constant.EMERGENCY_NOTICE);
|
|
newsNoticeMapper.insert(newsNotice);
|
|
newsNoticeMapper.insert(newsNotice);
|
|
//通知该模具所属资产方的管理员
|
|
//通知该模具所属资产方的管理员
|