|
|
@@ -3,13 +3,13 @@
|
|
|
<mapper namespace="com.hdkj.lt.job.mapper.DistOSSSvgFileMapper">
|
|
|
|
|
|
<select id="getCustomStorageLine" resultType="java.lang.String">
|
|
|
- select f.psr_id from dwd_shb_ds_feeder_base f join SYS_DICT_SINGLE s on f.city = s.VALUE
|
|
|
- join SYS_DICT_TYPE t on s.TYPE_ID = t.TYPE_ID and t.TYPE_NAME = 'custom_storage'
|
|
|
- where s.BAK_1 is null and f.psr_state= '20'
|
|
|
+ select f.psr_id from dwd_shb_ds_feeder_base f join SYS_DICT_DATA s on f.city = s.DICT_VALUE
|
|
|
+ and s.DICT_TYPE = 'custom_storage'
|
|
|
+ where s.BAK1 is null and f.psr_state= '20'
|
|
|
union all
|
|
|
- select f.psr_id from dwd_shb_ds_feeder_base f join SYS_DICT_SINGLE s on f.city = s.LABEL
|
|
|
- join SYS_DICT_TYPE t on s.TYPE_ID = t.TYPE_ID and t.TYPE_NAME = 'custom_storage'
|
|
|
- where s.BAK_1 is null and f.psr_state= '20'
|
|
|
+ select f.psr_id from dwd_shb_ds_feeder_base f join SYS_DICT_DATA s on f.city = s.DICT_LABEL
|
|
|
+ and s.DICT_TYPE = 'custom_storage'
|
|
|
+ where s.BAK1 is null and f.psr_state= '20'
|
|
|
</select>
|
|
|
|
|
|
<insert id="insertDistMasterStationFile">
|