package com.muyu.cloud.mart.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muyu.cloud.mart.mapper.DaShuJuMapper;
import com.muyu.cloud.mart.service.DaShuJuService;
import com.muyu.common.core.domain.Result;
import com.muyu.common.core.web.page.TableDataInfo;
import com.muyu.domain.DaShuJu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

import static com.muyu.common.core.utils.PageUtils.startPage;

/**
 * @Author：chaiyapeng
 * @Package：com.muyu.cloud.mart.service.impl
 * @Project：cloud-port
 * @name：DaShuJuServiceImpl
 * @Date：2024/9/8 20:57
 */
@Service
public class DaShuJuServiceImpl extends ServiceImpl<DaShuJuMapper, DaShuJu> implements DaShuJuService {
    @Autowired
    private DaShuJuMapper daShuJuMapper;
    @Override
    public Result<List<DaShuJu>> findDaShuJuList(DaShuJu daShuJu) {
        System.out.println(new Date());
        List<DaShuJu> list = daShuJuMapper.findDaShuJuList(daShuJu);
        System.out.println(new Date());
        return Result.success(list);
    }
}
