|
@@ -33,6 +33,7 @@
|
33
|
33
|
<result column="ord_no" property="ordNo" jdbcType="VARCHAR" />
|
34
|
34
|
<result column="tally_people" property="tallyPeople" jdbcType="VARCHAR" />
|
35
|
35
|
<result column="fk_compony_name" property="fkComponyName" jdbcType="VARCHAR" />
|
|
36
|
+ <result column="contract_no" property="contractNo" jdbcType="VARCHAR" />
|
36
|
37
|
<association column="add_id" property="addUser" select="com.th.demo.mapping.system.SysUserMapper.selectByPrimaryKey" />
|
37
|
38
|
|
38
|
39
|
</resultMap>
|
|
@@ -43,7 +44,7 @@
|
43
|
44
|
<sql id="Base_Column_List" >
|
44
|
45
|
id, ware_name, stack_name, layer, material_name, material_no, standard, model, customer_name,
|
45
|
46
|
customer_no, count, weight, remark, add_id, add_time, modify_id, modify_time, cancel_id,
|
46
|
|
- cancel_time, cancel_flag, belong_id, plate_no,record_type,receive_address ,wgt_dcn_mtc_cd,edge_ty,production_place
|
|
47
|
+ cancel_time, cancel_flag, belong_id, plate_no,record_type,receive_address ,wgt_dcn_mtc_cd,edge_ty,production_place,contract_no
|
47
|
48
|
</sql>
|
48
|
49
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
49
|
50
|
select
|
|
@@ -69,7 +70,7 @@
|
69
|
70
|
modify_id, modify_time, cancel_id,
|
70
|
71
|
cancel_time, cancel_flag, belong_id,
|
71
|
72
|
plate_no,record_type,receive_address
|
72
|
|
- ,wgt_dcn_mtc_cd,edge_ty,production_place,car_no,ord_no,tally_people,fk_compony_name)
|
|
73
|
+ ,wgt_dcn_mtc_cd,edge_ty,production_place,car_no,ord_no,tally_people,fk_compony_name,contract_no)
|
73
|
74
|
values (#{id,jdbcType=VARCHAR}, #{wareName,jdbcType=VARCHAR}, #{stackName,jdbcType=VARCHAR},
|
74
|
75
|
#{layer,jdbcType=INTEGER}, #{materialName,jdbcType=VARCHAR}, #{materialNo,jdbcType=VARCHAR},
|
75
|
76
|
#{standard,jdbcType=VARCHAR}, #{model,jdbcType=VARCHAR}, #{customerName,jdbcType=VARCHAR},
|
|
@@ -79,7 +80,7 @@
|
79
|
80
|
#{cancelTime,jdbcType=TIMESTAMP}, #{cancelFlag,jdbcType=VARCHAR}, #{belongId,jdbcType=VARCHAR},
|
80
|
81
|
#{plateNo,jdbcType=VARCHAR},#{recordType,jdbcType=VARCHAR}, #{receiveAddress,jdbcType=VARCHAR}
|
81
|
82
|
,#{wgtDcnMtcCd,jdbcType=VARCHAR},#{edgeTy,jdbcType=VARCHAR},#{productionPlace,jdbcType=VARCHAR},#{carNo,jdbcType=VARCHAR}
|
82
|
|
- ,#{ordNo,jdbcType=VARCHAR},#{tallyPeople,jdbcType=VARCHAR},#{fkComponyName,jdbcType=VARCHAR})
|
|
83
|
+ ,#{ordNo,jdbcType=VARCHAR},#{tallyPeople,jdbcType=VARCHAR},#{fkComponyName,jdbcType=VARCHAR},#{contractNo,jdbcType=VARCHAR})
|
83
|
84
|
</insert>
|
84
|
85
|
<insert id="insertSelective" parameterType="com.th.demo.model.ware.InRecord" >
|
85
|
86
|
insert into t_ware_in_record
|
|
@@ -313,7 +314,8 @@
|
313
|
314
|
belong_id = #{belongId,jdbcType=VARCHAR},
|
314
|
315
|
plate_no = #{plateNo,jdbcType=VARCHAR},
|
315
|
316
|
record_type = #{recordType,jdbcType=VARCHAR},
|
316
|
|
- receive_address = #{receiveAddress,jdbcType=VARCHAR}
|
|
317
|
+ receive_address = #{receiveAddress,jdbcType=VARCHAR},
|
|
318
|
+ contract_no = #{contractNo,jdbcType=VARCHAR}
|
317
|
319
|
where id = #{id,jdbcType=VARCHAR}
|
318
|
320
|
</update>
|
319
|
321
|
|