|
|
@@ -512,19 +512,20 @@
|
|
|
</select>
|
|
|
|
|
|
<resultMap id="JcabResultMap" type="com.railway.business.catenary.domain.vo.JcebRecordVo">
|
|
|
+ <result column="id" property="id"/>
|
|
|
<result column="dept_name" property="deptName"/>
|
|
|
<result column="station_name" property="stationName"/>
|
|
|
<result column="check_date" property="operationDate"/>
|
|
|
- <result column="operator" property="operator"/>
|
|
|
+ <result column="check_user" property="operator"/>
|
|
|
<result column="jcebType" property="jcebType"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="getListByType" resultMap="JcabResultMap">
|
|
|
- SELECT v.dept_name, v.station_name, t.check_date, t.operator, #{jcebType} as jcebType
|
|
|
+ SELECT t.id, v.dept_name, v.station_name, t.check_date, t.check_user, #{jcebType} as jcebType
|
|
|
FROM bus_jcb_blq t
|
|
|
LEFT JOIN v_station v on t.dept_station_id = v.dept_station_id
|
|
|
<where>
|
|
|
- t.del_flag='0'
|
|
|
+ t.del_flag='0' and t.submit_state = '9'
|
|
|
<if test="stationId!=null and stationId!=''">
|
|
|
and v.station_id=#{stationId}
|
|
|
</if>
|
|
|
@@ -550,7 +551,7 @@
|
|
|
FROM bus_jcb_blq t
|
|
|
LEFT JOIN v_station v on t.dept_station_id = v.dept_station_id
|
|
|
<where>
|
|
|
- t.del_flag='0'
|
|
|
+ t.del_flag='0' and t.submit_state = '9'
|
|
|
<if test="stationId!=null and stationId!=''">
|
|
|
and v.station_id=#{stationId}
|
|
|
</if>
|