1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- package com.yc.education.service.impl;
- import com.github.pagehelper.PageHelper;
- import com.yc.education.mapper.LabelbookMapper;
- import com.yc.education.model.Labelbook;
- import com.yc.education.service.LabelbookService;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.stereotype.Service;
- import java.util.List;
- /**
- * @author caolong
- * @version 1.0.0
- * @Details
- * @ClassName LabelbookServiceImpl
- * @Description TODO
- * @createTime 2019-09-10 17:32:00
- */
- @Service
- public class LabelbookServiceImpl extends BaseService<Labelbook> implements LabelbookService {
- @Autowired
- private LabelbookMapper labelbookMapper;
- @Override
- public List<Labelbook> LABELBOOK_LIST_USERID(int userid, String starttime) {
- return labelbookMapper.labelBoolList(userid, starttime);
- }
- @Override
- public List<Labelbook> LABERL_LIST(int page, int rows) {
- try {
- PageHelper.startPage(page, rows);
- return labelbookMapper.labelLists();
- } catch (Exception e) {
- e.printStackTrace();
- }
- return null;
- }
- @Override
- public Labelbook LABELBOOK_BY_NUM(String labelnumnum) {
- return labelbookMapper.labelListsByNum(labelnumnum);
- }
- }
|