fix: 78639
体系搜索--弹窗中缺少体系结构查询字段
This commit is contained in:
@@ -30,6 +30,12 @@ public class StandSystemDTO {
|
|||||||
@ApiModelProperty(value = "体系结构")
|
@ApiModelProperty(value = "体系结构")
|
||||||
private String standSystem;
|
private String standSystem;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "体系结构ID(树状结构选取)")
|
||||||
|
private String standSystemId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "体系结构IDList(树状结构选取)")
|
||||||
|
private List<String> standSystemIdList;
|
||||||
|
|
||||||
@ApiModelProperty(value = "标准Id")
|
@ApiModelProperty(value = "标准Id")
|
||||||
private String standId;
|
private String standId;
|
||||||
|
|
||||||
@@ -156,4 +162,11 @@ public class StandSystemDTO {
|
|||||||
this.endReleaseDateString = sdf.format(endReleaseDate);
|
this.endReleaseDateString = sdf.format(endReleaseDate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setStandSystemIdList(String standSystemId) {
|
||||||
|
this.standSystemId = standSystemId;
|
||||||
|
if (standSystemId != null) {
|
||||||
|
this.standSystemIdList = java.util.Arrays.asList(standSystemId.split(","));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -220,14 +220,19 @@
|
|||||||
<if test="param.standName != null and param.standName != ''">
|
<if test="param.standName != null and param.standName != ''">
|
||||||
AND gb.STAND_NAME LIKE CONCAT('%',#{param.standName},'%')
|
AND gb.STAND_NAME LIKE CONCAT('%',#{param.standName},'%')
|
||||||
</if>
|
</if>
|
||||||
<!--发布时间-->
|
<!-- 发布时间 -->
|
||||||
<if test="param.startReleaseDateString != null and param.startReleaseDateString != '' and
|
<if test="param.startReleaseDateString != null and param.startReleaseDateString != ''">
|
||||||
param.endReleaseDateString != null and param.endReleaseDateString != ''">
|
AND gb.ISSUE_TIME >= #{param.startReleaseDateString}
|
||||||
AND gb.ISSUE_TIME BETWEEN #{param.startReleaseDateString} AND #{param.endReleaseDateString}
|
|
||||||
</if>
|
</if>
|
||||||
<!--实施日期-->
|
<if test="param.endReleaseDateString != null and param.endReleaseDateString != ''">
|
||||||
<if test="param.startImplementDate != null and param.endImplementDate != null">
|
AND gb.ISSUE_TIME <= CONCAT(#{param.endReleaseDateString}, ' 23:59:59')
|
||||||
AND gb.PUT_TIME BETWEEN #{param.startImplementDate} AND #{param.endImplementDate}
|
</if>
|
||||||
|
<!-- 实施日期 -->
|
||||||
|
<if test="param.startImplementDate != null">
|
||||||
|
AND gb.PUT_TIME >= #{param.startImplementDate}
|
||||||
|
</if>
|
||||||
|
<if test="param.endImplementDate != null">
|
||||||
|
AND gb.PUT_TIME <= CONCAT(#{param.endImplementDate}, ' 23:59:59')
|
||||||
</if>
|
</if>
|
||||||
<!--代替标准-->
|
<!--代替标准-->
|
||||||
<if test="param.replaceStandardNo != null and param.replaceStandardNo != ''">
|
<if test="param.replaceStandardNo != null and param.replaceStandardNo != ''">
|
||||||
@@ -249,6 +254,13 @@
|
|||||||
<if test="dataSource != null and dataSource != ''">
|
<if test="dataSource != null and dataSource != ''">
|
||||||
AND gb.STAND_TYPE = #{dataSource}
|
AND gb.STAND_TYPE = #{dataSource}
|
||||||
</if>
|
</if>
|
||||||
|
<!--体系结构树搜索-->
|
||||||
|
<if test="param.standSystemIdList != null and param.standSystemIdList.size() > 0">
|
||||||
|
AND gb.ID IN
|
||||||
|
<foreach item="item" index="index" collection="param.standSystemIdList" open="(" separator="," close=")">
|
||||||
|
#{item}
|
||||||
|
</foreach>
|
||||||
|
</if>
|
||||||
<if test="param.selectIdList != null and param.selectIdList.size() > 0">
|
<if test="param.selectIdList != null and param.selectIdList.size() > 0">
|
||||||
AND gb.ID IN
|
AND gb.ID IN
|
||||||
<foreach item="item" index="index" collection="param.selectIdList" open="(" separator="," close=")">
|
<foreach item="item" index="index" collection="param.selectIdList" open="(" separator="," close=")">
|
||||||
|
|||||||
+18
-5
@@ -1328,12 +1328,18 @@
|
|||||||
AND es.STAND_NAME LIKE CONCAT('%',#{param.standName},'%')
|
AND es.STAND_NAME LIKE CONCAT('%',#{param.standName},'%')
|
||||||
</if>
|
</if>
|
||||||
<!--发布时间-->
|
<!--发布时间-->
|
||||||
<if test="param.startReleaseDate != null and param.endReleaseDate != null">
|
<if test="param.startReleaseDate != null">
|
||||||
AND es.ISSUE_TIME BETWEEN #{param.startReleaseDate} AND #{param.endReleaseDate}
|
AND es.ISSUE_TIME >= #{param.startImplementDate}
|
||||||
</if>
|
</if>
|
||||||
<!--实施日期-->
|
<if test="param.endReleaseDate != null">
|
||||||
<if test="param.startImplementDate != null and param.endImplementDate != null">
|
AND es.ISSUE_TIME <= CONCAT(#{param.endReleaseDate}, ' 23:59:59')
|
||||||
AND es.PUT_TIME BETWEEN #{param.startImplementDate} AND #{param.endImplementDate}
|
</if>
|
||||||
|
<!-- 实施日期 -->
|
||||||
|
<if test="param.startImplementDate != null">
|
||||||
|
AND es.PUT_TIME >= #{param.startImplementDate}
|
||||||
|
</if>
|
||||||
|
<if test="param.endImplementDate != null">
|
||||||
|
AND es.PUT_TIME <= CONCAT(#{param.endImplementDate}, ' 23:59:59')
|
||||||
</if>
|
</if>
|
||||||
<!--代替标准-->
|
<!--代替标准-->
|
||||||
<if test="param.replaceStandardNo != null and param.replaceStandardNo != ''">
|
<if test="param.replaceStandardNo != null and param.replaceStandardNo != ''">
|
||||||
@@ -1351,6 +1357,13 @@
|
|||||||
<if test="param.dataSource != null and param.dataSource != ''">
|
<if test="param.dataSource != null and param.dataSource != ''">
|
||||||
AND 'ENTERPRISE' = #{param.dataSource}
|
AND 'ENTERPRISE' = #{param.dataSource}
|
||||||
</if>
|
</if>
|
||||||
|
<!--体系结构树搜索-->
|
||||||
|
<if test="param.standSystemIdList != null and param.standSystemIdList.size() > 0">
|
||||||
|
AND es.ID IN
|
||||||
|
<foreach item="item" index="index" collection="param.standSystemIdList" open="(" separator="," close=")">
|
||||||
|
#{item}
|
||||||
|
</foreach>
|
||||||
|
</if>
|
||||||
<if test="param.selectIdList != null and param.selectIdList.size() > 0">
|
<if test="param.selectIdList != null and param.selectIdList.size() > 0">
|
||||||
AND es.ID IN
|
AND es.ID IN
|
||||||
<foreach item="item" index="index" collection="param.selectIdList" open="(" separator="," close=")">
|
<foreach item="item" index="index" collection="param.selectIdList" open="(" separator="," close=")">
|
||||||
|
|||||||
Reference in New Issue
Block a user