Ver Fonte

bug fix

raojiang há 6 meses atrás
pai
commit
7c030a5fb3

+ 4 - 4
services/load-transfer-bf/src/main/resources/mapper/FhzgVoltageLimitViolationPowerCutMapper.xml

@@ -49,16 +49,16 @@
     </sql>
     <select id="getVolPowerCutList"
             resultType="com.hdkj.lt.core.bizms.modle.po.voltageLimitViolation.FhzgVoltageLimitViolationPowerCut">
-        select t1.*, t3.ORGAN_ALIAS countyName
+        select t1.*, t3.short_name countyName
         from fhzg_voltage_limit_violation_power_cut t1
         left join dwd_shb_ds_feeder_base t2 on t1.line_id = t2.psr_id
-        left join SYS_STRU t3 on t3.ISC_ORG_ID = t2.maint_org
+        left join sys_dept t3 on t3.isc_org_id = t2.maint_org
         <where>
             <if test="queryDTO.countyCode != null and queryDTO.countyCode != ''">
-                and t3.stru_id = #{queryDTO.countyCode}
+                and t3.dept_id = #{queryDTO.countyCode}
             </if>
             <if test="queryDTO.countyCodeList != null and queryDTO.countyCodeList.size > 0">
-                AND t3.stru_id IN
+                AND t3.dept_id IN
                 <foreach collection="queryDTO.countyCodeList" open="(" item="item" separator="," close=")">
                     #{item}
                 </foreach>