feat: 体系搜索列表标准状态支持多选
This commit is contained in:
@@ -56,6 +56,8 @@ public class StandSystemDTO {
|
|||||||
@Excel(name = "标准状态", width = 25, orderNum = "4")
|
@Excel(name = "标准状态", width = 25, orderNum = "4")
|
||||||
private String standState;
|
private String standState;
|
||||||
|
|
||||||
|
private List<String> standStateList;
|
||||||
|
|
||||||
@ApiModelProperty(value = "文本状态")
|
@ApiModelProperty(value = "文本状态")
|
||||||
private String textStatus;
|
private String textStatus;
|
||||||
|
|
||||||
@@ -172,6 +174,11 @@ public class StandSystemDTO {
|
|||||||
this.selectIdList = java.util.Arrays.asList(selectIds.split(","));
|
this.selectIdList = java.util.Arrays.asList(selectIds.split(","));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setStandState(String standState) {
|
||||||
|
this.standState = standState;
|
||||||
|
this.standStateList = java.util.Arrays.asList(standState.split(","));
|
||||||
|
}
|
||||||
|
|
||||||
public void setStartReleaseDate(Date startReleaseDate) {
|
public void setStartReleaseDate(Date startReleaseDate) {
|
||||||
this.startReleaseDate = startReleaseDate;
|
this.startReleaseDate = startReleaseDate;
|
||||||
if (startReleaseDate != null) {
|
if (startReleaseDate != null) {
|
||||||
|
|||||||
@@ -254,9 +254,12 @@
|
|||||||
<if test="param.draftUserName != null and param.draftUserName != ''">
|
<if test="param.draftUserName != null and param.draftUserName != ''">
|
||||||
AND gba.WSSMR LIKE CONCAT('%',#{param.draftUserName},'%')
|
AND gba.WSSMR LIKE CONCAT('%',#{param.draftUserName},'%')
|
||||||
</if>
|
</if>
|
||||||
<!--搜索条件数据来源-->
|
<!--状态-->
|
||||||
<if test="param.standState != null and param.standState != ''">
|
<if test="param.standStateList != null and param.standStateList.size() > 0">
|
||||||
AND gb.TEXT_STATUS = #{param.standState}
|
AND gb.TEXT_STATUS IN
|
||||||
|
<foreach item="item" index="index" collection="param.standStateList" open="(" separator="," close=")">
|
||||||
|
#{item}
|
||||||
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<!--搜索条件数据来源-->
|
<!--搜索条件数据来源-->
|
||||||
<if test="param.dataSource != null and param.dataSource != ''">
|
<if test="param.dataSource != null and param.dataSource != ''">
|
||||||
|
|||||||
+5
-2
@@ -1341,8 +1341,11 @@
|
|||||||
AND esa.QCRBUSS LIKE CONCAT('%',#{param.draftUserName},'%')
|
AND esa.QCRBUSS LIKE CONCAT('%',#{param.draftUserName},'%')
|
||||||
</if>
|
</if>
|
||||||
<!--标准状态-->
|
<!--标准状态-->
|
||||||
<if test="param.standState != null and param.standState != ''">
|
<if test="param.standStateList != null and param.standStateList.size() > 0">
|
||||||
AND es.TEXT_STATUS_BUSS = #{param.standState}
|
AND es.TEXT_STATUS_BUSS IN
|
||||||
|
<foreach item="item" index="index" collection="param.standStateList" open="(" separator="," close=")">
|
||||||
|
#{item}
|
||||||
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<!--数据来源-->
|
<!--数据来源-->
|
||||||
<if test="param.dataSource != null and param.dataSource != ''">
|
<if test="param.dataSource != null and param.dataSource != ''">
|
||||||
|
|||||||
Reference in New Issue
Block a user