|
@@ -3,7 +3,7 @@ package com.shkpr.service.alambizplugin.controller;
|
|
|
import com.global.base.log.LogLevelFlag;
|
|
|
import com.global.base.log.LogPrintMgr;
|
|
|
import com.shkpr.service.alambizplugin.apiparam.GisSurveyCheckParams;
|
|
|
-import com.shkpr.service.alambizplugin.bizservice.GisSurveyBizService;
|
|
|
+import com.shkpr.service.alambizplugin.bizservice.GisSurveySystemCheckBizService;
|
|
|
import com.shkpr.service.alambizplugin.commtools.CommTool;
|
|
|
import com.shkpr.service.alambizplugin.constants.ApiURI;
|
|
|
import com.shkpr.service.alambizplugin.constants.GisSurveyCheckStatusEnum;
|
|
@@ -36,14 +36,14 @@ public class ApiGisSurveyController {
|
|
|
private final AtomicInteger mSeqSysCheckReq;
|
|
|
private final AtomicInteger mSeqSysCheckDelReq;
|
|
|
|
|
|
- private final GisSurveyBizService gisSurveyBizService;
|
|
|
+ private final GisSurveySystemCheckBizService systemCheckBizService;
|
|
|
|
|
|
- public ApiGisSurveyController(GisSurveyBizService gisSurveyBizService) {
|
|
|
+ public ApiGisSurveyController(GisSurveySystemCheckBizService systemCheckBizService) {
|
|
|
mStrClassName = "ApiGisSurveyController";
|
|
|
mBizType = LogFlagBusiType.BUSI_GIS_SURVEY.toStrValue();
|
|
|
mSeqSysCheckReq = new AtomicInteger(0);
|
|
|
mSeqSysCheckDelReq = new AtomicInteger(0);
|
|
|
- this.gisSurveyBizService = gisSurveyBizService;
|
|
|
+ this.systemCheckBizService = systemCheckBizService;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -89,7 +89,7 @@ public class ApiGisSurveyController {
|
|
|
resResult.setResmsg(ResponseCode.RESULT_SYSTEM_CHECK_FAILED.toStrMsg());
|
|
|
|
|
|
//执行系统检查
|
|
|
- GisSurveySystemCheckResult result = gisSurveyBizService.sysCheckFun(oJsonParam);
|
|
|
+ GisSurveySystemCheckResult result = systemCheckBizService.sysCheckFun(oJsonParam);
|
|
|
|
|
|
//执行成功
|
|
|
if (result != null && !Objects.equals(result.getCheckStatus(), GisSurveyCheckStatusEnum.FAIL.getCode())) {
|
|
@@ -162,7 +162,7 @@ public class ApiGisSurveyController {
|
|
|
resResult.setRescode(ResponseCode.RESULT_SYSTEM_CHECK_CANCEL_FAILED.toStrCode());
|
|
|
resResult.setResmsg(ResponseCode.RESULT_SYSTEM_CHECK_CANCEL_FAILED.toStrMsg());
|
|
|
//清除检查
|
|
|
- GisSurveySystemCheckResult cancelCheck = gisSurveyBizService.cancelCheck(oJsonParam);
|
|
|
+ GisSurveySystemCheckResult cancelCheck = systemCheckBizService.cancelCheck(oJsonParam);
|
|
|
//成功
|
|
|
if (Objects.equals(cancelCheck.getCheckStatus(), GisSurveyCheckStatusEnum.SUCCESS.getCode())) {
|
|
|
resResult.setRescode(ResponseCode.RESULT_NORMAL.toStrCode());
|