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
4ec54993
Commit
4ec54993
authored
Apr 20, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自建
parent
a0249abd
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
5 deletions
+11
-5
ExternalClerkRelatedApiService.java
...an/manage/api/service/ExternalClerkRelatedApiService.java
+0
-2
ClerkMainStoreRelatedService.java
.../manage/service/service/ClerkMainStoreRelatedService.java
+2
-0
PotentialCustomerNotifyBuilder.java
...rvice/content/adaptor/PotentialCustomerNotifyBuilder.java
+2
-1
MaterialReportServiceImpl.java
...rvice/service/content/impl/MaterialReportServiceImpl.java
+2
-1
ClerkMainStoreRelatedServiceImpl.java
...ervice/service/impl/ClerkMainStoreRelatedServiceImpl.java
+5
-0
ExternalClerkRelatedApiServiceImpl.java
.../service/out/impl/ExternalClerkRelatedApiServiceImpl.java
+0
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/ExternalClerkRelatedApiService.java
View file @
4ec54993
...
@@ -209,8 +209,6 @@ public interface ExternalClerkRelatedApiService {
...
@@ -209,8 +209,6 @@ public interface ExternalClerkRelatedApiService {
//无效接口
//无效接口
// com.gic.api.base.commons.ServiceResponse<String> getExternalUseridForWxa(String enterpriseId, String staffId, String memberId) ;
// com.gic.api.base.commons.ServiceResponse<String> getExternalUseridForWxa(String enterpriseId, String staffId, String memberId) ;
List
<
String
>
listMemberAndClerk
(
List
<
String
>
memberIdList
,
List
<
String
>
clerkIdList
,
String
enterpriseId
)
;
/**
/**
* 批量查询会员与导购好友关系
* 批量查询会员与导购好友关系
*
*
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/ClerkMainStoreRelatedService.java
View file @
4ec54993
...
@@ -13,6 +13,8 @@ public interface ClerkMainStoreRelatedService {
...
@@ -13,6 +13,8 @@ public interface ClerkMainStoreRelatedService {
void
reflushExternal
(
String
wxEnterpriseId
,
String
staffId
)
;
void
reflushExternal
(
String
wxEnterpriseId
,
String
staffId
)
;
TabHaobanClerkMainStoreRelated
selectStaffMainStore
(
String
staffId
,
String
wxEnterpriseId
);
TabHaobanClerkMainStoreRelated
selectStaffMainStore
(
String
staffId
,
String
wxEnterpriseId
);
TabHaobanClerkMainStoreRelated
selectByWxEnterpriseIdAndStoreId
(
String
staffId
,
String
wxEnterpriseId
);
/**
/**
* 获取主门店 如果没有主门店设置主门店
* 获取主门店 如果没有主门店设置主门店
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/content/adaptor/PotentialCustomerNotifyBuilder.java
View file @
4ec54993
...
@@ -16,6 +16,7 @@ import com.gic.haoban.manage.service.service.ClerkMainStoreRelatedService;
...
@@ -16,6 +16,7 @@ import com.gic.haoban.manage.service.service.ClerkMainStoreRelatedService;
import
com.gic.haoban.manage.service.service.StaffClerkRelationService
;
import
com.gic.haoban.manage.service.service.StaffClerkRelationService
;
import
com.gic.haoban.manage.service.service.WxEnterpriseService
;
import
com.gic.haoban.manage.service.service.WxEnterpriseService
;
import
com.gic.haoban.manage.service.service.notify.NoticeMessageService
;
import
com.gic.haoban.manage.service.service.notify.NoticeMessageService
;
import
com.gic.haoban.manage.service.util.QwUtils
;
import
com.gic.wechat.api.dto.qywx.ItemDTO
;
import
com.gic.wechat.api.dto.qywx.ItemDTO
;
import
com.gic.wechat.api.dto.qywx.QywxXcxSendMessageDTO
;
import
com.gic.wechat.api.dto.qywx.QywxXcxSendMessageDTO
;
import
com.gic.wechat.api.service.qywx.QywxSuiteApiService
;
import
com.gic.wechat.api.service.qywx.QywxSuiteApiService
;
...
@@ -191,7 +192,7 @@ public class PotentialCustomerNotifyBuilder {
...
@@ -191,7 +192,7 @@ public class PotentialCustomerNotifyBuilder {
}
}
QywxXcxSendMessageDTO
messageDTO
=
this
.
buildApplicationMessage
(
staffClerkRelation
,
wxEnterpriseQwDTO
,
QywxXcxSendMessageDTO
messageDTO
=
this
.
buildApplicationMessage
(
staffClerkRelation
,
wxEnterpriseQwDTO
,
customerStaticsBOMap
.
get
(
staffClerkRelation
.
getClerkId
()).
getNum
(),
context
.
buildExtendParams
(
staffClerkRelation
.
getStoreId
(),
staffClerkRelation
.
getClerkId
()));
customerStaticsBOMap
.
get
(
staffClerkRelation
.
getClerkId
()).
getNum
(),
context
.
buildExtendParams
(
staffClerkRelation
.
getStoreId
(),
staffClerkRelation
.
getClerkId
()));
boolean
sendMessage
=
qywxSuiteApiService
.
sendMessage
(
wxEnterpriseQwDTO
.
getThirdCorpid
(),
config
.
getWxSuiteid
(),
messageDTO
);
boolean
sendMessage
=
qywxSuiteApiService
.
sendMessage
(
wxEnterpriseQwDTO
.
getThirdCorpid
(),
QwUtils
.
getSecret
(
wxEnterpriseQwDTO
,
config
.
getWxSuiteid
()),
messageDTO
,
wxEnterpriseQwDTO
.
isSelf
(),
wxEnterpriseQwDTO
.
getUrlHost
()
);
log
.
info
(
"发送销售线索应用消息结果 {}"
,
sendMessage
);
log
.
info
(
"发送销售线索应用消息结果 {}"
,
sendMessage
);
}
}
}
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/content/impl/MaterialReportServiceImpl.java
View file @
4ec54993
...
@@ -13,6 +13,7 @@ import com.gic.haoban.manage.service.service.WxEnterpriseService;
...
@@ -13,6 +13,7 @@ import com.gic.haoban.manage.service.service.WxEnterpriseService;
import
com.gic.haoban.manage.service.service.content.MaterialReportService
;
import
com.gic.haoban.manage.service.service.content.MaterialReportService
;
import
com.gic.haoban.manage.service.service.content.adaptor.MaterialReportBuilder
;
import
com.gic.haoban.manage.service.service.content.adaptor.MaterialReportBuilder
;
import
com.gic.haoban.manage.service.service.notify.NoticeMessageService
;
import
com.gic.haoban.manage.service.service.notify.NoticeMessageService
;
import
com.gic.haoban.manage.service.util.QwUtils
;
import
com.gic.wechat.api.dto.qywx.QywxNewsSendMessageDTO
;
import
com.gic.wechat.api.dto.qywx.QywxNewsSendMessageDTO
;
import
com.gic.wechat.api.service.qywx.QywxSuiteApiService
;
import
com.gic.wechat.api.service.qywx.QywxSuiteApiService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
...
@@ -93,7 +94,7 @@ public class MaterialReportServiceImpl implements MaterialReportService {
...
@@ -93,7 +94,7 @@ public class MaterialReportServiceImpl implements MaterialReportService {
return
;
return
;
}
}
log
.
info
(
"发送企业图文消息参数{}"
,
JSON
.
toJSONString
(
newsSendMessageDTO
));
log
.
info
(
"发送企业图文消息参数{}"
,
JSON
.
toJSONString
(
newsSendMessageDTO
));
boolean
result
=
qywxSuiteApiService
.
sendMessage
(
qwDTO
.
getThirdCorpid
(),
config
.
getWxSuiteid
(),
newsSendMessageDTO
);
boolean
result
=
qywxSuiteApiService
.
sendMessage
(
qwDTO
.
getThirdCorpid
(),
QwUtils
.
getSecret
(
qwDTO
,
config
.
getWxSuiteid
()),
newsSendMessageDTO
,
qwDTO
.
isSelf
(),
qwDTO
.
getUrlHost
()
);
log
.
info
(
"成员{}发送素材企微使用报告结果 {}"
,
staffId
,
result
);
log
.
info
(
"成员{}发送素材企微使用报告结果 {}"
,
staffId
,
result
);
}
}
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/ClerkMainStoreRelatedServiceImpl.java
View file @
4ec54993
...
@@ -47,6 +47,11 @@ public class ClerkMainStoreRelatedServiceImpl implements ClerkMainStoreRelatedSe
...
@@ -47,6 +47,11 @@ public class ClerkMainStoreRelatedServiceImpl implements ClerkMainStoreRelatedSe
public
TabHaobanClerkMainStoreRelated
selectStaffMainStore
(
String
staffId
,
String
wxEnterpriseId
)
{
public
TabHaobanClerkMainStoreRelated
selectStaffMainStore
(
String
staffId
,
String
wxEnterpriseId
)
{
return
mapper
.
selectByWxEnterpriseIdAndStoreId
(
staffId
,
wxEnterpriseId
,
null
);
return
mapper
.
selectByWxEnterpriseIdAndStoreId
(
staffId
,
wxEnterpriseId
,
null
);
}
}
@Override
public
TabHaobanClerkMainStoreRelated
selectByWxEnterpriseIdAndStoreId
(
String
staffId
,
String
wxEnterpriseId
)
{
return
mapper
.
selectByWxEnterpriseIdAndStoreId
(
staffId
,
wxEnterpriseId
,
null
);
}
@Override
@Override
public
void
setMainStore
(
String
staffId
,
String
storeId
,
String
wxEnterpriseId
)
{
public
void
setMainStore
(
String
staffId
,
String
storeId
,
String
wxEnterpriseId
)
{
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/ExternalClerkRelatedApiServiceImpl.java
View file @
4ec54993
...
@@ -27,7 +27,6 @@ import com.gic.haoban.manage.api.service.WxEnterpriseApiService;
...
@@ -27,7 +27,6 @@ import com.gic.haoban.manage.api.service.WxEnterpriseApiService;
import
com.gic.haoban.manage.service.config.Config
;
import
com.gic.haoban.manage.service.config.Config
;
import
com.gic.haoban.manage.service.dao.mapper.*
;
import
com.gic.haoban.manage.service.dao.mapper.*
;
import
com.gic.haoban.manage.service.entity.TabHaobanExternalClerkRelated
;
import
com.gic.haoban.manage.service.entity.TabHaobanExternalClerkRelated
;
import
com.gic.haoban.manage.service.entity.TabHaobanStaffClerkRelation
;
import
com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise
;
import
com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise
;
import
com.gic.haoban.manage.service.entity.ext.MemberStaffRelExtDO
;
import
com.gic.haoban.manage.service.entity.ext.MemberStaffRelExtDO
;
import
com.gic.haoban.manage.service.pojo.QywxTagSyncInfoPojo
;
import
com.gic.haoban.manage.service.pojo.QywxTagSyncInfoPojo
;
...
...
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