Browse Source

【Bug】线别保存报错

xczzmn 4 years ago
parent
commit
9f824db86c

+ 0 - 7
railway-business/src/main/resources/mapper/baseinfo/BusLineMapper.xml

@@ -75,9 +75,6 @@
       <if test='null != deptId'>
         dept_id,
       </if>
-      <if test='null != deptName'>
-        dept_name,
-      </if>
       <if test='null != lineName'>
         line_name,
       </if>
@@ -155,9 +152,6 @@
       <if test='null != deptId'>
         #{deptId},
       </if>
-      <if test='null != deptName'>
-        #{deptName},
-      </if>
       <if test='null != lineName'>
         #{lineName},
       </if>
@@ -243,7 +237,6 @@
     UPDATE base_line
     <set>
       <if test='null != deptId'>dept_id = #{deptId},</if>
-      <if test='null != deptName'>dept_name = #{deptName},</if>
       <if test='null != lineName'>line_name = #{lineName},</if>
       <if test='null != xingbie'>xingbie = #{xingbie},</if>
       <if test='null != lineSddj'>line_sddj = #{lineSddj},</if>