jinlin
4 天以前 66f0597bf6a1e79540c6bc51dedf561c22f3bdb5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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="com.example.server.progressTrack.dao.ProjectNetworkDiagramDao">
 
    <select id="getList" resultType="com.example.server.progressTrack.Dto.ProjectNetworkDiagram">
        select *
        from DJ_WX_NETWORK_DIAGRAM
        where is_delete = 0
        <if test="projectId!=null and projectId!=''">
            and PROJECT_ID = #{projectId}
        </if>
        <if test="diagramId!=null and diagramId!=''">
            and DIAGRAM_ID = #{diagramId}
        </if>
        <if test="hasPublish!=null and hasPublish!=''">
            and HAS_PUBLISH = #{hasPublish}
        </if>
    </select>
 
</mapper>