insert into tb_project_depart(
depart_name,
head_name,
contact_information,
remarks,
create_user,
create_time,del_flag
)values(
#{projectId},
#{projectDepartName},
#{projectHeadName},
#{contactInformation},
#{remarks},
#{createBy},
sysdate(),0
)
update tb_project_depart
depart_name = #{projectDepartName},
head_name = #{projectHeadName},
contact_information = #{contactInformation},
remarks = #{remarks},
update_user = #{updateBy},
update_time = sysdate()
where id = #{projectId}
update tb_project_depart
set del_flag = 1
where id = #{projectId}
update sys_file_source
set del_flag = 1
where source_id = #{projectId} and del_flag = 0
update sys_file_source
set del_flag = 1
where file_path = #{filePath}