| | |
| | | <result property="statu" column="STATU"/> |
| | | <result property="zkTotal" column="ZK_TOTAL"/> |
| | | <result property="shopId" column="SHOP_ID"/> |
| | | <result property="companyId" column="company_id"/> |
| | | <result property="vipName" column="VIP_NAME"/> |
| | | <result property="vipNo" column="VIP_NO"/> |
| | | <result property="staffName" column="STAFF_NAME"/> |
| | |
| | | MAX(pay_time) payTime, |
| | | GROUP_CONCAT(DISTINCT t2.shop_short_name) shopName |
| | | from sys_order t1 |
| | | left join sys_order_item b on t1.id=b.ORDER_ID and goods_id!=5583 |
| | | left join sys_shop_info t2 on t1.SHOP_ID=t2.ID |
| | | where VIP_ID=#{vipId} and STATU='已付款'; |
| | | </select> |