You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
package com.sztzjy.linkCommerce.mapper;
|
|
|
|
|
|
|
|
|
|
import com.sztzjy.linkCommerce.entity.School;
|
|
|
|
|
import com.sztzjy.linkCommerce.entity.SchoolExample;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
|
|
|
|
|
|
@Mapper
|
|
|
|
|
public interface SchoolMapper {
|
|
|
|
|
long countByExample(SchoolExample example);
|
|
|
|
|
|
|
|
|
|
int deleteByExample(SchoolExample example);
|
|
|
|
|
|
|
|
|
|
int deleteByPrimaryKey(String schoolId);
|
|
|
|
|
|
|
|
|
|
int insert(School record);
|
|
|
|
|
|
|
|
|
|
int insertSelective(School record);
|
|
|
|
|
|
|
|
|
|
List<School> selectByExample(SchoolExample example);
|
|
|
|
|
|
|
|
|
|
School selectByPrimaryKey(String schoolId);
|
|
|
|
|
|
|
|
|
|
int updateByExampleSelective(@Param("record") School record, @Param("example") SchoolExample example);
|
|
|
|
|
|
|
|
|
|
int updateByExample(@Param("record") School record, @Param("example") SchoolExample example);
|
|
|
|
|
|
|
|
|
|
int updateByPrimaryKeySelective(School record);
|
|
|
|
|
|
|
|
|
|
int updateByPrimaryKey(School record);
|
|
|
|
|
|
|
|
|
|
@Select("select school_name from school where school_id =#{schoolId}")
|
|
|
|
|
String selectSchoolNameById(@Param("schoolId") String schoolId);
|
|
|
|
|
}
|