fix
Helius
2021-08-09 c07bafcd1dbcb61800544dc31dfb74b62de87fbb
gc-order/src/main/resources/mapper/order/JhyOrderMapper.xml
@@ -71,4 +71,17 @@
        </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>
    <select id="selectJhyOrderNoWaitAndCancel" resultType="com.xzx.gc.entity.JhyOrder">
        select * from xzx_jhy_order
        where status not in (1, 5)
    </select>
</mapper>