whyclxw
昨天 a175eed405f1e4e7da36cc548af998f0fcbf6688
修复1.2.4bug
1个文件已修改
4 ■■■ 已修改文件
src/main/java/com/whyc/service/BatttestdataInfService.java 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/service/BatttestdataInfService.java
@@ -124,7 +124,9 @@
        wrapper.last(" ORDER BY test_starttime DESC ");
        wrapper.last("limit 1");
        BatttestdataInf tinf = mapper.selectOne(wrapper);
        tinf.setTestStoptypeReason(StopReasonEnum.getValue(tinf.getTestStoptype()));
        if(tinf!=null){
            tinf.setTestStoptypeReason(StopReasonEnum.getValue(tinf.getTestStoptype()));
        }
        return tinf;
    }