<?xml version="1.0" encoding="UTF-8"?>
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<mapper namespace="cn.gistack.sm.point.mapper.PointMapper">
|
|
<!--自定义分页列表查询-->
|
<select id="selectPointPage" resultType="cn.gistack.sm.point.vo.PointVO">
|
select * from sm_point
|
where 1=1
|
<if test="point.resGuid!=null and point.resGuid!=''">
|
and res_guid like concat('%',#{point.resGuid},'%')
|
</if>
|
<if test="point.name!=null and point.name!=''">
|
and name like concat('%',#{point.name},'%')
|
</if>
|
<if test="point.type!=null">
|
and type = #{point.type}
|
</if>
|
<if test="point.picId!=null and point.picId!=''">
|
and pic_id = #{point.picId}
|
</if>
|
</select>
|
|
<!--删除考证表附件信息-->
|
<delete id="deletePicByPicAttach">
|
delete from sm_textual_research_attach where id = #{id}
|
</delete>
|
|
</mapper>
|