|
|
@ -81,8 +81,8 @@ |
|
|
|
<if test="query.regionSecond != null"> and `bms_supplier`.`region_second` = #{query.regionSecond}</if> |
|
|
|
<if test="query.regionThird != null"> and `bms_supplier`.`region_third` = #{query.regionThird}</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` = #{query.name}</if> |
|
|
|
<if test="query.code != null and query.code != ''"> and `bms_supplier`.`code` = #{query.code}</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.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.stopFlag != null"> and `bms_supplier`.`stop_flag` = #{query.stopFlag}</if> |
|
|
|