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
d9c9bf09
Commit
d9c9bf09
authored
Oct 09, 2023
by
王祖波
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-content4-3' into 'developer'
Feature content4 3 See merge request
!1473
parents
ca29b929
3bf4e7bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
CommentController.java
...oban/manage/web/controller/content/CommentController.java
+1
-0
ContentMaterialInfoVO.java
...c/haoban/manage/web/vo/content/ContentMaterialInfoVO.java
+14
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/CommentController.java
View file @
d9c9bf09
...
...
@@ -141,6 +141,7 @@ public class CommentController {
}
Map
<
String
,
StaffClerkRelationDTO
>
clerkInfoMap
=
this
.
getClerkInfoMap
(
saveCommentQO
.
getWxEnterpriseId
(),
clerkIds
);
StaffClerkRelationDTO
staffClerkRelationDTO
=
clerkInfoMap
.
get
(
saveCommentQO
.
getClerkId
());
saveCommentQDTO
.
setUserType
(
UserTypeEnum
.
CLERK
.
value
);
if
(
staffClerkRelationDTO
!=
null
)
{
saveCommentQDTO
.
setUserCode
(
staffClerkRelationDTO
.
getClerkCode
());
if
(
HaobanClerkTypeEnum
.
AREA_MANAGER
.
getCode
().
equals
(
staffClerkRelationDTO
.
getClerkType
()))
{
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/vo/content/ContentMaterialInfoVO.java
View file @
d9c9bf09
...
...
@@ -2,6 +2,7 @@ package com.gic.haoban.manage.web.vo.content;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
com.gic.content.api.dto.ext.ContentMaterialExt
;
import
org.apache.commons.lang3.StringUtils
;
import
java.io.Serializable
;
...
...
@@ -156,6 +157,11 @@ public class ContentMaterialInfoVO implements Serializable {
*/
private
Integer
likeFlag
;
/**
* 素材额外信息
*/
private
ContentMaterialExt
ext
;
public
Long
getContentMaterialId
()
{
return
contentMaterialId
;
...
...
@@ -381,6 +387,14 @@ public class ContentMaterialInfoVO implements Serializable {
this
.
likeFlag
=
likeFlag
;
}
public
ContentMaterialExt
getExt
()
{
return
ext
;
}
public
void
setExt
(
ContentMaterialExt
ext
)
{
this
.
ext
=
ext
;
}
public
void
convertMaterialImages
(
String
materialImageUrls
,
String
materialThumbnailImageUrls
)
{
if
(
StringUtils
.
isNotBlank
(
materialImageUrls
))
{
String
[]
split
=
StringUtils
.
split
(
materialImageUrls
,
","
);
...
...
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