|
|
|
@ -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 |
|
|
|
c_short_office,c_short_npc,planner,status |
|
|
|
</sql> |
|
|
|
|
|
|
|
|
|
|
|
@ -18,6 +18,7 @@ |
|
|
|
s.supplier_no AS supplierNo, |
|
|
|
s.supplier_name AS supplierName, |
|
|
|
s.supplier_group AS supplierGroup, |
|
|
|
s.status AS status, |
|
|
|
sg.dict_label AS groupDesc, |
|
|
|
s.supplier_doc_type AS supplierDocType, |
|
|
|
s.create_date AS createDate, |
|
|
|
@ -97,6 +98,11 @@ |
|
|
|
<if test="query.active != null and query.active != ''"> |
|
|
|
AND s.Active = #{query.active} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="query.status != null and query.status != ''"> |
|
|
|
AND s.status = #{query.status} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="query.planner != null and query.planner != ''"> |
|
|
|
AND ( |
|
|
|
ISNULL(s.planner, '') LIKE '%' + #{query.planner} + '%' |
|
|
|
@ -355,6 +361,7 @@ |
|
|
|
site, |
|
|
|
supplier_no, |
|
|
|
supplier_name, |
|
|
|
status, |
|
|
|
supplier_group, |
|
|
|
create_date, |
|
|
|
create_by, |
|
|
|
@ -389,6 +396,7 @@ |
|
|
|
#{site}, |
|
|
|
#{supplierNo}, |
|
|
|
#{supplierName}, |
|
|
|
#{status}, |
|
|
|
#{supplierGroup}, |
|
|
|
#{createDate}, |
|
|
|
#{createBy}, |
|
|
|
@ -424,7 +432,7 @@ |
|
|
|
|
|
|
|
<!-- 更新供应商 --> |
|
|
|
<update id="updateSrmSupplier" parameterType="com.xujie.modules.srm.entity.SrmSupplier"> |
|
|
|
UPDATE srm_supplier set supplier_name = #{supplierName}, supplier_group = #{supplierGroup}, active = #{active}, supplier_doc_type = #{supplierDocType}, |
|
|
|
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} |
|
|
|
|