Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
Overview
Overview
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
胡园园
yanxuan-qc-change-system
Commits
750e5082
Commit
750e5082
authored
Dec 26, 2022
by
“zcwang”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify:数据库完善
parent
0c880cee
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
scheme.sql
doc/scheme.sql
+5
-2
AutoSubmit.java
.../com/netease/mail/yanxuan/change/biz/task/AutoSubmit.java
+3
-2
No files found.
doc/scheme.sql
View file @
750e5082
...
@@ -71,10 +71,13 @@ CREATE TABLE `TB_YX_QC_CHANGE_RECORD`
...
@@ -71,10 +71,13 @@ CREATE TABLE `TB_YX_QC_CHANGE_RECORD`
`remark`
varchar
(
550
)
NOT
NULL
DEFAULT
''
COMMENT
'备注'
,
`remark`
varchar
(
550
)
NOT
NULL
DEFAULT
''
COMMENT
'备注'
,
`creator`
varchar
(
50
)
NOT
NULL
DEFAULT
''
COMMENT
'创建人邮箱'
,
`creator`
varchar
(
50
)
NOT
NULL
DEFAULT
''
COMMENT
'创建人邮箱'
,
`todo_id`
bigint
(
20
)
NOT
NULL
DEFAULT
'0'
COMMENT
'待办id'
,
`todo_id`
bigint
(
20
)
NOT
NULL
DEFAULT
'0'
COMMENT
'待办id'
,
`auto_submit_email`
int
(
2
)
NOT
NULL
DEFAULT
'0'
COMMENT
'自动提交发送邮件'
,
`create_time`
bigint
(
20
)
NOT
NULL
DEFAULT
'0'
COMMENT
'创建时间'
,
`create_time`
bigint
(
20
)
NOT
NULL
DEFAULT
'0'
COMMENT
'创建时间'
,
`update_time`
bigint
(
20
)
NOT
NULL
DEFAULT
'0'
COMMENT
'更新时间'
,
`update_time`
bigint
(
20
)
NOT
NULL
DEFAULT
'0'
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`id`
)
PRIMARY
KEY
(
`id`
),
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COMMENT
=
'变更工单记录表'
;
KEY
`key_flow_id`
(
`flow_id`
)
USING
BTREE
COMMENT
'变更工单id普通索引'
,
KEY
`key_email`
(
`auto_submit_email`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
194
DEFAULT
CHARSET
=
utf8
COMMENT
=
'变更工单记录表'
CREATE
TABLE
`TB_YX_QC_CHANGE_FILE`
CREATE
TABLE
`TB_YX_QC_CHANGE_FILE`
(
(
...
...
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/task/AutoSubmit.java
View file @
750e5082
...
@@ -84,8 +84,9 @@ public class AutoSubmit extends IJobHandler {
...
@@ -84,8 +84,9 @@ public class AutoSubmit extends IJobHandler {
// 查询今天时间之前的数据
// 查询今天时间之前的数据
try
{
try
{
while
(
true
)
{
while
(
true
)
{
List
<
ChangeRecord
>
records
=
changeFlowService
.
getByStatusAndTime
(
entityId
,
ChangeFlowEnum
.
CHANGE_FLOW_EXE
.
getNodeId
(),
List
<
ChangeRecord
>
records
=
changeFlowService
.
getByStatusAndTime
(
entityId
,
ChangeFlowEnum
.
CHANGE_FLOW_CONFIRM
.
getNodeId
(),
tomorrowSpecificTime
);
ChangeFlowEnum
.
CHANGE_FLOW_EXE
.
getNodeId
(),
ChangeFlowEnum
.
CHANGE_FLOW_CONFIRM
.
getNodeId
(),
tomorrowSpecificTime
);
if
(
CollectionUtils
.
isEmpty
(
records
))
{
if
(
CollectionUtils
.
isEmpty
(
records
))
{
break
;
break
;
}
}
...
...
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