| 
															
																@@ -60,14 +60,14 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         base_railway_management AS l on a.railway_code=l.railway_code 
															 | 
															
															 | 
															
																         base_railway_management AS l on a.railway_code=l.railway_code 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <where> 
															 | 
															
															 | 
															
																         <where> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             <if test="railwayCode != null and railwayCode !=''"> 
															 | 
															
															 | 
															
																             <if test="railwayCode != null and railwayCode !=''"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                concat(l.railway_name,a.camera_code) 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                like concat("%",#{railwayCode},"%") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+               l.railway_name || a.camera_code 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+               like CONCAT('%', #{railwayCode}, '%') 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             </if> 
															 | 
															
															 | 
															
																             </if> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             <if test="lineDir != null and lineDir != ''"> 
															 | 
															
															 | 
															
																             <if test="lineDir != null and lineDir != ''"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 line_dir = #{lineDir} 
															 | 
															
															 | 
															
																                 line_dir = #{lineDir} 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             </if> 
															 | 
															
															 | 
															
																             </if> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             <if test="mils != null and mils != ''"> 
															 | 
															
															 | 
															
																             <if test="mils != null and mils != ''"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                concat(a.install_mile, a.begin_mile, a.end_mile) = #{mils} 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                a.install_mile || a.begin_mile || a.end_mile = #{mils} 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             </if> 
															 | 
															
															 | 
															
																             </if> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         </where> 
															 | 
															
															 | 
															
																         </where> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     </select> 
															 | 
															
															 | 
															
																     </select> 
															 |