录单
This commit is contained in:
@@ -2056,7 +2056,7 @@ public class JDUtil {
|
|||||||
totalCount += count;
|
totalCount += count;
|
||||||
|
|
||||||
summaryBuilder.append("型号:").append(modelNumber != null ? modelNumber : "未知")
|
summaryBuilder.append("型号:").append(modelNumber != null ? modelNumber : "未知")
|
||||||
.append("\n数量:").append(count);
|
.append("\n数量:").append(count).append("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 添加合计
|
// 添加合计
|
||||||
|
|||||||
@@ -226,17 +226,19 @@ public class WXUtil {
|
|||||||
|
|
||||||
String messageContent = "Jarvis 更新完成 [亲亲][亲亲][亲亲] ";
|
String messageContent = "Jarvis 更新完成 [亲亲][亲亲][亲亲] ";
|
||||||
String fromWxid = default_bot_wxid; // 来源为机器人自身
|
String fromWxid = default_bot_wxid; // 来源为机器人自身
|
||||||
for (SuperAdmin admin : super_admins.values()) {
|
sendTextMessage(default_super_admin_wxid, messageContent, 1, fromWxid, false);
|
||||||
if (!notify_wx.contains(admin.getWxid())){
|
|
||||||
try {
|
|
||||||
sendTextMessage(admin.getWxid(), messageContent, 1, fromWxid, false);
|
|
||||||
notify_wx.add(admin.getWxid());
|
|
||||||
} catch (Exception e) {
|
|
||||||
logger.warn("发送重启通知失败,目标 wxid: {}", admin.getWxid(), e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
//for (SuperAdmin admin : super_admins.values()) {
|
||||||
|
// if (!notify_wx.contains(admin.getWxid())){
|
||||||
|
// try {
|
||||||
|
// sendTextMessage(admin.getWxid(), messageContent, 1, fromWxid, false);
|
||||||
|
// notify_wx.add(admin.getWxid());
|
||||||
|
// } catch (Exception e) {
|
||||||
|
// logger.warn("发送重启通知失败,目标 wxid: {}", admin.getWxid(), e);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
//}
|
||||||
|
|
||||||
restartNoticeSent = true;
|
restartNoticeSent = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user