浏览代码

智能查询关联字段变更

wuhonghao 4 年之前
父节点
当前提交
848cda1769

+ 1 - 1
railway-business/src/main/resources/mapper/baseinfo/BusSdtzMapper.xml

@@ -218,7 +218,7 @@
     SELECT
     <include refid="Base_Column_List"/>
     FROM from base_sdtz t
-    LEFT JOIN v_station v on t.station_id = v.dept_station_id
+    LEFT JOIN v_station v on t.station_id = v.station_id
     <where>
       t.del_flag='0'
       <if test="deptId!=null and deptId!=''">

+ 1 - 1
railway-business/src/main/resources/mapper/baseinfo/BusZzdzxxMapper.xml

@@ -922,7 +922,7 @@
     SELECT
     <include refid="Base_Column_List"/>, dict.dict_label as xingbie_text
     FROM base_pillar t
-    left join v_station v on t.station_id = v.dept_station_id
+    left join v_station v on t.station_id = v.station_id
     LEFT JOIN sys_dict_data dict ON (t.xingbie = dict.dict_value AND dict.dict_type = 'xingbie')
     <where>
       t.del_flag='0'