소스 검색

[账单总览][修改][查询]

release_toaliyun_real
gongbiao 7 년 전
committed by Stormeye Wu
부모
커밋
4e277d59fc
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. +4
    -1
      mallinkService/src/main/resources/mapper/WxBillAllMapper.xml

+ 4
- 1
mallinkService/src/main/resources/mapper/WxBillAllMapper.xml 파일 보기

@@ -42,10 +42,13 @@
) bill
left join wx_merchant m on bill.merchant_id=m.id
left join wx_shop s on bill.shop_id=s.id
where date_format(bill.receive_date,'%Y-%m')=#{month}
where 1=1
<if test=" null != tenantId ">
and bill.tenant_id=#{tenantId}
</if>
<if test=" null != month and ''!=month">
and date_format(bill.receive_date,'%Y-%m')=#{month}
</if>
<if test=" null != merchantName and ''!=merchantName ">and m.`name` like concat('%',#{merchantName},'%')</if>
<if test=" null != billTypeValue ">and bill.bill_type_value = #{billTypeValue}</if>
<if test=" null != status ">and bill.`status` = #{status}</if>


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