1.修改预警通知标题
This commit is contained in:
@@ -127,7 +127,7 @@ public class ConsMsgConsumer {
|
||||
String value = redisUtil.getMessage(key);
|
||||
log.info("redis_key:{}",value);
|
||||
if (Objects.isNull(value)) {
|
||||
JSONObject jsonObject = wxAccountUtil.sendStockWarnMsg(shopInfo.getShopName(), "耗材:" + tbConsInfo.getConName(),
|
||||
JSONObject jsonObject = wxAccountUtil.sendStockWarnMsg("耗材库存不足", tbConsInfo.getConName(),
|
||||
tbConsInfo.getStockNumber().subtract(tbConsInfo.getStockConsume()).setScale(2, BigDecimal.ROUND_DOWN).toPlainString(), tbUserShopMsg.getOpenId());
|
||||
if (jsonObject != null) {
|
||||
log.info("写入redis:{}",key);
|
||||
|
||||
Reference in New Issue
Block a user