浏览代码

[商户收银][修改][某商户30天数据]

release_toaliyun_real
gongbiao 6 年前
父节点
当前提交
12232f87ff
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxOrderMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxOrderMapper.xml 查看文件

@@ -464,7 +464,7 @@
from wx_order o
inner join wx_merchant_b_user bu on bu.id = o.product_id
inner join wx_merchant m on m.id = bu.merchant_id
where m.`id` = #{merchantId} and o.`type` = 1
where m.`id` = #{merchantId} and o.`type` = 1 and o.`order_status` = 1
<if test=" null != startTime and null != endTime">
and o.`create_date` BETWEEN #{startTime} and #{endTime}
</if>


正在加载...
取消
保存