|
@@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
from sys_dict_data
|
|
|
where 1 = 1
|
|
|
<if test="type == 4">
|
|
|
- and dict_type = 'municipal_engineering_node'
|
|
|
+ and dict_type = 'municipal_node_types'
|
|
|
</if>
|
|
|
<if test="type == 2">
|
|
|
and dict_type = 'engineering_infrastructure'
|
|
@@ -67,14 +67,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
FROM z_engineering_info ei
|
|
|
LEFT JOIN z_engineering_node en ON ei.eng_info_id = en.id
|
|
|
LEFT JOIN ${type} epj ON epj.id = en.civli_id
|
|
|
- <if test="szAndGy != null and szAndGy != ''">
|
|
|
- <if test="szAndGy == 'gy'">
|
|
|
- and epj.type = '1'
|
|
|
- </if>
|
|
|
- <if test="szAndGy == 'sz'">
|
|
|
- and epj.type = '2'
|
|
|
- </if>
|
|
|
- </if>
|
|
|
and epj.del_flag = '0'
|
|
|
WHERE ei.create_by = #{by} AND epj.id IS NOT NULL
|
|
|
<if test="enginName != '' and enginName != null ">
|
|
@@ -96,14 +88,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
FROM z_engineering_info_${name} ei
|
|
|
LEFT JOIN z_engineering_node_${name} en ON ei.eng_info_id = en.id
|
|
|
LEFT JOIN ${type} epj ON epj.id = en.civli_id
|
|
|
- <if test="szAndGy != null and szAndGy != ''">
|
|
|
- <if test="szAndGy == 'gy'">
|
|
|
- and epj.type = '1'
|
|
|
- </if>
|
|
|
- <if test="szAndGy == 'sz'">
|
|
|
- and epj.type = '2'
|
|
|
- </if>
|
|
|
- </if>
|
|
|
and epj.del_flag = '0'
|
|
|
WHERE ei.create_by = #{by} AND epj.id IS NOT NULL
|
|
|
<if test="enginName != '' and enginName != null ">
|
|
@@ -131,14 +115,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN z_engineering_node en ON ei.eng_info_id = en.id
|
|
|
LEFT JOIN ${type} epj ON epj.id = en.civli_id
|
|
|
left join sys_dict_data as dict ON dict.dict_value = epj.engin_type
|
|
|
- <if test="szAndGy != null and szAndGy != ''">
|
|
|
- <if test="szAndGy == 'gy'">
|
|
|
- and epj.type = '1'
|
|
|
- </if>
|
|
|
- <if test="szAndGy == 'sz'">
|
|
|
- and epj.type = '2'
|
|
|
- </if>
|
|
|
- </if>
|
|
|
and epj.del_flag = '0'
|
|
|
WHERE ei.create_by = #{by} AND epj.id IS NOT NULL
|
|
|
<if test="enginName != '' and enginName != null ">
|
|
@@ -160,14 +136,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN z_engineering_node_${name} en ON ei.eng_info_id = en.id
|
|
|
LEFT JOIN ${type} epj ON epj.id = en.civli_id
|
|
|
left join sys_dict_data as dict ON dict.dict_value = epj.engin_type
|
|
|
- <if test="szAndGy != null and szAndGy != ''">
|
|
|
- <if test="szAndGy == 'gy'">
|
|
|
- and epj.type = '1'
|
|
|
- </if>
|
|
|
- <if test="szAndGy == 'sz'">
|
|
|
- and epj.type = '2'
|
|
|
- </if>
|
|
|
- </if>
|
|
|
and epj.del_flag = '0'
|
|
|
WHERE ei.create_by = #{by} AND epj.id IS NOT NULL
|
|
|
<if test="enginName != '' and enginName != null ">
|