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
dcec2e6b
Commit
dcec2e6b
authored
4 years ago
by
lal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复BUG
parent
97decf2f
Hide 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 @
dcec2e6b
...
...
@@ -1263,7 +1263,7 @@ public class AttController {
@GetMapping
(
value
=
"/AttReminderStaff/{id}"
)
@ApiOperation
(
value
=
"提醒人员"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@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
>();
AttendanceGroup
attgro
=
attendancegroupservice
.
selectByPrimaryKey
(
id
);
...
...
@@ -1276,7 +1276,7 @@ public class AttController {
launchsstr
=
txry
.
substring
(
0
,
txry
.
length
()
-
1
);
for
(
int
i
=
0
;
i
<
launchsArray
.
length
;
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
();
///
txyy
.
setId
(
txyg
.
getId
());
...
...
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/dao/kqgl/AttendanceGroupMapper.java
View file @
dcec2e6b
...
...
@@ -39,7 +39,7 @@ public interface AttendanceGroupMapper {
List
<
YgglMainEmp
>
selectAttendanceOfficer
(
String
orgCode
,
String
text
);
YgglMainEmp
selectByPrimaryByempNum
(
Integer
empNum
);
YgglMainEmp
selectByPrimaryByempNum
(
Integer
empNum
,
Integer
orgCode
);
List
<
YgglMainEmp
>
EmployeeListByorgCode
(
String
orgCode
);
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/mapping/kqgl/AttendanceGroupMapper.xml
View file @
dcec2e6b
...
...
@@ -448,8 +448,8 @@
</select>
<select
id=
"selectByPrimaryByempNum"
resultMap=
"YgglEmpInfoMap"
parameterType=
"java.lang.Integer"
>
select * from yggl_main_emp
where emp
_num = #{empNum,jdbcType=VARCHA
R}
select * from yggl_main_emp
emp
where emp
.emp_num = #{empNum,jdbcType=VARCHAR} and emp.org_code = #{orgCode,jdbcType=INTEGE
R}
</select>
...
...
This diff is collapsed.
Click to expand it.
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