From 5d9e2fbeab87327ce11080485bf4d971f93f542a Mon Sep 17 00:00:00 2001 From: admin <ak473600000> Date: Sat, 26 Jun 2021 18:03:20 +0800 Subject: [PATCH] 修复bug --- zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderItemDao.xml | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderItemDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderItemDao.xml index 846e27b..6c658ad 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderItemDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderItemDao.xml @@ -557,4 +557,11 @@ where a.ORDER_ID=#{orderId} </select> + <!-- 临时数据处理sql --> + <select id="selectDgd" resultMap="SysOrderItemMap"> + SELECT a.* from sys_order_item a + left join sys_order b on a.ORDER_ID=b.id + where a.type='家居产品' and DATE_FORMAT(a.create_time,'%Y-%m')='2021-04' and b.company_id=17 and b.STATU='已付款'; + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.1