select outputID, PNO, Wl_Code, Itemname, Itemstandard, Machine_no, Stock_dw, Plan_Qty, Qty, Return_Qty, Weight, Crl_Name, Price, Amt, MemoList, wldm, orderno, end_flag, PI_NO, RMB_Huilv, nowsale_price, NowSale_RMB_Price, Use_Qty, use_date, USE_MEMO, Confirm_Man, now_price, Version_NO, Have_VS_Account, Have_VS_Man, Have_VS_time, DZ_Qty, LAST_DZ_QTY from sendcplist insert into sendcplist outputID, PNO, Wl_Code, Itemname, Itemstandard, Machine_no, Stock_dw, Plan_Qty, Qty, Return_Qty, Weight, Crl_Name, Price, Amt, MemoList, wldm, orderno, end_flag, PI_NO, RMB_Huilv, nowsale_price, NowSale_RMB_Price, Use_Qty, use_date, USE_MEMO, Confirm_Man, now_price, Version_NO, Have_VS_Account, Have_VS_Man, Have_VS_time, DZ_Qty, LAST_DZ_QTY, #{outputID}, #{PNO}, #{wlCode}, #{Itemname}, #{Itemstandard}, #{machineNo}, #{stockDw}, #{planQty}, #{Qty}, #{returnQty}, #{Weight}, #{crlName}, #{Price}, #{Amt}, #{MemoList}, #{wldm}, #{orderno}, #{endFlag}, #{piNo}, #{rmbHuilv}, #{nowsalePrice}, #{nowsaleRmbPrice}, #{useQty}, #{useDate}, #{useMemo}, #{confirmMan}, #{nowPrice}, #{versionNo}, #{haveVsAccount}, #{haveVsMan}, #{haveVsTime}, #{dzQty}, #{lastDzQty}, update sendcplist PNO = #{PNO}, Wl_Code = #{wlCode}, Itemname = #{Itemname}, Itemstandard = #{Itemstandard}, Machine_no = #{machineNo}, Stock_dw = #{stockDw}, Plan_Qty = #{planQty}, Qty = #{Qty}, Return_Qty = #{returnQty}, Weight = #{Weight}, Crl_Name = #{crlName}, Price = #{Price}, Amt = #{Amt}, MemoList = #{MemoList}, wldm = #{wldm}, orderno = #{orderno}, end_flag = #{endFlag}, PI_NO = #{piNo}, RMB_Huilv = #{rmbHuilv}, nowsale_price = #{nowsalePrice}, NowSale_RMB_Price = #{nowsaleRmbPrice}, Use_Qty = #{useQty}, use_date = #{useDate}, USE_MEMO = #{useMemo}, Confirm_Man = #{confirmMan}, now_price = #{nowPrice}, Version_NO = #{versionNo}, Have_VS_Account = #{haveVsAccount}, Have_VS_Man = #{haveVsMan}, Have_VS_time = #{haveVsTime}, DZ_Qty = #{dzQty}, LAST_DZ_QTY = #{lastDzQty}, where outputID = #{outputID} delete from sendcplist where outputID = #{outputID} delete from sendcplist where outputID in #{outputID}