|
|
|
@ -87,4 +87,19 @@ public class StockRulesController {
|
|
|
|
|
return ResultVOUtils.success("删除成功");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据客户ID查询当前启用的垛号生成规则
|
|
|
|
|
*
|
|
|
|
|
* @param customerId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping("/udims/stockRules/getEnableStockRule")
|
|
|
|
|
public BaseResponse getEnableStockRule(String customerId) {
|
|
|
|
|
if (StrUtil.isBlank(customerId)) {
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL);
|
|
|
|
|
}
|
|
|
|
|
StockRulesEntity stockRulesEntity = stockRulesService.getEnableStockRule(customerId);
|
|
|
|
|
return ResultVOUtils.success(stockRulesEntity);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|