Procházet zdrojové kódy

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

release_toaliyun_real
gongbiao před 7 roky
committed by Stormeye Wu
rodič
revize
4e277d59fc
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. +4
    -1
      mallinkService/src/main/resources/mapper/WxBillAllMapper.xml

+ 4
- 1
mallinkService/src/main/resources/mapper/WxBillAllMapper.xml Zobrazit soubor

@@ -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>


Načítá se…
Zrušit
Uložit