Commit 65c6285e authored by 李灿灿's avatar 李灿灿

fix:投保办理购买标准区间搜索bug修复

parent 1764219b
......@@ -85,11 +85,11 @@ public class InsuranceExportListParam extends BaseEntity implements Serializable
* 购买标准开始
*/
@Schema(description = "购买标准开始")
private String buyStandardMin;
private Integer buyStandardMin;
/**
* 购买标准结束
*/
@Schema(description = "购买标准结束")
private String buyStandardMax;
private Integer buyStandardMax;
}
......@@ -98,12 +98,12 @@ public class InsuranceListParam extends BaseEntity {
* 购买标准开始
*/
@Schema(description = "购买标准开始")
private String buyStandardMin;
private Integer buyStandardMin;
/**
* 购买标准结束
*/
@Schema(description = "购买标准结束")
private String buyStandardMax;
private Integer buyStandardMax;
}
......@@ -278,10 +278,10 @@
<if test="param.authSql != null and param.authSql.trim() != ''">
${param.authSql}
</if>
<if test="param.buyStandardMin != null and param.buyStandardMin.trim() != ''">
AND a.BUY_STANDARD <![CDATA[ >= ]]> #{param.buyStandardMin}
<if test="param.buyStandardMin != null">
AND a.BUY_STANDARD <![CDATA[ >= ]]> #{param.buyStandardMin}
</if>
<if test="param.buyStandardMax != null and param.buyStandardMax.trim() != ''">
<if test="param.buyStandardMax != null">
AND a.BUY_STANDARD <![CDATA[ <= ]]> #{param.buyStandardMax}
</if>
ORDER BY a.BUY_HANDLE_STATUS,a.CREATE_TIME DESC
......@@ -427,10 +427,10 @@
<if test="param.authSql != null and param.authSql.trim() != ''">
${param.authSql}
</if>
<if test="param.buyStandardMin != null and param.buyStandardMin.trim() != ''">
AND a.BUY_STANDARD <![CDATA[ >= ]]> #{param.buyStandardMin}
<if test="param.buyStandardMin != null">
AND a.BUY_STANDARD <![CDATA[ >= ]]> #{param.buyStandardMin}
</if>
<if test="param.buyStandardMax != null and param.buyStandardMax.trim() != ''">
<if test="param.buyStandardMax != null">
AND a.BUY_STANDARD <![CDATA[ <= ]]> #{param.buyStandardMax}
</if>
ORDER BY a.CREATE_TIME DESC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment