zhitan-system/src/main/resources/mapper/keyequipment/MonthlyKeyEquipmentMapper.xml
@@ -67,7 +67,7 @@ AND di.index_id IN <foreach item="indexId" index="index" collection="indexIds" open="(" separator="," close=")">#{indexId} </foreach> AND di.time_type = #{timeType} <if test="indexStorageId !='' and indexStorageId !=null"> and ci.equipment=#{indexStorageId} and ci.energy_id=#{indexStorageId} </if> ) aa GROUP BY