xiaoyong931011
2021-07-23 7870947c3dc93f6d8b2db718eab551edfc709f9b
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>