|
@@ -21,26 +21,32 @@
|
|
<result property="remarks" column="remarks"/>
|
|
<result property="remarks" column="remarks"/>
|
|
<result property="fLineid" column="f_lineid"/>
|
|
<result property="fLineid" column="f_lineid"/>
|
|
<result property="fBookagentid" column="f_bookagentid"/>
|
|
<result property="fBookagentid" column="f_bookagentid"/>
|
|
|
|
+ <result property="fLineName" column="f_line_name"/>
|
|
|
|
+ <result property="fBookagentName" column="f_bookagent_name"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTSeapriceVo">
|
|
<sql id="selectTSeapriceVo">
|
|
- select f_id,
|
|
|
|
- f_billtype,
|
|
|
|
- f_corpid,
|
|
|
|
- pol_id,
|
|
|
|
- pod_id,
|
|
|
|
- f_validdate,
|
|
|
|
- f_date_changed,
|
|
|
|
- f_billstatus,
|
|
|
|
- del_flag,
|
|
|
|
- create_by,
|
|
|
|
- create_time,
|
|
|
|
- update_by,
|
|
|
|
- update_time,
|
|
|
|
- remarks,
|
|
|
|
- f_lineid,
|
|
|
|
- f_bookagentid
|
|
|
|
- from t_seaprice
|
|
|
|
|
|
+ select s.f_id,
|
|
|
|
+ s.f_billtype,
|
|
|
|
+ s.f_corpid,
|
|
|
|
+ s.pol_id,
|
|
|
|
+ s.pod_id,
|
|
|
|
+ s.f_validdate,
|
|
|
|
+ s.f_date_changed,
|
|
|
|
+ s.f_billstatus,
|
|
|
|
+ s.del_flag,
|
|
|
|
+ s.create_by,
|
|
|
|
+ s.create_time,
|
|
|
|
+ s.update_by,
|
|
|
|
+ s.update_time,
|
|
|
|
+ s.remarks,
|
|
|
|
+ s.f_lineid,
|
|
|
|
+ s.f_bookagentid,
|
|
|
|
+ j.f_name AS f_line_name,
|
|
|
|
+ q.f_name AS f_bookagent_name
|
|
|
|
+ from t_seaprice s
|
|
|
|
+ LEFT JOIN t_address j ON s.f_lineid = j.f_id
|
|
|
|
+ LEFT JOIN t_corps q ON s.f_bookagentid = q.f_id
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectTSeapriceList" parameterType="TSeaprice" resultMap="TSeapriceResult">
|
|
<select id="selectTSeapriceList" parameterType="TSeaprice" resultMap="TSeapriceResult">
|
|
@@ -66,7 +72,7 @@
|
|
|
|
|
|
<select id="selectTSeapriceById" parameterType="Long" resultMap="TSeapriceResult">
|
|
<select id="selectTSeapriceById" parameterType="Long" resultMap="TSeapriceResult">
|
|
<include refid="selectTSeapriceVo"/>
|
|
<include refid="selectTSeapriceVo"/>
|
|
- where f_id = #{fId}
|
|
|
|
|
|
+ where s.f_id = #{fId}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectTSeapriceMapList" parameterType="TSeaprice" resultType="Map">
|
|
<select id="selectTSeapriceMapList" parameterType="TSeaprice" resultType="Map">
|