fix: 81668
This commit is contained in:
+16
@@ -133,6 +133,10 @@ public class ESQueryCommonDTO {
|
|||||||
@ApiModelProperty(value = "复审计划-复审结果")
|
@ApiModelProperty(value = "复审计划-复审结果")
|
||||||
private String recheckResult;
|
private String recheckResult;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "复审计划-复审结果")
|
||||||
|
@JSONField(serialize = false)
|
||||||
|
private List<String> recheckResultList;
|
||||||
|
|
||||||
public void transIdsToList() {
|
public void transIdsToList() {
|
||||||
if (StrUtil.isBlank(this.selections)) {
|
if (StrUtil.isBlank(this.selections)) {
|
||||||
return;
|
return;
|
||||||
@@ -144,4 +148,16 @@ public class ESQueryCommonDTO {
|
|||||||
this.selections = selections;
|
this.selections = selections;
|
||||||
this.transIdsToList();
|
this.transIdsToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setRecheckResult(String recheckResult) {
|
||||||
|
this.recheckResult = recheckResult;
|
||||||
|
this.transIdsToList();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void transResultsToList() {
|
||||||
|
if (StrUtil.isBlank(this.recheckResult)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.recheckResultList = StrUtil.split(this.recheckResult, StrUtil.COMMA);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+6
-2
@@ -26,6 +26,7 @@
|
|||||||
<select id="page" resultType="com.jero.modules.laws.enterprise.entity.vo.EnterpriseStandardRecheckPlanVo">
|
<select id="page" resultType="com.jero.modules.laws.enterprise.entity.vo.EnterpriseStandardRecheckPlanVo">
|
||||||
SELECT
|
SELECT
|
||||||
p.id,
|
p.id,
|
||||||
|
p.create_time,
|
||||||
s.id AS standardId,
|
s.id AS standardId,
|
||||||
s.standard_number AS standardNo,
|
s.standard_number AS standardNo,
|
||||||
s.standard_name AS standardName,
|
s.standard_name AS standardName,
|
||||||
@@ -72,8 +73,11 @@
|
|||||||
AND s.main_drafting_unit = #{param.mainDraftingUnit}
|
AND s.main_drafting_unit = #{param.mainDraftingUnit}
|
||||||
</if>
|
</if>
|
||||||
<!--复审结果-->
|
<!--复审结果-->
|
||||||
<if test="param.recheckResult != null and param.recheckResult != ''">
|
<if test="param.recheckResultList != null and param.recheckResultList.size() > 0">
|
||||||
AND p.recheck_result IN #{param.recheckResult}
|
AND p.recheck_result IN
|
||||||
|
<foreach item="item" index="index" collection="param.recheckResultList" open="(" separator="," close=")">
|
||||||
|
#{item}
|
||||||
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
GROUP BY
|
GROUP BY
|
||||||
s.standard_number, p.create_time
|
s.standard_number, p.create_time
|
||||||
|
|||||||
Reference in New Issue
Block a user