package com.panzhihua.service_community.dao;
|
|
import java.util.List;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Mapper;
|
import com.panzhihua.service_community.entity.ComActSocialOrgHatchAuditSchedule;
|
|
/**
|
* 社会组织孵化申请进度表(ComActSocialOrgHatchAuditSchedule)表数据库访问层
|
*
|
* @author makejava
|
* @since 2022-04-18 15:10:47
|
*/
|
@Mapper
|
public interface ComActSocialOrgHatchAuditScheduleDAO extends BaseMapper<ComActSocialOrgHatchAuditSchedule> {
|
|
/**
|
* 批量新增数据(MyBatis原生foreach方法)
|
*
|
* @param entities
|
* List<ComActSocialOrgHatchAuditSchedule> 实例对象列表
|
* @return 影响行数
|
*/
|
int insertBatch(@Param("entities") List<ComActSocialOrgHatchAuditSchedule> entities);
|
|
/**
|
* 批量新增或按主键更新数据(MyBatis原生foreach方法)
|
*
|
* @param entities
|
* List<ComActSocialOrgHatchAuditSchedule> 实例对象列表
|
* @return 影响行数
|
* @throws org.springframework.jdbc.BadSqlGrammarException
|
* 入参是空List的时候会抛SQL语句错误的异常,请自行校验入参
|
*/
|
int insertOrUpdateBatch(@Param("entities") List<ComActSocialOrgHatchAuditSchedule> entities);
|
|
}
|