lxw
2023-07-20 e41b460613e309dc87805e9ab22fd88f655e37e1
落后单体查询
2个文件已修改
6 ■■■■ 已修改文件
src/main/java/com/whyc/dto/paramter/BattinfPar.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/BadbattMonMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/dto/paramter/BattinfPar.java
@@ -40,7 +40,7 @@
    private float capChange;
    @ApiModelProperty(value = "劣化1或损坏0")
    private int quailty;
    private int quality;
    @ApiModelProperty(value = "电池品牌(多选)")
    private List productList;
src/main/resources/mapper/BadbattMonMapper.xml
@@ -59,10 +59,10 @@
      <if test="binf.battGroupId!=0">
        and db_battinf.tb_battinf.battgroupid=#{binf.battGroupId}
      </if>
      <if test="binf.quailty!=null and binf.quailty==0">
      <if test="binf.quality!=null and binf.quality==0">
        and real_cap &lt; stdcap * #{binf.capChange}
      </if>
      <if test="binf.quailty!=null and binf.quailty==1">
      <if test="binf.quality!=null and binf.quality==1">
        and real_cap >= stdcap * #{binf.capChange} and real_cap &lt;= stdcap * #{binf.capAlarm}
      </if>
      <if test="binf.productList!=null">