|
@@ -20,6 +20,7 @@ import com.sooka.sponest.mobile.remoteapi.RemoteDataBaseService;
|
|
|
import com.sooka.sponest.mobile.remoteapi.RemoteEventBaseService;
|
|
|
import com.sooka.sponest.mobile.remoteapi.RemoteMiddlewareService;
|
|
|
import com.sooka.sponest.mobile.remoteapi.domain.DataVO;
|
|
|
+import com.sooka.sponest.mobile.utils.PictureReplaceAll;
|
|
|
import org.apache.poi.ss.formula.functions.T;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -76,7 +77,8 @@ public class AppBigDataCountController extends VisuBaseService {
|
|
|
public AjaxResult getResourcePointById(@RequestBody VisualBO vb) {
|
|
|
R resultData = middlewareService.getResourcePointById(vb.getId(), vb.getType());
|
|
|
if (HttpStatus.SUCCESS == resultData.getCode()) {
|
|
|
- return AjaxResult.success(resultData.getData());
|
|
|
+ LinkedHashMap<String, Object> data = (LinkedHashMap<String, Object>) resultData.getData();
|
|
|
+ return AjaxResult.success(PictureReplaceAll.replaceSchedulePictures(data,"pictures"));
|
|
|
} else {
|
|
|
return AjaxResult.error(resultData.getMsg());
|
|
|
}
|