Explorar el Código

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

release_toaliyun_real
gongbiao hace 7 años
committed by Stormeye Wu
padre
commit
4e277d59fc
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. +4
    -1
      mallinkService/src/main/resources/mapper/WxBillAllMapper.xml

+ 4
- 1
mallinkService/src/main/resources/mapper/WxBillAllMapper.xml Ver fichero

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


Cargando…
Cancelar
Guardar