1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| package com.hxzk.mapper;
|
| import com.baomidou.mybatisplus.core.mapper.BaseMapper;
| import com.hxzk.pojo.TbZypCircuit;
| import org.apache.ibatis.annotations.Param;
| import org.apache.ibatis.annotations.Select;
|
| import java.util.List;
|
| /**
| * <p>
| * 航锦化工断路安全作业证 Mapper 接口
| * </p>
| *
| * @author wangfei
| * @since 2024-04-23
| */
| public interface TbZypCircuitMapper extends BaseMapper<TbZypCircuit> {
| @Select("select * from tb_zyp_circuit where code LIKE CONCAT('%', #{code}, '%') or applicant LIKE CONCAT('%', #{applicant}, '%') ORDER BY createtime DESC")
| public List<TbZypCircuit> findSearch(@Param("code") String code, @Param("applicant") String applicant);
|
| }
|
|