insert into pt_sup_person(sup_name,id_card,sex,age,phone,post,face_path,is_active)
values(#{name},#{idCard},#{sex},#{age},#{phone},#{postName},#{faceUrl},'1')
insert into
sys_user(parent_uuid,dept_id,user_name,nick_name,password,id_card,user_type,phonenumber,status,del_flag,login_type,create_by,sex)
values(#{supUuid},#{deptId},#{phone},#{name},#{password},#{idCard},'05',#{phone},'1','0','1,2,3',#{createUserId},#{sex})
INSERT INTO lk_sup_person (pro_id, uuid, sup_uuid,sup_persion_id, status)
VALUES (#{proId}, #{uuid}, #{supUuid},#{id}, '0')
insert into pt_cons_information(pro_id, uuid, from_type, information_type, information_path, information_name,
information_size, information_user_id, information_user_name, is_active)
values(#{proId}, #{uuid}, #{fromType}, #{informationType}, #{filePath}, #{fileName}, #{fileSize},
#{createUserId}, #{createUser}, '1')
insert into sys_user_role(user_id, role_id)
values(#{id}, #{roleId})
update pt_sup_info_data
set sup_name = #{unitName},
sup_address = #{unitAddress},
legal_name = #{corporateName},
legal_phone = #{corporatePhone},
sup_code = #{socialUnifiedCreditCode}
where id = #{supId}
update lk_pro_sup
set status = #{status}
where pro_id = #{proId} and sup_uuid = #{supUuid}
update pt_sup_person
sup_name = #{name},
id_card = #{idCard},
sex = #{sex},
age = #{age},
phone = #{phone},
post = #{postName},
face_path = #{faceUrl},
where sup_user_id = #{id}
update lk_sup_person
set is_exist_file = '1'
where uuid = #{uuid}
update pt_sup_info
set comm_user_name=#{directorsName}
where sup_id=#{supId}
update sys_user
set nick_name=#{directorsName}
where user_id=#{commUserId}
update pt_project_info
set sup_user_name=#{directorsName}
where sup_user_id=#{supId}
update pt_sup_info_data set is_active = '0' where id in
#{addressId}
update pt_sup_info set is_active = '0' where sup_id in
#{addressId}
delete from sys_user where id_card = #{idCard} and phonenumber = #{phone} and del_flag = '0'
delete from pt_sup_person where id_card = #{idCard} and phonen = #{phone} and is_active = '1'