feat: 航线管理页面优化
This commit is contained in:
@@ -3,6 +3,22 @@
|
||||
|
||||
<mapper namespace="com.central.device.mapper.LineFileMapper">
|
||||
<select id="findList" resultType="com.central.device.model.LineFile">
|
||||
select * from wayline_file t
|
||||
select * from wayline_file t where 1=1
|
||||
<if test="p.name != null and p.name != ''">
|
||||
and t.name like concat('%', #{p.name}, '%')
|
||||
</if>
|
||||
<if test="p.waylineId != null and p.waylineId != ''">
|
||||
and t.wayline_id = #{p.waylineId}
|
||||
</if>
|
||||
<if test="p.workspaceId != null and p.workspaceId != ''">
|
||||
and t.workspace_id = #{p.workspaceId}
|
||||
</if>
|
||||
<if test="p.droneModelKey != null and p.droneModelKey != ''">
|
||||
and t.drone_model_key = #{p.droneModelKey}
|
||||
</if>
|
||||
<if test="p.userName != null and p.userName != ''">
|
||||
and t.user_name like concat('%', #{p.userName}, '%')
|
||||
</if>
|
||||
order by t.create_time desc
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user