Browse Source

删除BUG修复

anderx 2 years ago
parent
commit
1a7dcd6eb2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml

+ 1 - 1
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml

@@ -345,7 +345,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 		</if>
 	</select>
 	<select id="selectParticipateProjectSum" parameterType="java.lang.Long" resultType="java.lang.Integer">
-		select count(*)
+		select (count(b.id)+count(c.id))counts
 		from sys_user a left join project_task b on a.user_id =b.aid
 						left join project_staff c on a.user_id =c.aid
 		where a.user_id = #{userId}