|
|
|
@@ -55,21 +55,21 @@ |
|
|
|
<if test=" null != isDel "> |
|
|
|
and `is_del` = #{isDel} |
|
|
|
</if> |
|
|
|
<if test=" null != ids "> |
|
|
|
<if test=" null != ids and ids.size > 0 "> |
|
|
|
and id in |
|
|
|
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> |
|
|
|
#{idItem} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != shopIdList "> |
|
|
|
<if test=" null != shopIdList and shopIdList.size > 0 "> |
|
|
|
and shop_id in |
|
|
|
<foreach collection="shopIdList" index="index" item="shopIdItem" open="(" separator="," close=")"> |
|
|
|
#{shopIdItem} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != merchantIds "> |
|
|
|
<if test=" null != merchantIds and merchantIds.size > 0 "> |
|
|
|
and merchant_id in |
|
|
|
<foreach collection="merchantIds" index="index" item="merchantIdItem" open="(" separator="," close=")"> |
|
|
|
#{merchantIdItem} |
|
|
|
@@ -136,7 +136,7 @@ |
|
|
|
<if test=" null != parentTenantId and '' != parentTenantId"> |
|
|
|
and w.`parent_tenant_id` = #{parentTenantId} |
|
|
|
</if> |
|
|
|
<if test=" null != shopIds "> |
|
|
|
<if test=" null != shopIds and shopIds.size > 0 "> |
|
|
|
and w.shop_id in |
|
|
|
<foreach collection="shopIds" index="index" item="shopIdItem" open="(" separator="," close=")"> |
|
|
|
#{shopIdItem} |
|
|
|
@@ -163,7 +163,7 @@ |
|
|
|
<if test=" null != parentTenantId and '' != parentTenantId"> |
|
|
|
and w.`parent_tenant_id` = #{parentTenantId} |
|
|
|
</if> |
|
|
|
<if test=" null != shopIds "> |
|
|
|
<if test=" null != shopIds and shopIds.size > 0 "> |
|
|
|
and w.shop_id in |
|
|
|
<foreach collection="shopIds" index="index" item="shopIdItem" open="(" separator="," close=")"> |
|
|
|
#{shopIdItem} |
|
|
|
|