/** * Copyright 2018 人人开源 https://www.renren.io *

* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. *

* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. *

* You should have received a copy of the GNU General Public License * along with this program. If not, see . */ package com.epmet.dao; import com.epmet.commons.mybatis.dao.BaseDao; import com.epmet.dto.StaffGridVisitedDTO; import com.epmet.dto.form.LatestGridFormDTO; import com.epmet.entity.StaffGridVisitedEntity; import org.apache.ibatis.annotations.Mapper; import java.util.Date; /** * 工作人员进入网格日志表 * * @author generator generator@elink-cn.com * @since v1.0.0 2020-04-21 */ @Mapper public interface StaffGridVisitedDao extends BaseDao { /** * @Description 通过staffId和customerId查询当前用户上一次登录的网格信息 * @Param LatestGridFormDTO * @return gridId * @Author wangc * @Date 2020.04.23 00:40 **/ String selectStaffLatestGrid(LatestGridFormDTO latestGridFormDTO); /** * @Description 根据staffId和customerId查询当前用户上一次登陆的网格Id,Id,创建时间 * @param latestGridFormDTO * @return StaffGridVisitedEntity * @author wangc * @date 2020.08.27 15:05 **/ StaffGridVisitedEntity selectVisitedRecordByStaffId(LatestGridFormDTO latestGridFormDTO); /** * @Description 更新工作人员网格登陆记录的时间 * @param id * @param date * @return * @author wangc * @date 2020.08.27 16:28 **/ void updateRecordTime(String id, Date date); }