id, name, code, status, province, start_time "startTime", end_time "endTime", domain, city FROM sys_hospital WHERE del_flag = 0 AND name LIKE #{bindName} update sys_hospital set del_flag = 1 where #{item} DELETE FROM sys_hospital_manager where hospital_id = #{hospitalId}; INSERT INTO sys_hospital_manager VALUES (#{hospitalId}, #{userId}); DELETE FROM sys_hospital_current where user_id = #{userId} INSERT INTO sys_hospital_current VALUES (#{userId}, #{hospitalId});