gamma重新分析增加参数processKey用于区分判断
This commit is contained in:
parent
27d22a8173
commit
1edb06857d
|
@ -77,8 +77,8 @@ public class GammaController {
|
|||
|
||||
@PostMapping("Reprocessing")
|
||||
@ApiOperation(value = "analyze菜单下Reprocessing页面数据", notes = "analyze菜单下Reprocessing页面数据")
|
||||
public Result Reprocessing(String fileName, HttpServletRequest request) {
|
||||
return gammaService.Reprocessing(fileName, request);
|
||||
public Result Reprocessing(String fileName, String processKey, HttpServletRequest request) {
|
||||
return gammaService.Reprocessing(fileName, processKey, request);
|
||||
}
|
||||
|
||||
@GetMapping("InteractiveTool")
|
||||
|
|
|
@ -30,7 +30,7 @@ public interface IGammaService{
|
|||
|
||||
Result configureSave(ConfigureData configureData, HttpServletRequest request);
|
||||
|
||||
Result Reprocessing(String fileName, HttpServletRequest request);
|
||||
Result Reprocessing(String fileName, String processKey, HttpServletRequest request);
|
||||
|
||||
Result InteractiveTool(Integer sampleId, String fileName, HttpServletRequest request);
|
||||
|
||||
|
|
|
@ -1024,7 +1024,7 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
|
|||
}
|
||||
|
||||
@Override
|
||||
public Result Reprocessing(String fileName, HttpServletRequest request) {
|
||||
public Result Reprocessing(String fileName, String processKey, HttpServletRequest request) {
|
||||
Result result = new Result();
|
||||
String userName = JwtUtil.getUserNameByToken(request);
|
||||
Cache<String, PHDFile> phdCache = localCache.getPHDCache();
|
||||
|
@ -1033,9 +1033,7 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
|
|||
result.error500("Please select the parse file first!");
|
||||
return result;
|
||||
}
|
||||
// 获取当前用户信息
|
||||
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||
phd.setUserId(sysUser.getId());
|
||||
phd.setUserId(processKey);
|
||||
// 赋值xml文件存放路径
|
||||
phd.setXmlFilePath(parameterProperties.getFilePath());
|
||||
// 获取当前角色的颜色配置
|
||||
|
|
Loading…
Reference in New Issue
Block a user