修改认证清单发消息问题
This commit is contained in:
+3
-1
@@ -73,7 +73,7 @@ public class PrehomoJob implements Job {
|
||||
@Override
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
log.info("prehomo流程,定时任务开启 =====================================================");
|
||||
|
||||
/*
|
||||
//查询出已经启动了prehomo流程的数据。 并且流程没有结束。
|
||||
QueryWrapper<ProjectTaskInventoryEO> queryProjectTaskInventoryWrapper = new QueryWrapper<>();
|
||||
queryProjectTaskInventoryWrapper.isNotNull("prehomo_p_id");
|
||||
@@ -367,5 +367,7 @@ public class PrehomoJob implements Job {
|
||||
}
|
||||
}
|
||||
log.info("prehomo流程,定时任务结束 =====================================================");
|
||||
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
+13
-13
@@ -543,19 +543,19 @@ public class ProjectTaskInventoryDetailEOServiceImpl extends ServiceImpl<Project
|
||||
if(CollectionUtils.isNotEmpty(sysUsers)){
|
||||
thirdIdList = sysUsers.stream().map(SysUser::getThirdId).collect(Collectors.toList());
|
||||
}
|
||||
try {
|
||||
FeishuMsg2Vo feishuMsgVo = new FeishuMsg2Vo();
|
||||
feishuMsgVo.setTitle(msgTitle);
|
||||
feishuMsgVo.setCnContentUpper(cnContentUpper);
|
||||
feishuMsgVo.setCnContentLower(cnContentLower);
|
||||
feishuMsgVo.setEnContentUpper(enContentUpper);
|
||||
feishuMsgVo.setEnContentLower(enContentLower);
|
||||
feishuMsgVo.setUrl(hrefFeishu);
|
||||
feishuMsgVo.setColor(MsgColorEnum.GREEN.getValue()); // 颜色
|
||||
feishuService.sendCard(thirdIdList.toArray(new String[thirdIdList.size()]), feishuMsgVo);
|
||||
} catch (IOException e) {
|
||||
log.error("飞书消息推送失败");
|
||||
}
|
||||
// try {
|
||||
// FeishuMsg2Vo feishuMsgVo = new FeishuMsg2Vo();
|
||||
// feishuMsgVo.setTitle(msgTitle);
|
||||
// feishuMsgVo.setCnContentUpper(cnContentUpper);
|
||||
// feishuMsgVo.setCnContentLower(cnContentLower);
|
||||
// feishuMsgVo.setEnContentUpper(enContentUpper);
|
||||
// feishuMsgVo.setEnContentLower(enContentLower);
|
||||
// feishuMsgVo.setUrl(hrefFeishu);
|
||||
// feishuMsgVo.setColor(MsgColorEnum.GREEN.getValue()); // 颜色
|
||||
//// feishuService.sendCard(thirdIdList.toArray(new String[thirdIdList.size()]), feishuMsgVo);
|
||||
// } catch (IOException e) {
|
||||
// log.error("飞书消息推送失败");
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+27
-27
@@ -800,22 +800,22 @@ public class ProjectTaskInventoryEOServiceImpl extends ServiceImpl<ProjectTaskIn
|
||||
if(CollectionUtils.isNotEmpty(sysUsers)){
|
||||
thirdIdList = sysUsers.stream().map(SysUser::getThirdId).collect(Collectors.toList());
|
||||
}
|
||||
try {
|
||||
FeishuMsg2Vo feishuMsgVo = new FeishuMsg2Vo();
|
||||
feishuMsgVo.setTitle(msgTitle);
|
||||
feishuMsgVo.setCnContentUpper(cnContentUpper);
|
||||
feishuMsgVo.setCnContentLower(cnContentLower);
|
||||
feishuMsgVo.setEnContentUpper(enContentUpper);
|
||||
feishuMsgVo.setEnContentLower(enContentLower);
|
||||
feishuMsgVo.setUrl(hrefFeishu);
|
||||
feishuMsgVo.setColor(MsgColorEnum.GREEN.getValue()); // 颜色
|
||||
feishuService.sendCard(thirdIdList.toArray(new String[thirdIdList.size()]), feishuMsgVo);
|
||||
} catch (IOException e) {
|
||||
log.error("飞书消息推送失败");
|
||||
}
|
||||
//
|
||||
//系统内部跳转链接
|
||||
//String href = "<a href='"
|
||||
// + JumpLinkEnum.INVENTORY_AFFIRM_LINK.getLink() + projectLibraryBase.getId() + JumpLinkEnum.DESIGN_AFFIRM_LINK.getType()
|
||||
// + JumpLinkEnum.INVENTORtry {
|
||||
//// FeishuMsg2Vo feishuMsgVo = new FeishuMsg2Vo();
|
||||
//// feishuMsgVo.setTitle(msgTitle);
|
||||
//// feishuMsgVo.setCnContentUpper(cnContentUpper);
|
||||
//// feishuMsgVo.setCnContentLower(cnContentLower);
|
||||
//// feishuMsgVo.setEnContentUpper(enContentUpper);
|
||||
//// feishuMsgVo.setEnContentLower(enContentLower);
|
||||
//// feishuMsgVo.setUrl(hrefFeishu);
|
||||
//// feishuMsgVo.setColor(MsgColorEnum.GREEN.getValue()); // 颜色
|
||||
////// feishuService.sendCard(thirdIdList.toArray(new String[thirdIdList.size()]), feishuMsgVo);
|
||||
//// } catch (IOException e) {
|
||||
//// log.error("飞书消息推送失败");
|
||||
//// }Y_AFFIRM_LINK.getLink() + projectLibraryBase.getId() + JumpLinkEnum.DESIGN_AFFIRM_LINK.getType()
|
||||
// + "&projectName=" + projectNameInfoEO.getProjectName() + "-"
|
||||
// + projectYearNameInfoEO.getYearName()
|
||||
// + "&targetMarket=" + projectLibraryBase.getTargetMarket()
|
||||
@@ -1510,19 +1510,19 @@ public class ProjectTaskInventoryEOServiceImpl extends ServiceImpl<ProjectTaskIn
|
||||
if(CollectionUtils.isNotEmpty(sysUsers)){
|
||||
thirdIdList = sysUsers.stream().map(SysUser::getThirdId).collect(Collectors.toList());
|
||||
}
|
||||
try {
|
||||
FeishuMsg2Vo feishuMsgVo = new FeishuMsg2Vo();
|
||||
feishuMsgVo.setTitle(msgTitle);
|
||||
feishuMsgVo.setCnContentUpper(cnContentUpper);
|
||||
feishuMsgVo.setCnContentLower(cnContentLower);
|
||||
feishuMsgVo.setEnContentUpper(enContentUpper);
|
||||
feishuMsgVo.setEnContentLower(enContentLower);
|
||||
feishuMsgVo.setUrl(hrefFeishu);
|
||||
feishuMsgVo.setColor(MsgColorEnum.GREEN.getValue()); // 颜色
|
||||
feishuService.sendCard(thirdIdList.toArray(new String[thirdIdList.size()]), feishuMsgVo);
|
||||
} catch (IOException e) {
|
||||
log.error("飞书消息推送失败");
|
||||
}
|
||||
// try {
|
||||
// FeishuMsg2Vo feishuMsgVo = new FeishuMsg2Vo();
|
||||
// feishuMsgVo.setTitle(msgTitle);
|
||||
// feishuMsgVo.setCnContentUpper(cnContentUpper);
|
||||
// feishuMsgVo.setCnContentLower(cnContentLower);
|
||||
// feishuMsgVo.setEnContentUpper(enContentUpper);
|
||||
// feishuMsgVo.setEnContentLower(enContentLower);
|
||||
// feishuMsgVo.setUrl(hrefFeishu);
|
||||
// feishuMsgVo.setColor(MsgColorEnum.GREEN.getValue()); // 颜色
|
||||
//// feishuService.sendCard(thirdIdList.toArray(new String[thirdIdList.size()]), feishuMsgVo);
|
||||
// } catch (IOException e) {
|
||||
// log.error("飞书消息推送失败");
|
||||
// }
|
||||
//系统内部跳转链接
|
||||
//String href = "<a href='"
|
||||
// + JumpLinkEnum.DESIGN_AFFIRM_LINK.getLink() + projectLibraryBase.getId() + JumpLinkEnum.DESIGN_AFFIRM_LINK.getType()
|
||||
|
||||
+26
-26
@@ -290,19 +290,19 @@ public class ProjectTaskInventoryFeedbackEOServiceImpl extends ServiceImpl<Proje
|
||||
if(CollectionUtils.isNotEmpty(sysUsers)){
|
||||
thirdIdList = sysUsers.stream().map(SysUser::getThirdId).collect(Collectors.toList());
|
||||
}
|
||||
try {
|
||||
FeishuMsg2Vo feishuMsgVo = new FeishuMsg2Vo();
|
||||
feishuMsgVo.setTitle(msgTitle);
|
||||
feishuMsgVo.setCnContentUpper(cnContentUpper);
|
||||
feishuMsgVo.setCnContentLower(cnContentLower);
|
||||
feishuMsgVo.setEnContentUpper(enContentUpper);
|
||||
feishuMsgVo.setEnContentLower(enContentLower);
|
||||
feishuMsgVo.setUrl(hrefFeishu);
|
||||
feishuMsgVo.setColor(MsgColorEnum.GREEN.getValue()); // 颜色
|
||||
feishuService.sendCard(thirdIdList.toArray(new String[thirdIdList.size()]), feishuMsgVo);
|
||||
} catch (IOException e) {
|
||||
log.error("飞书消息推送失败");
|
||||
}
|
||||
// try {
|
||||
// FeishuMsg2Vo feishuMsgVo = new FeishuMsg2Vo();
|
||||
// feishuMsgVo.setTitle(msgTitle);
|
||||
// feishuMsgVo.setCnContentUpper(cnContentUpper);
|
||||
// feishuMsgVo.setCnContentLower(cnContentLower);
|
||||
// feishuMsgVo.setEnContentUpper(enContentUpper);
|
||||
// feishuMsgVo.setEnContentLower(enContentLower);
|
||||
// feishuMsgVo.setUrl(hrefFeishu);
|
||||
// feishuMsgVo.setColor(MsgColorEnum.GREEN.getValue()); // 颜色
|
||||
//// feishuService.sendCard(thirdIdList.toArray(new String[thirdIdList.size()]), feishuMsgVo);
|
||||
// } catch (IOException e) {
|
||||
// log.error("飞书消息推送失败");
|
||||
// }
|
||||
//系统内部跳转链接
|
||||
//String href = "<a href='"
|
||||
// + JumpLinkEnum.PREHOMO_AFFIRM_LINK.getLink() + projectLibraryBaseInfo.getId() + JumpLinkEnum.PREHOMO_AFFIRM_LINK.getType()
|
||||
@@ -610,19 +610,19 @@ public class ProjectTaskInventoryFeedbackEOServiceImpl extends ServiceImpl<Proje
|
||||
if(CollectionUtils.isNotEmpty(sysUsers)){
|
||||
thirdIdList = sysUsers.stream().map(SysUser::getThirdId).collect(Collectors.toList());
|
||||
}
|
||||
try {
|
||||
FeishuMsg2Vo feishuMsgVo = new FeishuMsg2Vo();
|
||||
feishuMsgVo.setTitle(msgTitle);
|
||||
feishuMsgVo.setCnContentUpper(cnContentUpper);
|
||||
feishuMsgVo.setCnContentLower(cnContentLower);
|
||||
feishuMsgVo.setEnContentUpper(enContentUpper);
|
||||
feishuMsgVo.setEnContentLower(enContentLower);
|
||||
feishuMsgVo.setUrl(hrefFeishu);
|
||||
feishuMsgVo.setColor(MsgColorEnum.GREEN.getValue()); // 颜色
|
||||
feishuService.sendCard(thirdIdList.toArray(new String[thirdIdList.size()]), feishuMsgVo);
|
||||
} catch (IOException e) {
|
||||
log.error("飞书消息推送失败");
|
||||
}
|
||||
// try {
|
||||
// FeishuMsg2Vo feishuMsgVo = new FeishuMsg2Vo();
|
||||
// feishuMsgVo.setTitle(msgTitle);
|
||||
// feishuMsgVo.setCnContentUpper(cnContentUpper);
|
||||
// feishuMsgVo.setCnContentLower(cnContentLower);
|
||||
// feishuMsgVo.setEnContentUpper(enContentUpper);
|
||||
// feishuMsgVo.setEnContentLower(enContentLower);
|
||||
// feishuMsgVo.setUrl(hrefFeishu);
|
||||
// feishuMsgVo.setColor(MsgColorEnum.GREEN.getValue()); // 颜色
|
||||
//// feishuService.sendCard(thirdIdList.toArray(new String[thirdIdList.size()]), feishuMsgVo);
|
||||
// } catch (IOException e) {
|
||||
// log.error("飞书消息推送失败");
|
||||
// }
|
||||
//系统内部跳转链接
|
||||
//String href = "<a href='"
|
||||
// + JumpLinkEnum.PREHOMO_AFFIRM_LINK.getLink() + projectLibraryBaseInfo.getId() + JumpLinkEnum.PREHOMO_AFFIRM_LINK.getType()
|
||||
|
||||
Reference in New Issue
Block a user