and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, tid, company_name, unit_price, quantity, total_amount, material, urgent, audit,
assets, income, remarks, create_time, cid, party_amount, type, patent_name_type,
official_amount, start_type, patent_type
delete from third_party_company
where id = #{id,jdbcType=INTEGER}
delete from third_party_company
insert into third_party_company (id, tid, company_name,
unit_price, quantity, total_amount,
material, urgent, audit,
assets, income, remarks,
create_time, cid, party_amount,
type, patent_name_type, official_amount,
start_type, patent_type)
values (#{id,jdbcType=INTEGER}, #{tid,jdbcType=INTEGER}, #{companyName,jdbcType=VARCHAR},
#{unitPrice,jdbcType=DECIMAL}, #{quantity,jdbcType=INTEGER}, #{totalAmount,jdbcType=DECIMAL},
#{material,jdbcType=INTEGER}, #{urgent,jdbcType=INTEGER}, #{audit,jdbcType=INTEGER},
#{assets,jdbcType=VARCHAR}, #{income,jdbcType=VARCHAR}, #{remarks,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{cid,jdbcType=INTEGER}, #{partyAmount,jdbcType=DECIMAL},
#{type,jdbcType=INTEGER}, #{patentNameType,jdbcType=INTEGER}, #{officialAmount,jdbcType=DECIMAL},
#{startType,jdbcType=INTEGER}, #{patentType,jdbcType=INTEGER})
insert into third_party_company
id,
tid,
company_name,
unit_price,
quantity,
total_amount,
material,
urgent,
audit,
assets,
income,
remarks,
create_time,
cid,
party_amount,
type,
patent_name_type,
official_amount,
start_type,
patent_type,
#{id,jdbcType=INTEGER},
#{tid,jdbcType=INTEGER},
#{companyName,jdbcType=VARCHAR},
#{unitPrice,jdbcType=DECIMAL},
#{quantity,jdbcType=INTEGER},
#{totalAmount,jdbcType=DECIMAL},
#{material,jdbcType=INTEGER},
#{urgent,jdbcType=INTEGER},
#{audit,jdbcType=INTEGER},
#{assets,jdbcType=VARCHAR},
#{income,jdbcType=VARCHAR},
#{remarks,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{cid,jdbcType=INTEGER},
#{partyAmount,jdbcType=DECIMAL},
#{type,jdbcType=INTEGER},
#{patentNameType,jdbcType=INTEGER},
#{officialAmount,jdbcType=DECIMAL},
#{startType,jdbcType=INTEGER},
#{patentType,jdbcType=INTEGER},
update third_party_company
id = #{record.id,jdbcType=INTEGER},
tid = #{record.tid,jdbcType=INTEGER},
company_name = #{record.companyName,jdbcType=VARCHAR},
unit_price = #{record.unitPrice,jdbcType=DECIMAL},
quantity = #{record.quantity,jdbcType=INTEGER},
total_amount = #{record.totalAmount,jdbcType=DECIMAL},
material = #{record.material,jdbcType=INTEGER},
urgent = #{record.urgent,jdbcType=INTEGER},
audit = #{record.audit,jdbcType=INTEGER},
assets = #{record.assets,jdbcType=VARCHAR},
income = #{record.income,jdbcType=VARCHAR},
remarks = #{record.remarks,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
cid = #{record.cid,jdbcType=INTEGER},
party_amount = #{record.partyAmount,jdbcType=DECIMAL},
type = #{record.type,jdbcType=INTEGER},
patent_name_type = #{record.patentNameType,jdbcType=INTEGER},
official_amount = #{record.officialAmount,jdbcType=DECIMAL},
start_type = #{record.startType,jdbcType=INTEGER},
patent_type = #{record.patentType,jdbcType=INTEGER},
update third_party_company
set id = #{record.id,jdbcType=INTEGER},
tid = #{record.tid,jdbcType=INTEGER},
company_name = #{record.companyName,jdbcType=VARCHAR},
unit_price = #{record.unitPrice,jdbcType=DECIMAL},
quantity = #{record.quantity,jdbcType=INTEGER},
total_amount = #{record.totalAmount,jdbcType=DECIMAL},
material = #{record.material,jdbcType=INTEGER},
urgent = #{record.urgent,jdbcType=INTEGER},
audit = #{record.audit,jdbcType=INTEGER},
assets = #{record.assets,jdbcType=VARCHAR},
income = #{record.income,jdbcType=VARCHAR},
remarks = #{record.remarks,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
cid = #{record.cid,jdbcType=INTEGER},
party_amount = #{record.partyAmount,jdbcType=DECIMAL},
type = #{record.type,jdbcType=INTEGER},
patent_name_type = #{record.patentNameType,jdbcType=INTEGER},
official_amount = #{record.officialAmount,jdbcType=DECIMAL},
start_type = #{record.startType,jdbcType=INTEGER},
patent_type = #{record.patentType,jdbcType=INTEGER}
update third_party_company
tid = #{tid,jdbcType=INTEGER},
company_name = #{companyName,jdbcType=VARCHAR},
unit_price = #{unitPrice,jdbcType=DECIMAL},
quantity = #{quantity,jdbcType=INTEGER},
total_amount = #{totalAmount,jdbcType=DECIMAL},
material = #{material,jdbcType=INTEGER},
urgent = #{urgent,jdbcType=INTEGER},
audit = #{audit,jdbcType=INTEGER},
assets = #{assets,jdbcType=VARCHAR},
income = #{income,jdbcType=VARCHAR},
remarks = #{remarks,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
cid = #{cid,jdbcType=INTEGER},
party_amount = #{partyAmount,jdbcType=DECIMAL},
type = #{type,jdbcType=INTEGER},
patent_name_type = #{patentNameType,jdbcType=INTEGER},
official_amount = #{officialAmount,jdbcType=DECIMAL},
start_type = #{startType,jdbcType=INTEGER},
patent_type = #{patentType,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update third_party_company
set tid = #{tid,jdbcType=INTEGER},
company_name = #{companyName,jdbcType=VARCHAR},
unit_price = #{unitPrice,jdbcType=DECIMAL},
quantity = #{quantity,jdbcType=INTEGER},
total_amount = #{totalAmount,jdbcType=DECIMAL},
material = #{material,jdbcType=INTEGER},
urgent = #{urgent,jdbcType=INTEGER},
audit = #{audit,jdbcType=INTEGER},
assets = #{assets,jdbcType=VARCHAR},
income = #{income,jdbcType=VARCHAR},
remarks = #{remarks,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
cid = #{cid,jdbcType=INTEGER},
party_amount = #{partyAmount,jdbcType=DECIMAL},
type = #{type,jdbcType=INTEGER},
patent_name_type = #{patentNameType,jdbcType=INTEGER},
official_amount = #{officialAmount,jdbcType=DECIMAL},
start_type = #{startType,jdbcType=INTEGER},
patent_type = #{patentType,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
delete from third_party_company
where tid= #{tid}