Commit a78434b5 authored by 陈嘉强's avatar 陈嘉强

id调整

parent 4d251e55
...@@ -33,7 +33,7 @@ public class ParkingGateServiceImpl implements ParkingGateService { ...@@ -33,7 +33,7 @@ public class ParkingGateServiceImpl implements ParkingGateService {
// 判断是进站还是出站,进站新增,出站修改 // 判断是进站还是出站,进站新增,出站修改
if("".equals(parkingGate.getExitId()) || null == parkingGate.getExitId()){ if("".equals(parkingGate.getExitId()) || null == parkingGate.getExitId()){
// 进站逻辑 // 进站逻辑
int id = (int) (Math.random()*(99999999999L-1)+1); int id = (int) (Math.random()*(2147483647L-1)+1);
parkingGate.setId((long) id); parkingGate.setId((long) id);
parkingGate.setVersion(0); parkingGate.setVersion(0);
parkingGate.setInsertUser("interface"); parkingGate.setInsertUser("interface");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment