人员信息添加考勤组
This commit is contained in:
parent
8754856448
commit
518a39a5f5
|
|
@ -272,4 +272,17 @@
|
||||||
where user_name = #{userName}
|
where user_name = #{userName}
|
||||||
and is_active = '1' limit 1
|
and is_active = '1' limit 1
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<select id="getAttGroupByUserId" resultType="com.bonus.system.api.domain.MapVo">
|
||||||
|
SELECT
|
||||||
|
ag.id,
|
||||||
|
ag.group_name AS `name`
|
||||||
|
FROM
|
||||||
|
att_group_person_relation agpr
|
||||||
|
LEFT JOIN att_group ag ON agpr.group_id = ag.id
|
||||||
|
AND ag.is_active = '1'
|
||||||
|
WHERE
|
||||||
|
agpr.user_id = #{userId} and agpr.is_active = '1' and ag.id is not null
|
||||||
|
LIMIT 1
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
Loading…
Reference in New Issue