|
|
|
@ -7,7 +7,7 @@ |
|
|
|
id,site,supplier_no,supplier_name,supplier_group,create_date,create_by,update_date,update_by,supplier_doc_type, |
|
|
|
TaxCode,FaxNo,PhoneNo,Contact,Address,PaymentTerm,DeliveryTerm,Buyer,Currency,ABC,Active,CreateDate,BankName,BankAccount, |
|
|
|
TaxNo,Email,Memo,CustomerAddress,Tax,Email2,PhoneNo2,PhoneNo3,SourcingStaff,Other_contact1,Other_contact2,Other_contact3, |
|
|
|
c_short_office,c_short_npc,planner,status,min_ship_account,handling_charge,production_lead_time |
|
|
|
c_short_office,c_short_npc,planner,status,min_ship_account,handling_charge,production_lead_time,default_origin_port |
|
|
|
</sql> |
|
|
|
|
|
|
|
|
|
|
|
@ -59,7 +59,8 @@ |
|
|
|
<!-- rqrq - 最低出货金额为字典值,排在小单费前;小单费由 Service 去尾零 --> |
|
|
|
s.min_ship_account AS minShipAccount, |
|
|
|
s.handling_charge as handlingCharge, |
|
|
|
s.production_lead_time AS productionLeadTime |
|
|
|
s.production_lead_time AS productionLeadTime, |
|
|
|
s.default_origin_port AS defaultOriginPort |
|
|
|
FROM srm_supplier s |
|
|
|
LEFT JOIN sys_dict_data sg ON sg.dict_value = s.supplier_group |
|
|
|
AND sg.dict_type='supplier_group' |
|
|
|
@ -395,7 +396,7 @@ |
|
|
|
Other_contact1, |
|
|
|
Other_contact2, |
|
|
|
Other_contact3, |
|
|
|
Memo,c_short_office,c_short_npc,planner,min_ship_account,handling_charge <!-- rqrq - 新增写入最低出货金额、小单费 --> |
|
|
|
Memo,c_short_office,c_short_npc,planner,min_ship_account,handling_charge,default_origin_port <!-- rqrq - 新增写入最低出货金额、小单费 --> |
|
|
|
) VALUES ( |
|
|
|
#{site}, |
|
|
|
#{supplierNo}, |
|
|
|
@ -430,7 +431,7 @@ |
|
|
|
#{otherContact1}, |
|
|
|
#{otherContact2}, |
|
|
|
#{otherContact3}, |
|
|
|
#{memo},#{cShortOffice},#{cShortNpc},#{planner},#{minShipAccount},#{handlingCharge} |
|
|
|
#{memo},#{cShortOffice},#{cShortNpc},#{planner},#{minShipAccount},#{handlingCharge},#{defaultOriginPort} |
|
|
|
) |
|
|
|
</insert> |
|
|
|
|
|
|
|
@ -441,7 +442,8 @@ |
|
|
|
phoneNo = #{phoneNo},phoneNo2 = #{phoneNo2},phoneNo3 = #{phoneNo3},email = #{email}, email2 = #{email2},faxNo = #{faxNo},Other_contact1 = #{otherContact1},Other_contact2 = #{otherContact2}, |
|
|
|
Other_contact3 = #{otherContact3},bankName= #{bankName},bankAccount = #{bankAccount}, address = #{address},memo = #{memo},c_short_office=#{cShortOffice},c_short_npc=#{cShortNpc},planner=#{planner}, |
|
|
|
min_ship_account = #{minShipAccount}, <!-- rqrq - 编辑回写最低出货金额 --> |
|
|
|
handling_charge = #{handlingCharge} |
|
|
|
handling_charge = #{handlingCharge}, |
|
|
|
default_origin_port = #{defaultOriginPort} |
|
|
|
|
|
|
|
WHERE id = #{id} |
|
|
|
</update> |
|
|
|
@ -451,6 +453,7 @@ |
|
|
|
<update id="updateProductionLeadTime"> |
|
|
|
UPDATE srm_supplier |
|
|
|
SET production_lead_time = #{productionLeadTime,jdbcType=INTEGER}, |
|
|
|
default_origin_port = #{defaultOriginPort,jdbcType=VARCHAR}, |
|
|
|
update_date = GETDATE(), |
|
|
|
update_by = #{updateBy} |
|
|
|
WHERE site = #{site} |
|
|
|
|