feat: 子卷包装关系crud
This commit is contained in:
@@ -15,14 +15,10 @@ public enum TaskOwnerServiceEnum {
|
||||
LMS("lms", "LMS"),
|
||||
WMS("wms", "WMS");
|
||||
|
||||
private String code;
|
||||
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* MQ Topic 前缀
|
||||
*/
|
||||
private final String topicPrefix;
|
||||
private final String code;
|
||||
|
||||
/**
|
||||
* 服务注册名称
|
||||
@@ -51,6 +47,6 @@ public enum TaskOwnerServiceEnum {
|
||||
* @return 完整 Topic
|
||||
*/
|
||||
public String buildTopic(String topic) {
|
||||
return topicPrefix + "_" + topic;
|
||||
return code + "_" + topic;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user