Commit e0da68f3 by 徐高华

门店

parent 680abae3
...@@ -898,7 +898,7 @@ public class StaffApiServiceImpl implements StaffApiService { ...@@ -898,7 +898,7 @@ public class StaffApiServiceImpl implements StaffApiService {
} }
int size = storeIds.size(); int size = storeIds.size();
storeRoleDTO.setStoreCount(size); storeRoleDTO.setStoreCount(size);
if (size == 1) { if (size >= 1) {
storeRoleDTO.setStoreId(storeIds.get(0)); storeRoleDTO.setStoreId(storeIds.get(0));
} }
return storeRoleDTO; return storeRoleDTO;
......
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