id, abnormal_date, pl_no, pl_name, order_total_fee, order_payed_fee, order_escape_fee,
authorized_free_fee, authorized_free_num, hand_free_fee, hand_free_num, short_time_free_num,
white_list_free_num, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id,
modfiy_emp_name, modfiy_date, remark
delete from td_b_abnormal_income
where pl_no=#{plNo} abnormal_date BETWEEN #{beginTime} and #{endTime}
SELECT LAST_INSERT_ID()
insert into td_b_abnormal_income (abnormal_date, pl_no, pl_name,
order_total_fee, order_payed_fee, order_escape_fee,
authorized_free_fee, authorized_free_num, hand_free_fee,
hand_free_num, short_time_free_num, white_list_free_num,
data_state, create_emp_id, create_emp_name,
create_date, modfiy_emp_id, modfiy_emp_name,
modfiy_date, remark)
values
(#{item.abnormalDate,jdbcType=DATE}, #{item.plNo,jdbcType=VARCHAR}, #{item.plName,jdbcType=VARCHAR},
#{item.orderTotalFee,jdbcType=BIGINT}, #{item.orderPayedFee,jdbcType=BIGINT}, #{item.orderEscapeFee,jdbcType=BIGINT},
#{item.authorizedFreeFee,jdbcType=BIGINT},
#{item.authorizedFreeNum,jdbcType=INTEGER}, #{item.handFreeFee,jdbcType=BIGINT}, #{item.handFreeNum,jdbcType=INTEGER},
#{item.shortTimeFreeNum,jdbcType=INTEGER}, #{item.whiteListFreeNum,jdbcType=INTEGER}, 1,
-1, -1, now(),-1, -1, now(),
#{item.remark,jdbcType=VARCHAR})