Commit 93ec9752 authored by hongguangwu's avatar hongguangwu

MVP1.7.17-5改为2000条

parent 7ff6d228
...@@ -53,6 +53,10 @@ public class TInsuranceAlertSearchVo extends TInsuranceAlert { ...@@ -53,6 +53,10 @@ public class TInsuranceAlertSearchVo extends TInsuranceAlert {
@Schema(description = "状态多个") @Schema(description = "状态多个")
@TableField(exist = false) @TableField(exist = false)
private String[] processStatusArray; private String[] processStatusArray;
@Schema(description = "状态多个查询")
@TableField(exist = false)
private String[] processStatusArraySearch;
/** /**
* @Author fxj * @Author fxj
* 导出选择的ID * 导出选择的ID
......
...@@ -273,6 +273,14 @@ ...@@ -273,6 +273,14 @@
AND DATE_FORMAT(now(),'%Y-%m-%d') >= DATE_FORMAT(b.expected_collection_time,'%Y-%m-%d') AND DATE_FORMAT(now(),'%Y-%m-%d') >= DATE_FORMAT(b.expected_collection_time,'%Y-%m-%d')
</if> </if>
</if> </if>
<if test="tInsuranceAlert.processStatusArraySearch != null and tInsuranceAlert.processStatusArraySearch.length > 0">
AND b.PROCESS_STATUS in
<foreach item="statusStr" index="index" collection="tInsuranceAlert.processStatusArraySearch" open="("
separator="," close=")">
#{statusStr}
</foreach>
</if>
<if test="tInsuranceAlert.processStatusArray != null and tInsuranceAlert.processStatusArray.length > 0"> <if test="tInsuranceAlert.processStatusArray != null and tInsuranceAlert.processStatusArray.length > 0">
AND b.PROCESS_STATUS in AND b.PROCESS_STATUS in
<foreach item="statusStr" index="index" collection="tInsuranceAlert.processStatusArray" open="(" <foreach item="statusStr" index="index" collection="tInsuranceAlert.processStatusArray" open="("
...@@ -350,6 +358,13 @@ ...@@ -350,6 +358,13 @@
AND DATE_FORMAT(now(),'%Y-%m-%d') >= DATE_FORMAT(b.expected_collection_time,'%Y-%m-%d') AND DATE_FORMAT(now(),'%Y-%m-%d') >= DATE_FORMAT(b.expected_collection_time,'%Y-%m-%d')
</if> </if>
</if> </if>
<if test="tInsuranceAlert.processStatusArraySearch != null and tInsuranceAlert.processStatusArraySearch.length > 0">
AND b.PROCESS_STATUS in
<foreach item="statusStr" index="index" collection="tInsuranceAlert.processStatusArraySearch" open="("
separator="," close=")">
#{statusStr}
</foreach>
</if>
<if test="tInsuranceAlert.processStatusArray != null and tInsuranceAlert.processStatusArray.length > 0"> <if test="tInsuranceAlert.processStatusArray != null and tInsuranceAlert.processStatusArray.length > 0">
AND b.PROCESS_STATUS in AND b.PROCESS_STATUS in
<foreach item="statusStr" index="index" collection="tInsuranceAlert.processStatusArray" open="(" <foreach item="statusStr" index="index" collection="tInsuranceAlert.processStatusArray" open="("
...@@ -360,7 +375,7 @@ ...@@ -360,7 +375,7 @@
</if> </if>
</where> </where>
order by a.POLICY_END asc,a.id asc order by a.POLICY_END asc,a.id asc
limit 5 limit 2000
</select> </select>
<!-- 导出 --> <!-- 导出 -->
...@@ -378,6 +393,14 @@ ...@@ -378,6 +393,14 @@
AND DATE_FORMAT(now(),'%Y-%m-%d') >= DATE_FORMAT(b.expected_collection_time,'%Y-%m-%d') AND DATE_FORMAT(now(),'%Y-%m-%d') >= DATE_FORMAT(b.expected_collection_time,'%Y-%m-%d')
</if> </if>
</if> </if>
<if test="tInsuranceAlert.processStatusArraySearch != null and tInsuranceAlert.processStatusArraySearch.length > 0">
AND b.PROCESS_STATUS in
<foreach item="statusStr" index="index" collection="tInsuranceAlert.processStatusArraySearch" open="("
separator="," close=")">
#{statusStr}
</foreach>
</if>
<if test="tInsuranceAlert.processStatusArray != null and tInsuranceAlert.processStatusArray.length > 0"> <if test="tInsuranceAlert.processStatusArray != null and tInsuranceAlert.processStatusArray.length > 0">
AND b.PROCESS_STATUS in AND b.PROCESS_STATUS in
<foreach item="statusStr" index="index" collection="tInsuranceAlert.processStatusArray" open="(" <foreach item="statusStr" index="index" collection="tInsuranceAlert.processStatusArray" open="("
...@@ -410,6 +433,14 @@ ...@@ -410,6 +433,14 @@
AND DATE_FORMAT(now(),'%Y-%m-%d') >= DATE_FORMAT(b.expected_collection_time,'%Y-%m-%d') AND DATE_FORMAT(now(),'%Y-%m-%d') >= DATE_FORMAT(b.expected_collection_time,'%Y-%m-%d')
</if> </if>
</if> </if>
<if test="tInsuranceAlert.processStatusArraySearch != null and tInsuranceAlert.processStatusArraySearch.length > 0">
AND b.PROCESS_STATUS in
<foreach item="statusStr" index="index" collection="tInsuranceAlert.processStatusArraySearch" open="("
separator="," close=")">
#{statusStr}
</foreach>
</if>
<if test="tInsuranceAlert.processStatusArray != null and tInsuranceAlert.processStatusArray.length > 0"> <if test="tInsuranceAlert.processStatusArray != null and tInsuranceAlert.processStatusArray.length > 0">
AND b.PROCESS_STATUS in AND b.PROCESS_STATUS in
<foreach item="statusStr" index="index" collection="tInsuranceAlert.processStatusArray" open="(" <foreach item="statusStr" index="index" collection="tInsuranceAlert.processStatusArray" open="("
......
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