| | |
| | | import com.xxl.job.admin.core.model.XxlJobUser; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @Mapper |
| | | public interface XxlJobUserDao { |
| | | |
| | | public List<XxlJobUser> pageList(@Param("offset") int offset, |
| | | public List<XxlJobUser> pageList(@Param("offset") int offset, |
| | | @Param("pagesize") int pagesize, |
| | | @Param("username") String username, |
| | | @Param("role") int role); |
| | | public int pageListCount(@Param("offset") int offset, |
| | | @Param("pagesize") int pagesize, |
| | | @Param("username") String username, |
| | | @Param("role") int role); |
| | | @Param("role") int role); |
| | | |
| | | public XxlJobUser loadByUserName(@Param("username") String username); |
| | | public int pageListCount(@Param("offset") int offset, |
| | | @Param("pagesize") int pagesize, |
| | | @Param("username") String username, |
| | | @Param("role") int role); |
| | | |
| | | public int save(XxlJobUser xxlJobUser); |
| | | public XxlJobUser loadByUserName(@Param("username") String username); |
| | | |
| | | public int update(XxlJobUser xxlJobUser); |
| | | |
| | | public int delete(@Param("id") int id); |
| | | public int save(XxlJobUser xxlJobUser); |
| | | |
| | | public int update(XxlJobUser xxlJobUser); |
| | | |
| | | public int delete(@Param("id") int id); |
| | | |
| | | } |