소스 검색

coupons

release_toaliyun_real
xhxu 5 년 전
부모
커밋
6bf9eb2d23
1개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. +16
    -0
      mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml

+ 16
- 0
mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml 파일 보기

@@ -126,6 +126,22 @@
<if test=" null != latePayStatus ">and br.`late_pay_status` = #{latePayStatus}</if>
<if test=" null != latePayStatus ">and br.`late_pay_status` = #{latePayStatus}</if>
<if test=" null != depositStatus ">and d.`status` = #{depositStatus}</if>

<if test=" null != building or null != floor">
and br.merchant_id in(
select ms.merchant_id from (select merchant_id,shop_id from wx_merchant_shop where is_del=0) ms
inner join wx_merchant m on ms.merchant_id = m.id
inner join wx_shop s on s.id=ms.shop_id
where s.is_del=0
<if test=" null != building ">
and s.`building`= #{building}
</if>
<if test=" null != floor">
and s.`floor` = #{floor}
</if>
)

</if>
</where>
<if test=" null != sortColumns">order by ${sortColumns}</if>
</select>


불러오는 중...
취소
저장