认证-参数收集-分配填写人和下发收集添加清单id传参
This commit is contained in:
+10
-6
@@ -1025,12 +1025,14 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
@Override
|
@Override
|
||||||
public boolean updateDreBatch(ParamsCollectManifestVO paramsCollectManifestVO) {
|
public boolean updateDreBatch(ParamsCollectManifestVO paramsCollectManifestVO) {
|
||||||
if (StringUtils.isEmpty(paramsCollectManifestVO.getIds())
|
if (StringUtils.isEmpty(paramsCollectManifestVO.getIds())
|
||||||
|| StringUtils.isEmpty(paramsCollectManifestVO.getDre()) || StringUtils.isEmpty(paramsCollectManifestVO.getProjectId())) {
|
|| StringUtils.isEmpty(paramsCollectManifestVO.getDre())
|
||||||
|
|| StringUtils.isEmpty(paramsCollectManifestVO.getProjectId()) || StringUtils.isEmpty(paramsCollectManifestVO.getParamsManifestId())) {
|
||||||
throw new JeroBootException("参数不能为空!");
|
throw new JeroBootException("参数不能为空!");
|
||||||
}
|
}
|
||||||
String paramsCollectManifestIds = paramsCollectManifestVO.getIds();
|
String paramsCollectManifestIds = paramsCollectManifestVO.getIds();
|
||||||
String dre = paramsCollectManifestVO.getDre();
|
String dre = paramsCollectManifestVO.getDre();
|
||||||
String projectId = paramsCollectManifestVO.getProjectId();
|
String projectId = paramsCollectManifestVO.getProjectId();
|
||||||
|
String paramsManifestId = paramsCollectManifestVO.getParamsManifestId();
|
||||||
|
|
||||||
String[] paramsCollectManifestIdStr = paramsCollectManifestIds.split(",");
|
String[] paramsCollectManifestIdStr = paramsCollectManifestIds.split(",");
|
||||||
List<ParamsCollectManifestEO> updateEOList = new ArrayList<>();
|
List<ParamsCollectManifestEO> updateEOList = new ArrayList<>();
|
||||||
@@ -1052,8 +1054,8 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
SysUser sysUser = sysUserService.getUserByName(dre);
|
SysUser sysUser = sysUserService.getUserByName(dre);
|
||||||
String[] thirdIds = new String[1];
|
String[] thirdIds = new String[1];
|
||||||
thirdIds[0] = sysUser.getThirdId();
|
thirdIds[0] = sysUser.getThirdId();
|
||||||
String hrefFeishu = backUrl + "/ParameterItemCollection?id=" + projectId; // TODO 后续可能有变动
|
String hrefFeishu = backUrl + "/ParameterItemCollection?id=" + paramsManifestId + "&projectId=" + projectId;
|
||||||
String href = "<a href='/ParameterItemCollection?id=" + projectId + "'" + " target='_blank'>the link</a>,";
|
String href = "<a href='/ParameterItemCollection?id=" + paramsManifestId + "&projectId=" + projectId + "'" + " target='_blank'>the link</a>,";
|
||||||
String content = connectBuilder.substring(0, connectBuilder.toString().length()-1) + " and other parameter items, please enter the link to handle it.";
|
String content = connectBuilder.substring(0, connectBuilder.toString().length()-1) + " and other parameter items, please enter the link to handle it.";
|
||||||
String contentInfo = connectBuilder.substring(0, connectBuilder.toString().length()-1) + " please enter " + href + " to handle it.";
|
String contentInfo = connectBuilder.substring(0, connectBuilder.toString().length()-1) + " please enter " + href + " to handle it.";
|
||||||
// 发送系统消息
|
// 发送系统消息
|
||||||
@@ -1080,11 +1082,13 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean issueCollection(ParamsCollectManifestVO paramsCollectManifestVO) {
|
public boolean issueCollection(ParamsCollectManifestVO paramsCollectManifestVO) {
|
||||||
if (StringUtils.isEmpty(paramsCollectManifestVO.getIds()) || StringUtils.isEmpty(paramsCollectManifestVO.getProjectId())) {
|
if (StringUtils.isEmpty(paramsCollectManifestVO.getIds())
|
||||||
|
|| StringUtils.isEmpty(paramsCollectManifestVO.getProjectId()) || StringUtils.isEmpty(paramsCollectManifestVO.getParamsManifestId())) {
|
||||||
throw new JeroBootException("参数不能为空!");
|
throw new JeroBootException("参数不能为空!");
|
||||||
}
|
}
|
||||||
String paramsCollectManifestIds = paramsCollectManifestVO.getIds();
|
String paramsCollectManifestIds = paramsCollectManifestVO.getIds();
|
||||||
String projectId = paramsCollectManifestVO.getProjectId();
|
String projectId = paramsCollectManifestVO.getProjectId();
|
||||||
|
String paramsManifestId = paramsCollectManifestVO.getParamsManifestId();
|
||||||
|
|
||||||
String[] paramsCollectManifestIdStr = paramsCollectManifestIds.split(",");
|
String[] paramsCollectManifestIdStr = paramsCollectManifestIds.split(",");
|
||||||
List<ParamsCollectManifestEO> updateEOList = new ArrayList<>();
|
List<ParamsCollectManifestEO> updateEOList = new ArrayList<>();
|
||||||
@@ -1117,8 +1121,8 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
SysUser sysUser = sysUserService.getUserByName(sdt);
|
SysUser sysUser = sysUserService.getUserByName(sdt);
|
||||||
String[] thirdIds = new String[1];
|
String[] thirdIds = new String[1];
|
||||||
thirdIds[0] = sysUser.getThirdId();
|
thirdIds[0] = sysUser.getThirdId();
|
||||||
String hrefFeishu = backUrl + "/ParameterItemCollection?id=" + projectId; // TODO 后续可能有变动
|
String hrefFeishu = backUrl + "/ParameterItemCollection?id=" + paramsManifestId + "&projectId=" + projectId;
|
||||||
String href = "<a href='/ParameterItemCollection?id=" + projectId + "'" + " target='_blank'>the link</a>,";
|
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 contentInfo = connectBuilder.substring(0, connectBuilder.toString().length()-1) + " and other parameter items, please enter " + href + " and fill in the relevant information.";
|
||||||
|
|
||||||
// 发送系统消息
|
// 发送系统消息
|
||||||
|
|||||||
Reference in New Issue
Block a user