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
92f36d48
Commit
92f36d48
authored
Jun 10, 2020
by
fudahua
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
3ef19a4a
f089bf31
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
7 deletions
+20
-7
StaffClerkRelationApiService.java
...oban/manage/api/service/StaffClerkRelationApiService.java
+6
-0
AuditApiServiceImpl.java
.../manage/service/service/out/impl/AuditApiServiceImpl.java
+3
-1
StaffClerkRelationApiServiceImpl.java
...ce/service/out/impl/StaffClerkRelationApiServiceImpl.java
+4
-0
StaffDepartmentRelatedApiServiceImpl.java
...ervice/out/impl/StaffDepartmentRelatedApiServiceImpl.java
+1
-0
TabHaobanAuditMapper.xml
...ervice/src/main/resources/mapper/TabHaobanAuditMapper.xml
+6
-6
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/StaffClerkRelationApiService.java
View file @
92f36d48
...
@@ -75,5 +75,11 @@ public interface StaffClerkRelationApiService {
...
@@ -75,5 +75,11 @@ public interface StaffClerkRelationApiService {
* @return
* @return
*/
*/
StaffClerkRelationDTO
getByClerkId
(
String
clerkId
);
StaffClerkRelationDTO
getByClerkId
(
String
clerkId
);
/**
* 删除关联关系
* @param clerkId
*/
void
delByClerkId
(
String
clerkId
);
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/AuditApiServiceImpl.java
View file @
92f36d48
...
@@ -243,6 +243,8 @@ public class AuditApiServiceImpl implements AuditApiService{
...
@@ -243,6 +243,8 @@ public class AuditApiServiceImpl implements AuditApiService{
if
(
org
.
apache
.
commons
.
lang
.
StringUtils
.
isNotBlank
(
batchId
)){
if
(
org
.
apache
.
commons
.
lang
.
StringUtils
.
isNotBlank
(
batchId
)){
insertBatchLog
(
batchId
,
AuditRsultType
.
success
.
getCode
(),
tab
);
insertBatchLog
(
batchId
,
AuditRsultType
.
success
.
getCode
(),
tab
);
}
}
staffClerkRelationApiService
.
delByClerkId
(
obj
.
getClerkId
());
staffDepartmentRelatedApiService
.
sendClerkDel
(
obj
.
getClerkName
(),
obj
.
getClerkCode
(),
tab
.
getCommitStoreId
(),
1
,
""
);
staffDepartmentRelatedApiService
.
sendClerkDel
(
obj
.
getClerkName
(),
obj
.
getClerkCode
(),
tab
.
getCommitStoreId
(),
1
,
""
);
}
else
if
(
auditType
==
AuditType
.
CLERK_UNBIND
.
getCode
()){
}
else
if
(
auditType
==
AuditType
.
CLERK_UNBIND
.
getCode
()){
//解绑申请,无需审核,直接通过
//解绑申请,无需审核,直接通过
...
@@ -281,7 +283,7 @@ public class AuditApiServiceImpl implements AuditApiService{
...
@@ -281,7 +283,7 @@ public class AuditApiServiceImpl implements AuditApiService{
staffDepartmentRelatedApiService
.
sendClerkAdd
(
enterpriseId
,
obj
.
getClerkCode
(),
2
,
auditReason
);
staffDepartmentRelatedApiService
.
sendClerkAdd
(
enterpriseId
,
obj
.
getClerkCode
(),
2
,
auditReason
);
}
else
if
(
auditType
==
AuditType
.
CLERK_DEL
.
getCode
())
{
}
else
if
(
auditType
==
AuditType
.
CLERK_DEL
.
getCode
())
{
AuditStaffDTO
obj
=
JSONObject
.
parseObject
(
oldValue
,
AuditStaffDTO
.
class
);
AuditStaffDTO
obj
=
JSONObject
.
parseObject
(
oldValue
,
AuditStaffDTO
.
class
);
staffDepartmentRelatedApiService
.
sendClerkDel
(
obj
.
getClerkName
(),
obj
.
getClerkCode
(),
tab
.
getCommitStoreId
(),
2
,
auditReason
);
staffDepartmentRelatedApiService
.
sendClerkDel
(
obj
.
getClerkName
(),
obj
.
getClerkCode
(),
tab
2
.
getCommitStoreId
(),
2
,
auditReason
);
}
}
}
}
@Override
@Override
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffClerkRelationApiServiceImpl.java
View file @
92f36d48
...
@@ -211,4 +211,8 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
...
@@ -211,4 +211,8 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
staffClerkRelatinService
.
insert
(
staffClerkRelation
);
staffClerkRelatinService
.
insert
(
staffClerkRelation
);
}
}
}
}
@Override
public
void
delByClerkId
(
String
clerkId
)
{
}
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffDepartmentRelatedApiServiceImpl.java
View file @
92f36d48
...
@@ -297,6 +297,7 @@ public class StaffDepartmentRelatedApiServiceImpl implements StaffDepartmentRela
...
@@ -297,6 +297,7 @@ public class StaffDepartmentRelatedApiServiceImpl implements StaffDepartmentRela
ClerkDTO
gicClerk
=
clerkService
.
getClerkLeaderByStoreId
(
storeId
);
ClerkDTO
gicClerk
=
clerkService
.
getClerkLeaderByStoreId
(
storeId
);
if
(
gicClerk
==
null
){
if
(
gicClerk
==
null
){
logger
.
info
(
"店长不存在,发送消息失败{}"
,
storeId
);
logger
.
info
(
"店长不存在,发送消息失败{}"
,
storeId
);
return
;
}
}
TabHaobanStaffClerkRelation
tab
=
tabHaobanStaffClerkRelationMapper
.
getOneByClerkId
(
gicClerk
.
getClerkId
());
TabHaobanStaffClerkRelation
tab
=
tabHaobanStaffClerkRelationMapper
.
getOneByClerkId
(
gicClerk
.
getClerkId
());
if
(
tab
==
null
){
if
(
tab
==
null
){
...
...
haoban-manage3-service/src/main/resources/mapper/TabHaobanAuditMapper.xml
View file @
92f36d48
...
@@ -389,8 +389,8 @@
...
@@ -389,8 +389,8 @@
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from tab_haoban_audit
from tab_haoban_audit
where
1=1
where
and
commit_store_id = #{storeId,jdbcType=VARCHAR}
commit_store_id = #{storeId,jdbcType=VARCHAR}
and status_flag = 1
and status_flag = 1
<if
test=
"auditType == null || auditType == -1"
>
<if
test=
"auditType == null || auditType == -1"
>
and audit_type in (2,3,4,5)
and audit_type in (2,3,4,5)
...
@@ -409,8 +409,8 @@
...
@@ -409,8 +409,8 @@
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from tab_haoban_audit
from tab_haoban_audit
where
1=1
where
and
status_flag = 1
status_flag = 1
and related_Id = #{relatedId}
and related_Id = #{relatedId}
and audit_type = #{auditType}
and audit_type = #{auditType}
and audit_status = 0
and audit_status = 0
...
@@ -420,8 +420,8 @@
...
@@ -420,8 +420,8 @@
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from tab_haoban_audit
from tab_haoban_audit
where
1=1
where
and
status_flag = 1
status_flag = 1
and audit_type = 3
and audit_type = 3
and audit_status = 0
and audit_status = 0
and enterprise_id = #{enterpriseId,jdbcType=VARCHAR}
and enterprise_id = #{enterpriseId,jdbcType=VARCHAR}
...
...
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