|
|
@@ -8,6 +8,8 @@ import com.yr.bluecat.common.entity.response.Result;
|
|
|
import com.yr.bluecat.common.entity.utils.StringUtils;
|
|
|
import com.yr.bluecat.common.utils.excel.ExportClient;
|
|
|
import com.yr.prism.auth.core.user.AdminUserInfo;
|
|
|
+import com.yr.warehouse.admin.areastaff.mapper.DriverWarehouseMapper;
|
|
|
+import com.yr.warehouse.admin.areastaff.vo.AreaStaffVo;
|
|
|
import com.yr.warehouse.admin.common.bo.BaseIdBo;
|
|
|
import com.yr.warehouse.admin.component.areastaff.AreaStaffComponent;
|
|
|
import com.yr.warehouse.admin.component.auth.OperatorComponent;
|
|
|
@@ -124,8 +126,8 @@ public class DriverIntervalCargoDamageController extends BaseController {
|
|
|
if (areaStaffService.extractedAreaStaffSearchParam(bo)) {
|
|
|
return pageResult.success(0, new ArrayList<>());
|
|
|
}
|
|
|
- Page<DriverIntervalCargoDamageVo> page = driverGoodsLossIntervalMainService.searchForPage(bo);
|
|
|
|
|
|
+ Page<DriverIntervalCargoDamageVo> page = driverGoodsLossIntervalMainService.searchForPage(bo);
|
|
|
|
|
|
List<DriverIntervalCargoDamageVo> driverIntervalCargoDamageVos = page.getRecords();
|
|
|
if (null == driverIntervalCargoDamageVos || driverIntervalCargoDamageVos.isEmpty()) {
|
|
|
@@ -259,6 +261,7 @@ public class DriverIntervalCargoDamageController extends BaseController {
|
|
|
bo.setPageNum(bo.getPageNum() + 1);
|
|
|
}
|
|
|
areaStaffService.buildAreaStaffName(all);
|
|
|
+ operatorBuildService.buildOperatorName(all);
|
|
|
List<DriverRouteAccountRecordMainExport> driverRouteAccountRecordMainExports = DriverIntervalCargoDamageMapStruct.MAPSTRUCT.routeAccountRecordMainVoListToRouteAccountRecordMainExportList(all);
|
|
|
driverRouteAccountRecordMainExports.forEach(export -> {
|
|
|
export.setStatus(DriverOnRouteAccountRecordStatusEnum.getDesc(export.getStatus()));
|
|
|
@@ -286,6 +289,7 @@ public class DriverIntervalCargoDamageController extends BaseController {
|
|
|
return pageResult.success(0, new ArrayList<>());
|
|
|
}
|
|
|
areaStaffService.buildAreaStaffName(driverRouteAccountRecordMainVos);
|
|
|
+ operatorBuildService.buildOperatorName(driverRouteAccountRecordMainVos);
|
|
|
List<DriverRouteAccountRecordMainResponse> driverRouteAccountRecordMainResponses = DriverIntervalCargoDamageMapStruct.MAPSTRUCT.accountRecordMainVoToResponse(driverRouteAccountRecordMainVos);
|
|
|
return pageResult.success(page.getTotal(), driverRouteAccountRecordMainResponses);
|
|
|
}
|