Browse Source

区域 查询 like

master
张泽亮 2 days ago
parent
commit
02594e3464
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      ruoyi-business/src/main/resources/mapper/business/TGisCjqyMapper.xml
  2. +1
    -1
      ruoyi-business/src/main/resources/mapper/business/TGisXjqyMapper.xml
  3. +1
    -1
      ruoyi-business/src/main/resources/mapper/business/TGisXjxzqMapper.xml

+ 1
- 1
ruoyi-business/src/main/resources/mapper/business/TGisCjqyMapper.xml View File

@@ -23,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<if test="cjqydm != null and cjqydm != ''"> and cjqydm = #{cjqydm}</if>
<if test="cjqymc != null and cjqymc != ''"> and cjqymc = #{cjqymc}</if>
<if test="importCode != null and importCode != ''"> and import_code = #{importCode}</if>
<if test="importCode != null and importCode != ''"> and import_code like concat(#{importCode}, '%') </if>
</where>
</select>



+ 1
- 1
ruoyi-business/src/main/resources/mapper/business/TGisXjqyMapper.xml View File

@@ -23,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<if test="xjqydm != null and xjqydm != ''"> and xjqydm = #{xjqydm}</if>
<if test="xjqymc != null and xjqymc != ''"> and xjqymc = #{xjqymc}</if>
<if test="importCode != null and importCode != ''"> and import_code = #{importCode}</if>
<if test="importCode != null and importCode != ''"> and import_code like concat(#{importCode}, '%') </if>
</where>
</select>



+ 1
- 1
ruoyi-business/src/main/resources/mapper/business/TGisXjxzqMapper.xml View File

@@ -23,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<if test="xzqdm != null and xzqdm != ''"> and xzqdm = #{xzqdm}</if>
<if test="xzqmc != null and xzqmc != ''"> and xzqmc = #{xzqmc}</if>
<if test="importCode != null and importCode != ''"> and import_code = #{importCode}</if>
<if test="importCode != null and importCode != ''"> and import_code like concat(#{importCode}, '%') </if>
</where>
</select>



Loading…
Cancel
Save