Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
9583a210
Commit
9583a210
authored
Aug 29, 2021
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改tybootksontime序列化问题
parent
a747858b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
498 additions
and
501 deletions
+498
-501
Plan.java
...in/java/com/yeejoin/amos/maintenance/dao/entity/Plan.java
+486
-490
pom.xml
...-boot-module-biz/amos-boot-module-maintenance-biz/pom.xml
+4
-6
MaintenanceApplication.java
...rc/main/java/com/yeejoin/amos/MaintenanceApplication.java
+8
-5
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-maintenance-api/src/main/java/com/yeejoin/amos/maintenance/dao/entity/Plan.java
View file @
9583a210
package
com
.
yeejoin
.
amos
.
maintenance
.
dao
.
entity
;
import
org.springframework.data.annotation.LastModifiedDate
;
import
javax.persistence.*
;
import
java.sql.Time
;
import
java.util.Date
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
javax.persistence.*
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
org.springframework.data.annotation.LastModifiedDate
;
/**
* The persistent class for the p_plan database table.
*
*/
@Entity
@Table
(
name
=
"p_plan"
)
@NamedQuery
(
name
=
"Plan.findAll"
,
query
=
"SELECT p FROM Plan p"
)
@Table
(
name
=
"p_plan"
)
@NamedQuery
(
name
=
"Plan.findAll"
,
query
=
"SELECT p FROM Plan p"
)
public
class
Plan
extends
BasicEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 部门id
*/
@Column
(
name
=
"dept_id"
)
private
String
deptId
;
/**
private
static
final
long
serialVersionUID
=
1L
;
/**
* 部门id
*/
@Column
(
name
=
"dept_id"
)
private
String
deptId
;
/**
* 创建者
*/
@Column
(
name
=
"create_by"
)
private
String
createBy
;
/**
@Column
(
name
=
"create_by"
)
private
String
createBy
;
/**
* 开始时间
*/
@Column
(
name
=
"day_begin"
)
private
Time
dayBegin
;
/**
@Column
(
name
=
"day_begin"
)
private
Time
dayBegin
;
/**
* 结束时间
*/
@Column
(
name
=
"day_end"
)
private
Time
dayEnd
;
/**
@Column
(
name
=
"day_end"
)
private
Time
dayEnd
;
/**
* 执行间隔(每天执行频率为多次时使用)
*/
@Column
(
name
=
"day_interval"
)
private
int
dayInterval
;
/**
@Column
(
name
=
"day_interval"
)
private
int
dayInterval
;
/**
* 执行间隔单位:小时,分钟,秒
*/
@Column
(
name
=
"day_interval_unit"
)
private
String
dayIntervalUnit
;
/**
@Column
(
name
=
"day_interval_unit"
)
private
String
dayIntervalUnit
;
/**
* 每天频率:0-一次;1-多次
*/
@Column
(
name
=
"day_rate"
)
private
int
dayRate
=
-
1
;
/**
@Column
(
name
=
"day_rate"
)
private
int
dayRate
=
-
1
;
/**
* 开始时间(执行频率为一次时,使用)
*/
@Column
(
name
=
"day_time"
)
private
String
dayTime
;
/**
@Column
(
name
=
"day_time"
)
private
String
dayTime
;
/**
* 工作时长(分钟)
*/
private
int
duration
;
private
int
duration
;
private
String
ownerId
;
private
String
ownerId
;
/**
* 维保公司id
*/
private
String
companyId
;
/**
* 维保公司id
*/
private
String
companyId
;
/**
* 维保公司名称
*/
private
String
companyName
;
/**
* 维保公司名称
*/
private
String
companyName
;
public
String
getCompanyId
()
{
return
companyId
;
}
public
String
getCompanyId
()
{
return
companyId
;
}
public
void
setCompanyId
(
String
companyId
)
{
this
.
companyId
=
companyId
;
}
public
void
setCompanyId
(
String
companyId
)
{
this
.
companyId
=
companyId
;
}
public
String
getCompanyName
()
{
return
companyName
;
}
public
String
getCompanyName
()
{
return
companyName
;
}
public
void
setCompanyName
(
String
companyName
)
{
this
.
companyName
=
companyName
;
}
public
void
setCompanyName
(
String
companyName
)
{
this
.
companyName
=
companyName
;
}
@Transient
public
String
getOwnerId
()
{
return
ownerId
;
}
@Transient
public
String
getOwnerId
()
{
return
ownerId
;
}
public
void
setOwnerId
(
String
ownerId
)
{
this
.
ownerId
=
ownerId
;
}
public
void
setOwnerId
(
String
ownerId
)
{
this
.
ownerId
=
ownerId
;
}
/**
/**
* 首次标志
*/
private
int
firstFlag
;
/**
private
int
firstFlag
;
/**
* 允许误差(分钟)
*/
private
int
error
;
/**
private
int
error
;
/**
* 执行频率(年计划使用)
*/
@Column
(
name
=
"execute_rate"
)
private
int
executeRate
;
/**
@Column
(
name
=
"execute_rate"
)
private
int
executeRate
;
/**
* 排序
*/
@Column
(
name
=
"in_order"
)
private
String
inOrder
;
/**
@Column
(
name
=
"in_order"
)
private
String
inOrder
;
/**
* 执行间隔
*/
@Column
(
name
=
"execute_interval"
)
private
int
executeInterval
;
/**
@Column
(
name
=
"execute_interval"
)
private
int
executeInterval
;
/**
* 是否固定巡检日期:0-否;1-是
*/
@Column
(
name
=
"is_fixed_date"
)
private
String
isFixedDate
;
/**
@Column
(
name
=
"is_fixed_date"
)
private
String
isFixedDate
;
/**
* 是否评分
*/
@Column
(
name
=
"is_score"
)
private
String
isScore
;
/**
@Column
(
name
=
"is_score"
)
private
String
isScore
;
/**
* 最近更新者
*/
@Column
(
name
=
"last_upd_by"
)
private
String
lastUpdBy
;
/**
@Column
(
name
=
"last_upd_by"
)
private
String
lastUpdBy
;
/**
* 最近更新时间
*/
@LastModifiedDate
@Column
(
name
=
"last_upd_time"
)
private
Date
lastUpdTime
;
/**
@LastModifiedDate
@Column
(
name
=
"last_upd_time"
)
private
Date
lastUpdTime
;
/**
* 最少间隔
*/
@Column
(
name
=
"min_space"
)
private
int
minSpace
;
/**
@Column
(
name
=
"min_space"
)
private
int
minSpace
;
/**
* 月执行类型:第,在
*/
@Column
(
name
=
"month_type"
)
private
String
monthType
;
/**
@Column
(
name
=
"month_type"
)
private
String
monthType
;
/**
* 计划名称
*/
@Column
(
name
=
"[name]"
)
private
String
name
;
/**
@Column
(
name
=
"[name]"
)
private
String
name
;
/**
* 下次任务生成日期
*/
@Temporal
(
TemporalType
.
DATE
)
@Column
(
name
=
"next_gen_date"
)
private
Date
nextGenDate
;
/**
@Temporal
(
TemporalType
.
DATE
)
@Column
(
name
=
"next_gen_date"
)
private
Date
nextGenDate
;
/**
* 公司Id
*/
@Column
(
name
=
"org_code"
)
private
String
orgCode
;
/**
@Column
(
name
=
"org_code"
)
private
String
orgCode
;
/**
* 计划开始日期
*/
@Temporal
(
TemporalType
.
DATE
)
@Column
(
name
=
"plan_begin"
)
private
String
planBegin
;
/**
@Temporal
(
TemporalType
.
DATE
)
@Column
(
name
=
"plan_begin"
)
private
String
planBegin
;
/**
* 计划结束日期
*/
@Temporal
(
TemporalType
.
DATE
)
@Column
(
name
=
"plan_end"
)
private
String
planEnd
;
/**
@Temporal
(
TemporalType
.
DATE
)
@Column
(
name
=
"plan_end"
)
private
String
planEnd
;
/**
* 计划类型:日,周,月,年
*/
@Column
(
name
=
"plan_type"
)
private
String
planType
;
/**
@Column
(
name
=
"plan_type"
)
private
String
planType
;
/**
* 备注
*/
private
String
remark
;
/**
private
String
remark
;
/**
* 备注1
*/
private
String
remark1
;
/**
private
String
remark1
;
/**
* 备注2
*/
private
String
remark2
;
/**
private
String
remark2
;
/**
* 路线编号
*/
@Column
(
name
=
"route_id"
)
private
long
routeId
;
/**
@Column
(
name
=
"route_id"
)
private
long
routeId
;
/**
* 评分计算公式
*/
@Column
(
name
=
"score_formula"
)
private
String
scoreFormula
;
/**
@Column
(
name
=
"score_formula"
)
private
String
scoreFormula
;
/**
* 状态:0-已停用;1-正常
*/
@Column
(
name
=
"[status]"
)
private
byte
status
;
/**
* 用户编号
*/
@Column
(
name
=
"user_id"
)
private
String
userId
;
/**
* 用户名称(多个逗号分隔)
*/
@Column
(
name
=
"user_name"
)
private
String
userName
;
public
String
getUserName
()
{
return
userName
;
}
public
void
setUserName
(
String
userName
)
{
this
.
userName
=
userName
;
}
/**
@Column
(
name
=
"[status]"
)
private
byte
status
;
/**
* 用户编号
*/
@Column
(
name
=
"user_id"
)
private
String
userId
;
/**
* 用户名称(多个逗号分隔)
*/
@Column
(
name
=
"user_name"
)
private
String
userName
;
public
String
getUserName
()
{
return
userName
;
}
public
void
setUserName
(
String
userName
)
{
this
.
userName
=
userName
;
}
/**
* 开始编号
*/
@Column
(
name
=
"week_begin_num"
)
private
int
weekBeginNum
;
/**
@Column
(
name
=
"week_begin_num"
)
private
int
weekBeginNum
;
/**
* 周几
*/
@Column
(
name
=
"week_day"
)
private
int
weekDay
;
/**
@Column
(
name
=
"week_day"
)
private
int
weekDay
;
/**
* 结束编号
*/
@Column
(
name
=
"week_end_num"
)
private
int
weekEndNum
;
/**
@Column
(
name
=
"week_end_num"
)
private
int
weekEndNum
;
/**
* 哪一天
*/
@Column
(
name
=
"what_day"
)
private
String
whatDay
;
/**
@Column
(
name
=
"what_day"
)
private
String
whatDay
;
/**
* 第几周
*/
@Column
(
name
=
"what_week"
)
private
int
whatWeek
;
/**
* 是否删除:0表示未删除,1表示已删除
*/
@Column
(
name
=
"is_delete"
)
private
boolean
isDelete
=
false
;
/**
* 原始字段
*/
@Column
(
name
=
"original_id"
,
columnDefinition
=
"varchar(50) COMMENT '原始字段'"
)
private
String
originalId
;
/**
*
@Column
(
name
=
"what_week"
)
private
int
whatWeek
;
/**
* 是否删除:0表示未删除,1表示已删除
*/
@Column
(
name
=
"is_delete"
)
private
boolean
isDelete
=
false
;
/**
* 原始字段
*/
@Column
(
name
=
"original_id"
,
columnDefinition
=
"varchar(50) COMMENT '原始字段'"
)
private
String
originalId
;
/**
* 任务id
*/
@Column
(
name
=
"plan_task_id"
)
private
Long
planTaskId
=
0L
;
/**
* 是否单人执行
*/
@Column
(
name
=
"is_single_execution"
)
private
boolean
isSingleExecution
=
false
;
/**
* 用户部门
*/
@Column
(
name
=
"user_dept"
)
private
String
userDept
;
public
String
getUserDept
()
{
return
userDept
;
}
public
void
setUserDept
(
String
userDept
)
{
this
.
userDept
=
userDept
;
}
public
Plan
()
{
}
@Column
(
name
=
"plan_task_id"
)
private
Long
planTaskId
=
0L
;
/**
* 是否单人执行
*/
@Column
(
name
=
"is_single_execution"
)
private
boolean
isSingleExecution
=
false
;
/**
* 用户部门
*/
@Column
(
name
=
"user_dept"
)
private
String
userDept
;
public
String
getUserDept
()
{
return
userDept
;
}
public
void
setUserDept
(
String
userDept
)
{
this
.
userDept
=
userDept
;
}
public
Plan
()
{
}
public
String
getDeptId
()
{
return
deptId
;
}
public
void
setDeptId
(
String
deptId
)
{
this
.
deptId
=
deptId
;
}
public
String
getCreateBy
()
{
return
this
.
createBy
;
}
public
void
setCreateBy
(
String
createBy
)
{
this
.
createBy
=
createBy
;
}
public
Time
getDayBegin
()
{
return
this
.
dayBegin
;
}
public
void
setDayBegin
(
Time
dayBegin
)
{
this
.
dayBegin
=
dayBegin
;
}
public
Time
getDayEnd
()
{
return
this
.
dayEnd
;
}
public
void
setDayEnd
(
Time
dayEnd
)
{
this
.
dayEnd
=
dayEnd
;
}
public
int
getDayInterval
()
{
return
this
.
dayInterval
;
}
public
void
setDayInterval
(
int
dayInterval
)
{
this
.
dayInterval
=
dayInterval
;
}
public
String
getDayIntervalUnit
()
{
return
this
.
dayIntervalUnit
;
}
public
void
setDayIntervalUnit
(
String
dayIntervalUnit
)
{
this
.
dayIntervalUnit
=
dayIntervalUnit
;
}
public
int
getDayRate
()
{
return
this
.
dayRate
;
}
public
void
setDayRate
(
int
dayRate
)
{
this
.
dayRate
=
dayRate
;
}
public
String
getDayTime
()
{
return
this
.
dayTime
;
}
public
void
setDayTime
(
String
dayTime
)
{
this
.
dayTime
=
dayTime
;
}
public
int
getDuration
()
{
return
this
.
duration
;
}
public
void
setDuration
(
int
duration
)
{
this
.
duration
=
duration
;
}
public
int
getError
()
{
return
this
.
error
;
}
public
void
setError
(
int
error
)
{
this
.
error
=
error
;
}
public
int
getExecuteRate
()
{
return
this
.
executeRate
;
}
public
void
setExecuteRate
(
int
executeRate
)
{
this
.
executeRate
=
executeRate
;
}
public
String
getInOrder
()
{
return
this
.
inOrder
;
}
public
void
setInOrder
(
String
inOrder
)
{
this
.
inOrder
=
inOrder
;
}
public
String
getIsFixedDate
()
{
return
this
.
isFixedDate
;
}
public
String
getDeptId
(
)
{
return
deptId
;
}
public
void
setIsFixedDate
(
String
isFixedDate
)
{
this
.
isFixedDate
=
isFixedDate
;
}
public
void
setDeptId
(
String
deptId
)
{
this
.
deptId
=
deptId
;
}
public
String
getCreateBy
()
{
return
this
.
createBy
;
}
public
String
getIsScore
()
{
return
this
.
isScore
;
}
public
void
setCreateBy
(
String
createBy
)
{
this
.
createBy
=
createBy
;
}
public
void
setIsScore
(
String
isScore
)
{
this
.
isScore
=
isScore
;
}
public
String
getLastUpdBy
()
{
return
this
.
lastUpdBy
;
}
public
Time
getDayBegin
(
)
{
return
this
.
dayBegin
;
}
public
void
setLastUpdBy
(
String
lastUpdBy
)
{
this
.
lastUpdBy
=
lastUpdBy
;
}
public
void
setDayBegin
(
Time
dayBegin
)
{
this
.
dayBegin
=
dayBegin
;
}
public
Date
getLastUpdTime
(
)
{
return
this
.
lastUpdTime
;
}
public
Time
getDayEnd
(
)
{
return
this
.
dayEnd
;
}
public
void
setLastUpdTime
(
Date
lastUpdTime
)
{
this
.
lastUpdTime
=
lastUpdTime
;
}
public
void
setDayEnd
(
Time
dayEnd
)
{
this
.
dayEnd
=
dayEnd
;
}
public
int
getMinSpace
(
)
{
return
this
.
minSpace
;
}
public
int
getDayInterval
(
)
{
return
this
.
dayInterval
;
}
public
void
setMinSpace
(
int
minSpace
)
{
this
.
minSpace
=
minSpace
;
}
public
void
setDayInterval
(
int
dayInterval
)
{
this
.
dayInterval
=
dayInterval
;
}
public
String
getMonthType
(
)
{
return
this
.
monthType
;
}
public
String
getDayIntervalUnit
(
)
{
return
this
.
dayIntervalUnit
;
}
public
void
setMonthType
(
String
monthType
)
{
this
.
monthType
=
monthType
;
}
public
void
setDayIntervalUnit
(
String
dayIntervalUnit
)
{
this
.
dayIntervalUnit
=
dayIntervalUnit
;
}
public
String
getName
(
)
{
return
this
.
name
;
}
public
int
getDayRate
(
)
{
return
this
.
dayRat
e
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
nam
e
;
}
public
void
setDayRate
(
int
dayRate
)
{
this
.
dayRate
=
dayR
ate
;
}
public
Date
getNextGenDate
(
)
{
return
this
.
nextGenD
ate
;
}
public
String
getDayTime
(
)
{
return
this
.
dayTim
e
;
}
public
void
setNextGenDate
(
Date
nextGenDate
)
{
this
.
nextGenDate
=
nextGenDat
e
;
}
public
void
setDayTime
(
String
dayTime
)
{
this
.
dayTime
=
dayTim
e
;
}
public
String
getOrgCode
(
)
{
return
this
.
orgCod
e
;
}
public
int
getDuration
(
)
{
return
this
.
duration
;
}
public
void
setOrgCode
(
String
orgCode
)
{
this
.
orgCode
=
orgCode
;
}
public
void
setDuration
(
int
duration
)
{
this
.
duration
=
duratio
n
;
}
public
String
getPlanBegin
(
)
{
return
this
.
planBegi
n
;
}
public
int
getError
(
)
{
return
this
.
error
;
}
public
void
setPlanBegin
(
String
planBegin
)
{
this
.
planBegin
=
planBegin
;
}
public
void
setError
(
int
error
)
{
this
.
error
=
error
;
}
public
String
getPlanEnd
(
)
{
return
this
.
planEnd
;
}
public
int
getExecuteRate
(
)
{
return
this
.
executeRate
;
}
public
void
setPlanEnd
(
String
planEnd
)
{
this
.
planEnd
=
planEnd
;
}
public
void
setExecuteRate
(
int
executeRate
)
{
this
.
executeRate
=
executeRat
e
;
}
public
String
getPlanType
(
)
{
return
this
.
planTyp
e
;
}
public
String
getInOrder
(
)
{
return
this
.
inOrder
;
}
public
void
setPlanType
(
String
planType
)
{
this
.
planType
=
planType
;
}
public
void
setInOrder
(
String
inOrder
)
{
this
.
inOrder
=
inOrder
;
}
public
String
getRemark
(
)
{
return
this
.
remark
;
}
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
;
}
public
long
getRouteId
()
{
return
this
.
routeId
;
}
public
void
setRouteId
(
long
routeId
)
{
this
.
routeId
=
routeId
;
}
public
String
getScoreFormula
()
{
return
this
.
scoreFormula
;
}
public
String
getIsFixedDate
(
)
{
return
this
.
isFixedDate
;
}
public
void
setScoreFormula
(
String
scoreFormula
)
{
this
.
scoreFormula
=
scoreFormula
;
}
public
void
setIsFixedDate
(
String
isFixedDate
)
{
this
.
isFixedDate
=
isFixedDate
;
}
public
byte
getStatus
(
)
{
return
this
.
status
;
}
public
String
getIsScore
(
)
{
return
this
.
isScore
;
}
public
void
setStatus
(
byte
status
)
{
this
.
status
=
status
;
}
public
void
setIsScore
(
String
isScore
)
{
this
.
isScore
=
isScore
;
}
public
String
getUserId
(
)
{
return
this
.
userId
;
}
public
String
getLastUpdBy
(
)
{
return
this
.
lastUpdBy
;
}
public
void
setUserId
(
String
userId
)
{
this
.
userId
=
userId
;
}
public
void
setLastUpdBy
(
String
lastUpdBy
)
{
this
.
lastUpdBy
=
lastUpdBy
;
}
public
int
getWeekBeginNum
(
)
{
return
this
.
weekBeginNum
;
}
public
Date
getLastUpdTime
(
)
{
return
this
.
lastUpdTime
;
}
public
void
setWeekBeginNum
(
int
weekBeginNum
)
{
this
.
weekBeginNum
=
weekBeginNum
;
}
public
void
setLastUpdTime
(
Date
lastUpdTime
)
{
this
.
lastUpdTime
=
lastUpdTime
;
}
public
int
getWeekDay
(
)
{
return
this
.
weekDay
;
}
public
int
getMinSpace
(
)
{
return
this
.
minSpace
;
}
public
void
setWeekDay
(
int
weekDay
)
{
this
.
weekDay
=
weekDay
;
}
public
void
setMinSpace
(
int
minSpace
)
{
this
.
minSpace
=
minSpace
;
}
public
int
getWeekEndNum
(
)
{
return
this
.
weekEndNum
;
}
public
String
getMonthType
(
)
{
return
this
.
monthType
;
}
public
void
setWeekEndNum
(
int
weekEndNum
)
{
this
.
weekEndNum
=
weekEndNum
;
}
public
void
setMonthType
(
String
monthType
)
{
this
.
monthType
=
monthType
;
}
public
String
getWhatDay
(
)
{
return
this
.
whatDay
;
}
public
String
getName
(
)
{
return
this
.
name
;
}
public
void
setWhatDay
(
String
whatDay
)
{
this
.
whatDay
=
whatDay
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
int
getWhatWeek
(
)
{
return
this
.
whatWeek
;
}
public
Date
getNextGenDate
(
)
{
return
this
.
nextGenDate
;
}
public
void
setWhatWeek
(
int
whatWeek
)
{
this
.
whatWeek
=
whatWeek
;
}
public
void
setNextGenDate
(
Date
nextGenDate
)
{
this
.
nextGenDate
=
nextGenDate
;
}
public
String
getRemark1
(
)
{
return
remark1
;
}
public
String
getOrgCode
(
)
{
return
this
.
orgCode
;
}
public
void
setRemark1
(
String
remark1
)
{
this
.
remark1
=
remark1
;
}
public
void
setOrgCode
(
String
orgCode
)
{
this
.
orgCode
=
orgCode
;
}
public
String
getRemark2
(
)
{
return
remark2
;
}
public
String
getPlanBegin
(
)
{
return
this
.
planBegin
;
}
public
void
setRemark2
(
String
remark2
)
{
this
.
remark2
=
remark2
;
}
public
void
setPlanBegin
(
String
planBegin
)
{
this
.
planBegin
=
planBegin
;
}
public
int
getExecuteInterval
(
)
{
return
executeInterval
;
}
public
String
getPlanEnd
(
)
{
return
this
.
planEnd
;
}
public
void
setExecuteInterval
(
int
executeInterval
)
{
this
.
executeInterval
=
executeInterval
;
}
public
void
setPlanEnd
(
String
planEnd
)
{
this
.
planEnd
=
planEnd
;
}
public
int
getFirstFlag
(
)
{
return
firstFlag
;
}
public
String
getPlanType
(
)
{
return
this
.
planType
;
}
public
void
setFirstFlag
(
int
firstFlag
)
{
this
.
firstFlag
=
firstFlag
;
}
public
void
setPlanType
(
String
planType
)
{
this
.
planType
=
planTyp
e
;
}
public
boolean
getIsDelete
(
)
{
return
isDelet
e
;
}
public
String
getRemark
(
)
{
return
this
.
remark
;
}
public
void
setIsDelete
(
boolean
isDelete
)
{
this
.
isDelete
=
isDelete
;
}
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
;
}
public
String
getOriginalId
(
)
{
return
originalId
;
}
public
long
getRouteId
(
)
{
return
this
.
route
Id
;
}
public
void
setOriginalId
(
String
originalId
)
{
this
.
originalId
=
original
Id
;
}
public
void
setRouteId
(
long
routeId
)
{
this
.
routeId
=
route
Id
;
}
public
Long
getPlanTaskId
(
)
{
return
planTask
Id
;
}
public
String
getScoreFormula
(
)
{
return
this
.
scoreFormula
;
}
public
void
setPlanTaskId
(
Long
planTaskId
)
{
this
.
planTaskId
=
planTaskId
;
}
public
void
setScoreFormula
(
String
scoreFormula
)
{
this
.
scoreFormula
=
scoreFormula
;
}
public
boolean
getIsSingleExecution
(
)
{
return
isSingleExecution
;
}
public
byte
getStatus
()
{
return
this
.
status
;
}
public
void
setStatus
(
byte
status
)
{
this
.
status
=
status
;
}
public
String
getUserId
()
{
return
this
.
userId
;
}
public
void
setUserId
(
String
userId
)
{
this
.
userId
=
userId
;
}
public
int
getWeekBeginNum
()
{
return
this
.
weekBeginNum
;
}
public
void
setWeekBeginNum
(
int
weekBeginNum
)
{
this
.
weekBeginNum
=
weekBeginNum
;
}
public
int
getWeekDay
()
{
return
this
.
weekDay
;
}
public
void
setWeekDay
(
int
weekDay
)
{
this
.
weekDay
=
weekDay
;
}
public
int
getWeekEndNum
()
{
return
this
.
weekEndNum
;
}
public
void
setWeekEndNum
(
int
weekEndNum
)
{
this
.
weekEndNum
=
weekEndNum
;
}
public
String
getWhatDay
()
{
return
this
.
whatDay
;
}
public
void
setWhatDay
(
String
whatDay
)
{
this
.
whatDay
=
whatDay
;
}
public
int
getWhatWeek
()
{
return
this
.
whatWeek
;
}
public
void
setWhatWeek
(
int
whatWeek
)
{
this
.
whatWeek
=
whatWeek
;
}
public
String
getRemark1
()
{
return
remark1
;
}
public
void
setRemark1
(
String
remark1
)
{
this
.
remark1
=
remark1
;
}
public
String
getRemark2
()
{
return
remark2
;
}
public
void
setRemark2
(
String
remark2
)
{
this
.
remark2
=
remark2
;
}
public
int
getExecuteInterval
()
{
return
executeInterval
;
}
public
void
setExecuteInterval
(
int
executeInterval
)
{
this
.
executeInterval
=
executeInterval
;
}
public
int
getFirstFlag
()
{
return
firstFlag
;
}
public
void
setFirstFlag
(
int
firstFlag
)
{
this
.
firstFlag
=
firstFlag
;
}
public
boolean
getIsDelete
()
{
return
isDelete
;
}
public
void
setIsDelete
(
boolean
isDelete
)
{
this
.
isDelete
=
isDelete
;
}
public
String
getOriginalId
()
{
return
originalId
;
}
public
void
setOriginalId
(
String
originalId
)
{
this
.
originalId
=
originalId
;
}
public
Long
getPlanTaskId
()
{
return
planTaskId
;
}
public
void
setPlanTaskId
(
Long
planTaskId
)
{
this
.
planTaskId
=
planTaskId
;
}
public
boolean
getIsSingleExecution
()
{
return
isSingleExecution
;
}
public
void
setIsSingleExecution
(
boolean
isSingleExecution
)
{
this
.
isSingleExecution
=
isSingleExecution
;
}
public
void
setIsSingleExecution
(
boolean
isSingleExecution
)
{
this
.
isSingleExecution
=
isSingleExecution
;
}
}
\ No newline at end of file
amos-boot-module/amos-boot-module-biz/amos-boot-module-maintenance-biz/pom.xml
View file @
9583a210
...
...
@@ -24,6 +24,10 @@
<groupId>
org.typroject
</groupId>
<artifactId>
tyboot-core-auth
</artifactId>
</exclusion>
<exclusion>
<artifactId>
fastjson
</artifactId>
<groupId>
com.alibaba
</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
...
...
@@ -36,12 +40,6 @@
</exclusion>
</exclusions>
</dependency>
<!-- 添加fastjson 依赖包. -->
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
fastjson
</artifactId>
<version>
1.2.15
</version>
</dependency>
<dependency>
<groupId>
org.quartz-scheduler
</groupId>
<artifactId>
quartz
</artifactId>
...
...
amos-boot-system-maintenance/src/main/java/com/yeejoin/amos/MaintenanceApplication.java
View file @
9583a210
...
...
@@ -13,11 +13,13 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
import
org.springframework.context.ConfigurableApplicationContext
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.ComponentScan
;
import
org.springframework.context.annotation.FilterType
;
import
org.springframework.core.env.Environment
;
import
org.springframework.data.jpa.repository.config.EnableJpaAuditing
;
import
org.springframework.scheduling.annotation.EnableAsync
;
import
org.springframework.transaction.annotation.EnableTransactionManagement
;
import
org.springframework.web.client.RestTemplate
;
import
org.typroject.tyboot.core.restful.config.JsonSerializerManage
;
import
org.typroject.tyboot.core.restful.exception.GlobalExceptionHandler
;
import
java.io.IOException
;
...
...
@@ -42,8 +44,9 @@ import java.net.UnknownHostException;
@EnableFeignClients
@EnableAsync
@EnableEurekaClient
@ComponentScan
({
"org.typroject"
,
"com.yeejoin.amos"
})
@MapperScan
(
basePackages
=
{
"com.yeejoin.amos.maintenance.business.dao.mapper"
,
"org.typroject.tyboot.core.auth.face.orm.dao"
,
"com.yeejoin.amos.boot.biz.common.dao.mapper"
})
@ComponentScan
(
value
=
{
"org.typroject"
,
"com.yeejoin.amos"
},
excludeFilters
=
{
@ComponentScan
.
Filter
(
type
=
FilterType
.
ASSIGNABLE_TYPE
,
classes
=
{
JsonSerializerManage
.
class
})})
@MapperScan
(
basePackages
=
{
"com.yeejoin.amos.maintenance.business.dao.mapper"
,
"org.typroject.tyboot.core.auth.face.orm.dao"
,
"com.yeejoin.amos.boot.biz.common.dao.mapper"
})
public
class
MaintenanceApplication
{
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
MaintenanceApplication
.
class
);
...
...
@@ -61,9 +64,9 @@ public class MaintenanceApplication {
* @throws IOException
* @throws URISyntaxException
*/
public
static
void
main
(
String
[]
args
)
throws
UnknownHostException
{
logger
.
info
(
"start Service.........."
);
ConfigurableApplicationContext
context
=
SpringApplication
.
run
(
MaintenanceApplication
.
class
,
args
);
public
static
void
main
(
String
[]
args
)
throws
UnknownHostException
{
logger
.
info
(
"start Service.........."
);
ConfigurableApplicationContext
context
=
SpringApplication
.
run
(
MaintenanceApplication
.
class
,
args
);
GlobalExceptionHandler
.
setAlwaysOk
(
true
);
Environment
env
=
context
.
getEnvironment
();
String
ip
=
InetAddress
.
getLocalHost
().
getHostAddress
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment