From c107ac92bbf8fedce296fa7f161c5604c6970aba Mon Sep 17 00:00:00 2001 From: zhaoyu Date: Tue, 6 Feb 2024 14:06:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E4=BD=99=E4=B8=8B=E5=86=B2?= =?UTF-8?q?=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/app/AppPromiseController.java | 5 +- .../controller/map/MapEightController.java | 73 ------------------- .../map/impl/MapKeyProjectServiceImpl.java | 1 - .../service/system/impl/UsersServiceImpl.java | 11 +++ 4 files changed, 12 insertions(+), 78 deletions(-) diff --git a/src/main/java/com/zcloud/controller/app/AppPromiseController.java b/src/main/java/com/zcloud/controller/app/AppPromiseController.java index 73b38c11..30012cd2 100644 --- a/src/main/java/com/zcloud/controller/app/AppPromiseController.java +++ b/src/main/java/com/zcloud/controller/app/AppPromiseController.java @@ -18,10 +18,7 @@ import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.multipart.MultipartFile; -import java.util.Date; -import java.util.HashMap; -import java.util.List; -import java.util.Map; +import java.util.*; /** * 说明:手机承诺书表 diff --git a/src/main/java/com/zcloud/controller/map/MapEightController.java b/src/main/java/com/zcloud/controller/map/MapEightController.java index 2870be15..f7d2e341 100644 --- a/src/main/java/com/zcloud/controller/map/MapEightController.java +++ b/src/main/java/com/zcloud/controller/map/MapEightController.java @@ -217,79 +217,6 @@ public class MapEightController extends BaseController { } - /** - * 根据id以及类型获取数据 //曹妃甸东 - * - * @param id 数据id - * @param type 数据类型 动火 等等 - * @return - */ - @RequestMapping(value = "/getByIdCfdD") - @ResponseBody - public Object getByIdCfdD(@RequestParam(value = "id") String id, @RequestParam("TYPE") String type) throws Exception { - PageData pd = this.getPageData(); - MultiValueMap paramMap = new LinkedMultiValueMap(); - paramMap.add("id", pd.getString("id")); - paramMap.add("TYPE", pd.getString("TYPE")); - paramMap.add("HOTWORK_ID", pd.getString("HOTWORK_ID")); - Map result = - restTemplate.postForObject(cfdUrl + "/sync/map/Eight/getByIdOrder", paramMap, Map.class); - return result; - } - - /*曹妃甸专用接口-开始*/ - - /** - * @Description: 获取八项作业所有作业人员 - * @Date: 2023/9/23/023 9:04 - * @Param: - * @Return: - */ - @RequestMapping("/getAllWorkUserCards") - @ResponseBody - public ReturnMap getAllWorkUserCards() { - PageData pageData = this.getPageData(); - MultiValueMap paramMap = new LinkedMultiValueMap(); - Map result = - restTemplate.postForObject(cfdUrl + "/sync/map/Eight/getAllWorkUserCards", paramMap, Map.class); - return ReturnMap.ok(result); - } - - /** - * @Description: 获取八项作业所有作业人员 - * @Date: 2023/9/23/023 9:04 - * @Param: - * @Return: - */ - @RequestMapping("/getAllTickets") - @ResponseBody - public ReturnMap getAllTickets() { - PageData pageData = this.getPageData(); - MultiValueMap paramMap = new LinkedMultiValueMap(); - Map result = - restTemplate.postForObject(cfdUrl + "/sync/map/Eight/getAllTickets", paramMap, Map.class); - return ReturnMap.ok(result); - } - - /** - * @Description: 获取八项作业所有作业人员 - * @Date: 2023/9/23/023 9:04 - * @Param: - * @Return: - */ - @RequestMapping("/findEightsByUserId") - @ResponseBody - public ReturnMap findEightsByUserId() { - PageData pageData = this.getPageData(); - MultiValueMap paramMap = new LinkedMultiValueMap(); - paramMap.add("empNo", pageData.getString("empNo")); - paramMap.add("TYPE", pageData.getString("TYPE")); - Map result = - restTemplate.postForObject(cfdUrl + "/sync/map/Eight/findEightsByUserId", paramMap, Map.class); - return ReturnMap.ok(result); - } - - /*曹妃甸专用接口-结束*/ } diff --git a/src/main/java/com/zcloud/service/map/impl/MapKeyProjectServiceImpl.java b/src/main/java/com/zcloud/service/map/impl/MapKeyProjectServiceImpl.java index e1ff65a4..ad32ea3e 100644 --- a/src/main/java/com/zcloud/service/map/impl/MapKeyProjectServiceImpl.java +++ b/src/main/java/com/zcloud/service/map/impl/MapKeyProjectServiceImpl.java @@ -9,7 +9,6 @@ import com.zcloud.service.bus.ImgFilesService; import com.zcloud.service.map.MapEightService; import com.zcloud.service.map.MapKetProjectService; import com.zcloud.service.system.UsersService; -import com.zcloud.service.map.CorpDepartmentService; import com.zcloud.util.Jurisdiction; import com.zcloud.util.Tools; import org.apache.commons.lang.StringUtils; diff --git a/src/main/java/com/zcloud/service/system/impl/UsersServiceImpl.java b/src/main/java/com/zcloud/service/system/impl/UsersServiceImpl.java index 35467c06..1cfe2eea 100644 --- a/src/main/java/com/zcloud/service/system/impl/UsersServiceImpl.java +++ b/src/main/java/com/zcloud/service/system/impl/UsersServiceImpl.java @@ -540,6 +540,17 @@ public class UsersServiceImpl implements UsersService { // map.put("result",errInfo); return ReturnMap.ok(); } + + @Override + public Object getCurrentPersonnelData(PageData pd) throws Exception { + return null; + } + + @Override + public Object getPersonPositioningStatistics(PageData pd) throws Exception { + return null; + } + @Override public Object getCurrentLocationCount(PageData pd){ Map map = new HashMap();