Commit ca2c7abd authored by 温志超's avatar 温志超

更新查看图片逻辑

parent c83c2d44
......@@ -152,6 +152,7 @@ public class ProTaskMobController extends BaseController {
ProProductionSolution proProductionSolution = proProductionSolutionMapper.selectProProductionSolutionByProductionSolutionId(proWorkorder.getProductionSolutionId());
if(proProductionSolution != null && StringUtils.isNotEmpty(proProductionSolution.getFilePath())){
List<Map<String,Object>> fileMap = (List<Map<String, Object>>) JSONArray.parse(proProductionSolution.getFilePath());
if(fileMap != null){
for (Map<String,Object> map : fileMap){
ProTaskLinkFile file = new ProTaskLinkFile();
file.setFileName((String) map.get("originalFilename"));
......@@ -160,6 +161,7 @@ public class ProTaskMobController extends BaseController {
list.add(file);
}
}
}
return AjaxResult.success(list);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment