|
|
|
@ -3,6 +3,7 @@ package com.logpm.warehouse.api;
|
|
|
|
|
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
|
|
|
|
import com.logpm.basicdata.entity.BasicdataWarehouseEntity; |
|
|
|
|
import com.logpm.basicdata.feign.IBasicdataWarehouseClient; |
|
|
|
|
import com.logpm.warehouse.bean.Resp; |
|
|
|
|
import com.logpm.warehouse.dto.*; |
|
|
|
|
import com.logpm.warehouse.feign.WarehouseGoodsAllocationClient; |
|
|
|
|
import com.logpm.warehouse.service.IWarehouseUpdownTypeService; |
|
|
|
@ -66,7 +67,7 @@ public class WarehouseUpdownTypeApiController {
|
|
|
|
|
return R.data(upShelfDataVOs); |
|
|
|
|
}catch (CustomerException e){ |
|
|
|
|
log.warn(e.message); |
|
|
|
|
return R.fail(e.code,e.message); |
|
|
|
|
return Resp.scanFail(e.message,e.message); |
|
|
|
|
}catch (Exception e){ |
|
|
|
|
log.error(method+"系统异常,联系管理员",e); |
|
|
|
|
return R.fail(500,"系统异常,联系管理员"); |
|
|
|
@ -100,7 +101,7 @@ public class WarehouseUpdownTypeApiController {
|
|
|
|
|
return R.data(upShelfAllocationVO); |
|
|
|
|
}catch (CustomerException e){ |
|
|
|
|
log.warn(e.message); |
|
|
|
|
return R.fail(e.code,e.message); |
|
|
|
|
return Resp.scanFail(e.message,e.message); |
|
|
|
|
}catch (Exception e){ |
|
|
|
|
log.error(method+"系统异常,联系管理员",e); |
|
|
|
|
return R.fail(500,"系统异常,联系管理员"); |
|
|
|
|