| | |
| | | import com.ruoyi.common.core.domain.entity.SysConfig; |
| | | import com.ruoyi.common.utils.uuid.IdUtils; |
| | | import com.ruoyi.sy.domain.ArdSyUser; |
| | | import com.ruoyi.sy.domain.ArdTankLockState; |
| | | import com.ruoyi.sy.mapper.ArdSyUserMapper; |
| | | import com.ruoyi.sy.mapper.ArdTankWallLockMapper; |
| | | import com.ruoyi.sy.mapper.ArdTankWallLockTemporaryMapper; |
| | |
| | | }else{ |
| | | map.put("onlineTime",ardTankLock.getOnlineTime()); |
| | | } |
| | | if(ardTankLock.getArdTankLockState() != null){//电磁锁状态 |
| | | map.put("ardTankLockState",ardTankLock.getArdTankLockState()); |
| | | }else{ |
| | | ArdTankLockState ardTankLockState = new ArdTankLockState(); |
| | | ardTankLockState.setId(""); |
| | | ardTankLockState.setLockId(""); |
| | | ardTankLockState.setLockNum(""); |
| | | ardTankLockState.setLockState(""); |
| | | ardTankLockState.setLockPositionState(""); |
| | | ardTankLockState.setLockShellState(""); |
| | | ardTankLockState.setRestartState(""); |
| | | ardTankLockState.setBatterVoltage(""); |
| | | ardTankLockState.setPowerVoltage(""); |
| | | ardTankLockState.setUploadTime(""); |
| | | ardTankLockState.setUniqueMark(""); |
| | | ardTankLockState.setLockStateMark(false); |
| | | map.put("ardTankLockState",ardTankLockState); |
| | | } |
| | | Map<String,Object> carMap = ((List<Map<String,Object>>)syResult.get("list")).get(0); |
| | | map.put("carPlate",carMap.get("carPlate")); |
| | | result.add(map); |