Browse Source

仓库接口

training
kilo 1 year ago
parent
commit
e23454e425
  1. 13
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/feign/BasicdataWarehouseClient.java

13
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/feign/BasicdataWarehouseClient.java

@ -115,6 +115,10 @@ public class BasicdataWarehouseClient implements IBasicdataWarehouseClient {
}
/**
* 查看当前登录人能够操作的仓库列表
* @return
*/
@GetMapping(API_PREFIX+"/getMyWarehouseList")
@Override
public List<BasicdataWarehouseVO> getMyWarehouseList() {
@ -122,6 +126,11 @@ public class BasicdataWarehouseClient implements IBasicdataWarehouseClient {
return myWarehouseList;
}
/**
* 将用户当前选择仓库存放至Redis
* @param warehouseEntity
* @return
*/
@PostMapping(API_PREFIX+"/preserveCurrentWarehouse")
@Override
public BasicdataWarehouseEntity preserveCurrentWarehouse(BasicdataWarehouseEntity warehouseEntity) {
@ -129,6 +138,10 @@ public class BasicdataWarehouseClient implements IBasicdataWarehouseClient {
return null;
}
/**
* 根据当前登录人获取Redis中用户选择的仓库信息
* @return
*/
@GetMapping(API_PREFIX+"/getMyCurrentWarehouse")
@Override
public Object getMyCurrentWarehouse() {

Loading…
Cancel
Save