|
|
|
@@ -60,6 +60,10 @@ |
|
|
|
<if test=" null != shopNumber and ''!=shopNumber"> |
|
|
|
and `shop_number` like concat('%', #{shopNumber},'%') |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != queryShopNumber and ''!=queryShopNumber"> |
|
|
|
and `shop_number` = #{queryShopNumber} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != buildArea "> |
|
|
|
and `build_area` like concat('%', #{buildArea},'%') |
|
|
|
@@ -142,6 +146,13 @@ |
|
|
|
<if test=" null != shopTypeForRule and '' != shopTypeForRule "> |
|
|
|
and type in (${shopTypeForRule}) |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != typeList "> |
|
|
|
and type in |
|
|
|
<foreach collection="typeList" index="index" item="tidItem" open="(" separator="," close=")"> |
|
|
|
#{tidItem} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != ids "> |
|
|
|
and id in |
|
|
|
@@ -235,6 +246,10 @@ |
|
|
|
<if test=" null != shopNumber and ''!=shopNumber"> |
|
|
|
and s.`shop_number` like concat('%', #{shopNumber},'%') |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != queryShopNumber and ''!=queryShopNumber"> |
|
|
|
and s.`shop_number` = #{queryShopNumber} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != buildArea "> |
|
|
|
and s.`build_area` like concat('%', #{buildArea},'%') |
|
|
|
@@ -298,6 +313,13 @@ |
|
|
|
<if test=" null != businessForRule and '' != businessForRule "> |
|
|
|
and s.`business_id` in (${businessForRule}) |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != typeList "> |
|
|
|
and s.type in |
|
|
|
<foreach collection="typeList" index="index" item="tidItem" open="(" separator="," close=")"> |
|
|
|
#{tidItem} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != ids "> |
|
|
|
and s.id in |
|
|
|
@@ -330,9 +352,19 @@ |
|
|
|
<if test=" null != shopNumber and ''!=shopNumber"> |
|
|
|
and s.`shop_number` like concat('%', #{shopNumber},'%') |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != queryShopNumber and ''!=queryShopNumber"> |
|
|
|
and s.`shop_number` = #{queryShopNumber} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != status"> |
|
|
|
and s.`status` = #{status} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != sellStatus "> |
|
|
|
and s.`sell_status` = #{sellStatus} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != type "> |
|
|
|
and s.`type` = #{type} |
|
|
|
</if> |
|
|
|
@@ -382,6 +414,10 @@ |
|
|
|
<if test=" null != shopNumber and ''!=shopNumber"> |
|
|
|
and s.`shop_number` like concat('%', #{shopNumber},'%') |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != queryShopNumber and ''!=queryShopNumber"> |
|
|
|
and s.`shop_number` = #{queryShopNumber} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != buildArea "> |
|
|
|
and s.`build_area` like concat('%', #{buildArea},'%') |
|
|
|
@@ -402,6 +438,10 @@ |
|
|
|
<if test=" null != status"> |
|
|
|
and s.`status` = #{status} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != sellStatus "> |
|
|
|
and s.`sell_status` = #{sellStatus} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != x "> |
|
|
|
and s.`x` = #{x} |
|
|
|
|