| | |
| | | import com.ltkj.common.utils.SnowFlake; |
| | | import com.ltkj.common.utils.uuid.UUID; |
| | | import com.ltkj.hosp.domain.SysAttachment; |
| | | import com.ltkj.hosp.mapper.TestMapper; |
| | | import com.ltkj.hosp.service.ISysAttachmentService; |
| | | import com.ltkj.system.service.ISysConfigService; |
| | | import com.ltkj.system.service.ISysDictDataService; |
| | |
| | | private ISysDictDataService sysDictDataService; |
| | | @Autowired |
| | | private ISysConfigService sysConfigService; |
| | | @Autowired |
| | | private TestMapper testMapper; |
| | | |
| | | |
| | | /** |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * exe上传图片接口 |
| | | * @param file |
| | | * @param dictVal |
| | | * @param ip |
| | | * @return |
| | | */ |
| | | @PostMapping("/uploadImgExe") |
| | | @ApiOperation(value = "EXE程序循环读取图片上传") |
| | | public AjaxResult uploadImgExe(@RequestPart("file") MultipartFile file,@RequestParam("val")String dictVal,@RequestParam("ip")String ip){ |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取exe程序上传图片列表 |
| | | * @param type |
| | | * @return |
| | | */ |
| | | @GetMapping("/getExeUploadImgList") |
| | | public AjaxResult getExeUploadImgList(@RequestParam("type") String type){ |
| | | if (StrUtil.isBlank(type)) return AjaxResult.error("类型不能为空"); |
| | | List<Map<String, Object>> list = testMapper.getExeUploadImgListByGnLx(type); |
| | | return AjaxResult.success().put("data",list); |
| | | } |
| | | |
| | | @GetMapping("/listExeVal") |
| | | public AjaxResult listExeDictVal(){ |
| | | LambdaQueryWrapper<SysDictData> queryWrapper = new LambdaQueryWrapper<>(); |
| | |
| | | "/sqlserver/getdata/**","/api/His/**","/system/config/zx","/system/config/gxxmpym","/system/report/savePdf", |
| | | "/system/dyjl/saveGjddyjl","/system/dyjl/saveBlGjddyjl","/check/ceshi","/check/pacs","/check/ceshicc" |
| | | ,"/system/report/xiugaidayinzhuangtai","/system/config/ceshitijianhao").permitAll() |
| | | .antMatchers("/common/uploadImgExe","/common/listExeVal","/pacs/InvokeRisService/**","/profileupload/**").permitAll() |
| | | .antMatchers("/common/uploadImgExe","/common/listExeVal","/pacs/InvokeRisService/**","/profileupload/**","/common/getExeUploadImgList").permitAll() |
| | | .antMatchers("/check/dataSynchronizationApi","/reservation/reservation/linkage").permitAll() |
| | | // 静态资源,可匿名访问 |
| | | .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll() |
| | |
| | | "/callBack/**", |
| | | "/hosp/order/signOrderInfo", |
| | | "/common/listExeVal", |
| | | "/profileupload/**" |
| | | "/profileupload/**", |
| | | "/common/getExeUploadImgList" |
| | | }); |
| | | } |
| | | } |
| | |
| | | @DataSource(value = DataSourceType.MASTER) |
| | | @Select("call tj_bingzhongtongji(#{p_start,mode=IN},#{p_end,mode=IN})") |
| | | List<Map<String ,Object>> getBingZhongInfo(@Param("p_start") String start,@Param("p_end") String end); |
| | | |
| | | @Select("select * from v_gnkssctp where gnlx=#{gnlx}") |
| | | List<Map<String ,Object>> getExeUploadImgListByGnLx(@Param("gnlx") String gnlx); |
| | | } |