Commit eed6e055 by guojuxing

资源组-门店资源ID获取方法提供

parent b6324193
...@@ -98,6 +98,19 @@ public class UserDetail implements Serializable { ...@@ -98,6 +98,19 @@ public class UserDetail implements Serializable {
return storeResourceInfo; return storeResourceInfo;
} }
/**
* 资源组门店选择器ID
* @return
*/
public Long getStoreResourceId() {
if (storeResourceInfo != null) {
if (storeResourceInfo.getStoreResourceId() != null) {
return Long.valueOf(storeResourceInfo.getStoreResourceId());
}
}
return null;
}
public UserDetail setStoreResourceInfo(StoreResourceInfo storeResourceInfo) { public UserDetail setStoreResourceInfo(StoreResourceInfo storeResourceInfo) {
this.storeResourceInfo = storeResourceInfo; this.storeResourceInfo = storeResourceInfo;
return this; return this;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment