From 83891cec1272caf91d4ed2afbef5b46bd6146475 Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Thu, 16 Dec 2021 16:50:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8SQL=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=BD=91=E6=A0=BC(grid=5Fid)=E6=90=9C=E7=B4=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mybatis/mapper/addicts/addicts-mapper.xml | 3 +++ src/main/resources/mybatis/mapper/aids/aids-mapper.xml | 3 +++ .../mapper/communitycorrection/communitycorrection-mapper.xml | 3 +++ .../mapper/floatingpopulation/floatingpopulation-mapper.xml | 3 +++ .../resources/mybatis/mapper/homeperson/homeperson-mapper.xml | 3 +++ .../mybatis/mapper/keyteenagers/keyteenagers-mapper.xml | 3 +++ .../mybatis/mapper/mentaldisorders/mentaldisorders-mapper.xml | 3 +++ .../mapper/overseaspersonnel/overseaspersonnel-mapper.xml | 3 +++ .../releaseaftersentence/releaseaftersentence-mapper.xml | 3 +++ 9 files changed, 27 insertions(+) diff --git a/src/main/resources/mybatis/mapper/addicts/addicts-mapper.xml b/src/main/resources/mybatis/mapper/addicts/addicts-mapper.xml index 28faf5f..3370fe6 100644 --- a/src/main/resources/mybatis/mapper/addicts/addicts-mapper.xml +++ b/src/main/resources/mybatis/mapper/addicts/addicts-mapper.xml @@ -193,6 +193,9 @@ AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%') + + AND t1.grid_id = #{gridId} + ORDER BY t1.gmt_create DESC diff --git a/src/main/resources/mybatis/mapper/aids/aids-mapper.xml b/src/main/resources/mybatis/mapper/aids/aids-mapper.xml index a463b45..4aa950e 100644 --- a/src/main/resources/mybatis/mapper/aids/aids-mapper.xml +++ b/src/main/resources/mybatis/mapper/aids/aids-mapper.xml @@ -187,6 +187,9 @@ AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%') + + AND t1.grid_id = #{gridId} + ORDER BY t1.gmt_create DESC diff --git a/src/main/resources/mybatis/mapper/communitycorrection/communitycorrection-mapper.xml b/src/main/resources/mybatis/mapper/communitycorrection/communitycorrection-mapper.xml index 96f7979..d230e49 100644 --- a/src/main/resources/mybatis/mapper/communitycorrection/communitycorrection-mapper.xml +++ b/src/main/resources/mybatis/mapper/communitycorrection/communitycorrection-mapper.xml @@ -308,6 +308,9 @@ AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%') + + AND t1.grid_id = #{gridId} + ORDER BY t1.gmt_create DESC diff --git a/src/main/resources/mybatis/mapper/floatingpopulation/floatingpopulation-mapper.xml b/src/main/resources/mybatis/mapper/floatingpopulation/floatingpopulation-mapper.xml index ce31fd5..d46bafc 100644 --- a/src/main/resources/mybatis/mapper/floatingpopulation/floatingpopulation-mapper.xml +++ b/src/main/resources/mybatis/mapper/floatingpopulation/floatingpopulation-mapper.xml @@ -177,6 +177,9 @@ AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%') + + AND t1.grid_id = #{gridId} + ORDER BY gmt_create DESC diff --git a/src/main/resources/mybatis/mapper/homeperson/homeperson-mapper.xml b/src/main/resources/mybatis/mapper/homeperson/homeperson-mapper.xml index c59aee3..755d86f 100644 --- a/src/main/resources/mybatis/mapper/homeperson/homeperson-mapper.xml +++ b/src/main/resources/mybatis/mapper/homeperson/homeperson-mapper.xml @@ -214,6 +214,9 @@ AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%') + + AND t1.grid_id = #{gridId} + ORDER BY gmt_create DESC diff --git a/src/main/resources/mybatis/mapper/keyteenagers/keyteenagers-mapper.xml b/src/main/resources/mybatis/mapper/keyteenagers/keyteenagers-mapper.xml index d4aa095..9973efa 100644 --- a/src/main/resources/mybatis/mapper/keyteenagers/keyteenagers-mapper.xml +++ b/src/main/resources/mybatis/mapper/keyteenagers/keyteenagers-mapper.xml @@ -218,6 +218,9 @@ AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%') + + AND t1.grid_id = #{gridId} + ORDER BY t1.gmt_create DESC diff --git a/src/main/resources/mybatis/mapper/mentaldisorders/mentaldisorders-mapper.xml b/src/main/resources/mybatis/mapper/mentaldisorders/mentaldisorders-mapper.xml index c938cab..03c8eed 100644 --- a/src/main/resources/mybatis/mapper/mentaldisorders/mentaldisorders-mapper.xml +++ b/src/main/resources/mybatis/mapper/mentaldisorders/mentaldisorders-mapper.xml @@ -231,6 +231,9 @@ AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%') + + AND t1.grid_id = #{gridId} + ORDER BY t1.gmt_create DESC diff --git a/src/main/resources/mybatis/mapper/overseaspersonnel/overseaspersonnel-mapper.xml b/src/main/resources/mybatis/mapper/overseaspersonnel/overseaspersonnel-mapper.xml index 81b8b19..a417ac4 100644 --- a/src/main/resources/mybatis/mapper/overseaspersonnel/overseaspersonnel-mapper.xml +++ b/src/main/resources/mybatis/mapper/overseaspersonnel/overseaspersonnel-mapper.xml @@ -245,6 +245,9 @@ AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%') + + AND t1.grid_id = #{gridId} + ORDER BY gmt_create DESC diff --git a/src/main/resources/mybatis/mapper/releaseaftersentence/releaseaftersentence-mapper.xml b/src/main/resources/mybatis/mapper/releaseaftersentence/releaseaftersentence-mapper.xml index 559ae40..f326df3 100644 --- a/src/main/resources/mybatis/mapper/releaseaftersentence/releaseaftersentence-mapper.xml +++ b/src/main/resources/mybatis/mapper/releaseaftersentence/releaseaftersentence-mapper.xml @@ -214,6 +214,9 @@ AND t1.area_code LIKE CONCAT(#{areaCodeLike}, '%') + + AND t1.grid_id = #{gridId} + ORDER BY gmt_create DESC