Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xinrenli
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑云飞
xinrenli
Commits
3868c75c
Commit
3868c75c
authored
Apr 11, 2023
by
kaevom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交 新增两个job 邀请折扣 已接但变成已完成
parent
3a1f5a26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
yongqi-xinrenli/src/main/java/com/yongqi/xinrenli/domain/DbOrder.java
+5
-1
yongqi-xinrenli/src/main/resources/mapper/DbOrderMapper.xml
+1
-1
No files found.
yongqi-xinrenli/src/main/java/com/yongqi/xinrenli/domain/DbOrder.java
View file @
3868c75c
package
com
.
yongqi
.
xinrenli
.
domain
;
package
com
.
yongqi
.
xinrenli
.
domain
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.yongqi.common.core.domain.BaseEntity
;
import
com.yongqi.common.core.domain.BaseEntity
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -94,6 +95,10 @@ public class DbOrder {
...
@@ -94,6 +95,10 @@ public class DbOrder {
*/
*/
private
Integer
status
;
private
Integer
status
;
/**
/**
* 驳回理由
*/
private
String
reasonsForRejection
;
/**
* 支付时间
* 支付时间
*/
*/
private
Date
payTime
;
private
Date
payTime
;
...
@@ -119,5 +124,4 @@ public class DbOrder {
...
@@ -119,5 +124,4 @@ public class DbOrder {
private
Integer
deleteStatus
;
private
Integer
deleteStatus
;
}
}
yongqi-xinrenli/src/main/resources/mapper/DbOrderMapper.xml
View file @
3868c75c
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
DUAL
DUAL
</select>
</select>
<update
id=
"unpaidJob"
>
<update
id=
"unpaidJob"
>
update db_order set status='
2',modify_time=NOW() where status=3
and modify_time
<
=DATE_SUB(SYSDATE(),INTERVAL 1 hour)
update db_order set status='
1',modify_time=NOW() where status=2
and modify_time
<
=DATE_SUB(SYSDATE(),INTERVAL 1 hour)
</update>
</update>
<update
id=
"completedJob"
>
<update
id=
"completedJob"
>
update db_order set status='4',modify_time=NOW() where status='3' and DATE_ADD(repair_time, INTERVAL 2 DAY)>=NOW()
update db_order set status='4',modify_time=NOW() where status='3' and DATE_ADD(repair_time, INTERVAL 2 DAY)>=NOW()
...
...
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