update project_service_category set del_flag=1
where project_declaration_id = #{id}
INSERT INTO project_service_category
(
id, business_type, pid, project_service_type_id,
project_declaration_id, project_type_name, department_id,
type,
del_flag,create_time,create_by, create_name,
update_time,update_by,update_name
)
VALUES
(
#{item.id}, #{item.business_type}, #{item.pid}, #{item.project_service_type_id},
#{item.project_declaration_id}, #{item.project_type_name},#{item.department_id},
#{item.type},
#{item.del_flag},#{item.create_time},#{item.create_by}, #{item.create_name},
#{item.update_time}, #{item.update_by}, #{item.update_name}
)