From d103d31aac5749e229e9f6ff73c02f9019690f2e Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Tue, 13 Jul 2021 02:42:46 +0800 Subject: [PATCH] fix --- zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml index 0c6cb3c..5200088 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml @@ -855,7 +855,7 @@ <select id="selectById" resultMap="ShoppingGoodsMap"> select *, - (select TYPE_NAME from sys_goods_type b where b.id=goods_sort_id) goodsSortName, + -- (select TYPE_NAME from sys_goods_type b where b.id=a.goods_sort_id) goodsSortName, (select NAME from shopping_goods_category t where t.id=cate_id) cate_name @@ -1306,4 +1306,9 @@ #{item} </foreach> </select> + + <select id="selectByNameAndDesc" resultMap="ShoppingGoodsSimpleMap"> + select * from shopping_goods + where name=#{name} and wei_description=#{description} + </select> </mapper> -- Gitblit v1.9.1