...
|
...
|
@@ -36,29 +36,29 @@ |
|
|
<result column="CONSIGNEE_PHONE" property="consigneePhone" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.tianbo.analysis.model.Originmanifestsecondary" >
|
|
|
insert into ORIGINMANIFESTSECONDARY (AUTOID, WAYBILLNOMASTER, WAYBILLNOSECONDARY,
|
|
|
WEIGHT, PIECE, MANIFESTPIECE,
|
|
|
MANIFESTWEIGHT, PRODUCTNAME, PAYMODE,
|
|
|
SPECIALGOODSCODE, CUSTOMSCODE, SHIPPERNAME,
|
|
|
SHIPPERADDRESS, CONSIGNEENAME, CONSIGNEEADDRESS,
|
|
|
CREATEDATE, ORIGINMANIFESTMASTERAUTOID,
|
|
|
CUSTOMSSTATUS, STATUS, RECEIPTION,
|
|
|
ORIGINATINGSTATION_BILL, DESTINATIONSTATION_BILL,
|
|
|
SHIPPER_CODE, SHIPPER_COUNTRYCODE, SHIPPER_PHONE,
|
|
|
SHIPPER_FAX, CONSIGNEE_CODE, CONSIGNEE_COUNTRYCODE,
|
|
|
CONSIGNEE_FAX, SPECIFIC_CONSIGNEENAME, SPECIFIC_CONSIGNEE_PHONE,
|
|
|
insert into ORIGINMANIFESTSECONDARY (AUTOID, WAYBILLNOMASTER, WAYBILLNOSECONDARY,
|
|
|
WEIGHT, PIECE, MANIFESTPIECE,
|
|
|
MANIFESTWEIGHT, PRODUCTNAME, PAYMODE,
|
|
|
SPECIALGOODSCODE, CUSTOMSCODE, SHIPPERNAME,
|
|
|
SHIPPERADDRESS, CONSIGNEENAME, CONSIGNEEADDRESS,
|
|
|
CREATEDATE, ORIGINMANIFESTMASTERAUTOID,
|
|
|
CUSTOMSSTATUS, STATUS, RECEIPTION,
|
|
|
ORIGINATINGSTATION_BILL, DESTINATIONSTATION_BILL,
|
|
|
SHIPPER_CODE, SHIPPER_COUNTRYCODE, SHIPPER_PHONE,
|
|
|
SHIPPER_FAX, CONSIGNEE_CODE, CONSIGNEE_COUNTRYCODE,
|
|
|
CONSIGNEE_FAX, SPECIFIC_CONSIGNEENAME, SPECIFIC_CONSIGNEE_PHONE,
|
|
|
CONSIGNEE_PHONE)
|
|
|
values (#{autoid,jdbcType=VARCHAR}, #{waybillnomaster,jdbcType=VARCHAR}, #{waybillnosecondary,jdbcType=VARCHAR},
|
|
|
#{weight,jdbcType=VARCHAR}, #{piece,jdbcType=VARCHAR}, #{manifestpiece,jdbcType=VARCHAR},
|
|
|
#{manifestweight,jdbcType=VARCHAR}, #{productname,jdbcType=VARCHAR}, #{paymode,jdbcType=VARCHAR},
|
|
|
#{specialgoodscode,jdbcType=VARCHAR}, #{customscode,jdbcType=VARCHAR}, #{shippername,jdbcType=VARCHAR},
|
|
|
#{shipperaddress,jdbcType=VARCHAR}, #{consigneename,jdbcType=VARCHAR}, #{consigneeaddress,jdbcType=VARCHAR},
|
|
|
#{createdate,jdbcType=TIMESTAMP}, #{originmanifestmasterautoid,jdbcType=VARCHAR},
|
|
|
#{customsstatus,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{receiption,jdbcType=VARCHAR},
|
|
|
#{originatingstationBill,jdbcType=VARCHAR}, #{destinationstationBill,jdbcType=VARCHAR},
|
|
|
#{shipperCode,jdbcType=VARCHAR}, #{shipperCountrycode,jdbcType=VARCHAR}, #{shipperPhone,jdbcType=VARCHAR},
|
|
|
#{shipperFax,jdbcType=VARCHAR}, #{consigneeCode,jdbcType=VARCHAR}, #{consigneeCountrycode,jdbcType=VARCHAR},
|
|
|
#{consigneeFax,jdbcType=VARCHAR}, #{specificConsigneename,jdbcType=VARCHAR}, #{specificConsigneePhone,jdbcType=VARCHAR},
|
|
|
values (#{autoid,jdbcType=VARCHAR}, #{waybillnomaster,jdbcType=VARCHAR}, #{waybillnosecondary,jdbcType=VARCHAR},
|
|
|
#{weight,jdbcType=VARCHAR}, #{piece,jdbcType=VARCHAR}, #{manifestpiece,jdbcType=VARCHAR},
|
|
|
#{manifestweight,jdbcType=VARCHAR}, #{productname,jdbcType=VARCHAR}, #{paymode,jdbcType=VARCHAR},
|
|
|
#{specialgoodscode,jdbcType=VARCHAR}, #{customscode,jdbcType=VARCHAR}, #{shippername,jdbcType=VARCHAR},
|
|
|
#{shipperaddress,jdbcType=VARCHAR}, #{consigneename,jdbcType=VARCHAR}, #{consigneeaddress,jdbcType=VARCHAR},
|
|
|
#{createdate,jdbcType=TIMESTAMP}, #{originmanifestmasterautoid,jdbcType=VARCHAR},
|
|
|
#{customsstatus,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{receiption,jdbcType=VARCHAR},
|
|
|
#{originatingstationBill,jdbcType=VARCHAR}, #{destinationstationBill,jdbcType=VARCHAR},
|
|
|
#{shipperCode,jdbcType=VARCHAR}, #{shipperCountrycode,jdbcType=VARCHAR}, #{shipperPhone,jdbcType=VARCHAR},
|
|
|
#{shipperFax,jdbcType=VARCHAR}, #{consigneeCode,jdbcType=VARCHAR}, #{consigneeCountrycode,jdbcType=VARCHAR},
|
|
|
#{consigneeFax,jdbcType=VARCHAR}, #{specificConsigneename,jdbcType=VARCHAR}, #{specificConsigneePhone,jdbcType=VARCHAR},
|
|
|
#{consigneePhone,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tianbo.analysis.model.Originmanifestsecondary" >
|
...
|
...
|
@@ -286,4 +286,104 @@ |
|
|
WHERE
|
|
|
AUTOID = #{awbhAutoId,jdbcType=VARCHAR}
|
|
|
</delete>
|
|
|
</mapper> |
|
|
\ No newline at end of file |
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.tianbo.analysis.model.Originmanifestsecondary" >
|
|
|
update CGONMS.ORIGINMANIFESTSECONDARY
|
|
|
<set >
|
|
|
<if test="waybillnomaster != null" >
|
|
|
WAYBILLNOMASTER = #{waybillnomaster,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="waybillnosecondary != null" >
|
|
|
WAYBILLNOSECONDARY = #{waybillnosecondary,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="weight != null" >
|
|
|
WEIGHT = #{weight,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="piece != null" >
|
|
|
PIECE = #{piece,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="manifestpiece != null" >
|
|
|
MANIFESTPIECE = #{manifestpiece,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="manifestweight != null" >
|
|
|
MANIFESTWEIGHT = #{manifestweight,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="productname != null" >
|
|
|
PRODUCTNAME = #{productname,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="paymode != null" >
|
|
|
PAYMODE = #{paymode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="specialgoodscode != null" >
|
|
|
SPECIALGOODSCODE = #{specialgoodscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="customscode != null" >
|
|
|
CUSTOMSCODE = #{customscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shippername != null" >
|
|
|
SHIPPERNAME = #{shippername,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperaddress != null" >
|
|
|
SHIPPERADDRESS = #{shipperaddress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneename != null" >
|
|
|
CONSIGNEENAME = #{consigneename,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeaddress != null" >
|
|
|
CONSIGNEEADDRESS = #{consigneeaddress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="createdate != null" >
|
|
|
CREATEDATE = #{createdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="originmanifestmasterautoid != null" >
|
|
|
ORIGINMANIFESTMASTERAUTOID = #{originmanifestmasterautoid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="customsstatus != null" >
|
|
|
CUSTOMSSTATUS = #{customsstatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="status != null" >
|
|
|
STATUS = #{status,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="receiption != null" >
|
|
|
RECEIPTION = #{receiption,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="originatingstationBill != null" >
|
|
|
ORIGINATINGSTATION_BILL = #{originatingstationBill,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="destinationstationBill != null" >
|
|
|
DESTINATIONSTATION_BILL = #{destinationstationBill,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperCode != null" >
|
|
|
SHIPPER_CODE = #{shipperCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperCountrycode != null" >
|
|
|
SHIPPER_COUNTRYCODE = #{shipperCountrycode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperPhone != null" >
|
|
|
SHIPPER_PHONE = #{shipperPhone,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="shipperFax != null" >
|
|
|
SHIPPER_FAX = #{shipperFax,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeCode != null" >
|
|
|
CONSIGNEE_CODE = #{consigneeCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeCountrycode != null" >
|
|
|
CONSIGNEE_COUNTRYCODE = #{consigneeCountrycode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneeFax != null" >
|
|
|
CONSIGNEE_FAX = #{consigneeFax,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="specificConsigneename != null" >
|
|
|
SPECIFIC_CONSIGNEENAME = #{specificConsigneename,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="specificConsigneePhone != null" >
|
|
|
SPECIFIC_CONSIGNEE_PHONE = #{specificConsigneePhone,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="consigneePhone != null" >
|
|
|
CONSIGNEE_PHONE = #{consigneePhone,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</set>
|
|
|
where AUTOID = #{autoid,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
|
|
|
</mapper> |
...
|
...
|
|