预警
This commit is contained in:
@@ -60,7 +60,8 @@ public class ProductStockFlowServiceImpl extends ServiceImpl<ProductStockFlowMap
|
|||||||
if (CollUtil.isEmpty(openIdList)) {
|
if (CollUtil.isEmpty(openIdList)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String conName = StrUtil.format("{}数量<预警值{}", product.getName(), warnLine);
|
String productName = StrUtil.sub(product.getName(), 0, 10).concat("...");
|
||||||
|
String conName = StrUtil.format("{}数量<预警值{}", productName, warnLine);
|
||||||
String finalShopName = shopName;
|
String finalShopName = shopName;
|
||||||
ThreadUtil.execAsync(() -> {
|
ThreadUtil.execAsync(() -> {
|
||||||
openIdList.parallelStream().forEach(openId -> {
|
openIdList.parallelStream().forEach(openId -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user