Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
徐少华
midjourney-proxy
Commits
d416ba8d
Commit
d416ba8d
authored
Jul 07, 2020
by
pansy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug [1024262] groupTypeISNull
parent
5a536875
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
4 deletions
+11
-4
RightsSettingBizImpl.java
...oud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
+4
-2
PcloudGroupActivityBizImpl.java
...cloud/book/skill/biz/impl/PcloudGroupActivityBizImpl.java
+4
-1
RightNowItem.xml
.../src/main/resources/mapper/rightssetting/RightNowItem.xml
+2
-1
PcloudGroupActivityDao.xml
...rc/main/resources/mapper/skill/PcloudGroupActivityDao.xml
+1
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
View file @
d416ba8d
...
...
@@ -1204,8 +1204,10 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
if
(
groupActivity4AppletDTO
!=
null
)
{
item
.
setGroupName
(
groupActivity4AppletDTO
.
getName
());
item
.
setGroupDesc
(
groupActivity4AppletDTO
.
getCutDesc
());
item
.
setGroupType
(
groupActivity4AppletDTO
.
getGroupType
()
==
null
?
null
:
groupActivity4AppletDTO
.
getGroupType
().
toString
());
item
.
setLinkUrl
(
groupActivity4AppletDTO
.
getGroupLink
());
if
(
StringUtil
.
isEmpty
(
item
.
getGroupType
())){
//add by pans 编辑段群groupType来源于rightNowItem
item
.
setGroupType
(
groupActivity4AppletDTO
.
getGroupType
()
==
null
?
null
:
groupActivity4AppletDTO
.
getGroupType
().
toString
());
item
.
setLinkUrl
(
groupActivity4AppletDTO
.
getGroupLink
());
}
// 填充头像
fillGroupActivityHead
(
Collections
.
singletonList
(
groupActivity4AppletDTO
));
item
.
setGroupQrCode
(
groupActivity4AppletDTO
.
getGroupPic
());
...
...
pcloud-service-book/src/main/java/com/pcloud/book/skill/biz/impl/PcloudGroupActivityBizImpl.java
View file @
d416ba8d
...
...
@@ -449,6 +449,7 @@ public class PcloudGroupActivityBizImpl implements PcloudGroupActivityBiz {
private
List
<
Long
>
getActivityGroupIds
(
List
<
Long
>
ids
,
List
<
Long
>
adviserGroupIds
)
{
if
(!
ListUtils
.
isEmpty
(
adviserGroupIds
))
{
Iterator
<
Long
>
it4Ids
=
ids
.
iterator
();
log
.
info
(
"it4Ids : {}, adviserGroupIds {}"
,
ids
,
adviserGroupIds
);
while
(
it4Ids
.
hasNext
())
{
Long
serverId
=
it4Ids
.
next
();
Iterator
<
Long
>
it4Group
=
adviserGroupIds
.
iterator
();
...
...
@@ -456,7 +457,9 @@ public class PcloudGroupActivityBizImpl implements PcloudGroupActivityBiz {
Long
serverId4Group
=
it4Group
.
next
();
if
(
serverId
.
equals
(
serverId4Group
))
{
it4Group
.
remove
();
it4Ids
.
remove
();
if
(!
ListUtils
.
isEmpty
(
ids
)){
it4Ids
.
remove
();
}
}
}
}
...
...
pcloud-service-book/src/main/resources/mapper/rightssetting/RightNowItem.xml
View file @
d416ba8d
...
...
@@ -13,11 +13,12 @@
<result
property=
"createTime"
column=
"create_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"rightsItemGroupId"
column=
"rights_item_group_id"
jdbcType=
"BIGINT"
/>
<result
property=
"rightsSettingTitleId"
column=
"rights_setting_title_id"
jdbcType=
"BIGINT"
/>
<result
property=
"groupType"
column=
"group_type"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id, rights_setting_id, serve_id, serve_type, link_url, type, gift_coupon_package_id, create_time,
rights_item_group_id,rights_setting_title_id
rights_item_group_id,rights_setting_title_id
,group_type
</sql>
<select
id=
"getById"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.Long"
>
...
...
pcloud-service-book/src/main/resources/mapper/skill/PcloudGroupActivityDao.xml
View file @
d416ba8d
...
...
@@ -50,6 +50,7 @@
select count(1)
from pcloud_group_activity
where number=#{number}
and is_delete = 0
</select>
...
...
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