| 
															
																@@ -1171,7 +1171,7 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																             where s.`STATUS`=1 and st.SCENE_TYPE_NAME = '水厂' and s.TENANT_ID =#{tenantId} 
															 | 
															
															 | 
															
																             where s.`STATUS`=1 and st.SCENE_TYPE_NAME = '水厂' and s.TENANT_ID =#{tenantId} 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             <if test="parmType != null and  parmType == -1"> 
															 | 
															
															 | 
															
																             <if test="parmType != null and  parmType == -1"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                and dp.PARM_TYPE in (15,8,9,11,18,19) 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                and dp.PARM_TYPE in (15,8,10,11,18,19) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             </if> 
															 | 
															
															 | 
															
																             </if> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             <if test="parmType != null and  parmType != -1"> 
															 | 
															
															 | 
															
																             <if test="parmType != null and  parmType != -1"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 and dp.PARM_TYPE = #{parmType} 
															 | 
															
															 | 
															
																                 and dp.PARM_TYPE = #{parmType} 
															 |