XxlJobGroupDao.java 602 B

1234567891011121314151617181920212223242526
  1. package com.xxl.job.admin.dao;
  2. import com.xxl.job.admin.core.model.XxlJobGroup;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. /**
  7. * Created by xuxueli on 16/9/30.
  8. */
  9. @Mapper
  10. public interface XxlJobGroupDao {
  11. public List<XxlJobGroup> findAll();
  12. public List<XxlJobGroup> findByAddressType(@Param("addressType") int addressType);
  13. public int save(XxlJobGroup xxlJobGroup);
  14. public int update(XxlJobGroup xxlJobGroup);
  15. public int remove(@Param("id") int id);
  16. public XxlJobGroup load(@Param("id") int id);
  17. }