| | |
| | | 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<>(); |