From 8269efac48716a328c12a4e836a4efb4a5f277d9 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 02 Aug 2021 17:09:35 +0800 Subject: [PATCH] 20210802 --- 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