gpsbug修改
This commit is contained in:
@ -49,5 +49,7 @@ public class GpsUserVo implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private String projectName;
|
private String projectName;
|
||||||
|
|
||||||
|
private String clientId;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -358,6 +358,7 @@ public class GpsEquipmentServiceImpl extends ServiceImpl<GpsEquipmentMapper, Gps
|
|||||||
// GpsEquipment gpsEquipment = baseMapper.selectOne(new LambdaQueryWrapper<GpsEquipment>().eq(GpsEquipment::getClientId, bo.getClientId()));
|
// GpsEquipment gpsEquipment = baseMapper.selectOne(new LambdaQueryWrapper<GpsEquipment>().eq(GpsEquipment::getClientId, bo.getClientId()));
|
||||||
GpsManmachine gpsManmachine = gpsManmachineMapper.selectOne(new LambdaQueryWrapper<GpsManmachine>().eq(GpsManmachine::getClientId, bo.getClientId()));
|
GpsManmachine gpsManmachine = gpsManmachineMapper.selectOne(new LambdaQueryWrapper<GpsManmachine>().eq(GpsManmachine::getClientId, bo.getClientId()));
|
||||||
for (GpsUserVo item : list) {
|
for (GpsUserVo item : list) {
|
||||||
|
item.setClientId(bo.getClientId());
|
||||||
if (gpsManmachine != null && gpsManmachine.getUserId().equals(item.getUserId())) {
|
if (gpsManmachine != null && gpsManmachine.getUserId().equals(item.getUserId())) {
|
||||||
item.setType(0);
|
item.setType(0);
|
||||||
}else {
|
}else {
|
||||||
|
Reference in New Issue
Block a user