INSERT INTO rk_bill (
rk_type, wl_type, cangku, rk_time, lihuo_y,
bill_no, is_chuku, is_delete,
created_by, created_at
) VALUES (
#{rkType}, #{wlType}, #{cangku}, #{rkTime}, #{lihuoY},
#{billNo}, #{isChuku}, #{isDelete},
#{createBy}, #{createTime}
)
UPDATE rk_bill
SET rk_type = #{rkType},
wl_type = #{wlType},
cangku = #{cangku},
rk_time = #{rkTime},
lihuo_y = #{lihuoY},
bill_no = #{billNo},
is_chuku = #{isChuku},
remark = #{remark},
updated_by = #{updateBy},
updated_at = #{updateTime}
WHERE id = #{id}
UPDATE rk_bill
SET is_delete = '1'
WHERE id IN
#{id}
UPDATE rk_bill
SET is_chuku = '1'
WHERE id IN
#{id}