列表SQL添加网格(grid_id)搜索条件
This commit is contained in:
parent
b85deea268
commit
83891cec12
@ -193,6 +193,9 @@
|
||||
<if test="areaCodeLike != null and areaCodeLike != ''">
|
||||
AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%')
|
||||
</if>
|
||||
<if test="gridId != null and gridId != ''">
|
||||
AND t1.grid_id = #{gridId}
|
||||
</if>
|
||||
ORDER BY t1.gmt_create DESC
|
||||
</select>
|
||||
|
||||
|
@ -187,6 +187,9 @@
|
||||
<if test="areaCodeLike != null and areaCodeLike != ''">
|
||||
AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%')
|
||||
</if>
|
||||
<if test="gridId != null and gridId != ''">
|
||||
AND t1.grid_id = #{gridId}
|
||||
</if>
|
||||
ORDER BY t1.gmt_create DESC
|
||||
</select>
|
||||
|
||||
|
@ -308,6 +308,9 @@
|
||||
<if test="areaCodeLike != null and areaCodeLike != ''">
|
||||
AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%')
|
||||
</if>
|
||||
<if test="gridId != null and gridId != ''">
|
||||
AND t1.grid_id = #{gridId}
|
||||
</if>
|
||||
ORDER BY t1.gmt_create DESC
|
||||
</select>
|
||||
|
||||
|
@ -177,6 +177,9 @@
|
||||
<if test="areaCodeLike != null and areaCodeLike != ''">
|
||||
AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%')
|
||||
</if>
|
||||
<if test="gridId != null and gridId != ''">
|
||||
AND t1.grid_id = #{gridId}
|
||||
</if>
|
||||
ORDER BY gmt_create DESC
|
||||
</select>
|
||||
|
||||
|
@ -214,6 +214,9 @@
|
||||
<if test="areaCodeLike != null and areaCodeLike != ''">
|
||||
AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%')
|
||||
</if>
|
||||
<if test="gridId != null and gridId != ''">
|
||||
AND t1.grid_id = #{gridId}
|
||||
</if>
|
||||
ORDER BY gmt_create DESC
|
||||
</select>
|
||||
|
||||
|
@ -218,6 +218,9 @@
|
||||
<if test="areaCodeLike != null and areaCodeLike != ''">
|
||||
AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%')
|
||||
</if>
|
||||
<if test="gridId != null and gridId != ''">
|
||||
AND t1.grid_id = #{gridId}
|
||||
</if>
|
||||
ORDER BY t1.gmt_create DESC
|
||||
</select>
|
||||
|
||||
|
@ -231,6 +231,9 @@
|
||||
<if test="areaCodeLike != null and areaCodeLike != ''">
|
||||
AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%')
|
||||
</if>
|
||||
<if test="gridId != null and gridId != ''">
|
||||
AND t1.grid_id = #{gridId}
|
||||
</if>
|
||||
ORDER BY t1.gmt_create DESC
|
||||
</select>
|
||||
|
||||
|
@ -245,6 +245,9 @@
|
||||
<if test="areaCodeLike != null and areaCodeLike != ''">
|
||||
AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%')
|
||||
</if>
|
||||
<if test="gridId != null and gridId != ''">
|
||||
AND t1.grid_id = #{gridId}
|
||||
</if>
|
||||
ORDER BY gmt_create DESC
|
||||
</select>
|
||||
|
||||
|
@ -214,6 +214,9 @@
|
||||
<if test="areaCodeLike != null and areaCodeLike != ''">
|
||||
AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%')
|
||||
</if>
|
||||
<if test="gridId != null and gridId != ''">
|
||||
AND t1.grid_id = #{gridId}
|
||||
</if>
|
||||
ORDER BY gmt_create DESC
|
||||
</select>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user