From 13b6b155c914b5ab14acfe34a60c0a7b005d0013 Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期二, 06 十二月 2022 15:38:30 +0800 Subject: [PATCH] fix: 案卷查询按街道为条件 --- ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml b/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml index e4d1651..66c00ae 100644 --- a/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml +++ b/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml @@ -127,13 +127,13 @@ select t1.*, t3.region_name community_text from ums_base_case t1 - left join ums_sccg_region t3 on t1.community_id=t3.id + left join ums_sccg_region t3 on t1.street_id=t3.id <where> <if test="categories != null"> t1.category = #{categories} </if> - <if test="communityId != null"> - and t1.community_id = #{communityId} + <if test="streetId != null"> + and t1.street_id = #{streetId} </if> <if test="code != null and code !=''"> and t1.code like concat('%',#{code},'%') -- Gitblit v1.8.0