jiangping
2025-01-06 7c5484cc1169aa6ef55c77c70f136a781469a7c3
server/system_service/src/main/java/com/doumee/service/business/impl/third/TmsServiceImpl.java
@@ -288,12 +288,12 @@
    public   TmsEmployeeListResponse getEmployeeList(TmsEmployeeListRequest param){
        String url = systemDictDataBiz.queryByCode(Constants.TSM_PARAM,Constants.TMS_INTERFACE_URL_PREFIX).getCode()
                    +TMSContants.InterfacePath.getEmployeeList[0];
        TmsBaseResponse<TmsEmployeeListResponse > response = sendHttpRequest(url,TMSContants.InterfacePath.getEmployeeList[1],JSONObject.toJSONString(param)
                ,new TypeReference< TmsBaseResponse<TmsEmployeeListResponse>>(){});
        if(response ==null || response.getData() == null){
        TmsBaseResponse<List<TmsEmployeeListResponse>> response = sendHttpRequest(url,TMSContants.InterfacePath.getEmployeeList[1],JSONObject.toJSONString(param)
                ,new TypeReference< TmsBaseResponse<List<TmsEmployeeListResponse>>>(){});
        if(response ==null || response.getData() == null || response.getData().size() ==0){
            return  new TmsEmployeeListResponse();
        }
        return  response.getData();
        return  response.getData().get(0);
    }
    /**
     * 出库能力统计