zhitong.yu
2024-12-27 8abbee975353926e51a426a75c67119337fbdae4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.hxzk.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.PageInfo;
import com.hxzk.pojo.TbLixianrecord0829;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
 
import java.util.List;
 
public interface LiXianTongJiDao extends BaseMapper<TbLixianrecord0829> {
 
    @Select("select * from tb_lixianrecord_0829 where name like #{name} and time > #{time1} and time < #{time2} or tagid like #{name} and time > #{time1} and time < #{time2} ")
    List<TbLixianrecord0829> findSearch(@Param("time1") String time1, @Param("time2")String time2, @Param("name")String name);
}