| | |
| | | <result column="carriage" property="carriage" /> |
| | | <result column="remark" property="remark" /> |
| | | <result column="del_flag" property="delFlag" /> |
| | | <result column="deliver_type" property="deliverType" /> |
| | | <result column="shop_id" property="shopId" /> |
| | | <collection property="items" ofType="cc.mrbird.febs.mall.entity.MallOrderItem"> |
| | | <id property="id" column="item_id" /> |
| | | <result property="orderId" column="order_id" /> |
| | |
| | | #{item} |
| | | </foreach> |
| | | </select> |
| | | |
| | | <select id="selectCountByCreateTimeAndMemberId" resultType="java.lang.Integer"> |
| | | select |
| | | count(a.id) |
| | | from mall_order_info a |
| | | where |
| | | date_format(a.CREATED_TIME, '%Y-%m-%d') = #{createTime} |
| | | and a.member_id = #{memberId} |
| | | </select> |
| | | </mapper> |