id, parennt_id, type_id, pre_num, al_num, `status`, create_by, create_time, update_by,
update_time, remark, company_id
delete from lease_apply_details
where id = #{id,jdbcType=INTEGER}
insert into lease_apply_details (parennt_id, type_id, pre_num,
al_num, `status`, create_by,
create_time, update_by, update_time,
remark, company_id)
values (#{parenntId,jdbcType=INTEGER}, #{typeId,jdbcType=INTEGER}, #{preNum,jdbcType=FLOAT},
#{alNum,jdbcType=FLOAT}, #{status,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR}, #{companyId,jdbcType=INTEGER})
insert into lease_apply_details
parennt_id,
type_id,
pre_num,
al_num,
`status`,
create_by,
create_time,
update_by,
update_time,
remark,
company_id,
#{parenntId,jdbcType=INTEGER},
#{typeId,jdbcType=INTEGER},
#{preNum,jdbcType=FLOAT},
#{alNum,jdbcType=FLOAT},
#{status,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR},
#{companyId,jdbcType=INTEGER},
update lease_apply_details
parennt_id = #{parenntId,jdbcType=INTEGER},
type_id = #{typeId,jdbcType=INTEGER},
pre_num = #{preNum,jdbcType=FLOAT},
al_num = #{alNum,jdbcType=FLOAT},
`status` = #{status,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR},
company_id = #{companyId,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update lease_apply_details
set parennt_id = #{parenntId,jdbcType=INTEGER},
type_id = #{typeId,jdbcType=INTEGER},
pre_num = #{preNum,jdbcType=FLOAT},
al_num = #{alNum,jdbcType=FLOAT},
`status` = #{status,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR},
company_id = #{companyId,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
update lease_apply_details
when id = #{item.id,jdbcType=INTEGER} then #{item.parenntId,jdbcType=INTEGER}
when id = #{item.id,jdbcType=INTEGER} then #{item.typeId,jdbcType=INTEGER}
when id = #{item.id,jdbcType=INTEGER} then #{item.preNum,jdbcType=FLOAT}
when id = #{item.id,jdbcType=INTEGER} then #{item.alNum,jdbcType=FLOAT}
when id = #{item.id,jdbcType=INTEGER} then #{item.status,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.createBy,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.createTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=INTEGER} then #{item.updateBy,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.updateTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=INTEGER} then #{item.remark,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.companyId,jdbcType=INTEGER}
where id in
#{item.id,jdbcType=INTEGER}
update lease_apply_details
when id = #{item.id,jdbcType=INTEGER} then #{item.parenntId,jdbcType=INTEGER}
when id = #{item.id,jdbcType=INTEGER} then #{item.typeId,jdbcType=INTEGER}
when id = #{item.id,jdbcType=INTEGER} then #{item.preNum,jdbcType=FLOAT}
when id = #{item.id,jdbcType=INTEGER} then #{item.alNum,jdbcType=FLOAT}
when id = #{item.id,jdbcType=INTEGER} then #{item.status,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.createBy,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.createTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=INTEGER} then #{item.updateBy,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.updateTime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=INTEGER} then #{item.remark,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.companyId,jdbcType=INTEGER}
where id in
#{item.id,jdbcType=INTEGER}
insert into lease_apply_details
(parennt_id, type_id, pre_num, al_num, `status`, create_by, create_time, update_by,
update_time, remark, company_id)
values
(#{item.parenntId,jdbcType=INTEGER}, #{item.typeId,jdbcType=INTEGER}, #{item.preNum,jdbcType=FLOAT},
#{item.alNum,jdbcType=FLOAT}, #{item.status,jdbcType=VARCHAR}, #{item.createBy,jdbcType=VARCHAR},
#{item.createTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP},
#{item.remark,jdbcType=VARCHAR}, #{item.companyId,jdbcType=INTEGER})
insert into lease_apply_details
id,
parennt_id,
type_id,
pre_num,
al_num,
`status`,
create_by,
create_time,
update_by,
update_time,
remark,
company_id,
values
#{id,jdbcType=INTEGER},
#{parenntId,jdbcType=INTEGER},
#{typeId,jdbcType=INTEGER},
#{preNum,jdbcType=FLOAT},
#{alNum,jdbcType=FLOAT},
#{status,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR},
#{companyId,jdbcType=INTEGER},
on duplicate key update
id = #{id,jdbcType=INTEGER},
parennt_id = #{parenntId,jdbcType=INTEGER},
type_id = #{typeId,jdbcType=INTEGER},
pre_num = #{preNum,jdbcType=FLOAT},
al_num = #{alNum,jdbcType=FLOAT},
`status` = #{status,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR},
company_id = #{companyId,jdbcType=INTEGER},
insert into lease_apply_details
id,
parennt_id,
type_id,
pre_num,
al_num,
`status`,
create_by,
create_time,
update_by,
update_time,
remark,
company_id,
values
#{id,jdbcType=INTEGER},
#{parenntId,jdbcType=INTEGER},
#{typeId,jdbcType=INTEGER},
#{preNum,jdbcType=FLOAT},
#{alNum,jdbcType=FLOAT},
#{status,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR},
#{companyId,jdbcType=INTEGER},
on duplicate key update
id = #{id,jdbcType=INTEGER},
parennt_id = #{parenntId,jdbcType=INTEGER},
type_id = #{typeId,jdbcType=INTEGER},
pre_num = #{preNum,jdbcType=FLOAT},
al_num = #{alNum,jdbcType=FLOAT},
`status` = #{status,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR},
company_id = #{companyId,jdbcType=INTEGER},