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, parking_code, whitelist_type, data_state, create_time, create_op, modify_time,
modify_op, org_id, org_name
delete from parking_lot_whitelist
where id = #{id,jdbcType=BIGINT}
delete from parking_lot_whitelist
SELECT LAST_INSERT_ID()
insert into parking_lot_whitelist (parking_code, whitelist_type, data_state,
create_time, create_op, modify_time,
modify_op, org_id, org_name
)
values (#{parkingCode,jdbcType=VARCHAR}, #{whitelistType,jdbcType=TINYINT}, #{dataState,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{createOp,jdbcType=BIGINT}, #{modifyTime,jdbcType=TIMESTAMP},
#{modifyOp,jdbcType=BIGINT}, #{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR}
)
SELECT LAST_INSERT_ID()
insert into parking_lot_whitelist
parking_code,
whitelist_type,
data_state,
create_time,
create_op,
modify_time,
modify_op,
org_id,
org_name,
#{parkingCode,jdbcType=VARCHAR},
#{whitelistType,jdbcType=TINYINT},
#{dataState,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{createOp,jdbcType=BIGINT},
#{modifyTime,jdbcType=TIMESTAMP},
#{modifyOp,jdbcType=BIGINT},
#{orgId,jdbcType=BIGINT},
#{orgName,jdbcType=VARCHAR},
update parking_lot_whitelist
id = #{record.id,jdbcType=BIGINT},
parking_code = #{record.parkingCode,jdbcType=VARCHAR},
whitelist_type = #{record.whitelistType,jdbcType=TINYINT},
data_state = #{record.dataState,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
create_op = #{record.createOp,jdbcType=BIGINT},
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
modify_op = #{record.modifyOp,jdbcType=BIGINT},
org_id = #{record.orgId,jdbcType=BIGINT},
org_name = #{record.orgName,jdbcType=VARCHAR},
update parking_lot_whitelist
set id = #{record.id,jdbcType=BIGINT},
parking_code = #{record.parkingCode,jdbcType=VARCHAR},
whitelist_type = #{record.whitelistType,jdbcType=TINYINT},
data_state = #{record.dataState,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
create_op = #{record.createOp,jdbcType=BIGINT},
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
modify_op = #{record.modifyOp,jdbcType=BIGINT},
org_id = #{record.orgId,jdbcType=BIGINT},
org_name = #{record.orgName,jdbcType=VARCHAR}
update parking_lot_whitelist
parking_code = #{parkingCode,jdbcType=VARCHAR},
whitelist_type = #{whitelistType,jdbcType=TINYINT},
data_state = #{dataState,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_op = #{createOp,jdbcType=BIGINT},
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
modify_op = #{modifyOp,jdbcType=BIGINT},
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update parking_lot_whitelist
set parking_code = #{parkingCode,jdbcType=VARCHAR},
whitelist_type = #{whitelistType,jdbcType=TINYINT},
data_state = #{dataState,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_op = #{createOp,jdbcType=BIGINT},
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
modify_op = #{modifyOp,jdbcType=BIGINT},
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}