From e84e71bda390661a98d2f548d11f3721d2ec110c Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Fri, 12 Mar 2021 17:30:00 +0800 Subject: [PATCH] 新增申请成为分销员接口10 --- zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 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 5e75ca7..0c6cb3c 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml @@ -1296,4 +1296,14 @@ and a.good_type=#{record.goodType} </if> </select> + + <select id="selectByIds" resultMap="ShoppingGoodsSimpleMap"> + select + * + from shopping_goods + where id in + <foreach collection="ids" item="item" separator="," open="(" close=")"> + #{item} + </foreach> + </select> </mapper> -- Gitblit v1.9.1