package com.pcloud.book.applet.dao.impl;

import com.pcloud.book.applet.entity.AppletGroupManage;
import com.pcloud.book.applet.dao.AppletGroupManageDao;
import com.pcloud.common.core.dao.BaseDaoImpl;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 学舍群管理(AppletGroupManage)表数据库访问层
 *
 * @author zyq
 * @since 2020-04-01 14:05:41
 */
@Repository("appletGroupManageDaoImpl")
public class AppletGroupManageDaoImpl extends BaseDaoImpl<AppletGroupManage> implements AppletGroupManageDao {

    @Override
    public Integer getMaxSeqNum(Long agentId) {
        return super.sqlSessionTemplate.selectOne(getStatement("getMaxSeqNum"), agentId);
    }
}