|
@@ -25,6 +25,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectTBusTrackList" parameterType="TBusTrack" resultMap="TBusTrackResult">
|
|
<select id="selectTBusTrackList" parameterType="TBusTrack" resultMap="TBusTrackResult">
|
|
<include refid="selectTBusTrackVo"/>
|
|
<include refid="selectTBusTrackVo"/>
|
|
|
|
+ left join ${database_system}.sys_user s on s.user_id = t.user_id
|
|
|
|
+ left join ${database_system}.sys_dict_data dict on dict.dict_value = t.risk_status
|
|
<where>
|
|
<where>
|
|
<if test="busTrackId != null and busTrackId != ''"> and bus_track_id = #{busTrackId}</if>
|
|
<if test="busTrackId != null and busTrackId != ''"> and bus_track_id = #{busTrackId}</if>
|
|
<if test="busLogId != null and busLogId != ''"> and bus_log_id = #{busLogId}</if>
|
|
<if test="busLogId != null and busLogId != ''"> and bus_log_id = #{busLogId}</if>
|
|
@@ -38,8 +40,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectTBusTrackByBusTrackId" parameterType="String" resultMap="TBusTrackResult">
|
|
<select id="selectTBusTrackByBusTrackId" parameterType="String" resultMap="TBusTrackResult">
|
|
<include refid="selectTBusTrackVo"/>
|
|
<include refid="selectTBusTrackVo"/>
|
|
- left join sys_user s on s.user_id = t.user_id
|
|
|
|
- left join sys_dict_data dict on dict.dict_value = t.risk_status
|
|
|
|
|
|
+ left join ${database_system}.sys_user s on s.user_id = t.user_id
|
|
|
|
+ left join ${database_system}.sys_dict_data dict on dict.dict_value = t.risk_status
|
|
where bus_track_id = #{busTrackId}
|
|
where bus_track_id = #{busTrackId}
|
|
</select>
|
|
</select>
|
|
|
|
|