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