瀏覽代碼

模拟预警信息接口开发

gao.qiang 1 月之前
父節點
當前提交
6987bd6e66

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

@@ -297,6 +297,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());