消息补充标题
This commit is contained in:
+5
-2
@@ -1202,7 +1202,7 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
||||
String[] paramsCollectManifestIdStr = paramsCollectManifestIds.split(",");
|
||||
List<ParamsCollectManifestEO> updateEOList = new ArrayList<>();
|
||||
StringBuilder connectBuilder = new StringBuilder();
|
||||
connectBuilder.append("You are required to fll in ");
|
||||
connectBuilder.append("You are required to fill in ");
|
||||
for (int i=0; i<paramsCollectManifestIdStr.length; i++) {
|
||||
ParamsCollectManifestEO paramsCollectManifestEO = getById(paramsCollectManifestIdStr[i]);
|
||||
if (i < 3) {
|
||||
@@ -1282,7 +1282,7 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
||||
for(String sdt : sdtList) {
|
||||
|
||||
StringBuilder connectBuilder = new StringBuilder();
|
||||
connectBuilder.append("You are required to fll in ");
|
||||
connectBuilder.append("You are required to fill in ");
|
||||
for (int i=0; i<paramsCollectManifestEOList.size(); i++) {
|
||||
ParamsCollectManifestEO paramsCollectManifestEO = paramsCollectManifestEOList.get(i);
|
||||
if (sdt.equals(paramsCollectManifestEO.getSdt()) && i<3) {
|
||||
@@ -1297,7 +1297,9 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
||||
String hrefFeishu = backUrl + "/ParameterItemCollection?id=" + paramsManifestId + "&projectId=" + projectId;
|
||||
String href = "<a href='/ParameterItemCollection?id=" + paramsManifestId + "&projectId=" + projectId + "'" + " target='_blank'>the link</a>,";
|
||||
String contentInfo = connectBuilder.substring(0, connectBuilder.toString().length()-1) + " and other parameter items, please enter " + href + " and fill in the relevant information.";
|
||||
String msgTitle = "You have a homo parameter task to complete";
|
||||
|
||||
// TODO 为什么不用SendMessageUtils工具类呢?
|
||||
// 发送系统消息
|
||||
SysAnnouncement sysAnnouncement = new SysAnnouncement();
|
||||
sysAnnouncement.setDelFlag("0");
|
||||
@@ -1305,6 +1307,7 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
||||
sysAnnouncement.setSendTime(new Date());
|
||||
sysAnnouncement.setMsgCategory(MessageTypeEnum.HOMO_TASK.getValue());//消息类型
|
||||
sysAnnouncement.setMsgType(CommonConstant.MSG_TYPE_UESR);//指定用户
|
||||
sysAnnouncement.setTitile(msgTitle);
|
||||
sysAnnouncement.setMsgContent(content);
|
||||
sysAnnouncement.setMsgContentInfo(contentInfo);
|
||||
sysAnnouncement.setUserIds(sysUser.getId());
|
||||
|
||||
Reference in New Issue
Block a user