|
|
@@ -14,6 +14,7 @@ |
|
|
|
<result column="class" jdbcType="VARCHAR" property="classType"/> |
|
|
|
<result column="preinfo" jdbcType="VARCHAR" property="preInfo"/> |
|
|
|
<result column="preinfo_md5" jdbcType="VARCHAR" property="preInfoMd5"/> |
|
|
|
<result column="mask" jdbcType="VARCHAR" property="mask"/> |
|
|
|
<result column="preinfo_path" jdbcType="VARCHAR" property="preInfoPath"/> |
|
|
|
<result column="expire_time" jdbcType="VARCHAR" property="expireTime"/> |
|
|
|
|
|
|
@@ -27,7 +28,7 @@ |
|
|
|
</resultMap>--> |
|
|
|
<select id="getById" resultMap="BaseResultMap"> |
|
|
|
SELECT wca.user_name,expire_time,wcav.id,wcav.name,wcav.image,wcav.model,wcav.preinfo,wcav.demo |
|
|
|
,wcav.class,wcav.model_path,wcav.preinfo_path,wcav.model_md5,wcav.preinfo_md5 |
|
|
|
,wcav.class,wcav.model_path,wcav.preinfo_path,wcav.model_md5,wcav.preinfo_md5,wcav.mask |
|
|
|
from wx_c_author wca |
|
|
|
left join wx_c_avatar wcav on wcav.id =wca.resource_id |
|
|
|
where wca.resource_id |
|
|
@@ -36,7 +37,7 @@ in (select wca.resource_id from wx_c_author wca WHERE wca.user_id =#{id} AND w |
|
|
|
|
|
|
|
<select id="selectOne" resultType="com.iformall.domain.po.WxCVideoTable"> |
|
|
|
SELECT wca.user_name,expire_time,wcav.id,wcav.name,wcav.image,wcav.model,wcav.preinfo,wcav.demo |
|
|
|
,wcav.class,wcav.model_path,wcav.preinfo_path |
|
|
|
,wcav.class,wcav.model_path,wcav.preinfo_path,wcav.model_md5,wcav.preinfo_md5,wcav.mask |
|
|
|
from wx_c_author wca |
|
|
|
left join wx_c_avatar wcav on wcav.id =wca.resource_id |
|
|
|
where wca.resource_id =#{resource_id} and wca.user_id = #{id} |
|
|
|