id, community_id, bill_name, bill_explain, pay_price, pay_total_num, payed_num, unpayed_num,
bill_status, end_date, create_user, create_date, update_user, update_date
delete from tp_bill
where id = #{id,jdbcType=INTEGER}
insert into tp_bill (id, community_id, bill_name,
bill_explain, pay_price, pay_total_num,
payed_num, unpayed_num, bill_status,
end_date, create_user, create_date,
update_user, update_date)
values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{billName,jdbcType=VARCHAR},
#{billExplain,jdbcType=VARCHAR}, #{payPrice,jdbcType=CHAR}, #{payTotalNum,jdbcType=INTEGER},
#{payedNum,jdbcType=INTEGER}, #{unpayedNum,jdbcType=INTEGER}, #{billStatus,jdbcType=CHAR},
#{endDate,jdbcType=TIMESTAMP}, #{createUser,jdbcType=INTEGER}, #{createDate,jdbcType=TIMESTAMP},
#{updateUser,jdbcType=INTEGER}, #{updateDate,jdbcType=TIMESTAMP})
insert into tp_bill
id,
community_id,
bill_name,
bill_explain,
pay_price,
pay_total_num,
payed_num,
unpayed_num,
bill_status,
end_date,
create_user,
create_date,
update_user,
update_date,
#{id,jdbcType=INTEGER},
#{communityId,jdbcType=INTEGER},
#{billName,jdbcType=VARCHAR},
#{billExplain,jdbcType=VARCHAR},
#{payPrice,jdbcType=CHAR},
#{payTotalNum,jdbcType=INTEGER},
#{payedNum,jdbcType=INTEGER},
#{unpayedNum,jdbcType=INTEGER},
#{billStatus,jdbcType=CHAR},
#{endDate,jdbcType=TIMESTAMP},
#{createUser,jdbcType=INTEGER},
#{createDate,jdbcType=TIMESTAMP},
#{updateUser,jdbcType=INTEGER},
#{updateDate,jdbcType=TIMESTAMP},
update tp_bill
community_id = #{communityId,jdbcType=INTEGER},
bill_name = #{billName,jdbcType=VARCHAR},
bill_explain = #{billExplain,jdbcType=VARCHAR},
pay_price = #{payPrice,jdbcType=CHAR},
pay_total_num = #{payTotalNum,jdbcType=INTEGER},
payed_num = #{payedNum,jdbcType=INTEGER},
unpayed_num = #{unpayedNum,jdbcType=INTEGER},
bill_status = #{billStatus,jdbcType=CHAR},
end_date = #{endDate,jdbcType=TIMESTAMP},
create_user = #{createUser,jdbcType=INTEGER},
create_date = #{createDate,jdbcType=TIMESTAMP},
update_user = #{updateUser,jdbcType=INTEGER},
update_date = #{updateDate,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update tp_bill
set community_id = #{communityId,jdbcType=INTEGER},
bill_name = #{billName,jdbcType=VARCHAR},
bill_explain = #{billExplain,jdbcType=VARCHAR},
pay_price = #{payPrice,jdbcType=CHAR},
pay_total_num = #{payTotalNum,jdbcType=INTEGER},
payed_num = #{payedNum,jdbcType=INTEGER},
unpayed_num = #{unpayedNum,jdbcType=INTEGER},
bill_status = #{billStatus,jdbcType=CHAR},
end_date = #{endDate,jdbcType=TIMESTAMP},
create_user = #{createUser,jdbcType=INTEGER},
create_date = #{createDate,jdbcType=TIMESTAMP},
update_user = #{updateUser,jdbcType=INTEGER},
update_date = #{updateDate,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}