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
23078dbe
Commit
23078dbe
authored
Jun 08, 2020
by
leialin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lal' into 'develop'
Lal See merge request 8timerv2/8timerapiv200!153
parents
f9f43c02
dcec2e6b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
src/main/java/cn/timer/api/controller/kqgl/AttController.java
+2
-2
src/main/java/cn/timer/api/dao/kqgl/AttendanceGroupMapper.java
+1
-1
src/main/resources/mapping/kqgl/AttendanceGroupMapper.xml
+2
-2
No files found.
src/main/java/cn/timer/api/controller/kqgl/AttController.java
View file @
23078dbe
...
@@ -1263,7 +1263,7 @@ public class AttController {
...
@@ -1263,7 +1263,7 @@ public class AttController {
@GetMapping
(
value
=
"/AttReminderStaff/{id}"
)
@GetMapping
(
value
=
"/AttReminderStaff/{id}"
)
@ApiOperation
(
value
=
"提醒人员"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"提醒人员"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
34
)
@ApiOperationSupport
(
order
=
34
)
public
Result
<
List
<
YgglMainEmp
>>
getAttReminderStaff
(
@PathVariable
(
"id"
)
Integer
id
)
{
public
Result
<
List
<
YgglMainEmp
>>
getAttReminderStaff
(
@PathVariable
(
"id"
)
Integer
id
,
@CurrentUser
UserBean
userBean
)
{
List
<
YgglMainEmp
>
yggl
=
new
ArrayList
<
YgglMainEmp
>();
List
<
YgglMainEmp
>
yggl
=
new
ArrayList
<
YgglMainEmp
>();
AttendanceGroup
attgro
=
attendancegroupservice
.
selectByPrimaryKey
(
id
);
AttendanceGroup
attgro
=
attendancegroupservice
.
selectByPrimaryKey
(
id
);
...
@@ -1276,7 +1276,7 @@ public class AttController {
...
@@ -1276,7 +1276,7 @@ public class AttController {
launchsstr
=
txry
.
substring
(
0
,
txry
.
length
()
-
1
);
launchsstr
=
txry
.
substring
(
0
,
txry
.
length
()
-
1
);
for
(
int
i
=
0
;
i
<
launchsArray
.
length
;
i
++){
for
(
int
i
=
0
;
i
<
launchsArray
.
length
;
i
++){
// System.out.println(launchsArray[i]);
// System.out.println(launchsArray[i]);
YgglMainEmp
txyg
=
attendancegroupservice
.
selectByPrimaryByempNum
(
Integer
.
valueOf
(
launchsArray
[
i
]));
YgglMainEmp
txyg
=
attendancegroupservice
.
selectByPrimaryByempNum
(
Integer
.
valueOf
(
launchsArray
[
i
])
,
userBean
.
getOrgCode
()
);
YgglMainEmp
txyy
=
YgglMainEmp
.
builder
().
build
();
///
YgglMainEmp
txyy
=
YgglMainEmp
.
builder
().
build
();
///
txyy
.
setId
(
txyg
.
getId
());
txyy
.
setId
(
txyg
.
getId
());
...
...
src/main/java/cn/timer/api/dao/kqgl/AttendanceGroupMapper.java
View file @
23078dbe
...
@@ -39,7 +39,7 @@ public interface AttendanceGroupMapper {
...
@@ -39,7 +39,7 @@ public interface AttendanceGroupMapper {
List
<
YgglMainEmp
>
selectAttendanceOfficer
(
String
orgCode
,
String
text
);
List
<
YgglMainEmp
>
selectAttendanceOfficer
(
String
orgCode
,
String
text
);
YgglMainEmp
selectByPrimaryByempNum
(
Integer
empNum
);
YgglMainEmp
selectByPrimaryByempNum
(
Integer
empNum
,
Integer
orgCode
);
List
<
YgglMainEmp
>
EmployeeListByorgCode
(
String
orgCode
);
List
<
YgglMainEmp
>
EmployeeListByorgCode
(
String
orgCode
);
...
...
src/main/resources/mapping/kqgl/AttendanceGroupMapper.xml
View file @
23078dbe
...
@@ -448,8 +448,8 @@
...
@@ -448,8 +448,8 @@
</select>
</select>
<select
id=
"selectByPrimaryByempNum"
resultMap=
"YgglEmpInfoMap"
parameterType=
"java.lang.Integer"
>
<select
id=
"selectByPrimaryByempNum"
resultMap=
"YgglEmpInfoMap"
parameterType=
"java.lang.Integer"
>
select * from yggl_main_emp
select * from yggl_main_emp
emp
where emp
_num = #{empNum,jdbcType=VARCHA
R}
where emp
.emp_num = #{empNum,jdbcType=VARCHAR} and emp.org_code = #{orgCode,jdbcType=INTEGE
R}
</select>
</select>
...
...
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