TaCheckItemMapper.java 811B

123456789101112131415161718192021222324
  1. package com.example.civilizedcity.mapper;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.baomidou.mybatisplus.core.metadata.IPage;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import com.example.civilizedcity.entity.TaCheckItem;
  7. import java.util.List;
  8. /**
  9. * 测评点位;(ta_check_item)表数据库访问层
  10. * @author : http://njyunzhi.com
  11. * @date : 2022-12-13
  12. */
  13. @Mapper
  14. public interface TaCheckItemMapper extends BaseMapper<TaCheckItem>{
  15. IPage<TaCheckItem> getPageBy(IPage<TaCheckItem> pg, @Param("checkId") String checkId, @Param("itemType") String itemType);
  16. int createNewLocItems(@Param("checkId") String checkId);
  17. List<TaCheckItem> getListBy(@Param("checkId") String checkId, @Param("itemType") String itemType);
  18. }