select id, itemCode, itemName, itemSpecification, machineType, unit, coinType, price, appointNo, appointName, pricingDate, remark, isNowPrice, comfirmFlag, auditingFlag, approveFlag, comfirmMan, auditingMan, approveMan, comfirmDate, auditingDate, approveDate, writeMan, tax, processNo, processName, spare1, spare2, spare3, spare4, spare5, spare6 from outsource_offer insert into outsource_offer id, itemCode, itemName, itemSpecification, machineType, unit, coinType, price, appointNo, appointName, pricingDate, remark, isNowPrice, comfirmFlag, auditingFlag, approveFlag, comfirmMan, auditingMan, approveMan, comfirmDate, auditingDate, approveDate, writeMan, tax, processNo, processName, spare1, spare2, spare3, spare4, spare5, spare6, #{id}, #{itemCode}, #{itemName}, #{itemSpecification}, #{machineType}, #{unit}, #{coinType}, #{price}, #{appointNo}, #{appointName}, #{pricingDate}, #{remark}, #{isNowPrice}, #{comfirmFlag}, #{auditingFlag}, #{approveFlag}, #{comfirmMan}, #{auditingMan}, #{approveMan}, #{comfirmDate}, #{auditingDate}, #{approveDate}, #{writeMan}, #{tax}, #{processNo}, #{processName}, #{spare1}, #{spare2}, #{spare3}, #{spare4}, #{spare5}, #{spare6}, update outsource_offer itemCode = #{itemCode}, itemName = #{itemName}, itemSpecification = #{itemSpecification}, machineType = #{machineType}, unit = #{unit}, coinType = #{coinType}, price = #{price}, appointNo = #{appointNo}, appointName = #{appointName}, pricingDate = #{pricingDate}, remark = #{remark}, isNowPrice = #{isNowPrice}, comfirmFlag = #{comfirmFlag}, auditingFlag = #{auditingFlag}, approveFlag = #{approveFlag}, comfirmMan = #{comfirmMan}, auditingMan = #{auditingMan}, approveMan = #{approveMan}, comfirmDate = #{comfirmDate}, auditingDate = #{auditingDate}, approveDate = #{approveDate}, writeMan = #{writeMan}, tax = #{tax}, processNo = #{processNo}, processName = #{processName}, spare1 = #{spare1}, spare2 = #{spare2}, spare3 = #{spare3}, spare4 = #{spare4}, spare5 = #{spare5}, spare6 = #{spare6}, where id = #{id} delete from outsource_offer where id = #{id} delete from outsource_offer where id in #{id} update outsource_offer set isNowPrice='0' where itemCode=#{itemCode} and isNowPrice='1'