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
3044acb6
Commit
3044acb6
authored
Apr 07, 2023
by
songyinghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 素材分享
parent
18438bd4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
1 deletions
+45
-1
MaterialShareLogApiServiceImpl.java
...vice/out/impl/content/MaterialShareLogApiServiceImpl.java
+1
-1
MaterialShareLogApiServiceTest.java
...service/src/test/java/MaterialShareLogApiServiceTest.java
+44
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/content/MaterialShareLogApiServiceImpl.java
View file @
3044acb6
...
@@ -30,7 +30,7 @@ public class MaterialShareLogApiServiceImpl implements MaterialShareLogApiServic
...
@@ -30,7 +30,7 @@ public class MaterialShareLogApiServiceImpl implements MaterialShareLogApiServic
* 导购分享素材 客户触达日志
* 导购分享素材 客户触达日志
* @see com.gic.haoban.manage.api.service.content.task.QywxGroupMsgTaskApiService#handlerTriggerCustomerDetailLog(String)
* @see com.gic.haoban.manage.api.service.content.task.QywxGroupMsgTaskApiService#handlerTriggerCustomerDetailLog(String)
*/
*/
private
static
final
String
SHARE_MATERIAL_DETAIL_LOG
=
"share
_material_detail_l
og"
;
private
static
final
String
SHARE_MATERIAL_DETAIL_LOG
=
"share
MaterialDetailL
og"
;
@Autowired
@Autowired
private
ClerkShareLogService
clerkShareLogService
;
private
ClerkShareLogService
clerkShareLogService
;
...
...
haoban-manage3-service/src/test/java/MaterialShareLogApiServiceTest.java
0 → 100644
View file @
3044acb6
import
com.gic.haoban.manage.api.dto.content.log.ClerkShareMaterialLogDTO
;
import
com.gic.haoban.manage.api.service.content.MaterialShareLogApiService
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.test.context.ContextConfiguration
;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
/**
* @Author MUSI
* @Date 2023/4/7 5:56 PM
* @Description
* @Version
**/
@RunWith
(
SpringJUnit4ClassRunner
.
class
)
@ContextConfiguration
(
locations
=
{
"classpath:applicationContext-conf.xml"
})
public
class
MaterialShareLogApiServiceTest
{
@Autowired
MaterialShareLogApiService
materialShareLogApiService
;
String
eid
=
"ff8080815dacd3a2015dacd3ef5c0000"
;
String
wxEid
=
"ca66a01b79474c40b3e7c7f93daf1a3b"
;
String
staffId
=
"e608b51b267e4943b87e222a343b4f25"
;
String
clerkId
=
"300b60c7f8874ca2b9cc696ad6b6a480"
;
//String memberId = "ff8080818147efc8018148d1759903c8";
String
memberId
=
"ff80808187210d2b018721e9cc6c0036"
;
String
materialId
=
"510923843246776342"
;
@Test
public
void
test
(){
ClerkShareMaterialLogDTO
clerkShareMaterialLogDTO
=
new
ClerkShareMaterialLogDTO
();
clerkShareMaterialLogDTO
.
setClerkId
(
clerkId
);
clerkShareMaterialLogDTO
.
setShareType
(
1
);
clerkShareMaterialLogDTO
.
setStoreId
(
staffId
);
clerkShareMaterialLogDTO
.
setStaffId
(
staffId
);
clerkShareMaterialLogDTO
.
setWxEnterpriseId
(
wxEid
);
clerkShareMaterialLogDTO
.
setEnterpriseId
(
eid
);
clerkShareMaterialLogDTO
.
setBizType
(
1
);
clerkShareMaterialLogDTO
.
setBizId
(
materialId
);
materialShareLogApiService
.
saveClerkShareMaterialLog
(
clerkShareMaterialLogDTO
);
}
}
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