|
|
@@ -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}
|