分页列表查询执法记录仪设备列表信息增加状态筛选

This commit is contained in:
guoshengxiong 2025-11-04 16:34:14 +08:00
parent f717d41732
commit f46e10df30
2 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,7 @@ public class PoliceCameraItemController {
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"), @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
@ApiImplicitParam(name = "bindTicket", value = "1已绑定0空闲", paramType = "query", required = false, 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 = "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") @GetMapping(value = "/page")
public Result<IPage<PoliceCameraItemVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) { public Result<IPage<PoliceCameraItemVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {

View File

@ -22,6 +22,9 @@
#{item} #{item}
</foreach> </foreach>
</if> </if>
<if test="param.status != null and param.status != ''">
and wt.status = #{param.status}
</if>
) t1 on t1.police_camera_id=t.item_id ) t1 on t1.police_camera_id=t.item_id
where 1=1 where 1=1
<if test="param.itemIdList != null and param.itemIdList.size() != 0"> <if test="param.itemIdList != null and param.itemIdList.size() != 0">