feat(rescue-team): 添加救援队伍类型筛选功能

dev_visual_page
zhaokai 2026-08-06 08:45:32 +08:00
parent 76bd9c2c0a
commit ced96a3b98
2 changed files with 6 additions and 0 deletions

View File

@ -15,4 +15,7 @@ public class RescueTeamScreenQry extends PageQuery {
@ApiModelProperty(value = "港区1:秦皇岛港区,2:秦皇岛东,3:秦皇岛西", name = "portArea")
private Integer portArea;
@ApiModelProperty(value = "队伍类型", name = "teamType")
private String teamType;
}

View File

@ -34,6 +34,9 @@
<if test="params.portArea != null">
AND ci.port_area = #{params.portArea}
</if>
<if test="params.teamType != null and params.teamType != ''">
AND rt.team_type = #{params.teamType}
</if>
</where>
ORDER BY
rt.create_time DESC