|
|
@@ -15,7 +15,7 @@
|
|
15
|
15
|
<result column="count" property="count" jdbcType="DOUBLE" />
|
|
16
|
16
|
<result column="weight" property="weight" jdbcType="DOUBLE" />
|
|
17
|
17
|
<result column="remark" property="remark" jdbcType="VARCHAR" />
|
|
18
|
|
-
|
|
|
18
|
+ <result column="contract_no" property="contractNo" jdbcType="VARCHAR" />
|
|
19
|
19
|
<result column="add_time" property="addTime" jdbcType="TIMESTAMP" />
|
|
20
|
20
|
<result column="modify_id" property="modifyId" jdbcType="VARCHAR" />
|
|
21
|
21
|
<result column="modify_time" property="modifyTime" jdbcType="TIMESTAMP" />
|
|
|
@@ -70,7 +70,7 @@
|
|
70
|
70
|
modify_id, modify_time, cancel_id,
|
|
71
|
71
|
cancel_time, cancel_flag, belong_id,
|
|
72
|
72
|
plate_no,record_type,receive_address
|
|
73
|
|
- ,wgt_dcn_mtc_cd,edge_ty,production_place,car_no,ord_no,tally_people,fk_compony_name,remark1)
|
|
|
73
|
+ ,wgt_dcn_mtc_cd,edge_ty,production_place,car_no,ord_no,tally_people,fk_compony_name,remark1,contract_no)
|
|
74
|
74
|
values (#{id,jdbcType=VARCHAR}, #{wareName,jdbcType=VARCHAR}, #{stackName,jdbcType=VARCHAR},
|
|
75
|
75
|
#{layer,jdbcType=INTEGER}, #{materialName,jdbcType=VARCHAR}, #{materialNo,jdbcType=VARCHAR},
|
|
76
|
76
|
#{standard,jdbcType=VARCHAR}, #{model,jdbcType=VARCHAR}, #{customerName,jdbcType=VARCHAR},
|
|
|
@@ -80,7 +80,7 @@
|
|
80
|
80
|
#{cancelTime,jdbcType=TIMESTAMP}, #{cancelFlag,jdbcType=VARCHAR}, #{belongId,jdbcType=VARCHAR},
|
|
81
|
81
|
#{plateNo,jdbcType=VARCHAR},#{recordType,jdbcType=VARCHAR}, #{receiveAddress,jdbcType=VARCHAR}
|
|
82
|
82
|
,#{wgtDcnMtcCd,jdbcType=VARCHAR},#{edgeTy,jdbcType=VARCHAR},#{productionPlace,jdbcType=VARCHAR},#{carNo,jdbcType=VARCHAR}
|
|
83
|
|
- ,#{ordNo,jdbcType=VARCHAR},#{tallyPeople,jdbcType=VARCHAR},#{fkComponyName,jdbcType=VARCHAR},#{remark1,jdbcType=VARCHAR})
|
|
|
83
|
+ ,#{ordNo,jdbcType=VARCHAR},#{tallyPeople,jdbcType=VARCHAR},#{fkComponyName,jdbcType=VARCHAR},#{remark1,jdbcType=VARCHAR},#{contractNo,jdbcType=VARCHAR})
|
|
84
|
84
|
</insert>
|
|
85
|
85
|
<insert id="insertSelective" parameterType="com.th.demo.model.ware.InRecord" >
|
|
86
|
86
|
insert into t_ware_in_record
|
|
|
@@ -151,6 +151,9 @@
|
|
151
|
151
|
<if test="plateNo != null" >
|
|
152
|
152
|
plate_no,
|
|
153
|
153
|
</if>
|
|
|
154
|
+ <if test="contractNo != null" >
|
|
|
155
|
+ contract_no,
|
|
|
156
|
+ </if>
|
|
154
|
157
|
</trim>
|
|
155
|
158
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
156
|
159
|
<if test="id != null" >
|
|
|
@@ -219,6 +222,9 @@
|
|
219
|
222
|
<if test="plateNo != null" >
|
|
220
|
223
|
#{plateNo,jdbcType=VARCHAR},
|
|
221
|
224
|
</if>
|
|
|
225
|
+ <if test="contractNo != null" >
|
|
|
226
|
+ #{contractNo,jdbcType=VARCHAR},
|
|
|
227
|
+ </if>
|
|
222
|
228
|
</trim>
|
|
223
|
229
|
</insert>
|
|
224
|
230
|
<update id="updateByPrimaryKeySelective" parameterType="com.th.demo.model.ware.InRecord" >
|