|
@@ -160,7 +160,7 @@ public class InvoiceBasicInfoServiceImpl extends ServiceImpl<InvoiceBasicInfoMap
|
|
|
User user = ThreadLocalUtil.getUser();
|
|
|
Long userId = null;
|
|
|
List<Long> userIds = userService.findUserIdByRole(ConstantUtil.PROJECT_MANAGER);
|
|
|
- if(cn.hutool.core.collection.CollectionUtil.isNotEmpty(userIds) && !userIds.contains(userId)){
|
|
|
+ if(cn.hutool.core.collection.CollectionUtil.isNotEmpty(userIds) && userIds.contains(userId)){
|
|
|
userId = user.getId();
|
|
|
}
|
|
|
InvoiceBasicInfo invoiceBasicInfo = baseMapper.getListInfo(id,userId);
|