Merge branch 'wms_dev' into dev
This commit is contained in:
@@ -218,6 +218,12 @@ public interface SystemServiceFeign {
|
||||
@GetMapping("/associationWarehouseApi/getWarehouseInfo/{correlationId}")
|
||||
public AjaxResult getWarehouseInfo(@PathVariable("correlationId") Long correlationId);
|
||||
|
||||
/**
|
||||
* 直接从数据库获取指定用户设置的仓库(不使用缓存)
|
||||
*/
|
||||
@GetMapping("/associationWarehouseApi/getWarehouseInfoFromDb/{correlationId}")
|
||||
public AjaxResult getWarehouseInfoFromDb(@PathVariable("correlationId") Long correlationId);
|
||||
|
||||
/**
|
||||
* 根据warehouseId获取对仓库信息
|
||||
*/
|
||||
|
||||
+5
@@ -6,6 +6,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -66,6 +67,10 @@ public class MaterialBarCodeFeign extends BaseVOEntity{
|
||||
@Excel(name = "名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("数量")
|
||||
@Excel(name = "数量")
|
||||
private BigDecimal number;
|
||||
|
||||
@ApiModelProperty("备注")
|
||||
@Excel(name = "备注")
|
||||
private String remark;
|
||||
|
||||
+5
@@ -169,6 +169,11 @@ public class RemoteSystemFeignFallbackFactory implements FallbackFactory<SystemS
|
||||
return AjaxResult.error("获取用户当前设置的仓库失败");
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getWarehouseInfoFromDb(Long correlationId) {
|
||||
return AjaxResult.error("从数据库获取用户当前设置的仓库失败");
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getWarehouseInfoByWarehouseId(@PathVariable("warehouseId") Long warehouseId) {
|
||||
return AjaxResult.error("根据仓库ID获取仓库信息失败");
|
||||
|
||||
Reference in New Issue
Block a user