Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
d5782b8a
Commit
d5782b8a
authored
Mar 13, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8d8e079f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletions
+16
-1
StaffDTO.java
...src/main/java/com/gic/haoban/manage/api/dto/StaffDTO.java
+10
-0
MessageApiServiceImpl.java
...anage/service/service/out/impl/MessageApiServiceImpl.java
+3
-1
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+3
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/StaffDTO.java
View file @
d5782b8a
...
@@ -54,6 +54,8 @@ public class StaffDTO implements Serializable{
...
@@ -54,6 +54,8 @@ public class StaffDTO implements Serializable{
private
Integer
superManagerFlag
;
private
Integer
superManagerFlag
;
private
Boolean
weixinPush
;
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
public
int
getClerkType
()
{
public
int
getClerkType
()
{
...
@@ -251,5 +253,13 @@ public class StaffDTO implements Serializable{
...
@@ -251,5 +253,13 @@ public class StaffDTO implements Serializable{
this
.
superManagerFlag
=
superManagerFlag
;
this
.
superManagerFlag
=
superManagerFlag
;
}
}
public
Boolean
getWeixinPush
()
{
return
weixinPush
;
}
public
void
setWeixinPush
(
Boolean
weixinPush
)
{
this
.
weixinPush
=
weixinPush
;
}
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MessageApiServiceImpl.java
View file @
d5782b8a
...
@@ -262,7 +262,9 @@ public class MessageApiServiceImpl implements MessageApiService {
...
@@ -262,7 +262,9 @@ public class MessageApiServiceImpl implements MessageApiService {
}
}
departmentIds
=
departmentIds
.
substring
(
0
,
departmentIds
.
length
()
-
1
);
departmentIds
=
departmentIds
.
substring
(
0
,
departmentIds
.
length
()
-
1
);
}
}
staffApiService
.
staffEdit
(
EntityUtil
.
changeEntityByJSON
(
StaffDTO
.
class
,
staff
),
departmentIds
);
StaffDTO
staffDTO
=
EntityUtil
.
changeEntityByJSON
(
StaffDTO
.
class
,
staff
);
staffDTO
.
setWeixinPush
(
true
);
staffApiService
.
staffEdit
(
staffDTO
,
departmentIds
);
}
else
{
}
else
{
this
.
addUser
(
qywxCallBackDTO
,
staff
);
this
.
addUser
(
qywxCallBackDTO
,
staff
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
d5782b8a
...
@@ -424,6 +424,8 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -424,6 +424,8 @@ public class StaffApiServiceImpl implements StaffApiService {
}
}
}
}
Boolean
weixinPush
=
staffDTO
.
getWeixinPush
();
if
(!
weixinPush
){
WxEnterpriseDTO
enterpriseDTO
=
wxEnterpriseService
.
selectById
(
oldStaff
.
getWxEnterpriseId
());
WxEnterpriseDTO
enterpriseDTO
=
wxEnterpriseService
.
selectById
(
oldStaff
.
getWxEnterpriseId
());
TabHaobanWxApplication
application
=
wxApplicationService
.
selectByWxEnterpriseIdAndApplicationType
(
oldStaff
.
getWxEnterpriseId
(),
1
);
TabHaobanWxApplication
application
=
wxApplicationService
.
selectByWxEnterpriseIdAndApplicationType
(
oldStaff
.
getWxEnterpriseId
(),
1
);
if
(
enterpriseDTO
!=
null
)
{
if
(
enterpriseDTO
!=
null
)
{
...
@@ -451,6 +453,7 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -451,6 +453,7 @@ public class StaffApiServiceImpl implements StaffApiService {
}
}
}
}
}
}
}
@Override
@Override
public
void
syscGicClerk
(
String
fieldListString
)
{
public
void
syscGicClerk
(
String
fieldListString
)
{
...
...
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