Commit 4327aa0e by zhiwj

优化

parent f1368f57
......@@ -321,6 +321,9 @@ public class ClerkApiServiceImpl implements ClerkApiService {
private boolean validStoreIsOther(Integer enterpriseId, Integer storeInfoId) {
Integer owner = storeService.getStoreOwnerByStoreInfoId(enterpriseId, storeInfoId);
if (owner == null) {
return false;
}
return owner == StoreOwnTypeEnum.OTHER.getCode();
}
......
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