src/main/java/org/springblade/modules/location/mapper/LiveLocationMapper.xml
@@ -34,6 +34,23 @@ </if> </select> <!--获取实时位置信息--> <select id="getLiveLocationInfo" resultType="org.springblade.modules.location.entity.LiveLocation"> SELECT * FROM sys_live_location WHERE 1=1 <if test="liveLocation.type!=null"> and type = #{liveLocation.type} </if> <if test="liveLocation.workerId!=null and liveLocation.workerId!=''"> and worker_id = #{liveLocation.workerId} </if> </select> <!--获取轨迹数据--> <select id="getLocusInfoList" resultType="org.springblade.modules.location.vo.LocusVo"> select