|
@@ -241,8 +241,13 @@
|
|
|
dict_value=#{gravity})
|
|
dict_value=#{gravity})
|
|
|
</if>
|
|
</if>
|
|
|
<if test="ssgq!=null and ssgq!=''">
|
|
<if test="ssgq!=null and ssgq!=''">
|
|
|
- and sjgq=(select dict_label from sys_dict_data where dict_type='dlyc_sygq' and
|
|
|
|
|
- (dict_value=#{ssgq} or dict_label=#{ssgq}))
|
|
|
|
|
|
|
+ and (
|
|
|
|
|
+ sjgq=(select dict_label from sys_dict_data where dict_type='dlyc_sygq' and
|
|
|
|
|
+ (dict_value=#{ssgq} or dict_label=#{ssgq}))
|
|
|
|
|
+ or
|
|
|
|
|
+ zrbm=(select dict_label from sys_dict_data where dict_type='dlyc_sygq' and
|
|
|
|
|
+ (dict_value=#{ssgq} or dict_label=#{ssgq}))
|
|
|
|
|
+ )
|
|
|
</if>
|
|
</if>
|
|
|
<if test="lineName!=null and lineName!=''">
|
|
<if test="lineName!=null and lineName!=''">
|
|
|
and line_name like concat('%', #{lineName}, '%')
|
|
and line_name like concat('%', #{lineName}, '%')
|
|
@@ -305,7 +310,8 @@
|
|
|
and rectify_result='未处理' and found_mode = '0'
|
|
and rectify_result='未处理' and found_mode = '0'
|
|
|
and file_id =
|
|
and file_id =
|
|
|
(select max(id) from show_file where data_type = 'yctj' and imp_result = '1')
|
|
(select max(id) from show_file where data_type = 'yctj' and imp_result = '1')
|
|
|
- and sjgq is not null) x
|
|
|
|
|
|
|
+ and (sjgq='变配电修试队' or zrbm='变配电修试队')
|
|
|
|
|
+ ) x
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<resultMap id="TotalResultMap" type="com.railway.business.bi.domain.vo.YcxxTotalVO">
|
|
<resultMap id="TotalResultMap" type="com.railway.business.bi.domain.vo.YcxxTotalVO">
|