select SaleOrderID, PNO, Wl_Code, Itemname, Itemstandard, Machine_no, Stock_dw, Qty, Weight, Crl_Name, Price, Amt, SendDate, MemoList, OrderQty, Q_Qty, wldm, PI_NO, RMB_HuiLv, RMB_AMT, Now_YM, YL_MRP, ZZGD_OrderQty, ZZGD_Q_Qty, Return_QTY, JA_QTY, JA_FLAG, JA_MAN, JA_time, Version_NO from saleorderlist insert into saleorderlist SaleOrderID, PNO, Wl_Code, Itemname, Itemstandard, Machine_no, Stock_dw, Qty, Weight, Crl_Name, Price, Amt, SendDate, MemoList, OrderQty, Q_Qty, wldm, PI_NO, RMB_HuiLv, RMB_AMT, Now_YM, YL_MRP, ZZGD_OrderQty, ZZGD_Q_Qty, Return_QTY, JA_QTY, JA_FLAG, JA_MAN, JA_time, Version_NO, #{SaleOrderID}, #{PNO}, #{wlCode}, #{Itemname}, #{Itemstandard}, #{machineNo}, #{stockDw}, #{Qty}, #{Weight}, #{crlName}, #{Price}, #{Amt}, #{SendDate}, #{MemoList}, #{OrderQty}, #{qQty}, #{wldm}, #{piNo}, #{rmbHuilv}, #{rmbAmt}, #{nowYm}, #{ylMrp}, #{zzgdOrderqty}, #{zzgdQQty}, #{returnQty}, #{jaQty}, #{jaFlag}, #{jaMan}, #{jaTime}, #{versionNo}, update saleorderlist PNO = #{PNO}, Wl_Code = #{wlCode}, Itemname = #{Itemname}, Itemstandard = #{Itemstandard}, Machine_no = #{machineNo}, Stock_dw = #{stockDw}, Qty = #{Qty}, Weight = #{Weight}, Crl_Name = #{crlName}, Price = #{Price}, Amt = #{Amt}, SendDate = #{SendDate}, MemoList = #{MemoList}, OrderQty = #{OrderQty}, Q_Qty = #{qQty}, wldm = #{wldm}, PI_NO = #{piNo}, RMB_HuiLv = #{rmbHuilv}, RMB_AMT = #{rmbAmt}, Now_YM = #{nowYm}, YL_MRP = #{ylMrp}, ZZGD_OrderQty = #{zzgdOrderqty}, ZZGD_Q_Qty = #{zzgdQQty}, Return_QTY = #{returnQty}, JA_QTY = #{jaQty}, JA_FLAG = #{jaFlag}, JA_MAN = #{jaMan}, JA_time = #{jaTime}, Version_NO = #{versionNo}, where SaleOrderID = #{SaleOrderID} delete from saleorderlist where SaleOrderID = #{SaleOrderID} delete from saleorderlist where SaleOrderID in #{SaleOrderID}