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

import com.pcloud.book.applet.dao.AppletSubscribeRecordDao;
import com.pcloud.book.applet.entity.AppletSubscribeRecord;
import com.pcloud.common.core.dao.BaseDaoImpl;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * (AppletSubscribeRecord)表数据库访问层
 *
 * @author wubo
 * @since 2021-08-03 09:37:00
 */
@Repository("appletSubscribeRecordDaoImpl")
public class AppletSubscribeRecordDaoImpl extends BaseDaoImpl<AppletSubscribeRecord> implements AppletSubscribeRecordDao {
    public int softDeleteById(Long id) {
        return getSessionTemplate().update(getStatement("softDeleteById"), id);

    }

}