Browse Source

[合同管理][修改][只选择没有合同关联的店铺]

release_toaliyun_real
gongbiao 7 years ago
parent
commit
83f03bb2ff
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      mallinkService/src/main/resources/mapper/WxShopMapper.xml

+ 3
- 0
mallinkService/src/main/resources/mapper/WxShopMapper.xml View File

@@ -174,6 +174,9 @@
and s.`status` = #{status}

</if>
<if test="null!=status and status==1">
and s.id not in(select shop_id from wx_rent_contract where status!=1 and status!=6 and merchant_id is not null)
</if>

<if test=" null != x ">
and s.`x` = #{x}


Loading…
Cancel
Save