Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
4c37e9da
Commit
4c37e9da
authored
Dec 01, 2020
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改自动审核
parent
1d5974c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
CompanyInfoApplyMapper.java
...wxiaoqi/security/admin/mapper/CompanyInfoApplyMapper.java
+2
-1
VehicleApplyMapper.java
.../com/xxfc/platform/vehicle/mapper/VehicleApplyMapper.java
+2
-1
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/mapper/CompanyInfoApplyMapper.java
View file @
4c37e9da
...
...
@@ -17,6 +17,7 @@ public interface CompanyInfoApplyMapper extends Mapper<CompanyInfoApply>, Select
@Select
(
"SELECT * FROM company_info_apply WHERE branch_id=#{branchId} and form_type=2 ORDER BY upd_time DESC LIMIT 1"
)
CompanyInfoApply
getOneByOrderUpdTime
(
@Param
(
"branchId"
)
Long
branchId
);
@Select
(
"SELECT * FROM company_info_apply WHERE `status` = 0 AND DATE_SUB(CURDATE(),INTERVAL 7 DAY) >= date(from_unixtime(crt_time/1000))"
)
@Select
(
"SELECT * FROM company_info_apply WHERE `status` = 0 "
)
// AND DATE_SUB(CURDATE(),INTERVAL 7 DAY) >= date(from_unixtime(crt_time/1000))
List
<
CompanyInfoApply
>
getListByDay
();
}
\ No newline at end of file
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/mapper/VehicleApplyMapper.java
View file @
4c37e9da
...
...
@@ -21,7 +21,8 @@ public interface VehicleApplyMapper extends Mapper<VehicleApply>, SelectByIdList
List
<
VehicleApplyVo
>
selectListByApp
(
VehicleApplyFindDTO
vehicleApplyFindDTO
);
@Select
(
"SELECT * FROM vehicle_apply WHERE `apply_status` = 0 AND DATE_SUB(CURDATE(),INTERVAL 7 DAY) >= date(from_unixtime(crt_time/1000))"
)
@Select
(
"SELECT * FROM vehicle_apply WHERE `apply_status` = 0 "
)
//AND DATE_SUB(CURDATE(),INTERVAL 7 DAY) >= date(from_unixtime(crt_time/1000))
List
<
VehicleApply
>
getListByDay
();
}
\ No newline at end of file
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