Quellcode durchsuchen

修改分段号字段名

wuhonghao vor 4 Jahren
Ursprung
Commit
7c0ae0cf05

+ 1 - 1
railway-business/src/main/java/com/railway/business/baseinfo/domain/BusFdfxjyq.java

@@ -62,7 +62,7 @@ public class BusFdfxjyq extends BaseEntity{
 
     @ApiModelProperty(value = "道岔号")
     @Length(min = 1, max = 50, message = "【道岔号】长度必须介于 {min} 和 {max} 之间")
-    private String cdh;
+    private String dch;
 
     @ApiModelProperty(value = "类型")
     @Length(min = 1, max = 20, message = "【类型】长度必须介于 {min} 和 {max} 之间")

+ 9 - 9
railway-business/src/main/resources/mapper/baseinfo/BusFdfxjyqMapper.xml

@@ -17,7 +17,7 @@
     <result column="station_track" property="stationTrack"/>
     <result column="gxms" property="gxms"/>
     <result column="marker" property="marker"/>
-    <result column="cdh" property="cdh"/>
+    <result column="dch" property="dch"/>
     <result column="lx" property="lx"/>
     <result column="remark" property="remark"/>
     <result column="jyqbh" property="jyqbh"/>
@@ -70,7 +70,7 @@
     t.marker,
     t.station_track,
     t.gxms,
-    t.cdh,
+    t.dch,
     t.lx,
     t.remark,
     t.jyqbh,
@@ -134,8 +134,8 @@
       <if test='null != marker'>
         marker,
       </if>
-      <if test='null != cdh'>
-        cdh,
+      <if test='null != dch'>
+        dch,
       </if>
       <if test='null != lx'>
         lx,
@@ -268,8 +268,8 @@
       <if test='null != marker'>
         #{marker},
       </if>
-      <if test='null != cdh'>
-        #{cdh},
+      <if test='null != dch'>
+        #{dch},
       </if>
       <if test='null != lx'>
         #{lx},
@@ -400,7 +400,7 @@
       <if test='null != marker'>marker = #{marker},</if>
       <if test='null != stationTrack'>station_track = #{stationTrack},</if>
       <if test='null != gxms'>gxms = #{gxms},</if>
-      <if test='null != cdh'>cdh = #{cdh},</if>
+      <if test='null != dch'>dch = #{dch},</if>
       <if test='null != lx'>lx = #{lx},</if>
       <if test='null != remark'>remark = #{remark},</if>
       <if test='null != jyqbh'>jyqbh = #{jyqbh},</if>
@@ -483,8 +483,8 @@
       <if test="gxms!=null and gxms!=''">
         and gxms=#{gxms}
       </if>
-      <if test="cdh!=null and cdh!=''">
-        and cdh=#{cdh}
+      <if test="dch!=null and dch!=''">
+        and dch=#{dch}
       </if>
       <if test="lx!=null and lx!=''">
         and lx=#{lx}