查询优化
This commit is contained in:
parent
99647f642e
commit
5487ae47ce
|
|
@ -117,9 +117,7 @@
|
||||||
n.id as node_id,
|
n.id as node_id,
|
||||||
n.node_name,
|
n.node_name,
|
||||||
n.level AS node_level,
|
n.level AS node_level,
|
||||||
|
|
||||||
n.node_count AS node_count_detail,
|
n.node_count AS node_count_detail,
|
||||||
|
|
||||||
m.model_url
|
m.model_url
|
||||||
|
|
||||||
FROM tb_project p
|
FROM tb_project p
|
||||||
|
|
@ -136,9 +134,9 @@
|
||||||
) m ON m.project_id = n.id
|
) m ON m.project_id = n.id
|
||||||
|
|
||||||
WHERE p.del_flag = '0'
|
WHERE p.del_flag = '0'
|
||||||
|
<if test="proName != null and proName != ''">
|
||||||
|
AND p.pro_name like concat('%',#{proName},'%')
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<select id="openView" resultType="com.bonus.waterdesign.domain.CadData">
|
<select id="openView" resultType="com.bonus.waterdesign.domain.CadData">
|
||||||
SELECT
|
SELECT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue