CAYK\miaosen.zhao 6 mesi fa
parent
commit
a44c3b7396

+ 1 - 1
src/main/java/com/sunxung/factoring/service/invoicemanage/impl/InvoiceBasicInfoServiceImpl.java

@@ -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);