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
7ab22bdc
Commit
7ab22bdc
authored
Jul 28, 2020
by
ilal
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
75a7ebfd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
11 deletions
+37
-11
src/main/java/cn/timer/api/controller/crm/CrmController.java
+20
-8
src/main/java/cn/timer/api/controller/kqgl/atttimer/AttendanceTaskTiming.java
+4
-1
src/main/java/cn/timer/api/controller/kqgl/atttimer/RealTimeUpdate.java
+1
-1
src/main/java/cn/timer/api/controller/yggl/YgglController.java
+12
-1
No files found.
src/main/java/cn/timer/api/controller/crm/CrmController.java
View file @
7ab22bdc
...
...
@@ -262,11 +262,17 @@ public class CrmController {
List
<
Map
<
String
,
Object
>>
members
=
new
ArrayList
<
Map
<
String
,
Object
>>();
for
(
CrmBusinessGroupMember
crmBusinessGroupManager
:
crmBusinessGroupMembers
)
{
Integer
empNum
=
crmBusinessGroupManager
.
getEmpNum
();
String
name
=
getEmpName
(
orgCode
,
empNum
);
Map
<
String
,
Object
>
map
=
new
HashMap
<
String
,
Object
>();
map
.
put
(
"name"
,
name
);
map
.
put
(
"empNum"
,
empNum
);
members
.
add
(
map
);
YgglMainEmp
emps
=
YgglMainEmp
.
builder
().
build
()
.
selectOne
(
new
QueryWrapper
<
YgglMainEmp
>().
lambda
().
eq
(
YgglMainEmp:
:
getEmpNum
,
empNum
)
.
eq
(
YgglMainEmp:
:
getOrgCode
,
orgCode
).
select
(
YgglMainEmp:
:
getName
,
YgglMainEmp:
:
getHeadUrl
));
if
(
emps
!=
null
)
{
String
name
=
getEmpName
(
orgCode
,
empNum
);
Map
<
String
,
Object
>
map
=
new
HashMap
<
String
,
Object
>();
map
.
put
(
"name"
,
name
);
map
.
put
(
"empNum"
,
empNum
);
members
.
add
(
map
);
}
}
crmBusinessGroup
.
setMembers
(
members
);
...
...
@@ -1154,9 +1160,15 @@ public class CrmController {
String
name
=
"未知"
;
if
(
belonger
==
0
)
name
=
"公海客户"
;
else
if
(
belonger
>
0
)
name
=
getEmpName
(
orgCode
,
belonger
);
else
if
(
belonger
>
0
)
{
YgglMainEmp
emps
=
YgglMainEmp
.
builder
().
build
()
.
selectOne
(
new
QueryWrapper
<
YgglMainEmp
>().
lambda
().
eq
(
YgglMainEmp:
:
getEmpNum
,
belonger
)
.
eq
(
YgglMainEmp:
:
getOrgCode
,
orgCode
).
select
(
YgglMainEmp:
:
getName
,
YgglMainEmp:
:
getHeadUrl
));
if
(
emps
!=
null
)
{
name
=
getEmpName
(
orgCode
,
belonger
);
}
}
map
.
put
(
"name"
,
name
);
map
.
put
(
"num"
,
num
);
return
map
;
...
...
src/main/java/cn/timer/api/controller/kqgl/atttimer/AttendanceTaskTiming.java
View file @
7ab22bdc
...
...
@@ -795,9 +795,12 @@ public class AttendanceTaskTiming{
if
(
summaryid
>
0
)
{
summary
.
setId
(
summaryid
);
summary
.
updateById
();
}
else
{
summary
.
insert
();
}
summary
.
insertOrUpdate
();
//
summary.insertOrUpdate();
}
}
...
...
src/main/java/cn/timer/api/controller/kqgl/atttimer/RealTimeUpdate.java
View file @
7ab22bdc
...
...
@@ -115,7 +115,7 @@ public class RealTimeUpdate{
List
<
AdditionalDto
>
userlist
=
null
;
if
(
typeid
==
1
)
{
//考勤组
userlist
=
kqglassoleavebalancemapper
.
RealTimeUpdate
(
org_code
,
numcode
);
}
else
if
(
typeid
==
2
)
{
//添加员工
}
else
if
(
typeid
==
2
)
{
//添加员工
离职员工
userlist
=
kqglassoleavebalancemapper
.
selectAdditionalByempnum
(
org_code
,
numcode
);
}
else
if
(
typeid
==
3
)
{
userlist
=
userlist_
;
...
...
src/main/java/cn/timer/api/controller/yggl/YgglController.java
View file @
7ab22bdc
...
...
@@ -65,6 +65,7 @@ import cn.timer.api.bean.clazz.SysRegion;
import
cn.timer.api.bean.kqmk.KqglAssoLeaveBalance
;
import
cn.timer.api.bean.kqmk.KqglAssoLeaveEmployeeBalance
;
import
cn.timer.api.bean.kqmk.KqglAssoLeaveRules
;
import
cn.timer.api.bean.kqmk.KqglAssoYhkqz
;
import
cn.timer.api.bean.qyzx.QyzxEmpEntAsso
;
import
cn.timer.api.bean.qyzx.QyzxEmpLogin
;
import
cn.timer.api.bean.yggl.YgglAttaClfjb
;
...
...
@@ -1370,7 +1371,17 @@ public class YgglController {
if
(
listEEA
!=
null
&&
listEEA
.
size
()
>
0
)
{
QyzxEmpLogin
.
builder
().
id
(
empNum
).
orgId
(
CollUtil
.
getFirst
(
listEEA
).
getOrgCode
()).
build
().
updateById
();
}
KqglAssoYhkqz
.
builder
().
build
().
delete
(
new
QueryWrapper
<
KqglAssoYhkqz
>().
lambda
().
eq
(
KqglAssoYhkqz:
:
getUserid
,
empNum
).
eq
(
KqglAssoYhkqz:
:
getQyid
,
userBean
.
getOrgCode
()));
try
{
realtimeupdate
.
AttendanceTask
(
userBean
.
getOrgCode
(),
empNum
,
2
,
null
);
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
}
return
ResultUtil
.
success
(
"确认离职员工成功"
);
}
...
...
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