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
3313678a
Commit
3313678a
authored
Aug 27, 2024
by
李秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人员出勤查询总换流站数量时增加bizOrgCode
parent
66b12a9e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
StationInfoMapper.java
...amos/boot/module/common/api/mapper/StationInfoMapper.java
+1
-1
StationInfoMapper.xml
...ommon-api/src/main/resources/mapper/StationInfoMapper.xml
+3
-0
SignServiceImpl.java
...mos/boot/module/jcs/biz/service/impl/SignServiceImpl.java
+1
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/mapper/StationInfoMapper.java
View file @
3313678a
...
@@ -6,6 +6,6 @@ import org.apache.ibatis.annotations.Param;
...
@@ -6,6 +6,6 @@ import org.apache.ibatis.annotations.Param;
import
java.util.Map
;
import
java.util.Map
;
public
interface
StationInfoMapper
extends
BaseMapper
{
public
interface
StationInfoMapper
extends
BaseMapper
{
Long
count
(
@Param
(
"stationType"
)
String
stationType
);
Long
count
(
@Param
(
"
bizOrgCode"
)
String
bizOrgCode
,
@Param
(
"
stationType"
)
String
stationType
);
Map
<
String
,
String
>
selectStationInfo
(
@Param
(
"bizOrgCode"
)
String
bizOrgCode
);
Map
<
String
,
String
>
selectStationInfo
(
@Param
(
"bizOrgCode"
)
String
bizOrgCode
);
}
}
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/StationInfoMapper.xml
View file @
3313678a
...
@@ -6,6 +6,9 @@
...
@@ -6,6 +6,9 @@
COUNT(1)
COUNT(1)
FROM idx_biz_station_info t
FROM idx_biz_station_info t
<where>
<where>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND t.BIZ_ORG_CODE LIKE CONCAT(#{bizOrgCode}, '%')
</if>
<if
test=
"stationType != null and stationType != ''"
>
<if
test=
"stationType != null and stationType != ''"
>
AND t.STATION_TYPE = #{stationType}
AND t.STATION_TYPE = #{stationType}
</if>
</if>
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/SignServiceImpl.java
View file @
3313678a
...
@@ -223,7 +223,7 @@ public class SignServiceImpl extends BaseService<SignDto, Sign, SignMapper> impl
...
@@ -223,7 +223,7 @@ public class SignServiceImpl extends BaseService<SignDto, Sign, SignMapper> impl
public
Map
<
String
,
Object
>
getCenterSignStats
(
String
bizOrgCode
,
String
date
,
Integer
targetPassNum
,
String
stationType
)
{
public
Map
<
String
,
Object
>
getCenterSignStats
(
String
bizOrgCode
,
String
date
,
Integer
targetPassNum
,
String
stationType
)
{
List
<
Map
<
String
,
Object
>>
queryMaps
=
baseMapper
.
selectCenterSignStats
(
bizOrgCode
,
date
,
targetPassNum
,
stationType
);
List
<
Map
<
String
,
Object
>>
queryMaps
=
baseMapper
.
selectCenterSignStats
(
bizOrgCode
,
date
,
targetPassNum
,
stationType
);
int
passedStationNum
=
0
;
int
passedStationNum
=
0
;
long
allStationNum
=
stationInfoMapper
.
count
(
stationType
);
long
allStationNum
=
stationInfoMapper
.
count
(
bizOrgCode
,
stationType
);
for
(
Map
<
String
,
Object
>
queryMap
:
queryMaps
)
{
for
(
Map
<
String
,
Object
>
queryMap
:
queryMaps
)
{
String
status
=
queryMap
.
get
(
"status"
).
toString
();
String
status
=
queryMap
.
get
(
"status"
).
toString
();
...
...
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