whycxzp
2025-03-18 92cb9555f780beb3298d5d3a675433cfc1150131
src/main/java/com/whyc/service/DevLithiumInfService.java
@@ -7,11 +7,11 @@
import com.github.pagehelper.PageInfo;
import com.whyc.dto.DevInfDto;
import com.whyc.dto.Response;
import com.whyc.mapper.A200RealStateMapper;
import com.whyc.mapper.DevA200RtStateMapper;
import com.whyc.mapper.ActmRealStateMapper;
import com.whyc.mapper.BattGroupBaojiGroupMapper;
import com.whyc.mapper.DevLithiumInfMapper;
import com.whyc.pojo.db_lithium_ram_db.A200RealState;
import com.whyc.pojo.db_lithium_ram_db.DevA200RtState;
import com.whyc.pojo.db_lithium_ram_db.ActmRealState;
import com.whyc.pojo.db_lithium_ram_db.DevLithiumInf;
import com.whyc.pojo.db_user.BattGroupBaojiGroup;
@@ -28,7 +28,7 @@
    private DevLithiumInfMapper mapper;
    @Autowired(required = false)
    private A200RealStateMapper a200Mapper;
    private DevA200RtStateMapper a200Mapper;
    @Autowired(required = false)
    private ActmRealStateMapper actmMapper;
@@ -123,7 +123,7 @@
            QueryWrapper a200wrapper= Wrappers.query();
            a200wrapper.eq("dev_id",a200.getDevId());
            a200wrapper.last("limit 1");
            A200RealState a200state=a200Mapper.selectOne(a200wrapper);
            DevA200RtState a200state=a200Mapper.selectOne(a200wrapper);
            //a200.setA200sTate(a200state);
            a200.setState(a200state!=null?a200state:null);
        }