select invoiceid, orderno, wl_code, itemname, stock_dw, crl_name, qty, price, amt, PNO, FPH from poinvoicelist insert into poinvoicelist invoiceid, orderno, wl_code, itemname, stock_dw, crl_name, qty, price, amt, PNO, FPH, #{invoiceid}, #{orderno}, #{wlCode}, #{itemname}, #{stockDw}, #{crlName}, #{qty}, #{price}, #{amt}, #{PNO}, #{FPH}, update poinvoicelist orderno = #{orderno}, wl_code = #{wlCode}, itemname = #{itemname}, stock_dw = #{stockDw}, crl_name = #{crlName}, qty = #{qty}, price = #{price}, amt = #{amt}, PNO = #{PNO}, FPH = #{FPH}, where invoiceid = #{invoiceid} delete from poinvoicelist where invoiceid = #{invoiceid} delete from poinvoicelist where invoiceid in #{invoiceid}