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, cid, company_name, project_type, dun_type, unit_price, quantity, total_amount,
party_amount, party_time, create_time, dun_status, effective_count, start_time, status
delete from payment_node
where id = #{id,jdbcType=INTEGER}
delete from payment_node
insert into payment_node (id, tid, cid,
company_name, project_type, dun_type,
unit_price, quantity, total_amount,
party_amount, party_time, create_time,
dun_status, effective_count, start_time,
status)
values (#{id,jdbcType=INTEGER}, #{tid,jdbcType=INTEGER}, #{cid,jdbcType=INTEGER},
#{companyName,jdbcType=VARCHAR}, #{projectType,jdbcType=INTEGER}, #{dunType,jdbcType=INTEGER},
#{unitPrice,jdbcType=DECIMAL}, #{quantity,jdbcType=INTEGER}, #{totalAmount,jdbcType=DECIMAL},
#{partyAmount,jdbcType=DECIMAL}, #{partyTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP},
#{dunStatus,jdbcType=INTEGER}, #{effectiveCount,jdbcType=INTEGER}, #{startTime,jdbcType=TIMESTAMP},
#{status,jdbcType=INTEGER})
insert into payment_node
id,
tid,
cid,
company_name,
project_type,
dun_type,
unit_price,
quantity,
total_amount,
party_amount,
party_time,
create_time,
dun_status,
effective_count,
start_time,
status,
#{id,jdbcType=INTEGER},
#{tid,jdbcType=INTEGER},
#{cid,jdbcType=INTEGER},
#{companyName,jdbcType=VARCHAR},
#{projectType,jdbcType=INTEGER},
#{dunType,jdbcType=INTEGER},
#{unitPrice,jdbcType=DECIMAL},
#{quantity,jdbcType=INTEGER},
#{totalAmount,jdbcType=DECIMAL},
#{partyAmount,jdbcType=DECIMAL},
#{partyTime,jdbcType=TIMESTAMP},
#{createTime,jdbcType=TIMESTAMP},
#{dunStatus,jdbcType=INTEGER},
#{effectiveCount,jdbcType=INTEGER},
#{startTime,jdbcType=TIMESTAMP},
#{status,jdbcType=INTEGER},
update payment_node
id = #{record.id,jdbcType=INTEGER},
tid = #{record.tid,jdbcType=INTEGER},
cid = #{record.cid,jdbcType=INTEGER},
company_name = #{record.companyName,jdbcType=VARCHAR},
project_type = #{record.projectType,jdbcType=INTEGER},
dun_type = #{record.dunType,jdbcType=INTEGER},
unit_price = #{record.unitPrice,jdbcType=DECIMAL},
quantity = #{record.quantity,jdbcType=INTEGER},
total_amount = #{record.totalAmount,jdbcType=DECIMAL},
party_amount = #{record.partyAmount,jdbcType=DECIMAL},
party_time = #{record.partyTime,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
dun_status = #{record.dunStatus,jdbcType=INTEGER},
effective_count = #{record.effectiveCount,jdbcType=INTEGER},
start_time = #{record.startTime,jdbcType=TIMESTAMP},
status = #{record.status,jdbcType=INTEGER},
update payment_node
set id = #{record.id,jdbcType=INTEGER},
tid = #{record.tid,jdbcType=INTEGER},
cid = #{record.cid,jdbcType=INTEGER},
company_name = #{record.companyName,jdbcType=VARCHAR},
project_type = #{record.projectType,jdbcType=INTEGER},
dun_type = #{record.dunType,jdbcType=INTEGER},
unit_price = #{record.unitPrice,jdbcType=DECIMAL},
quantity = #{record.quantity,jdbcType=INTEGER},
total_amount = #{record.totalAmount,jdbcType=DECIMAL},
party_amount = #{record.partyAmount,jdbcType=DECIMAL},
party_time = #{record.partyTime,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
dun_status = #{record.dunStatus,jdbcType=INTEGER},
effective_count = #{record.effectiveCount,jdbcType=INTEGER},
start_time = #{record.startTime,jdbcType=TIMESTAMP},
status = #{record.status,jdbcType=INTEGER}
update payment_node
tid = #{tid,jdbcType=INTEGER},
cid = #{cid,jdbcType=INTEGER},
company_name = #{companyName,jdbcType=VARCHAR},
project_type = #{projectType,jdbcType=INTEGER},
dun_type = #{dunType,jdbcType=INTEGER},
unit_price = #{unitPrice,jdbcType=DECIMAL},
quantity = #{quantity,jdbcType=INTEGER},
total_amount = #{totalAmount,jdbcType=DECIMAL},
party_amount = #{partyAmount,jdbcType=DECIMAL},
party_time = #{partyTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
dun_status = #{dunStatus,jdbcType=INTEGER},
effective_count = #{effectiveCount,jdbcType=INTEGER},
start_time = #{startTime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update payment_node
set tid = #{tid,jdbcType=INTEGER},
cid = #{cid,jdbcType=INTEGER},
company_name = #{companyName,jdbcType=VARCHAR},
project_type = #{projectType,jdbcType=INTEGER},
dun_type = #{dunType,jdbcType=INTEGER},
unit_price = #{unitPrice,jdbcType=DECIMAL},
quantity = #{quantity,jdbcType=INTEGER},
total_amount = #{totalAmount,jdbcType=DECIMAL},
party_amount = #{partyAmount,jdbcType=DECIMAL},
party_time = #{partyTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
dun_status = #{dunStatus,jdbcType=INTEGER},
effective_count = #{effectiveCount,jdbcType=INTEGER},
start_time = #{startTime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
delete from payment_node
where 1=1
and cid= #{tpcId}
and tid= #{tid}