feat(rescue-team): 添加救援队伍类型筛选功能
parent
76bd9c2c0a
commit
ced96a3b98
|
|
@ -15,4 +15,7 @@ public class RescueTeamScreenQry extends PageQuery {
|
||||||
|
|
||||||
@ApiModelProperty(value = "港区,1:秦皇岛港区,2:秦皇岛东,3:秦皇岛西", name = "portArea")
|
@ApiModelProperty(value = "港区,1:秦皇岛港区,2:秦皇岛东,3:秦皇岛西", name = "portArea")
|
||||||
private Integer portArea;
|
private Integer portArea;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "队伍类型", name = "teamType")
|
||||||
|
private String teamType;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,9 @@
|
||||||
<if test="params.portArea != null">
|
<if test="params.portArea != null">
|
||||||
AND ci.port_area = #{params.portArea}
|
AND ci.port_area = #{params.portArea}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="params.teamType != null and params.teamType != ''">
|
||||||
|
AND rt.team_type = #{params.teamType}
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
ORDER BY
|
ORDER BY
|
||||||
rt.create_time DESC
|
rt.create_time DESC
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue