Browse Source

增加售后未选择仓库提示

dist.1.3.0
汤建军 8 months ago
parent
commit
90f0e70a5c
  1. 11
      blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesAbnormalPackageController.java

11
blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesAbnormalPackageController.java

@ -16,6 +16,8 @@
*/
package com.logpm.aftersales.controller;
import com.logpm.basicdata.entity.BasicdataWarehouseEntity;
import com.logpm.basicdata.feign.IBasicdataWarehouseClient;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
@ -61,6 +63,9 @@ public class AftersalesAbnormalPackageController extends BladeController {
private final IAftersalesAbnormalPackageService aftersalesAbnormalPackageService;
private final IBasicdataWarehouseClient warehouseClient;
/**
* 异常处理包件记录 详情
*/
@ -88,7 +93,11 @@ public class AftersalesAbnormalPackageController extends BladeController {
@GetMapping("/getAbnormalPackage")
@ApiOperationSupport(order = 2)
@ApiOperation(value = "查询包件是否处理过的信息", notes = "传入aftersalesAbnormalPackage")
public R<List<AftersalesAbnormalPackageVO>> getAbnormalPackage(@ApiIgnore @RequestParam Map<String, Object> aftersalesAbnormalPackage, Query query) {
public R getAbnormalPackage(@ApiIgnore @RequestParam Map<String, Object> aftersalesAbnormalPackage, Query query) {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse();
if (Func.isEmpty(myCurrentWarehouse)){
return R.fail(403,"未授权!!!");
}
log.info("查询包件的数据》》》{}",aftersalesAbnormalPackage);
List<AftersalesAbnormalPackageVO> pages = aftersalesAbnormalPackageService.getAbnormalPackage( aftersalesAbnormalPackage,Condition.getPage(query));
return R.data(pages);

Loading…
Cancel
Save