package com.hxzk.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.hxzk.pojo.TbZypFireSafety;
|
import org.apache.ibatis.annotations.Delete;
|
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Select;
|
import org.apache.ibatis.annotations.Update;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 动火安全作业证 Mapper 接口
|
* </p>
|
*
|
* @author wangfei
|
* @since 2024-04-17
|
*/
|
public interface TbZypFireSafetyMapper extends BaseMapper<TbZypFireSafety> {
|
|
@Select("select * from tb_zyp_fire where code LIKE CONCAT('%', #{code}, '%') or applicant LIKE CONCAT('%', #{applicant}, '%') ORDER BY createtime DESC")
|
public List<TbZypFireSafety> findSearch(@Param("code") String code, @Param("applicant") String applicant);
|
|
|
|
}
|