From 1c538f36affa979e585a9a0b5a7739cdc36a14d1 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 01 Apr 2022 14:32:48 +0800 Subject: [PATCH] 取消订单的状态判断 --- zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderItemDao.xml | 5 +++++ 1 files changed, 5 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 81ed5fc..93cdba5 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderItemDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderItemDao.xml @@ -565,5 +565,10 @@ 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> + <select id="selectOrderStatusByItemId" resultType="java.lang.String"> + select b.statu from sys_order_item a + left join sys_order b on a.ORDER_ID=b.id + where a.id=#{orderItemId} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1