add:添加海外标准中英文名称可查,添加标准发布后培训文件自动上传到宣贯记录处

This commit is contained in:
wxyclub
2023-08-30 10:05:27 +08:00
parent 8e0237888c
commit 7860a92fad
3 changed files with 31 additions and 0 deletions
@@ -1915,6 +1915,15 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
getAttrMap.put("FBGBUSS", obj);
}
}
if (StringUtils.isNotBlank((String) getAttrMap.get("XGJLBUSS"))) {
String[] xgjlBussList = getAttrMap.get("XGJLBUSS").toString().split(",");
StringBuilder xgjlBussName = new StringBuilder();
for (String xgjlBuss : xgjlBussList) {
AttFileEO fileInfo = attFileEOService.getFileInfo(xgjlBuss);
xgjlBussName.append(fileInfo.getOldFileName());
}
getAttrMap.put("xgjlBussName",xgjlBussName.toString());
}
}
if (InitStandAttrUtil.clobFieldListBuss != null && !InitStandAttrUtil.clobFieldListBuss.isEmpty()) {
// 遍历修改所有clob类型的值
@@ -1004,6 +1004,7 @@
<!-- 标准名称 -->
<if test="page.standName != null and page.standName != ''">
and stand_name like concat(concat('%',#{page.standName}),'%')
or stand_en_name like concat(concat('%',#{page.standName},'%'))
<!-- or STAND_NUMBER like concat(concat('%',#{page.standName}),'%') -->
<!-- or STAND_YEAR like concat(concat('%',#{page.standName}),'%') -->
<!-- or STAND_SORT like concat(concat('%',#{page.standName}),'%') -->
@@ -1196,6 +1197,7 @@
<!-- 标准名称 -->
<if test="page.standName != null and page.standName != ''">
and stand_name like concat(concat('%',#{page.standName}),'%')
or stand_en_name like concat(concat('%',#{page.standName}),'%')
<!-- or STAND_NUMBER like concat(concat('%',#{page.standName}),'%') -->
<!-- or STAND_YEAR like concat(concat('%',#{page.standName}),'%') -->
<!-- or STAND_SORT like concat(concat('%',#{page.standName}),'%') -->