bug51965 发布未被订阅修改

This commit is contained in:
xiejunyu
2022-05-12 11:49:10 +08:00
parent f4c05e3c5a
commit 1ef960dd7d
@@ -628,15 +628,6 @@ public class DummyInventoryBaseEOServiceImpl extends ServiceImpl<DummyInventoryB
log.error("飞书消息推送失败");
}
}
}else {//没有订阅用户
//没有订阅用户,发布时,不发送消息
if(InventoryStateEnum.ISSUE.getValue().equals(state)) {
if(CutEnum.CN.getValue().equals(cut)) {
throw new JeroBootException("该虚拟清单未被订阅,消息发送失败");
}else{
throw new JeroBootException("The virtual list has not been subscribed, and the message sending failed.");
}
}
}
}
//拼接维护清单的消息