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
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
3 deletions
+29
-3
src/main/java/cn/timer/api/controller/crm/CrmController.java
+13
-1
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
+11
-0
No files found.
src/main/java/cn/timer/api/controller/crm/CrmController.java
View file @
7ab22bdc
...
@@ -262,12 +262,18 @@ public class CrmController {
...
@@ -262,12 +262,18 @@ public class CrmController {
List
<
Map
<
String
,
Object
>>
members
=
new
ArrayList
<
Map
<
String
,
Object
>>();
List
<
Map
<
String
,
Object
>>
members
=
new
ArrayList
<
Map
<
String
,
Object
>>();
for
(
CrmBusinessGroupMember
crmBusinessGroupManager
:
crmBusinessGroupMembers
)
{
for
(
CrmBusinessGroupMember
crmBusinessGroupManager
:
crmBusinessGroupMembers
)
{
Integer
empNum
=
crmBusinessGroupManager
.
getEmpNum
();
Integer
empNum
=
crmBusinessGroupManager
.
getEmpNum
();
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
);
String
name
=
getEmpName
(
orgCode
,
empNum
);
Map
<
String
,
Object
>
map
=
new
HashMap
<
String
,
Object
>();
Map
<
String
,
Object
>
map
=
new
HashMap
<
String
,
Object
>();
map
.
put
(
"name"
,
name
);
map
.
put
(
"name"
,
name
);
map
.
put
(
"empNum"
,
empNum
);
map
.
put
(
"empNum"
,
empNum
);
members
.
add
(
map
);
members
.
add
(
map
);
}
}
}
crmBusinessGroup
.
setMembers
(
members
);
crmBusinessGroup
.
setMembers
(
members
);
CrmSeaRule
crmSeaRules
=
CrmSeaRule
.
builder
().
build
()
CrmSeaRule
crmSeaRules
=
CrmSeaRule
.
builder
().
build
()
...
@@ -1154,9 +1160,15 @@ public class CrmController {
...
@@ -1154,9 +1160,15 @@ public class CrmController {
String
name
=
"未知"
;
String
name
=
"未知"
;
if
(
belonger
==
0
)
if
(
belonger
==
0
)
name
=
"公海客户"
;
name
=
"公海客户"
;
else
if
(
belonger
>
0
)
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
);
name
=
getEmpName
(
orgCode
,
belonger
);
}
}
map
.
put
(
"name"
,
name
);
map
.
put
(
"name"
,
name
);
map
.
put
(
"num"
,
num
);
map
.
put
(
"num"
,
num
);
return
map
;
return
map
;
...
...
src/main/java/cn/timer/api/controller/kqgl/atttimer/AttendanceTaskTiming.java
View file @
7ab22bdc
...
@@ -795,9 +795,12 @@ public class AttendanceTaskTiming{
...
@@ -795,9 +795,12 @@ public class AttendanceTaskTiming{
if
(
summaryid
>
0
)
{
if
(
summaryid
>
0
)
{
summary
.
setId
(
summaryid
);
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{
...
@@ -115,7 +115,7 @@ public class RealTimeUpdate{
List
<
AdditionalDto
>
userlist
=
null
;
List
<
AdditionalDto
>
userlist
=
null
;
if
(
typeid
==
1
)
{
//考勤组
if
(
typeid
==
1
)
{
//考勤组
userlist
=
kqglassoleavebalancemapper
.
RealTimeUpdate
(
org_code
,
numcode
);
userlist
=
kqglassoleavebalancemapper
.
RealTimeUpdate
(
org_code
,
numcode
);
}
else
if
(
typeid
==
2
)
{
//添加员工
}
else
if
(
typeid
==
2
)
{
//添加员工
离职员工
userlist
=
kqglassoleavebalancemapper
.
selectAdditionalByempnum
(
org_code
,
numcode
);
userlist
=
kqglassoleavebalancemapper
.
selectAdditionalByempnum
(
org_code
,
numcode
);
}
else
if
(
typeid
==
3
)
{
}
else
if
(
typeid
==
3
)
{
userlist
=
userlist_
;
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;
...
@@ -65,6 +65,7 @@ import cn.timer.api.bean.clazz.SysRegion;
import
cn.timer.api.bean.kqmk.KqglAssoLeaveBalance
;
import
cn.timer.api.bean.kqmk.KqglAssoLeaveBalance
;
import
cn.timer.api.bean.kqmk.KqglAssoLeaveEmployeeBalance
;
import
cn.timer.api.bean.kqmk.KqglAssoLeaveEmployeeBalance
;
import
cn.timer.api.bean.kqmk.KqglAssoLeaveRules
;
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.QyzxEmpEntAsso
;
import
cn.timer.api.bean.qyzx.QyzxEmpLogin
;
import
cn.timer.api.bean.qyzx.QyzxEmpLogin
;
import
cn.timer.api.bean.yggl.YgglAttaClfjb
;
import
cn.timer.api.bean.yggl.YgglAttaClfjb
;
...
@@ -1371,6 +1372,16 @@ public class YgglController {
...
@@ -1371,6 +1372,16 @@ public class YgglController {
QyzxEmpLogin
.
builder
().
id
(
empNum
).
orgId
(
CollUtil
.
getFirst
(
listEEA
).
getOrgCode
()).
build
().
updateById
();
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
(
"确认离职员工成功"
);
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