id,
deleted,
created,
modified,
name, order_id, financial, allot_type, client_manager_id, principal_id, department_id, assets_business_gener, entrust_again, clientele_type, clientele_id, clientele_sub_id, clientele_contact_id, security, significant_assets_reorganization, state_assets, foreign_assets_involved, dispense_benefit, bailor, bailor_address, bailor_contact_name, bailor_contact_tel, terminal_clientele_id, terminal_clientele_type, terminal_clientele_contact_id, members, remark
INSERT INTO business_number(id, take_type, business_type, year, month, next_no)
VALUE (NULL, #{takeType}, #{businessType}, #{year}, #{month}, #{nextNo})
UPDATE business_number
SET month = #{month},
next_no = #{nextNo}
WHERE id = #{id}