src/main/java/com/whyc/dto/BattTestDataDTO.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/mapper/BattTestDataInf2Mapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/whyc/dto/BattTestDataDTO.java
@@ -25,7 +25,7 @@ /** * 类型:0-全部;1-核容放电;2-核容充电;3-监测放电;4-监测充电;5-停电放电 */ private int dischargeType; private Integer dischargeType; private Long uId; @@ -80,11 +80,11 @@ this.recordEndTime = recordEndTime; } public int getDischargeType() { public Integer getDischargeType() { return dischargeType; } public void setDischargeType(int dischargeType) { public void setDischargeType(Integer dischargeType) { this.dischargeType = dischargeType; } src/main/resources/mapper/BattTestDataInf2Mapper.xml
@@ -218,7 +218,7 @@ </if> <!--类型:0-全部;1-核容放电;2-核容充电;3-监测放电;4-监测充电;5-停电放电 test_datatype: 0:监测放电;1停电放电--> <if test="dischargeType == 0"> <if test="dischargeType == null"> and ( (t.test_type = 3 AND test_starttype =3 and (test_stoptype in (3, 4, 6) or (test_stoptype=2 and test_timelong>=7200)))