Forráskód Böngészése

模拟预警信息接口开发

gao.qiang 1 hónapja
szülő
commit
6b0a12fb97

+ 1 - 0
vehicle-admin/src/main/java/com/ozs/web/controller/accountmanagment/MsgAlarmController.java

@@ -290,6 +290,7 @@ public class MsgAlarmController extends BaseController {
                     if (!ObjectUtils.isEmpty(baseVehicleTerminal)) {
                         LambdaQueryWrapper<BaseVehicle> wrapper2 = new LambdaQueryWrapper<>();
                         wrapper2.eq(BaseVehicle::getVehicleCode, baseVehicleTerminal.getVehicleCode());
+                        wrapper2.eq(BaseVehicle::getEnds,baseVehicleTerminal.getEnds());
                         BaseVehicle baseVehicle = baseVehicleService.getOne(wrapper2);
                         if (!ObjectUtils.isEmpty(baseVehicle)) {
                             o.setVehicleCode(baseVehicle.getVehicleCode());