소스 검색

fix:发票管理

CAYK\miaosen.zhao 6 달 전
부모
커밋
a44c3b7396
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/sunxung/factoring/service/invoicemanage/impl/InvoiceBasicInfoServiceImpl.java

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