id, order_no, refund_status, create_time, remarks, attachment_url, amount, company_name,
audit_time, unit_price, unit_number, outsource_remarks, `type`, tid, start_type,
patent_type, patent_name_type, patent_name, actual_official
picture_url
delete from t_order_outsource
where id = #{id,jdbcType=INTEGER}
insert into t_order_outsource (id, order_no, refund_status,
create_time, remarks, attachment_url,
amount, company_name, audit_time,
unit_price, unit_number, outsource_remarks,
`type`, tid, start_type,
patent_type, patent_name_type, patent_name,
actual_official, picture_url)
values (#{id,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{refundStatus,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR}, #{attachmentUrl,jdbcType=VARCHAR},
#{amount,jdbcType=DECIMAL}, #{companyName,jdbcType=VARCHAR}, #{auditTime,jdbcType=TIMESTAMP},
#{unitPrice,jdbcType=DECIMAL}, #{unitNumber,jdbcType=INTEGER}, #{outsourceRemarks,jdbcType=VARCHAR},
#{type,jdbcType=INTEGER}, #{tid,jdbcType=INTEGER}, #{startType,jdbcType=INTEGER},
#{patentType,jdbcType=INTEGER}, #{patentNameType,jdbcType=INTEGER}, #{patentName,jdbcType=VARCHAR},
#{actualOfficial,jdbcType=INTEGER}, #{pictureUrl,jdbcType=LONGVARCHAR})
insert into t_order_outsource
id,
order_no,
refund_status,
create_time,
remarks,
attachment_url,
amount,
company_name,
audit_time,
unit_price,
unit_number,
outsource_remarks,
`type`,
tid,
start_type,
patent_type,
patent_name_type,
patent_name,
actual_official,
picture_url,
#{id,jdbcType=INTEGER},
#{orderNo,jdbcType=VARCHAR},
#{refundStatus,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{remarks,jdbcType=VARCHAR},
#{attachmentUrl,jdbcType=VARCHAR},
#{amount,jdbcType=DECIMAL},
#{companyName,jdbcType=VARCHAR},
#{auditTime,jdbcType=TIMESTAMP},
#{unitPrice,jdbcType=DECIMAL},
#{unitNumber,jdbcType=INTEGER},
#{outsourceRemarks,jdbcType=VARCHAR},
#{type,jdbcType=INTEGER},
#{tid,jdbcType=INTEGER},
#{startType,jdbcType=INTEGER},
#{patentType,jdbcType=INTEGER},
#{patentNameType,jdbcType=INTEGER},
#{patentName,jdbcType=VARCHAR},
#{actualOfficial,jdbcType=INTEGER},
#{pictureUrl,jdbcType=LONGVARCHAR},
update t_order_outsource
order_no = #{orderNo,jdbcType=VARCHAR},
refund_status = #{refundStatus,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
remarks = #{remarks,jdbcType=VARCHAR},
attachment_url = #{attachmentUrl,jdbcType=VARCHAR},
amount = #{amount,jdbcType=DECIMAL},
company_name = #{companyName,jdbcType=VARCHAR},
audit_time = #{auditTime,jdbcType=TIMESTAMP},
unit_price = #{unitPrice,jdbcType=DECIMAL},
unit_number = #{unitNumber,jdbcType=INTEGER},
outsource_remarks = #{outsourceRemarks,jdbcType=VARCHAR},
`type` = #{type,jdbcType=INTEGER},
tid = #{tid,jdbcType=INTEGER},
start_type = #{startType,jdbcType=INTEGER},
patent_type = #{patentType,jdbcType=INTEGER},
patent_name_type = #{patentNameType,jdbcType=INTEGER},
patent_name = #{patentName,jdbcType=VARCHAR},
actual_official = #{actualOfficial,jdbcType=INTEGER},
picture_url = #{pictureUrl,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=INTEGER}
update t_order_outsource
set order_no = #{orderNo,jdbcType=VARCHAR},
refund_status = #{refundStatus,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
remarks = #{remarks,jdbcType=VARCHAR},
attachment_url = #{attachmentUrl,jdbcType=VARCHAR},
amount = #{amount,jdbcType=DECIMAL},
company_name = #{companyName,jdbcType=VARCHAR},
audit_time = #{auditTime,jdbcType=TIMESTAMP},
unit_price = #{unitPrice,jdbcType=DECIMAL},
unit_number = #{unitNumber,jdbcType=INTEGER},
outsource_remarks = #{outsourceRemarks,jdbcType=VARCHAR},
`type` = #{type,jdbcType=INTEGER},
tid = #{tid,jdbcType=INTEGER},
start_type = #{startType,jdbcType=INTEGER},
patent_type = #{patentType,jdbcType=INTEGER},
patent_name_type = #{patentNameType,jdbcType=INTEGER},
patent_name = #{patentName,jdbcType=VARCHAR},
actual_official = #{actualOfficial,jdbcType=INTEGER},
picture_url = #{pictureUrl,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
update t_order_outsource
set order_no = #{orderNo,jdbcType=VARCHAR},
refund_status = #{refundStatus,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
remarks = #{remarks,jdbcType=VARCHAR},
attachment_url = #{attachmentUrl,jdbcType=VARCHAR},
amount = #{amount,jdbcType=DECIMAL},
company_name = #{companyName,jdbcType=VARCHAR},
audit_time = #{auditTime,jdbcType=TIMESTAMP},
unit_price = #{unitPrice,jdbcType=DECIMAL},
unit_number = #{unitNumber,jdbcType=INTEGER},
outsource_remarks = #{outsourceRemarks,jdbcType=VARCHAR},
`type` = #{type,jdbcType=INTEGER},
tid = #{tid,jdbcType=INTEGER},
start_type = #{startType,jdbcType=INTEGER},
patent_type = #{patentType,jdbcType=INTEGER},
patent_name_type = #{patentNameType,jdbcType=INTEGER},
patent_name = #{patentName,jdbcType=VARCHAR},
actual_official = #{actualOfficial,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
update t_order_outsource
set unit_number=null,unit_price=NULL
where id= #{id}