From 7e9976fe57ab5133b019a9258e7c054f74e1d2ab Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 18 Apr 2022 09:52:44 +0800 Subject: [PATCH] add ipad code --- zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderItemDao.xml | 15 +++++++++++++++ 1 files changed, 15 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 93cdba5..f3fa230 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderItemDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderItemDao.xml @@ -547,6 +547,21 @@ where a.ORDER_ID=#{orderId}; </select> + <select id="selectPadApiOrderDetailItemsByOrderId" resultType="com.matrix.system.padApi.vo.PadOrderDetailItemVo"> + select + a.id id, + b.name goodsName, + a.COUNT count, + a.cash_Pay cashPay, + a.card_Pay cardPay, + a.PRICE price, + a.ZK_PRICE zkPrice, + a.status status + from sys_order_item a + inner join shopping_goods b on a.goods_id=b.id + where a.ORDER_ID=#{orderId}; + </select> + <select id="selectErpOrderItemByOrderId" resultType="com.matrix.system.shopXcx.api.vo.ErpOrderDetailItemVo"> select -- Gitblit v1.9.1