Yen 2 years ago
parent
commit
c381d99ac0
  1. 4
      src/main/resources/mapper/bms/BmsSupplierMapper.xml

4
src/main/resources/mapper/bms/BmsSupplierMapper.xml

@ -91,8 +91,8 @@
<if test="query.address != null and query.address != ''"> and `bms_supplier`.`address` = #{query.address}</if> <if test="query.address != null and query.address != ''"> and `bms_supplier`.`address` = #{query.address}</if>
<if test="query.name != null and query.name != ''"> and `bms_supplier`.`name` like concat('%',#{query.name},'%') </if> <if test="query.name != null and query.name != ''"> and `bms_supplier`.`name` like concat('%',#{query.name},'%') </if>
<if test="query.code != null and query.code != ''"> and `bms_supplier`.`code` like concat('%',#{query.code},'%') </if> <if test="query.code != null and query.code != ''"> and `bms_supplier`.`code` like concat('%',#{query.code},'%') </if>
<if test="query.query.comRegion != null and query.query.comRegion != ''"> and `bms_supplier`.`com_region` like concat('%',#{query.comRegion},'%') </if> <if test="query.comRegion != null and query.comRegion != ''"> and `bms_supplier`.`com_region` like concat('%',#{query.comRegion},'%') </if>
<if test="query.query.comRegionCode != null and query.query.comRegionCode != ''"> and `bms_supplier`.`com_region_code` like concat('%',#{query.comRegionCode},'%') </if> <if test="query.comRegionCode != null and query.comRegionCode != ''"> and `bms_supplier`.`com_region_code` like concat('%',#{query.comRegionCode},'%') </if>
<if test="query.pid != null"> and `bms_supplier`.`pid` = #{query.pid}</if> <if test="query.pid != null"> and `bms_supplier`.`pid` = #{query.pid}</if>
<if test="query.parentCode != null and query.parentCode != ''"> and `bms_supplier`.`parent_code` = #{query.parentCode}</if> <if test="query.parentCode != null and query.parentCode != ''"> and `bms_supplier`.`parent_code` = #{query.parentCode}</if>
<if test="query.stopFlag != null"> and `bms_supplier`.`stop_flag` = #{query.stopFlag}</if> <if test="query.stopFlag != null"> and `bms_supplier`.`stop_flag` = #{query.stopFlag}</if>

Loading…
Cancel
Save