haogh 9 months ago
parent
commit
e94d7eec0a

+ 2 - 2
sop-business/src/main/java/com/qmth/sop/business/service/impl/ProjectMonitorServiceImpl.java

@@ -42,7 +42,7 @@ public class ProjectMonitorServiceImpl extends ServiceImpl<TBSopInfoMapper, TBSo
     TBUserArchivesService tbUserArchivesService;
 
     @Resource
-    private BasicAttachmentService basicAttachmentService;
+    BasicAttachmentService basicAttachmentService;
 
     @Override
     public IPage<ProjectMonitorResult> pageProjectMonitor(Page<ProjectMonitorResult> page, Long serviceUnitId, Long customerId, CrmProcessEnum process) {
@@ -72,7 +72,7 @@ public class ProjectMonitorServiceImpl extends ServiceImpl<TBSopInfoMapper, TBSo
 
     @Override
     public ProjectMonitorCardResult getUserCard(Long userId) {
-        TBUserArchives userArchives = tbUserArchivesService.getById(userId);
+        TBUserArchives userArchives = tbUserArchivesService.findByUserId(userId);
         if (Objects.isNull(userArchives)) {
             throw ExceptionResultEnum.ERROR.exception("人员不存在");
         }

+ 1 - 1
sop-business/src/main/resources/mapper/TBUserArchivesAllocationMapper.xml

@@ -270,7 +270,7 @@
     </select>
     <select id="listUserArchivesAllocation" resultType="com.qmth.sop.business.bean.dto.UserArchivesAllocationDto" parameterType="java.lang.Long">
         SELECT
-            tbua.id userId,
+            tbuaa.user_id userId,
             tbuaa.sop_role_type sopRoleType,
             tbua.NAME userName,
             mobile_number mobileNumber,