|
|
|
@ -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 |
|
|
|
c_short_office,c_short_npc,planner,status,handling_charge |
|
|
|
</sql> |
|
|
|
|
|
|
|
|
|
|
|
@ -55,7 +55,8 @@ |
|
|
|
s.Other_contact1 AS otherContact1, |
|
|
|
s.Other_contact2 AS otherContact2, |
|
|
|
s.Other_contact3 AS otherContact3, |
|
|
|
s.Memo AS memo, s.c_short_office,s.c_short_npc |
|
|
|
s.Memo AS memo, s.c_short_office,s.c_short_npc, |
|
|
|
s.handling_charge as handlingCharge |
|
|
|
FROM srm_supplier s |
|
|
|
LEFT JOIN sys_dict_data sg ON sg.dict_value = s.supplier_group |
|
|
|
AND sg.dict_type='supplier_group' |
|
|
|
@ -391,7 +392,7 @@ |
|
|
|
Other_contact1, |
|
|
|
Other_contact2, |
|
|
|
Other_contact3, |
|
|
|
Memo,c_short_office,c_short_npc,planner |
|
|
|
Memo,c_short_office,c_short_npc,planner,handling_charge |
|
|
|
) VALUES ( |
|
|
|
#{site}, |
|
|
|
#{supplierNo}, |
|
|
|
@ -426,7 +427,7 @@ |
|
|
|
#{otherContact1}, |
|
|
|
#{otherContact2}, |
|
|
|
#{otherContact3}, |
|
|
|
#{memo},#{cShortOffice},#{cShortNpc},#{planner} |
|
|
|
#{memo},#{cShortOffice},#{cShortNpc},#{planner},#{handlingCharge} |
|
|
|
) |
|
|
|
</insert> |
|
|
|
|
|
|
|
@ -435,7 +436,8 @@ |
|
|
|
UPDATE srm_supplier set supplier_name = #{supplierName}, supplier_group = #{supplierGroup}, active = #{active}, status = #{status}, supplier_doc_type = #{supplierDocType}, |
|
|
|
taxCode = #{taxCode}, abc = #{abc}, sourcingStaff = #{sourcingStaff}, currency = #{currency}, paymentTerm = #{paymentTerm}, deliveryTerm = #{deliveryTerm}, |
|
|
|
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} |
|
|
|
Other_contact3 = #{otherContact3},bankName= #{bankName},bankAccount = #{bankAccount}, address = #{address},memo = #{memo},c_short_office=#{cShortOffice},c_short_npc=#{cShortNpc},planner=#{planner}, |
|
|
|
handling_charge = #{handlingCharge} |
|
|
|
|
|
|
|
WHERE id = #{id} |
|
|
|
</update> |
|
|
|
|