Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
8timerv2
8timerapiv200
Commits
d9bb6d13
Commit
d9bb6d13
authored
Dec 11, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'master'
Develop See merge request 8timerv2/8timerapiv200!567
parents
98d61bf2
77c5afe7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
src/main/java/cn/timer/api/dao/kqgl/AttendanceWeeklySchMapper.java
+1
-0
src/main/resources/mapping/kqgl/AttendanceWeeklySchMapper.xml
+17
-0
No files found.
src/main/java/cn/timer/api/dao/kqgl/AttendanceWeeklySchMapper.java
View file @
d9bb6d13
...
@@ -26,6 +26,7 @@ public interface AttendanceWeeklySchMapper {
...
@@ -26,6 +26,7 @@ public interface AttendanceWeeklySchMapper {
List
<
AttendanceWeeklySch
>
selectAttWeeklySchByKqzid
(
Integer
kqzid
);
List
<
AttendanceWeeklySch
>
selectAttWeeklySchByKqzid
(
Integer
kqzid
);
List
<
AttendanceWeeklySch
>
selectAttendanceMadeByUserid
(
Integer
userid
,
Integer
qyid
);
List
<
AttendanceWeeklySch
>
selectAttendanceMadeByUserid
(
Integer
userid
,
Integer
qyid
);
List
<
AttendanceWeeklySch
>
selectAttendanceMadeByZhou
(
Integer
userid
,
Integer
qyid
);
AttendanceWeeklySch
selectZhouDetail
(
Integer
kqzid
,
Integer
type
);
AttendanceWeeklySch
selectZhouDetail
(
Integer
kqzid
,
Integer
type
);
...
...
src/main/resources/mapping/kqgl/AttendanceWeeklySchMapper.xml
View file @
d9bb6d13
...
@@ -146,6 +146,23 @@
...
@@ -146,6 +146,23 @@
and zpb.bcid != 0
and zpb.bcid != 0
</select>
</select>
<select
id=
"selectAttendanceMadeByZhou"
resultMap=
"BaseResultMap"
>
select zpb.*,
case zpb.type
WHEN 1 then '星期一'
WHEN 2 then '星期二'
WHEN 3 then '星期三'
WHEN 4 then '星期四'
WHEN 5 then '星期五'
WHEN 6 then '星期六'
WHEN 7 then '星期日'
else '自由工时'
end as wekmc
from kqgl_asso_zhoupaiban zpb
where zpb.kqzid = (select yhkqz.kqzid from kqgl_asso_yhkqz yhkqz
where yhkqz.userid = #{userid} and yhkqz.qyid = #{qyid})
</select>
<select
id=
"selectZhouDetail"
resultMap=
"BaseResultMap"
>
<select
id=
"selectZhouDetail"
resultMap=
"BaseResultMap"
>
select * from kqgl_asso_zhoupaiban zpb
select * from kqgl_asso_zhoupaiban zpb
where zpb.kqzid = #{kqzid,jdbcType=INTEGER}
where zpb.kqzid = #{kqzid,jdbcType=INTEGER}
...
...
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