|
|
@@ -303,6 +303,9 @@ |
|
|
|
|
|
|
|
|
<select id="hasMerchant" parameterType="com.iformall.domain.po.WxMerchant" resultType="int"> |
|
|
<select id="hasMerchant" parameterType="com.iformall.domain.po.WxMerchant" resultType="int"> |
|
|
select count(1) from wx_merchant where `name`=#{name} |
|
|
select count(1) from wx_merchant where `name`=#{name} |
|
|
|
|
|
<if test=" null != status "> |
|
|
|
|
|
and `status` = #{status} |
|
|
|
|
|
</if> |
|
|
<if test=" null != id"> |
|
|
<if test=" null != id"> |
|
|
and `id` != #{id} |
|
|
and `id` != #{id} |
|
|
</if> |
|
|
</if> |
|
|
|