From 7870947c3dc93f6d8b2db718eab551edfc709f9b Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 23 Jul 2021 10:35:11 +0800 Subject: [PATCH] Merge branch 'score-shop' of http://120.27.238.55:7000/r/xzx into score-shop --- gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml b/gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml index dac82a6..c4f1b8c 100644 --- a/gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml +++ b/gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml @@ -71,4 +71,12 @@ </where> group by status </select> + + <select id="selectJhyOrderListByStatus" resultType="com.xzx.gc.entity.JhyOrder"> + select * from xzx_jhy_order + where user_id=#{userId} and status in + <foreach collection="list" index="index" item="id" open="(" separator="," close=")"> + #{id} + </foreach> + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1