|
|
|
@@ -222,13 +222,6 @@ |
|
|
|
<select id="findQrcodeEmptyList" resultMap="BaseResultMap"> |
|
|
|
select * from wx_merchant where qr_code is null; |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="queryMerchantByMerchantIdOfSharingReceiver" resultType="com.iformall.domain.po.WxMerchant" |
|
|
|
parameterType="com.iformall.domain.po.WxMerchant"> |
|
|
|
select m.name,psr.id from wx_merchant m |
|
|
|
left join (select * from wx_profit_sharing_receiver where status=0) psr on m.id=psr.merchant_id |
|
|
|
where m.id=#{id} |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
</mapper> |