增加事件自动指派操作
This commit is contained in:
@@ -4,4 +4,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="org.dromara.property.mapper.attendanceMapper.AttendanceUserGroupMapper">
|
||||
|
||||
<select id="queryAttendByCurrDateAndDeviceIp"
|
||||
resultType="org.dromara.property.domain.vo.attendanceVo.AttendanceUserGroupVo">
|
||||
|
||||
SELECT
|
||||
a.*
|
||||
FROM
|
||||
attendance_user_group a
|
||||
LEFT JOIN attendance_arrangement_area b ON a.schedule_id = b.shcedule_id
|
||||
LEFT JOIN attendance_area_device c ON b.area_id = c.area_id
|
||||
LEFT JOIN sis_device_manage d ON c.device_manage_id = d.id
|
||||
WHERE
|
||||
d.device_ip = #{deviceIp}
|
||||
AND a.start_date <= #{currDate}
|
||||
AND a.end_date > #{currDate}
|
||||
|
||||
</select>
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user