|
|
|
@ -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); |
|
|
|
|