zhanghua
2022-10-24 7a7d324af48e2134314c7b44b72e4e7d1fccf4f9
bug修改
2个文件已修改
14 ■■■■ 已修改文件
ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
@@ -59,9 +59,9 @@
        FROM
        `ums_base_case` AS ubc
        JOIN ums_violations AS uv ON ubc.id = uv.id
        JOIN ums_data_dictionary AS t3 ON uv.category_id = t3.id
        JOIN ums_data_dictionary AS t4 ON uv.type_id = t4.id
        JOIN ums_sccg_region t5 ON ubc.street_id = t5.id
        LEFT JOIN ums_data_dictionary AS t3 ON uv.category_id = t3.id
        LEFT JOIN ums_data_dictionary AS t4 ON uv.type_id = t4.id
        LEFT JOIN ums_sccg_region t5 ON ubc.street_id = t5.id
        <where>
            <if test="state!=null">
                ubc.state=#{state}
@@ -91,9 +91,9 @@
        uib.materials
        FROM
        `ums_base_case` AS ubc
        JOIN ums_illegal_building AS uib ON ubc.id = uib.base_case_id
        JOIN ums_data_dictionary AS t1 ON uib.category_id = t1.id
        JOIN ums_sccg_region t2 ON ubc.community_id = t2.id
        left JOIN ums_illegal_building AS uib ON ubc.id = uib.base_case_id
        left JOIN ums_data_dictionary AS t1 ON uib.category_id = t1.id
        left JOIN ums_sccg_region t2 ON ubc.community_id = t2.id
        <where>
            <if test="state!=null">
                ubc.state=#{state}
ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
@@ -20,7 +20,7 @@
            t2.`name`
        FROM
            ums_store_store_info t1
                JOIN ums_data_dictionary t2 ON t1.type = t2.id
               left JOIN ums_data_dictionary t2 ON t1.type = t2.id
        <where>
            <if test="keyword!=null and keyword!=''">
                t1.store_name LIKE  CONCAT('%', #{keyword}, '%')