heheng
2025-10-14 4768e7c67b5bfb7238c8a9c43165808f134731d6
修改修复问题及新增功能
已修改2个文件
4 ■■■■ 文件已修改
multi-admin/src/main/java/com/gkhy/exam/admin/controller/web/StandingBookController.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
multi-system/src/main/resources/mapper/system/StandingBookMapper.xml 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
multi-admin/src/main/java/com/gkhy/exam/admin/controller/web/StandingBookController.java
@@ -36,6 +36,7 @@
            @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"),
            @ApiImplicitParam(paramType = "query", name = "pageSize", dataType = "int", required = false, value = "每页数目,默认10"),
            @ApiImplicitParam(paramType = "query", name = "companyId", dataType = "int", required = false, value = "公司id"),
            @ApiImplicitParam(paramType = "query", name = "deviceType", dataType = "int", required = false, value = "设备类型1计算机设备2办公自动化设备3外部设备4其他"),
    })
    @GetMapping("/selectStandingBookList")
    public CommonResult selectStandingBookList(StandingBook standingBook){
multi-system/src/main/resources/mapper/system/StandingBookMapper.xml
@@ -13,6 +13,9 @@
        <if test="companyId != null">
            and a.company_id = #{companyId}
        </if>
        <if test="deviceType != null">
            and a.device_type = #{deviceType}
        </if>
        order by a.create_time desc
    </select>