jyy
2021-01-27 af6a6f03d3da1303b6fec2cff5dbd0fd10e8ad5c
zq-erp/src/main/resources/mybatis/mapper/hive/SysSkinCheckRecordDao.xml
@@ -18,11 +18,13 @@
      <result property="shopName" column="shopName" />
      <result property="telphone" column="telphone" />
      <result property="checkUserName" column="checkUserName" />
      <result property="userName" column="userName" />
         <result property="ext1" column="ext1" />
         <result property="ext2" column="ext2" />
         <result property="ext3" column="ext3" />
         <result property="ext4" column="ext4" />
         <result property="ext5" column="ext5" />
      <result property="ext5" column="ext5" />
      <result property="sex" column="sex" />
      <collection property="skinDetails" ofType="com.matrix.system.hive.bean.SysSkinDetail" column="id">
         <id property="id" column="detailId" />
         <result property="checkId" column="check_id" />
@@ -356,10 +358,13 @@
         t3.symptom analysisSymptom,
         t3.percentage analysisPercentage,
         t3.analysis analysisAnalysis,
         t3.img analysisImg
         t3.img analysisImg,
          t4.vip_name userName,
          t4.sex sex
      from sys_skin_check_record t1
      left join sys_skin_detail t2 on t1.id=t2.check_id and t2.t1=1
      left join sys_skin_detail t3 on t1.id=t3.check_id and t3.t1=2
      left join sys_vip_info t4 on t1.user_id=t4.id
      where  t1.id=#{id}
   </select>