|
@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.gis.cms.entity.dto.SortPageDto;
|
|
|
import com.gis.cms.entity.po.StudentEntity;
|
|
|
import com.gis.cms.mapper.provider.LeaderProvider;
|
|
|
+import com.gis.cms.mapper.provider.StudentProvider;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
import org.apache.ibatis.annotations.SelectProvider;
|
|
|
import org.apache.ibatis.annotations.Update;
|
|
@@ -16,7 +17,7 @@ import org.springframework.stereotype.Component;
|
|
|
public interface StudentMapper extends BaseMapper<StudentEntity> {
|
|
|
|
|
|
|
|
|
- @SelectProvider(type = LeaderProvider.class, method = "search")
|
|
|
+ @SelectProvider(type = StudentProvider.class, method = "search")
|
|
|
IPage<StudentEntity> search(SortPageDto param, IPage<StudentEntity> page);
|
|
|
|
|
|
@Update("update tb_student set display = #{display} , update_time = NOW() where is_delete=0 and id = #{id} ")
|