zhitong.yu
2024-06-19 890cb68586fe79d95b37ee0ad78df0d9f7dce796
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.hxzk.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxzk.pojo.TbZypAltitude;
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 TbZypAltitudeMapper extends BaseMapper<TbZypAltitude> {
    @Select("select * from tb_zyp_altitude where code LIKE CONCAT('%', #{code}, '%') or applicant LIKE CONCAT('%', #{applicant}, '%') ORDER BY createtime DESC")
    public List<TbZypAltitude> findSearch(@Param("code") String code, @Param("applicant") String applicant);
}