TaCheckItemMapper.java 1.0KB

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