Commit c076747ea9f5f22428bfb9d8e13934e06aa4a516
1 parent
e7e841a7
1.@GeneratedValue(strategy = GenerationType.IDENTITY),springboot1中默认值AUTO可用,版本2必须用自增长
Showing
53 changed files
with
54 additions
and
154 deletions
src/main/java/com/bsth/entity/Business.java
src/main/java/com/bsth/entity/LineInformation.java
| ... | ... | @@ -28,7 +28,7 @@ import javax.persistence.Table; |
| 28 | 28 | public class LineInformation { |
| 29 | 29 | |
| 30 | 30 | @Id |
| 31 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 31 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 32 | 32 | private Integer id; |
| 33 | 33 | |
| 34 | 34 | // 线路标准信息类型 | ... | ... |
src/main/java/com/bsth/entity/LineVersions.java
| ... | ... | @@ -28,7 +28,7 @@ import javax.persistence.Table; |
| 28 | 28 | public class LineVersions{ |
| 29 | 29 | |
| 30 | 30 | @Id |
| 31 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 31 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 32 | 32 | /** ID 主键(唯一标识符) int length(11) */ |
| 33 | 33 | private Integer id; |
| 34 | 34 | ... | ... |
src/main/java/com/bsth/entity/LsSectionRoute.java
| ... | ... | @@ -29,7 +29,7 @@ import javax.persistence.Table; |
| 29 | 29 | public class LsSectionRoute { |
| 30 | 30 | |
| 31 | 31 | @Id |
| 32 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 32 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 33 | 33 | private Integer id; |
| 34 | 34 | |
| 35 | 35 | // 路段路由序号 | ... | ... |
src/main/java/com/bsth/entity/LsStationRoute.java
src/main/java/com/bsth/entity/Refuel.java
| ... | ... | @@ -2,10 +2,7 @@ package com.bsth.entity; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 5 | +import javax.persistence.*; | |
| 9 | 6 | |
| 10 | 7 | /** |
| 11 | 8 | * Created in 19/9/3. | ... | ... |
src/main/java/com/bsth/entity/Road.java
| ... | ... | @@ -9,7 +9,7 @@ import javax.persistence.Table; |
| 9 | 9 | public class Road { |
| 10 | 10 | |
| 11 | 11 | @Id |
| 12 | - /*@GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY)*/ | |
| 12 | + /*@GeneratedValue(strategy = GenerationType.IDENTITY)*/ | |
| 13 | 13 | private Integer id; |
| 14 | 14 | |
| 15 | 15 | // 路段编码 | ... | ... |
src/main/java/com/bsth/entity/RoadSpeed.java
| ... | ... | @@ -14,7 +14,7 @@ import javax.persistence.Table; |
| 14 | 14 | public class RoadSpeed { |
| 15 | 15 | |
| 16 | 16 | @Id |
| 17 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 17 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 18 | 18 | private Integer id; |
| 19 | 19 | |
| 20 | 20 | // 路段名称 | ... | ... |
src/main/java/com/bsth/entity/Section.java
| ... | ... | @@ -28,7 +28,7 @@ import javax.persistence.Table; |
| 28 | 28 | public class Section { |
| 29 | 29 | |
| 30 | 30 | @Id |
| 31 | - /*@GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY)*/ | |
| 31 | + /*@GeneratedValue(strategy = GenerationType.IDENTITY)*/ | |
| 32 | 32 | private Integer id; |
| 33 | 33 | |
| 34 | 34 | // 路段编码 | ... | ... |
src/main/java/com/bsth/entity/SectionRoute.java
| ... | ... | @@ -31,7 +31,7 @@ import javax.persistence.Table; |
| 31 | 31 | public class SectionRoute { |
| 32 | 32 | |
| 33 | 33 | @Id |
| 34 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 34 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 35 | 35 | private Integer id; |
| 36 | 36 | |
| 37 | 37 | // 路段路由序号 | ... | ... |
src/main/java/com/bsth/entity/SectionRouteCache.java
| ... | ... | @@ -31,7 +31,7 @@ import javax.persistence.Table; |
| 31 | 31 | public class SectionRouteCache { |
| 32 | 32 | |
| 33 | 33 | @Id |
| 34 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 34 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 35 | 35 | private Integer id; |
| 36 | 36 | |
| 37 | 37 | // 路段路由序号 | ... | ... |
src/main/java/com/bsth/entity/SectionSpeed.java
| ... | ... | @@ -21,7 +21,7 @@ import javax.persistence.Table; |
| 21 | 21 | public class SectionSpeed { |
| 22 | 22 | |
| 23 | 23 | @Id |
| 24 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 24 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 25 | 25 | private Integer id; |
| 26 | 26 | |
| 27 | 27 | // 线路信息 | ... | ... |
src/main/java/com/bsth/entity/Station.java
| ... | ... | @@ -31,7 +31,7 @@ import java.util.Date; |
| 31 | 31 | public class Station { |
| 32 | 32 | |
| 33 | 33 | @Id |
| 34 | - /*@GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY)*/ | |
| 34 | + /*@GeneratedValue(strategy = GenerationType.IDENTITY)*/ | |
| 35 | 35 | private Integer id; |
| 36 | 36 | |
| 37 | 37 | // 站点编码 | ... | ... |
src/main/java/com/bsth/entity/StationRoute.java
src/main/java/com/bsth/entity/StationRouteCache.java
src/main/java/com/bsth/entity/calc/CalcBusMileage.java
| ... | ... | @@ -2,10 +2,7 @@ package com.bsth.entity.calc; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 5 | +import javax.persistence.*; | |
| 9 | 6 | |
| 10 | 7 | @Entity |
| 11 | 8 | @Table(name = "calc_bus_mileage") | ... | ... |
src/main/java/com/bsth/entity/calc/CalcInterval.java
| ... | ... | @@ -2,11 +2,7 @@ package com.bsth.entity.calc; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 9 | -import javax.persistence.Transient; | |
| 5 | +import javax.persistence.*; | |
| 10 | 6 | |
| 11 | 7 | import com.bsth.data.BasicData; |
| 12 | 8 | ... | ... |
src/main/java/com/bsth/entity/calc/CalcLbStatuAnaly.java
| ... | ... | @@ -2,10 +2,7 @@ package com.bsth.entity.calc; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 5 | +import javax.persistence.*; | |
| 9 | 6 | |
| 10 | 7 | @Entity |
| 11 | 8 | @Table(name = "calc_lb_statu_analy") | ... | ... |
src/main/java/com/bsth/entity/calc/CalcLineMileage.java
| ... | ... | @@ -2,10 +2,7 @@ package com.bsth.entity.calc; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 5 | +import javax.persistence.*; | |
| 9 | 6 | |
| 10 | 7 | @Entity |
| 11 | 8 | @Table(name = "calc_line_mileage") | ... | ... |
src/main/java/com/bsth/entity/calc/CalcStatistics.java
| ... | ... | @@ -2,11 +2,7 @@ package com.bsth.entity.calc; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 9 | -import javax.persistence.Transient; | |
| 5 | +import javax.persistence.*; | |
| 10 | 6 | |
| 11 | 7 | @Entity |
| 12 | 8 | @Table(name = "calc_statistics") | ... | ... |
src/main/java/com/bsth/entity/calc/CalcWaybill.java
| ... | ... | @@ -2,10 +2,7 @@ package com.bsth.entity.calc; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 5 | +import javax.persistence.*; | |
| 9 | 6 | |
| 10 | 7 | @Entity |
| 11 | 8 | @Table(name = "calc_waybill") | ... | ... |
src/main/java/com/bsth/entity/directive/D64.java
| 1 | 1 | package com.bsth.entity.directive; |
| 2 | 2 | |
| 3 | -import javax.persistence.Table; | |
| 4 | -import javax.persistence.Transient; | |
| 5 | -import javax.persistence.Embeddable; | |
| 6 | -import javax.persistence.Entity; | |
| 7 | -import javax.persistence.GeneratedValue; | |
| 8 | -import javax.persistence.Id; | |
| 3 | +import javax.persistence.*; | |
| 9 | 4 | |
| 10 | 5 | /** |
| 11 | 6 | * | ... | ... |
src/main/java/com/bsth/entity/excep/Abnormal.java
src/main/java/com/bsth/entity/excep/Offline.java
| ... | ... | @@ -2,11 +2,7 @@ package com.bsth.entity.excep; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 9 | -import javax.persistence.Transient; | |
| 5 | +import javax.persistence.*; | |
| 10 | 6 | |
| 11 | 7 | /** |
| 12 | 8 | * 掉线 | ... | ... |
src/main/java/com/bsth/entity/excep/Outbound.java
| ... | ... | @@ -2,11 +2,7 @@ package com.bsth.entity.excep; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 9 | -import javax.persistence.Transient; | |
| 5 | +import javax.persistence.*; | |
| 10 | 6 | |
| 11 | 7 | /** |
| 12 | 8 | * 越界 | ... | ... |
src/main/java/com/bsth/entity/excep/Speeding.java
| ... | ... | @@ -2,11 +2,7 @@ package com.bsth.entity.excep; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 9 | -import javax.persistence.Transient; | |
| 5 | +import javax.persistence.*; | |
| 10 | 6 | |
| 11 | 7 | /** |
| 12 | 8 | * 超速 | ... | ... |
src/main/java/com/bsth/entity/logger/Logger.java
src/main/java/com/bsth/entity/mcy_forms/Changetochange.java
src/main/java/com/bsth/entity/oil/Cdl.java
| ... | ... | @@ -2,11 +2,7 @@ package com.bsth.entity.oil; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 9 | -import javax.persistence.Transient; | |
| 5 | +import javax.persistence.*; | |
| 10 | 6 | |
| 11 | 7 | import com.bsth.data.BasicData; |
| 12 | 8 | ... | ... |
src/main/java/com/bsth/entity/oil/Cwjy.java
| ... | ... | @@ -2,11 +2,7 @@ package com.bsth.entity.oil; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 9 | -import javax.persistence.Transient; | |
| 5 | +import javax.persistence.*; | |
| 10 | 6 | |
| 11 | 7 | import com.bsth.data.BasicData; |
| 12 | 8 | ... | ... |
src/main/java/com/bsth/entity/oil/Cyl.java
| ... | ... | @@ -2,11 +2,7 @@ package com.bsth.entity.oil; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 9 | -import javax.persistence.Transient; | |
| 5 | +import javax.persistence.*; | |
| 10 | 6 | |
| 11 | 7 | import com.bsth.data.BasicData; |
| 12 | 8 | ... | ... |
src/main/java/com/bsth/entity/oil/Dlb.java
| ... | ... | @@ -3,11 +3,7 @@ package com.bsth.entity.oil; |
| 3 | 3 | import java.text.DecimalFormat; |
| 4 | 4 | import java.util.Date; |
| 5 | 5 | |
| 6 | -import javax.persistence.Entity; | |
| 7 | -import javax.persistence.GeneratedValue; | |
| 8 | -import javax.persistence.Id; | |
| 9 | -import javax.persistence.Table; | |
| 10 | -import javax.persistence.Transient; | |
| 6 | +import javax.persistence.*; | |
| 11 | 7 | |
| 12 | 8 | import org.springframework.format.annotation.DateTimeFormat; |
| 13 | 9 | ... | ... |
src/main/java/com/bsth/entity/oil/Jdl.java
| ... | ... | @@ -2,10 +2,7 @@ package com.bsth.entity.oil; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 5 | +import javax.persistence.*; | |
| 9 | 6 | |
| 10 | 7 | import org.springframework.format.annotation.DateTimeFormat; |
| 11 | 8 | ... | ... |
src/main/java/com/bsth/entity/oil/Lsylb.java
| ... | ... | @@ -3,11 +3,7 @@ package com.bsth.entity.oil; |
| 3 | 3 | import java.text.DecimalFormat; |
| 4 | 4 | import java.util.Date; |
| 5 | 5 | |
| 6 | -import javax.persistence.Entity; | |
| 7 | -import javax.persistence.GeneratedValue; | |
| 8 | -import javax.persistence.Id; | |
| 9 | -import javax.persistence.Table; | |
| 10 | -import javax.persistence.Transient; | |
| 6 | +import javax.persistence.*; | |
| 11 | 7 | |
| 12 | 8 | import org.springframework.format.annotation.DateTimeFormat; |
| 13 | 9 | ... | ... |
src/main/java/com/bsth/entity/oil/Nylog.java
| ... | ... | @@ -2,10 +2,7 @@ package com.bsth.entity.oil; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 5 | +import javax.persistence.*; | |
| 9 | 6 | |
| 10 | 7 | @Entity |
| 11 | 8 | @Table(name = "bsth_c_nylog") | ... | ... |
src/main/java/com/bsth/entity/oil/Ylb.java
| ... | ... | @@ -3,11 +3,7 @@ package com.bsth.entity.oil; |
| 3 | 3 | import java.text.DecimalFormat; |
| 4 | 4 | import java.util.Date; |
| 5 | 5 | |
| 6 | -import javax.persistence.Entity; | |
| 7 | -import javax.persistence.GeneratedValue; | |
| 8 | -import javax.persistence.Id; | |
| 9 | -import javax.persistence.Table; | |
| 10 | -import javax.persistence.Transient; | |
| 6 | +import javax.persistence.*; | |
| 11 | 7 | |
| 12 | 8 | import org.springframework.format.annotation.DateTimeFormat; |
| 13 | 9 | ... | ... |
src/main/java/com/bsth/entity/oil/Ylxxb.java
| ... | ... | @@ -2,11 +2,7 @@ package com.bsth.entity.oil; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 9 | -import javax.persistence.Transient; | |
| 5 | +import javax.persistence.*; | |
| 10 | 6 | |
| 11 | 7 | import org.springframework.format.annotation.DateTimeFormat; |
| 12 | 8 | ... | ... |
src/main/java/com/bsth/entity/oil/YlxxbUpdate.java
| ... | ... | @@ -2,11 +2,7 @@ package com.bsth.entity.oil; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 9 | -import javax.persistence.Transient; | |
| 5 | +import javax.persistence.*; | |
| 10 | 6 | |
| 11 | 7 | import org.springframework.format.annotation.DateTimeFormat; |
| 12 | 8 | ... | ... |
src/main/java/com/bsth/entity/realcontrol/FrequentPhrases.java
src/main/java/com/bsth/entity/realcontrol/StationToPark.java
src/main/java/com/bsth/entity/report/RepairReport.java
| ... | ... | @@ -2,11 +2,7 @@ package com.bsth.entity.report; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 9 | -import javax.persistence.Transient; | |
| 5 | +import javax.persistence.*; | |
| 10 | 6 | |
| 11 | 7 | /** |
| 12 | 8 | ** 维修上报信息 | ... | ... |
src/main/java/com/bsth/entity/sheet/CalcSheet.java
| 1 | 1 | package com.bsth.entity.sheet; |
| 2 | 2 | |
| 3 | -import javax.persistence.Entity; | |
| 4 | -import javax.persistence.GeneratedValue; | |
| 5 | -import javax.persistence.Id; | |
| 6 | -import javax.persistence.Table; | |
| 7 | -import javax.persistence.Transient; | |
| 3 | +import javax.persistence.*; | |
| 8 | 4 | |
| 9 | 5 | import com.bsth.data.BasicData; |
| 10 | 6 | ... | ... |
src/main/java/com/bsth/entity/sheet/Sheet.java
| ... | ... | @@ -2,11 +2,8 @@ package com.bsth.entity.sheet; |
| 2 | 2 | |
| 3 | 3 | import java.util.Date; |
| 4 | 4 | |
| 5 | -import javax.persistence.Entity; | |
| 6 | -import javax.persistence.GeneratedValue; | |
| 7 | -import javax.persistence.Id; | |
| 8 | -import javax.persistence.Table; | |
| 9 | -import javax.persistence.Transient; | |
| 5 | +import javax.persistence.*; | |
| 6 | + | |
| 10 | 7 | @Entity |
| 11 | 8 | @Table(name = "bsth_c_sheet") |
| 12 | 9 | public class Sheet { | ... | ... |
src/main/java/com/bsth/entity/sys/CompanyAuthority.java
| ... | ... | @@ -10,7 +10,7 @@ import javax.persistence.*; |
| 10 | 10 | public class CompanyAuthority { |
| 11 | 11 | |
| 12 | 12 | @Id |
| 13 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 13 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 14 | 14 | private Integer id; |
| 15 | 15 | |
| 16 | 16 | /** 公司代码 */ | ... | ... |
src/main/java/com/bsth/entity/sys/Dictionary.java
| ... | ... | @@ -14,7 +14,7 @@ import javax.persistence.Table; |
| 14 | 14 | public class Dictionary { |
| 15 | 15 | |
| 16 | 16 | @Id |
| 17 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 17 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 18 | 18 | private Integer id; |
| 19 | 19 | |
| 20 | 20 | private String dCode; | ... | ... |
src/main/java/com/bsth/entity/sys/Interval.java
| ... | ... | @@ -15,7 +15,7 @@ import javax.persistence.Table; |
| 15 | 15 | public class Interval { |
| 16 | 16 | |
| 17 | 17 | @Id |
| 18 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 18 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 19 | 19 | private Integer id; |
| 20 | 20 | |
| 21 | 21 | /** 大间隔等级 */ | ... | ... |
src/main/java/com/bsth/entity/sys/Module.java
| ... | ... | @@ -15,7 +15,7 @@ import java.util.Set; |
| 15 | 15 | public class Module { |
| 16 | 16 | |
| 17 | 17 | @Id |
| 18 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 18 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 19 | 19 | private Integer id; |
| 20 | 20 | |
| 21 | 21 | private Integer pId; | ... | ... |
src/main/java/com/bsth/entity/sys/Resource.java
| ... | ... | @@ -21,7 +21,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore; |
| 21 | 21 | public class Resource { |
| 22 | 22 | |
| 23 | 23 | @Id |
| 24 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 24 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 25 | 25 | private Integer id; |
| 26 | 26 | |
| 27 | 27 | private String name; | ... | ... |
src/main/java/com/bsth/entity/sys/Role.java
| ... | ... | @@ -21,7 +21,7 @@ import org.hibernate.annotations.Formula; |
| 21 | 21 | public class Role { |
| 22 | 22 | |
| 23 | 23 | @Id |
| 24 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 24 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 25 | 25 | private Integer id; |
| 26 | 26 | |
| 27 | 27 | private String codeName; | ... | ... |
src/main/java/com/bsth/entity/sys/SysUser.java
| ... | ... | @@ -18,7 +18,7 @@ import java.util.Set; |
| 18 | 18 | public class SysUser { |
| 19 | 19 | |
| 20 | 20 | @Id |
| 21 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 21 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 22 | 22 | private Integer id; |
| 23 | 23 | |
| 24 | 24 | private String userName; | ... | ... |
src/main/java/com/bsth/entity/sys/UserLine.java
| ... | ... | @@ -25,7 +25,7 @@ import javax.persistence.*; |
| 25 | 25 | public class UserLine { |
| 26 | 26 | |
| 27 | 27 | @Id |
| 28 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 28 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 29 | 29 | private Integer id; |
| 30 | 30 | |
| 31 | 31 | @ManyToOne | ... | ... |
src/main/java/com/bsth/entity/traffic/SKBUploadLogger.java
src/main/java/com/bsth/entity/traffic/VehicleInoutStop.java
| ... | ... | @@ -21,7 +21,7 @@ import java.util.Date; |
| 21 | 21 | public class VehicleInoutStop { |
| 22 | 22 | |
| 23 | 23 | @Id |
| 24 | - @GeneratedValue(strategy = GenerationType.IDENTITY)(strategy = GenerationType.IDENTITY) | |
| 24 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | |
| 25 | 25 | private Integer id; |
| 26 | 26 | |
| 27 | 27 | private int line; | ... | ... |