SiteMapper.java 556 B

1234567891011121314151617181920212223242526
  1. package com.bizmatics.persistence.mapper;
  2. import com.bizmatics.model.Site;
  3. import com.bizmatics.common.mvc.base.CrudMapper;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. /**
  7. * <p>
  8. * Mapper 接口
  9. * </p>
  10. *
  11. * @author ya
  12. * @since 2021-07-07
  13. */
  14. public interface SiteMapper extends CrudMapper<Site> {
  15. int selectCount(@Param("userId") Integer userId,
  16. @Param("siteId") Integer siteId,
  17. @Param("siteStatus") Integer siteStatus);
  18. List<Site> list(@Param("userId") Integer userId);
  19. }