wuxw
2022-07-17 ce64e667815b39efdc2f8bd52be0d43d49db8d84
service-api/src/main/java/com/java110/api/smo/impl/FloorServiceSMOImpl.java
@@ -12,7 +12,7 @@
import com.java110.utils.exception.SMOException;
import com.java110.utils.util.Assert;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.java110.core.log.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
@@ -50,7 +50,7 @@
        ComponentValidateResult result = super.validateStoreStaffCommunityRelationship(pd, restTemplate);
        ResponseEntity responseEntity = this.callCenterService(restTemplate, pd, "",
                ServiceConstant.SERVICE_API_URL + "/api/floor.queryFloors" +  mapToUrlParam(paramIn),
                "floor.queryFloors" +  mapToUrlParam(paramIn),
                HttpMethod.GET);
        return responseEntity;
@@ -92,7 +92,7 @@
        String storeTypeCd = JSONObject.parseObject(responseEntity.getBody().toString()).getString("storeTypeCd");
        //数据校验是否 商户是否入驻该小区
        super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
        String apiUrl = ServiceConstant.SERVICE_API_URL + "/api/floor.queryFloors" + mapToUrlParam(paramIn);
        String apiUrl = "floor.queryFloors" + mapToUrlParam(paramIn);
        responseEntity = this.callCenterService(restTemplate, pd, "",
                apiUrl,
@@ -131,7 +131,7 @@
        super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
        paramIn.put("userId", pd.getUserId());
        responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
                ServiceConstant.SERVICE_API_URL + "/api/floor.saveFloor",
                "floor.saveFloor",
                HttpMethod.POST);
        return responseEntity;
@@ -167,7 +167,7 @@
        paramIn.put("userId", pd.getUserId());
        paramIn.put("name", paramIn.getString("floorName"));
        responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
                ServiceConstant.SERVICE_API_URL + "/api/floor.editFloor",
                "floor.editFloor",
                HttpMethod.POST);
        return responseEntity;
@@ -193,7 +193,7 @@
        super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
        responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
                ServiceConstant.SERVICE_API_URL + "/api/floor.deleteFloor",
                "floor.deleteFloor",
                HttpMethod.POST);
        return responseEntity;