xiaoyong931011
2021-04-06 512a2f0fb09b663b8de19b5313c8bd5899f4f74b
zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesSalonRecordDao.xml
@@ -16,7 +16,7 @@
      <result property="status" column="status" />
      <result property="nickName" column="nick_name" />
      <result property="shopName" column="shop_short_name" />
      <result property="phone" column="phone_number" />
      <result property="phone" column="phone" />
      <collection property="salonAttr" ofType="com.matrix.system.shopXcx.bean.ShopActivitiesSalonAttrRecord">
         <id property="id" column="asd_id" />
         <result property="attrName" column="attr_name" />
@@ -184,10 +184,10 @@
   
   <!-- 分页查询 -->
   <select id="selectInPage" resultMap="ShopActivitiesSalonRecordMap">
      select t1.*, t3.nick_name, t3.phone_number, t4.shop_short_name, t2.id asd_id, t2.attr_name, t2.attr_value, t2.asr_id
      select t1.*, t3.nick_name, t3.phone, t4.shop_short_name, t2.id asd_id, t2.attr_name, t2.attr_value, t2.asr_id
      from shop_activities_salon_record t1
      inner join shop_activities_salon_attr_record t2 on t1.id=t2.asr_id
      left join biz_user t3 on t1.user_id=open_id
      left join sys_vip_info t3 on t1.user_id=id
      left join sys_shop_info t4 on t1.shop_id=t4.id
      <where>
        <include refid="where_sql"></include>