Parcourir la source

【CHG】修改线岔反查SQL

ZhaoMn il y a 4 ans
Parent
commit
0a2a678cee

+ 0 - 12
railway-business/src/main/resources/mapper/catenary/BusJcbJcxcMapper.xml

@@ -114,12 +114,6 @@
   <insert id="insert" parameterType="com.railway.business.catenary.domain.BusJcbJcxc">
     INSERT INTO bus_jcb_jcxc
     <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test='null != deptStationId'>
-        dept_station_id,
-      </if>
-      <if test='null != pillarCode'>
-        pillar_code,
-      </if>
       <if test='null != xch'>
         xch,
       </if>
@@ -251,12 +245,6 @@
       </if>
     </trim>
     <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test='null != deptStationId'>
-        #{deptStationId},
-      </if>
-      <if test='null != pillarCode'>
-        #{pillarCode},
-      </if>
       <if test='null != xch'>
         #{xch},
       </if>

+ 0 - 14
railway-business/src/main/resources/mapper/catenary/BusJcbWjcxcMapper.xml

@@ -102,12 +102,6 @@
   <insert id="insert" parameterType="com.railway.business.catenary.domain.BusJcbWjcxc">
     INSERT INTO bus_jcb_wjcxc
     <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test='null != deptStationId'>
-        dept_station_id,
-      </if>
-      <if test='null != pillarCode'>
-        pillar_code,
-      </if>
       <if test='null != xch'>
         xch,
       </if>
@@ -221,12 +215,6 @@
       </if>
     </trim>
     <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test='null != deptStationId'>
-        #{deptStationId},
-      </if>
-      <if test='null != pillarCode'>
-        #{pillarCode},
-      </if>
       <if test='null != xch'>
         #{xch},
       </if>
@@ -350,8 +338,6 @@
   <update id="update" parameterType="com.railway.business.catenary.domain.BusJcbWjcxc">
     UPDATE bus_jcb_wjcxc
     <set>
-      <if test='null != deptStationId'>dept_station_id = #{deptStationId},</if>
-      <if test='null != pillarCode'>pillar_code = #{pillarCode},</if>
       <if test='null != xch'>xch = #{xch},</if>
       <if test='null != temperature'>temperature = #{temperature},</if>
       <if test='null != checkDate'>check_date = #{checkDate},</if>