分页列表查询执法记录仪设备列表信息增加状态筛选
This commit is contained in:
parent
f717d41732
commit
f46e10df30
@ -94,6 +94,7 @@ public class PoliceCameraItemController {
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
@ApiImplicitParam(name = "bindTicket", value = "1已绑定0空闲", paramType = "query", required = false, dataType = "Integer"),
|
||||
@ApiImplicitParam(name = "ticketId", value = "工作票id", paramType = "query", required = false, dataType = "Integer"),
|
||||
@ApiImplicitParam(name = "status", value = "状态:1:未开始;2:施工中;3:暂停中;4:已完工;", paramType = "query", required = false, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<PoliceCameraItemVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
|
||||
@ -22,6 +22,9 @@
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="param.status != null and param.status != ''">
|
||||
and wt.status = #{param.status}
|
||||
</if>
|
||||
) t1 on t1.police_camera_id=t.item_id
|
||||
where 1=1
|
||||
<if test="param.itemIdList != null and param.itemIdList.size() != 0">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user