|  | @@ -1,27 +1,34 @@
 | 
	
		
			
				|  |  |  package thyyxxk.webserver.controller;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import lombok.extern.slf4j.Slf4j;
 | 
	
		
			
				|  |  | -import org.springframework.context.ApplicationContext;
 | 
	
		
			
				|  |  | -import org.springframework.context.ConfigurableApplicationContext;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.GetMapping;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.PostMapping;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.RequestBody;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.RequestMapping;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.RequestParam;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.RestController;
 | 
	
		
			
				|  |  |  import thyyxxk.webserver.config.auth.PassToken;
 | 
	
		
			
				|  |  | -import thyyxxk.webserver.config.exception.ExceptionEnum;
 | 
	
		
			
				|  |  |  import thyyxxk.webserver.entity.ResultVo;
 | 
	
		
			
				|  |  |  import thyyxxk.webserver.entity.datamodify.GetDropdownBox;
 | 
	
		
			
				|  |  |  import thyyxxk.webserver.entity.login.UserInfo;
 | 
	
		
			
				|  |  |  import thyyxxk.webserver.entity.publicapi.ZkList;
 | 
	
		
			
				|  |  |  import thyyxxk.webserver.entity.zhuyuanyisheng.PatientAllergenInfo;
 | 
	
		
			
				|  |  | -import thyyxxk.webserver.service.LoginService;
 | 
	
		
			
				|  |  |  import thyyxxk.webserver.service.PublicServer;
 | 
	
		
			
				|  |  |  import thyyxxk.webserver.utils.ListUtil;
 | 
	
		
			
				|  |  |  import thyyxxk.webserver.utils.ResultVoUtil;
 | 
	
		
			
				|  |  |  import thyyxxk.webserver.utils.SnowFlakeId;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -import javax.naming.Context;
 | 
	
		
			
				|  |  |  import javax.servlet.http.HttpServletResponse;
 | 
	
		
			
				|  |  | -import java.io.*;
 | 
	
		
			
				|  |  | +import java.io.File;
 | 
	
		
			
				|  |  | +import java.io.FileInputStream;
 | 
	
		
			
				|  |  | +import java.io.FilenameFilter;
 | 
	
		
			
				|  |  | +import java.io.IOException;
 | 
	
		
			
				|  |  | +import java.io.OutputStream;
 | 
	
		
			
				|  |  |  import java.lang.reflect.InvocationTargetException;
 | 
	
		
			
				|  |  | -import java.util.*;
 | 
	
		
			
				|  |  | +import java.util.ArrayList;
 | 
	
		
			
				|  |  | +import java.util.Date;
 | 
	
		
			
				|  |  | +import java.util.List;
 | 
	
		
			
				|  |  | +import java.util.Map;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /**
 | 
	
		
			
				|  |  |   * <p>
 | 
	
	
		
			
				|  | @@ -63,7 +70,16 @@ public class PublicController {
 | 
	
		
			
				|  |  |      public ResultVo<List<GetDropdownBox>> getDept() {
 | 
	
		
			
				|  |  |          return service.getDept();
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * @description:查询有住院的科室
 | 
	
		
			
				|  |  | +     * @author: lihong
 | 
	
		
			
				|  |  | +     * @date: 2022/12/26 16:57
 | 
	
		
			
				|  |  | +     * @return: thyyxxk.webserver.entity.ResultVo<java.util.List<thyyxxk.webserver.entity.datamodify.GetDropdownBox>>
 | 
	
		
			
				|  |  | +     **/
 | 
	
		
			
				|  |  | +    @GetMapping("/getZhuYuanDept")
 | 
	
		
			
				|  |  | +    public ResultVo<List<GetDropdownBox>> getZhuYuanDept() {
 | 
	
		
			
				|  |  | +        return service.getZhuYuanDept();
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @GetMapping("/queryDept")
 | 
	
		
			
				|  |  |      public ResultVo<List<GetDropdownBox>> queryDept(@RequestParam("code") String code) {
 |