jiangping
2025-05-12 d6a884f942399c1ab708f6d4f18395bc323b46c9
server/system_service/src/main/java/com/doumee/service/business/impl/third/TmsServiceImpl.java
@@ -30,7 +30,6 @@
@Service
@Slf4j
public class TmsServiceImpl implements TmsService {
    @Autowired
    private SystemDictDataBiz systemDictDataBiz;
    @Autowired
@@ -47,12 +46,10 @@
    public TmsBaseResponse<List<TmsLockStatusQueryResponse>> lockStatusQuery(TmsLockStatusQueryRequest param){
        String url = systemDictDataBiz.queryByCode(Constants.TSM_PARAM,Constants.TMS_INTERFACE_URL_PREFIX).getCode()
                + TMSContants.InterfacePath.getElecByContractNumberList[0];
        TmsBaseResponse<List<TmsLockStatusQueryResponse>> response = sendHttpRequest(url,TMSContants.InterfacePath.getElecByContractNumberList[1],JSONObject.toJSONString(param)
                ,new TypeReference< TmsBaseResponse<List<TmsLockStatusQueryResponse>>>(){});
        return  response;
    }
    /**
     * 运输单gis轨迹
     * 根据区域ID集合+筛选条件(合同号、制单开始日期、制单结束日期、发货地、到货地、省份,非需要),返回合同列表信息,按照时间倒序展示;
@@ -313,6 +310,22 @@
        return  response.getData();
    }
    /**
     * 出库能力汇总接口
     * @param param 参数
     * @return TmsBaseResponse
     */
    @Override
    public TmsGetOutCapabilityResponse getOutCapacity(TmsFacrotyCodeListRequest param){
        String url = systemDictDataBiz.queryByCode(Constants.TSM_PARAM,Constants.TMS_INTERFACE_URL_PREFIX).getCode()
                    +TMSContants.InterfacePath.getOutCapacity[0];
        TmsBaseResponse<TmsGetOutCapabilityResponse > response = sendHttpRequest(url,TMSContants.InterfacePath.getOutboundCapability[1],JSONObject.toJSONString(param)
                ,new TypeReference< TmsBaseResponse<TmsGetOutCapabilityResponse>>(){});
        if(response ==null || response.getData() == null){
            return  new TmsGetOutCapabilityResponse();
        }
        return  response.getData();
    }
    /**
     * 合同列表接口
     * 根据区域ID集合+筛选条件(合同号、制单开始日期、制单结束日期、发货地、到货地、省份,非需要),返回合同列表信息,按照时间倒序展示;
     * @param param 参数