INSERT INTO rk_bill ( rk_type, wl_type, cangku, rk_time, lihuo_y, ck_type, ck_time, ck_lihuo_y, ck_remark, team_code, bill_no, is_chuku, is_delete, created_by, created_at, updated_by, updated_at ) VALUES ( #{rkType}, #{wlType}, #{cangku}, #{rkTime}, #{lihuoY}, #{ckType}, #{ckTime}, #{ckLihuoY}, #{ckRemark}, #{teamCode}, #{billNo}, #{isChuku}, #{isDelete}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime} ) UPDATE rk_bill rk_type = #{rkType}, wl_type = #{wlType}, cangku = #{cangku}, rk_time = #{rkTime}, lihuo_y = #{lihuoY}, ck_type = #{ckType}, ck_time = #{ckTime}, ck_lihuo_y = #{ckLihuoY}, ck_remark = #{ckRemark}, team_code = #{teamCode}, 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}