bug51965 发布未被订阅修改
This commit is contained in:
-9
@@ -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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//拼接维护清单的消息
|
||||
|
||||
Reference in New Issue
Block a user