This commit is contained in:
Tankaikai
2025-03-25 11:28:07 +08:00
parent a1b16bd2b0
commit 32a2685203

View File

@@ -60,7 +60,8 @@ public class ProductStockFlowServiceImpl extends ServiceImpl<ProductStockFlowMap
if (CollUtil.isEmpty(openIdList)) {
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;
ThreadUtil.execAsync(() -> {
openIdList.parallelStream().forEach(openId -> {