whycxzp
2023-12-23 ad288d667a7140ca658516f78ab8943c4c58f8a0
核容设备设置
1个文件已修改
12 ■■■■■ 已修改文件
src/main/java/com/whyc/service/CKPowerDevHrTestParamService.java 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/service/CKPowerDevHrTestParamService.java
@@ -38,8 +38,10 @@
        mapper.update(null,update);
        QueryWrapper<CKPowerDevHrTestParam> query = Wrappers.query();
        Response opStatus= OpCmdUtil.readByUpdateOpCmd(mapper, query, CMD_Constant.CMD_GetBattDisParam, 20, null);
        CKPowerDevHrTestParam hrTestParam = mapper.selectOne(null);
        opStatus.setData2(hrTestParam);
        if(opStatus.getData()!=null && !(boolean)opStatus.getData()) { //失败
            CKPowerDevHrTestParam hrTestParam = mapper.selectOne(null);
            opStatus.setData2(hrTestParam);
        }
        if(opStatus.getData()!=null && (boolean)opStatus.getData()) { //成功
            //记录日志
            Date now = new Date();
@@ -63,8 +65,10 @@
        mapper.update(null,update);
        QueryWrapper<CKPowerDevHrTestParam> query = Wrappers.query();
        Response opStatus= OpCmdUtil.readByUpdateOpCmd(mapper, query, CMD_Constant.CMD_GetDevIP, 20, null);
        CKPowerDevHrTestParam hrTestParam = mapper.selectOne(null);
        opStatus.setData2(hrTestParam);
        if(opStatus.getData()!=null && !(boolean)opStatus.getData()) { //失败
            CKPowerDevHrTestParam hrTestParam = mapper.selectOne(null);
            opStatus.setData2(hrTestParam);
        }
        if(opStatus.getData()!=null && (boolean)opStatus.getData()) { //成功
            //记录日志
            Date now = new Date();