zhongrj
2023-07-06 3ce737b52fca082ac3a2ecda4a848e2e4abcd0ee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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.panorama.mapper.PanoramaMapper">
 
 
    <select id="selectMyPage" resultType="cn.gistack.sm.panorama.vo.PanoramaVO">
        SELECT * FROM SM_PANORAMA SP
        WHERE SP.IS_DELETED = 0
        <if test="vo.resName !=null and vo.resName !=''">
            AND SP.res_name LIKE CONCAT('%',#{vo.resName},'%')
        </if>
        <if test="vo.resGuid !=null and vo.resGuid !=''">
            AND SP.res_guid = #{vo.resGuid}
        </if>
    </select>
</mapper>