Переглянути джерело

通知单管理添加粮权所属字段

fanxiongwei 3 роки тому
батько
коміт
483081f70f

+ 20 - 5
src/main/java/com/chinaitop/depot/business/mapper/BusinessDeliveryStorageNoticeMapper.xml

@@ -60,6 +60,7 @@
60 60
     <result column="change_reason" property="changeReason" jdbcType="VARCHAR" />
61 61
     <result column="change_time" property="changeTime" jdbcType="TIMESTAMP" />
62 62
     <result column="change_content" property="changeContent" jdbcType="VARCHAR" />
63
+    <result column="lqss" property="lqss" jdbcType="VARCHAR" />
63 64
   </resultMap>
64 65
   <sql id="Example_Where_Clause" >
65 66
     <!--
@@ -143,7 +144,7 @@
143 144
     warehouse_id, warehouse_name, creater, create_time, create_unit, create_depot, update_time, 
144 145
     org_id, in_application, creater_id, root_contract_bid, identification, carNumber, 
145 146
     changing, change_record_flag, root_notice_bid, original_notice, original_notice_bid, 
146
-    change_reason, change_time, change_content
147
+    change_reason, change_time, change_content, lqss
147 148
   </sql>
148 149
   <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.business.model.BusinessDeliveryStorageNoticeExample" >
149 150
     <!--
@@ -218,7 +219,7 @@
218 219
       root_contract_bid, identification, carNumber, 
219 220
        changing, change_record_flag, 
220 221
       root_notice_bid, original_notice, original_notice_bid, 
221
-      change_reason, change_time, change_content
222
+      change_reason, change_time, change_content, lqss
222 223
       )
223 224
     values (#{id,jdbcType=INTEGER}, #{billType,jdbcType=VARCHAR}, #{billTypeId,jdbcType=INTEGER}, 
224 225
       #{billNumber,jdbcType=VARCHAR}, #{shipingCount,jdbcType=VARCHAR}, #{finishedCount,jdbcType=VARCHAR}, 
@@ -237,7 +238,7 @@
237 238
       #{rootContractBid,jdbcType=INTEGER}, #{identification,jdbcType=VARCHAR}, #{carnumber,jdbcType=VARCHAR}, 
238 239
        #{changing,jdbcType=VARCHAR}, #{changeRecordFlag,jdbcType=VARCHAR}, 
239 240
       #{rootNoticeBid,jdbcType=INTEGER}, #{originalNotice,jdbcType=VARCHAR}, #{originalNoticeBid,jdbcType=INTEGER}, 
240
-      #{changeReason,jdbcType=VARCHAR}, #{changeTime,jdbcType=TIMESTAMP}, #{changeContent,jdbcType=VARCHAR}
241
+      #{changeReason,jdbcType=VARCHAR}, #{changeTime,jdbcType=TIMESTAMP}, #{changeContent,jdbcType=VARCHAR}, #{lqss,jdbcType=VARCHAR}
241 242
       )
242 243
   </insert>
243 244
   <insert id="insertSelective" parameterType="com.chinaitop.depot.business.model.BusinessDeliveryStorageNotice" >
@@ -407,6 +408,9 @@
407 408
       <if test="changeContent != null" >
408 409
         change_content,
409 410
       </if>
411
+      <if test="lqss != null" >
412
+        lqss,
413
+      </if>
410 414
     </trim>
411 415
     <trim prefix="values (" suffix=")" suffixOverrides="," >
412 416
       <if test="id != null" >
@@ -568,6 +572,9 @@
568 572
       <if test="changeContent != null" >
569 573
         #{changeContent,jdbcType=VARCHAR},
570 574
       </if>
575
+      <if test="lqss != null" >
576
+        #{lqss,jdbcType=VARCHAR},
577
+      </if>
571 578
     </trim>
572 579
   </insert>
573 580
   <select id="countByExample" parameterType="com.chinaitop.depot.business.model.BusinessDeliveryStorageNoticeExample" resultType="java.lang.Integer" >
@@ -748,6 +755,9 @@
748 755
       <if test="record.changeContent != null" >
749 756
         change_content = #{record.changeContent,jdbcType=VARCHAR},
750 757
       </if>
758
+      <if test="record.lqss != null" >
759
+        lqss = #{record.lqss,jdbcType=VARCHAR},
760
+      </if>
751 761
     </set>
752 762
     <if test="_parameter != null" >
753 763
       <include refid="Update_By_Example_Where_Clause" />
@@ -812,7 +822,8 @@
812 822
       original_notice_bid = #{record.originalNoticeBid,jdbcType=INTEGER},
813 823
       change_reason = #{record.changeReason,jdbcType=VARCHAR},
814 824
       change_time = #{record.changeTime,jdbcType=TIMESTAMP},
815
-      change_content = #{record.changeContent,jdbcType=VARCHAR}
825
+      change_content = #{record.changeContent,jdbcType=VARCHAR},
826
+      lqss = #{record.lqss,jdbcType=VARCHAR}
816 827
     <if test="_parameter != null" >
817 828
       <include refid="Update_By_Example_Where_Clause" />
818 829
     </if>
@@ -981,6 +992,9 @@
981 992
       <if test="changeContent != null" >
982 993
         change_content = #{changeContent,jdbcType=VARCHAR},
983 994
       </if>
995
+      <if test="lqss != null" >
996
+        lqss = #{lqss,jdbcType=VARCHAR},
997
+      </if>
984 998
     </set>
985 999
     where id = #{id,jdbcType=INTEGER}
986 1000
   </update>
@@ -1042,7 +1056,8 @@
1042 1056
       original_notice_bid = #{originalNoticeBid,jdbcType=INTEGER},
1043 1057
       change_reason = #{changeReason,jdbcType=VARCHAR},
1044 1058
       change_time = #{changeTime,jdbcType=TIMESTAMP},
1045
-      change_content = #{changeContent,jdbcType=VARCHAR}
1059
+      change_content = #{changeContent,jdbcType=VARCHAR},
1060
+      lqss = #{lqss,jdbcType=VARCHAR}
1046 1061
     where id = #{id,jdbcType=INTEGER}
1047 1062
   </update>
1048 1063
   

+ 13 - 0
src/main/java/com/chinaitop/depot/business/model/BusinessDeliveryStorageNotice.java

@@ -451,6 +451,11 @@ public class BusinessDeliveryStorageNotice {
451 451
     private String changeContent;
452 452
 
453 453
     /**
454
+     * 粮权所属
455
+     */
456
+    private String lqss;
457
+
458
+    /**
454 459
      * This method was generated by MyBatis Generator.
455 460
      * This method returns the value of the database column business_delivery_storage_notice.id
456 461
      *
@@ -1723,4 +1728,12 @@ public class BusinessDeliveryStorageNotice {
1723 1728
     public void setChangeContent(String changeContent) {
1724 1729
         this.changeContent = changeContent == null ? null : changeContent.trim();
1725 1730
     }
1731
+
1732
+    public String getLqss() {
1733
+        return lqss;
1734
+    }
1735
+
1736
+    public void setLqss(String lqss) {
1737
+        this.lqss = lqss == null ? null : lqss.trim();
1738
+    }
1726 1739
 }