select P_Code, P_Name, P_EN_NAME, P_Address, P_Post, P_Country, P_CEO, P_LinkMan, P_TEL, P_FAX, P_EMAIL, P_HTTP, P_CIQ_CODE, P_COM_CODE, P_HY_CODE, P_TYPE, P_Creat_Date, P_JHbank, P_JHbank_code, P_bank, P_bank_code, P_RMB_MONEY, P_WB_TYPE, P_WB_MONEY, memo_text, moral, comfirm_flag, comfirm_man, comfirm_DATE, write_man, Auditing_Flag, Auditing_man, Auditing_Date, Approve_flag, Approve_man, Approve_date, write_date, memotext, Credit_Amt, PID, NWX, OrderNO_Len, SendCP_ReportName, saler, d_water_no, S_Water_Name, S_Water_NO, Com_Code, Crl_Name, P_Country_Code, CID, SendUse_Confirm, TAX_Percent, senddw, tax_flag from customer
insert into customer
P_Code,
P_Name,
P_EN_NAME,
P_Address,
P_Post,
P_Country,
P_CEO,
P_LinkMan,
P_TEL,
P_FAX,
P_EMAIL,
P_HTTP,
P_CIQ_CODE,
P_COM_CODE,
P_HY_CODE,
P_TYPE,
P_Creat_Date,
P_JHbank,
P_JHbank_code,
P_bank,
P_bank_code,
P_RMB_MONEY,
P_WB_TYPE,
P_WB_MONEY,
memo_text,
moral,
comfirm_flag,
comfirm_man,
comfirm_DATE,
write_man,
Auditing_Flag,
Auditing_man,
Auditing_Date,
Approve_flag,
Approve_man,
Approve_date,
write_date,
memotext,
Credit_Amt,
PID,
NWX,
OrderNO_Len,
SendCP_ReportName,
saler,
d_water_no,
S_Water_Name,
S_Water_NO,
Com_Code,
Crl_Name,
P_Country_Code,
CID,
SendUse_Confirm,
TAX_Percent,
senddw,
tax_flag,
#{pCode},
#{pName},
#{pEnName},
#{pAddress},
#{pPost},
#{pCountry},
#{pCeo},
#{pLinkman},
#{pTel},
#{pFax},
#{pEmail},
#{pHttp},
#{pCiqCode},
#{pComCode},
#{pHyCode},
#{pType},
#{pCreatDate},
#{pJhbank},
#{pJhbankCode},
#{pBank},
#{pBankCode},
#{pRmbMoney},
#{pWbType},
#{pWbMoney},
#{memoText},
#{moral},
#{comfirmFlag},
#{comfirmMan},
#{comfirmDate},
#{writeMan},
#{auditingFlag},
#{auditingMan},
#{auditingDate},
#{approveFlag},
#{approveMan},
#{approveDate},
#{writeDate},
#{memotext},
#{creditAmt},
#{PID},
#{NWX},
#{ordernoLen},
#{sendcpReportname},
#{saler},
#{dWaterNo},
#{sWaterName},
#{sWaterNo},
#{comCode},
#{crlName},
#{pCountryCode},
#{CID},
#{senduseConfirm},
#{taxPercent},
#{senddw},
#{taxFlag},
update customer
P_Name = #{pName},
P_EN_NAME = #{pEnName},
P_Address = #{pAddress},
P_Post = #{pPost},
P_Country = #{pCountry},
P_CEO = #{pCeo},
P_LinkMan = #{pLinkman},
P_TEL = #{pTel},
P_FAX = #{pFax},
P_EMAIL = #{pEmail},
P_HTTP = #{pHttp},
P_CIQ_CODE = #{pCiqCode},
P_COM_CODE = #{pComCode},
P_HY_CODE = #{pHyCode},
P_TYPE = #{pType},
P_Creat_Date = #{pCreatDate},
P_JHbank = #{pJhbank},
P_JHbank_code = #{pJhbankCode},
P_bank = #{pBank},
P_bank_code = #{pBankCode},
P_RMB_MONEY = #{pRmbMoney},
P_WB_TYPE = #{pWbType},
P_WB_MONEY = #{pWbMoney},
memo_text = #{memoText},
moral = #{moral},
comfirm_flag = #{comfirmFlag},
comfirm_man = #{comfirmMan},
comfirm_DATE = #{comfirmDate},
write_man = #{writeMan},
Auditing_Flag = #{auditingFlag},
Auditing_man = #{auditingMan},
Auditing_Date = #{auditingDate},
Approve_flag = #{approveFlag},
Approve_man = #{approveMan},
Approve_date = #{approveDate},
write_date = #{writeDate},
memotext = #{memotext},
Credit_Amt = #{creditAmt},
PID = #{PID},
NWX = #{NWX},
OrderNO_Len = #{ordernoLen},
SendCP_ReportName = #{sendcpReportname},
saler = #{saler},
d_water_no = #{dWaterNo},
S_Water_Name = #{sWaterName},
S_Water_NO = #{sWaterNo},
Com_Code = #{comCode},
Crl_Name = #{crlName},
P_Country_Code = #{pCountryCode},
CID = #{CID},
SendUse_Confirm = #{senduseConfirm},
TAX_Percent = #{taxPercent},
senddw = #{senddw},
tax_flag = #{taxFlag},
where P_Code = #{pCode}
UPDATE customer SET comfirm_flag = '1',comfirm_man = #{Name},comfirm_DATE = #{Date} WHERE P_Code = #{Id}
delete from customer where P_Code = #{pCode}
delete from customer where P_Code in
#{pCode}