id, pl_no, pl_name, car_type, prepayment, effect_time, expire_time, create_op, create_time,
modify_op, modify_time
delete from t_billing_prepayment
where id = #{id,jdbcType=BIGINT}
SELECT LAST_INSERT_ID()
insert into t_billing_prepayment (pl_no, pl_name, car_type,
prepayment, effect_time, expire_time,
create_op, create_time, modify_op,
modify_time)
values (#{plNo,jdbcType=VARCHAR}, #{plName,jdbcType=VARCHAR}, #{carType,jdbcType=INTEGER},
#{prepayment,jdbcType=BIGINT}, #{effectTime,jdbcType=TIMESTAMP}, #{expireTime,jdbcType=TIMESTAMP},
#{createOp,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{modifyOp,jdbcType=INTEGER},
#{modifyTime,jdbcType=TIMESTAMP})
SELECT LAST_INSERT_ID()
insert into t_billing_prepayment
pl_no,
pl_name,
car_type,
prepayment,
effect_time,
expire_time,
create_op,
create_time,
modify_op,
modify_time,
#{plNo,jdbcType=VARCHAR},
#{plName,jdbcType=VARCHAR},
#{carType,jdbcType=INTEGER},
#{prepayment,jdbcType=BIGINT},
#{effectTime,jdbcType=TIMESTAMP},
#{expireTime,jdbcType=TIMESTAMP},
#{createOp,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{modifyOp,jdbcType=INTEGER},
#{modifyTime,jdbcType=TIMESTAMP},
update t_billing_prepayment
pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
car_type = #{carType,jdbcType=INTEGER},
prepayment = #{prepayment,jdbcType=BIGINT},
effect_time = #{effectTime,jdbcType=TIMESTAMP},
expire_time = #{expireTime,jdbcType=TIMESTAMP},
create_op = #{createOp,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
modify_op = #{modifyOp,jdbcType=INTEGER},
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update t_billing_prepayment
set pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
car_type = #{carType,jdbcType=INTEGER},
prepayment = #{prepayment,jdbcType=BIGINT},
effect_time = #{effectTime,jdbcType=TIMESTAMP},
expire_time = #{expireTime,jdbcType=TIMESTAMP},
create_op = #{createOp,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
modify_op = #{modifyOp,jdbcType=INTEGER},
modify_time = #{modifyTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}