Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
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
station
YeeAmosFireAutoSysRoot
Commits
69d02aab
Commit
69d02aab
authored
Aug 13, 2024
by
张森
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
列表查詢 和 新增API bug 修改
parent
910e54eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
PlanReportController.java
...in/amos/fas/business/controller/PlanReportController.java
+1
-0
PlanReportMapper.xml
...ysStart/src/main/resources/db/mapper/PlanReportMapper.xml
+4
-4
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/PlanReportController.java
View file @
69d02aab
...
@@ -41,6 +41,7 @@ public class PlanReportController extends BaseController {
...
@@ -41,6 +41,7 @@ public class PlanReportController extends BaseController {
planReport
.
setBizOrgCode
(
bizOrgCode
);
planReport
.
setBizOrgCode
(
bizOrgCode
);
planReport
.
setBizOrgName
(
bizOrgName
);
planReport
.
setBizOrgName
(
bizOrgName
);
planReport
.
setCreateDate
(
new
Date
());
planReport
.
setCreateDate
(
new
Date
());
planReport
.
setDrillDate
(
new
Date
());
planReportMapper
.
saveInfo
(
planReport
);
planReportMapper
.
saveInfo
(
planReport
);
return
CommonResponseUtil
.
success
(
planReport
);
return
CommonResponseUtil
.
success
(
planReport
);
}
}
...
...
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/PlanReportMapper.xml
View file @
69d02aab
...
@@ -49,10 +49,10 @@
...
@@ -49,10 +49,10 @@
AND a.biz_org_code like concat(#{bizOrgCode}, '%')
AND a.biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</if>
<if
test=
"startDate != null and startDate != ''"
>
<if
test=
"startDate != null and startDate != ''"
>
AND a.
create
_date >= #{startDate}
AND a.
drill
_date >= #{startDate}
</if>
</if>
<if
test=
"endDate != null and endDate != ''"
>
<if
test=
"endDate != null and endDate != ''"
>
AND #{endDate} >= a.
create
_date
AND #{endDate} >= a.
drill
_date
</if>
</if>
</where>
</where>
</select>
</select>
...
@@ -75,10 +75,10 @@
...
@@ -75,10 +75,10 @@
AND a.biz_org_code like concat(#{bizOrgCode}, '%')
AND a.biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</if>
<if
test=
"startDate != null and startDate != ''"
>
<if
test=
"startDate != null and startDate != ''"
>
AND a.
create
_date >= #{startDate}
AND a.
drill
_date >= #{startDate}
</if>
</if>
<if
test=
"endDate != null and endDate != ''"
>
<if
test=
"endDate != null and endDate != ''"
>
AND #{endDate} >= a.
create
_date
AND #{endDate} >= a.
drill
_date
</if>
</if>
</where>
</where>
order by a.create_date desc
order by a.create_date desc
...
...
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