| | |
| | | UNION |
| | | ( |
| | | SELECT |
| | | a.id orderId, |
| | | a.order_no orderId, |
| | | a. STATUS STATUS, |
| | | '2' type, |
| | | '0' money, |
| | |
| | | a.order_status != '6' |
| | | and a.create_user_id = #{userId} |
| | | </select> |
| | | |
| | | <select id="selectListByOrderId" resultType="com.xzx.gc.user.vo.CategaryVo"> |
| | | SELECT |
| | | b.title |
| | | FROM |
| | | xzx_order_item_info a |
| | | LEFT JOIN xzx_sys_environmental_info b ON a.item_type = b.item_type |
| | | where a.order_id = #{orderId} |
| | | and a.weight >0 |
| | | GROUP BY a.item_type |
| | | </select> |
| | | |
| | | <select id="selectJHYListByOrderId" resultType="com.xzx.gc.user.vo.CategaryVo"> |
| | | SELECT |
| | | a.title title |
| | | FROM |
| | | xzx_jhy_order_items a |
| | | WHERE |
| | | and a.order_no = #{orderId} |
| | | </select> |
| | | </mapper> |