src/main/resources/mapper/ds1/MonitorobjectversionMapper.xml
@@ -39,7 +39,10 @@ from sm_t_monitorobjectversion as a left join sm_t_scense as b on a.S_GUID = b.S_GUID where a.T_ID = #{param1} and b.S_TypeID = #{param2} where a.T_ID = #{param1} <if test="param2 != null"> and b.S_TypeID = #{param2} </if> <if test="param3 != null"> and b.S_TownCode = #{param3} </if>