md
This commit is contained in:
parent
cdc257ff52
commit
38593f9a55
@ -60,4 +60,8 @@ public class EmisWaybillComplaints extends BaseEntity
|
||||
/* 文件路径 */
|
||||
private String filePath;
|
||||
|
||||
|
||||
/* 投诉站点名 */
|
||||
private String cpSiteName;
|
||||
|
||||
}
|
||||
|
||||
@ -19,9 +19,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="blCheckok" column="bl_checkok" />
|
||||
<result property="dealResult" column="deal_result" />
|
||||
<result property="blSee" column="bl_see" />
|
||||
|
||||
<result property="filePath" column="file_path" />
|
||||
|
||||
|
||||
<association property="cpSiteName" column="cp_site_code" select="selectSiteNameByCode" fetchType="lazy"/>
|
||||
|
||||
|
||||
</resultMap>
|
||||
|
||||
|
||||
<!-- 查询站点名称 -->
|
||||
<select id="selectSiteNameByCode" parameterType="String" resultType="string">
|
||||
select a.site_name from emis_site a where a.site_code = #{code} limit 1
|
||||
</select>
|
||||
|
||||
<sql id="selectEmisWaybillComplaintsVo">
|
||||
select id, bill_code, cp_site_code, cp_reason, data_from, bl_reversion, reversion_str, reversion_man, reversion_man_code, reversion_site_code, reversion_date, bl_checkok, deal_result, remark, bl_see, file_path, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_waybill_complaints
|
||||
</sql>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user