| | |
| | | a.type, |
| | | a.SOURCE, |
| | | e.ORDER_NO, |
| | | a.remark |
| | | a.remark, |
| | | s.SHOP_NAME |
| | | from sys_proj_use a |
| | | left join shopping_goods b on a.proj_id = b.id |
| | | left join sys_vip_info c on c.ID = a.VIP_ID |
| | | left join sys_shop_info s on c.SHOP_ID=s.id |
| | | left join sys_order_item d on d.id = a.ORDER_ITEM_ID |
| | | left join sys_order e on e.id = d.ORDER_ID |
| | | left join shopping_goods_category f on f.id = b.cate_id |
| | | |
| | | |
| | | |
| | | <where> |
| | |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectTaocanCountForCourseAndInfinite" resultType="java.lang.Integer"> |
| | | select count(1) from sys_proj_use |
| | | where taocan_id=#{taocanId} and vip_id=#{vipId} |
| | | </select> |
| | | </mapper> |