package com.dsh.guns.modular.system.service.impl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.dsh.course.mapper.TbChatSetMapper;
|
import com.dsh.guns.modular.system.model.TbChatSet;
|
import com.dsh.guns.modular.system.service.ITbChatSetService;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* banner信息表 服务实现类
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2022-06-17
|
*/
|
@Service
|
public class TbChatSetServiceImpl extends ServiceImpl<TbChatSetMapper, TbChatSet> implements ITbChatSetService {
|
|
@Override
|
public List<TbChatSet> getList(String time, Integer type,Integer yy) {
|
String startTime=null;
|
String endTime=null;
|
if(time!=null &&!"".equals(time)){
|
startTime=time.split(" - ")[0]+" 00:01";
|
endTime=time.split(" - ")[1]+" 23:59";
|
}
|
return this.baseMapper.getList(startTime,endTime,type,yy);
|
}
|
}
|