gpsbug修改

This commit is contained in:
2025-09-06 18:48:39 +08:00
parent 66e8495859
commit d7616960c6
2 changed files with 3 additions and 0 deletions

View File

@ -49,5 +49,7 @@ public class GpsUserVo implements Serializable {
*/
private String projectName;
private String clientId;
}

View File

@ -358,6 +358,7 @@ public class GpsEquipmentServiceImpl extends ServiceImpl<GpsEquipmentMapper, Gps
// GpsEquipment gpsEquipment = baseMapper.selectOne(new LambdaQueryWrapper<GpsEquipment>().eq(GpsEquipment::getClientId, bo.getClientId()));
GpsManmachine gpsManmachine = gpsManmachineMapper.selectOne(new LambdaQueryWrapper<GpsManmachine>().eq(GpsManmachine::getClientId, bo.getClientId()));
for (GpsUserVo item : list) {
item.setClientId(bo.getClientId());
if (gpsManmachine != null && gpsManmachine.getUserId().equals(item.getUserId())) {
item.setType(0);
}else {