src/main/java/org/springblade/modules/routeIn/mapper/RouteinMapper.xml
@@ -65,7 +65,16 @@ and r.routeName like '%${routeName}%' </if> <if test="id!=null and id!=''"> AND d.snumber = #{id} AND r.id = #{id} </if> </select> <!--巡逻路线详情--> <select id="details" resultType="org.springblade.modules.routeIn.entity.Routein"> SELECT id,ST_ASTEXT (routeInfo) as routeInfo,user_id as userId FROM sys_routein where 1=1 <if test="routein.userId!=null and routein.userId!='' "> and user_id = #{routein.userId} </if> </select>