package com.jeeplus.modules.sg.budgetSpectaculars.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.jeeplus.modules.sg.budgetSpectaculars.entity.HandmadeVindicateInfo;
import com.jeeplus.modules.sg.budgetSpectaculars.entity.ProjectBasicsInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: 徐滕
 * @create: 2021-09-15 16:54
 **/
@MyBatisMapper
public interface ProjectBasicsMapper extends BaseMapper<ProjectBasicsInfo> {

    /**
     * 批量插入
     * @param projectBasicsInfo
     * @return
     */
    Integer insertList(@Param("projectBasicsInfo")List<ProjectBasicsInfo> projectBasicsInfo);

    /**
     * 批量修改
     * @param projectBasicsInfo
     * @return
     */
    Integer modifyList(@Param("projectBasicsInfo")List<ProjectBasicsInfo> projectBasicsInfo);

    /**
     * 批量修改(甲供材)
     * @param projectBasicsInfo
     * @return
     */
    Integer modifyWhichMaterialList(@Param("projectBasicsInfo")List<ProjectBasicsInfo> projectBasicsInfo);

    /**
     * 批量修改（工程结算信息用）
     * @param projectBasicsInfo
     * @return
     */
    Integer modifyProjectSettlementList(@Param("projectBasicsInfo")List<ProjectBasicsInfo> projectBasicsInfo);

    /**
     * 批量修改（手工录入信息修改）
     * @param handmadeVindicateInfo
     * @return
     */
    Integer modifyHandmadeVindicateList(@Param("handmadeVindicateInfo")List<HandmadeVindicateInfo> handmadeVindicateInfo);
}
