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
57685019
Commit
57685019
authored
Jan 21, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://git.gicdev.com/haoban3.0/haoban-manage3.0
into developer
parents
f08cb979
83759fbf
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
5 deletions
+32
-5
NoticeMessageApiService.java
...an/manage/api/service/notify/NoticeMessageApiService.java
+6
-0
PendingTaskService.java
...ban/manage/service/service/notify/PendingTaskService.java
+7
-0
PendingTaskServiceImpl.java
...e/service/service/notify/impl/PendingTaskServiceImpl.java
+13
-0
NoticeMessageApiServiceImpl.java
...rvice/service/notify/out/NoticeMessageApiServiceImpl.java
+4
-0
PendingTaskApiServiceImpl.java
...service/service/notify/out/PendingTaskApiServiceImpl.java
+1
-4
ClerkController.java
...com/gic/haoban/manage/web/controller/ClerkController.java
+1
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/notify/NoticeMessageApiService.java
View file @
57685019
...
@@ -19,6 +19,12 @@ public interface NoticeMessageApiService {
...
@@ -19,6 +19,12 @@ public interface NoticeMessageApiService {
public
void
noticeMessageMq
(
String
json
);
public
void
noticeMessageMq
(
String
json
);
/**
/**
* 冗余
* @param json
*/
public
void
run
(
String
json
);
/**
* 消息分页
* 消息分页
*1
*1
* @param enterpriseId
* @param enterpriseId
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/notify/PendingTaskService.java
View file @
57685019
...
@@ -81,5 +81,12 @@ public interface PendingTaskService {
...
@@ -81,5 +81,12 @@ public interface PendingTaskService {
*/
*/
public
boolean
updateInvalidTimeByBusinessId
(
String
businessId
,
Date
time
);
public
boolean
updateInvalidTimeByBusinessId
(
String
businessId
,
Date
time
);
/**
* 完成
* @param relationId
* @return
*/
public
boolean
updateFinish
(
String
relationId
);
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/notify/impl/PendingTaskServiceImpl.java
View file @
57685019
...
@@ -111,4 +111,17 @@ public class PendingTaskServiceImpl implements PendingTaskService {
...
@@ -111,4 +111,17 @@ public class PendingTaskServiceImpl implements PendingTaskService {
pendingTaskMapper
.
updateInvalidTimeByBusinessId
(
businessId
,
time
);
pendingTaskMapper
.
updateInvalidTimeByBusinessId
(
businessId
,
time
);
return
true
;
return
true
;
}
}
@Override
public
boolean
updateFinish
(
String
relationId
)
{
TabPendingTask
pendingTask
=
pendingTaskMapper
.
getByRelationId
(
relationId
);
if
(
null
==
pendingTask
)
{
return
true
;
}
pendingTask
.
setFinishFlag
(
1
);
pendingTask
.
setFinishTime
(
new
Date
());
pendingTask
.
setUpdateTime
(
new
Date
());
pendingTaskMapper
.
updateByPrimaryKeySelective
(
pendingTask
);
return
true
;
}
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/notify/out/NoticeMessageApiServiceImpl.java
View file @
57685019
...
@@ -139,6 +139,10 @@ public class NoticeMessageApiServiceImpl implements NoticeMessageApiService {
...
@@ -139,6 +139,10 @@ public class NoticeMessageApiServiceImpl implements NoticeMessageApiService {
sendMessage
(
contentList
,
wxEnterpriseId
,
wxUserId
,
messageTypeEnum
,
noticeMessageBO
.
getMessageContent
());
sendMessage
(
contentList
,
wxEnterpriseId
,
wxUserId
,
messageTypeEnum
,
noticeMessageBO
.
getMessageContent
());
}
}
@Override
public
void
run
(
String
json
)
{
this
.
noticeMessageMq
(
json
);
}
@Override
@Override
public
ServiceResponse
<
Page
<
NoticeMessageInfoDTO
>>
pageNoticeMessage
(
String
enterpriseId
,
String
storeId
,
String
clerkId
,
int
categoryType
,
BasePageInfo
pageInfo
)
{
public
ServiceResponse
<
Page
<
NoticeMessageInfoDTO
>>
pageNoticeMessage
(
String
enterpriseId
,
String
storeId
,
String
clerkId
,
int
categoryType
,
BasePageInfo
pageInfo
)
{
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/notify/out/PendingTaskApiServiceImpl.java
View file @
57685019
...
@@ -128,10 +128,7 @@ public class PendingTaskApiServiceImpl implements PendingTaskApiService {
...
@@ -128,10 +128,7 @@ public class PendingTaskApiServiceImpl implements PendingTaskApiService {
@Override
@Override
public
ServiceResponse
<
Boolean
>
finishPending
(
String
relationId
)
{
public
ServiceResponse
<
Boolean
>
finishPending
(
String
relationId
)
{
PendingTaskBO
pendingTaskBO
=
new
PendingTaskBO
();
boolean
b
=
pendingTaskService
.
updateFinish
(
relationId
);
pendingTaskBO
.
setRelationId
(
relationId
);
pendingTaskBO
.
setFinishFlag
(
1
);
boolean
b
=
pendingTaskService
.
addOrUpdatePendingTask
(
pendingTaskBO
);
return
ServiceResponse
.
success
(
b
);
return
ServiceResponse
.
success
(
b
);
}
}
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/ClerkController.java
View file @
57685019
...
@@ -664,7 +664,7 @@ public class ClerkController extends WebBaseController {
...
@@ -664,7 +664,7 @@ public class ClerkController extends WebBaseController {
//精确查,根据手机号或者code,查找
//精确查,根据手机号或者code,查找
@RequestMapping
(
"query-clerk-list-by-code"
)
@RequestMapping
(
"query-clerk-list-by-code"
)
public
HaobanResponse
queryClerkListByCode
(
String
keyword
,
String
wxEnterpriseId
,
String
staffId
)
{
public
HaobanResponse
queryClerkListByCode
(
String
keyword
,
String
wxEnterpriseId
,
String
staffId
)
{
if
(
StringUtils
.
isAnyBlank
(
staffId
,
wxEnterpriseId
))
{
if
(
StringUtils
.
isAnyBlank
(
staffId
,
wxEnterpriseId
,
keyword
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
}
List
<
EnterpriseDetailDTO
>
list
=
wxEnterpriseRelatedApiService
.
listEnterpriseByWxEnterpriseId
(
wxEnterpriseId
);
List
<
EnterpriseDetailDTO
>
list
=
wxEnterpriseRelatedApiService
.
listEnterpriseByWxEnterpriseId
(
wxEnterpriseId
);
...
...
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