fei.wang
2024-03-21 ab64b09ce3020b376af1e6ee0326ea71330d34ad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.flow.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.flow.pojo.TbFuwuqi;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
 
import java.util.List;
 
public interface TbFuwuqiMapper extends BaseMapper<TbFuwuqi> {
 
    @Select({"select * from tb_fuwuqi where none = 0"})
    List<TbFuwuqi> findAllUsers();
 
    @Select({"select * from tb_fuwuqi where none = 0 and company = #{Zong}"})
    List<TbFuwuqi> findTbFuwuqiZi(String var1);
 
    @Select({"SELECT * FROM tb_fuwuqi WHERE none = 0  and company LIKE CONCAT('%', #{company}, '%') or servername LIKE CONCAT('%', #{servername}, '%')"})
    List<TbFuwuqi> FindSearch(@Param("company") String var2,@Param("servername") String var3);
}