Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
bef14a49
Commit
bef14a49
authored
Nov 24, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
8b02cf6f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
WaterResourceServiceImpl.java
...ule/common/biz/service/impl/WaterResourceServiceImpl.java
+9
-0
MessageServiceImpl.java
...amos/patrol/business/service/impl/MessageServiceImpl.java
+11
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/WaterResourceServiceImpl.java
View file @
bef14a49
...
@@ -299,6 +299,15 @@ public class WaterResourceServiceImpl extends BaseService<WaterResourceDto, Wate
...
@@ -299,6 +299,15 @@ public class WaterResourceServiceImpl extends BaseService<WaterResourceDto, Wate
BeanUtils
.
copyProperties
(
waterResourcePool
,
waterResourceDto
);
BeanUtils
.
copyProperties
(
waterResourcePool
,
waterResourceDto
);
}
}
break
;
break
;
case
"industryPool"
:
WaterResourcePool
waterResourceindustryPool
=
waterResourcePoolService
.
getOne
(
new
QueryWrapper
<
WaterResourcePool
>().
eq
(
"resource_id"
,
sequenceNbr
));
if
(
null
!=
waterResourceindustryPool
)
{
BeanUtils
.
copyProperties
(
waterResourceindustryPool
,
waterResourceDto
);
}
break
;
}
}
}
}
waterResourceDto
.
setSequenceNbr
(
sequenceNbr
);
waterResourceDto
.
setSequenceNbr
(
sequenceNbr
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/MessageServiceImpl.java
View file @
bef14a49
...
@@ -65,6 +65,7 @@ import com.yeejoin.amos.patrol.email.IEmailService;
...
@@ -65,6 +65,7 @@ import com.yeejoin.amos.patrol.email.IEmailService;
import
com.yeejoin.amos.patrol.feign.PushFeignServer
;
import
com.yeejoin.amos.patrol.feign.PushFeignServer
;
import
com.yeejoin.amos.patrol.feign.RemoteSecurityService
;
import
com.yeejoin.amos.patrol.feign.RemoteSecurityService
;
import
com.yeejoin.amos.patrol.jpush.AppMessagePushService
;
import
com.yeejoin.amos.patrol.jpush.AppMessagePushService
;
import
org.typroject.tyboot.core.foundation.context.RequestContext
;
import
org.typroject.tyboot.core.foundation.utils.Bean
;
import
org.typroject.tyboot.core.foundation.utils.Bean
;
...
@@ -325,6 +326,16 @@ public class MessageServiceImpl implements IMessageService {
...
@@ -325,6 +326,16 @@ public class MessageServiceImpl implements IMessageService {
@Override
@Override
public
Msg
pushMsgAndSave
(
String
toke
,
String
product
,
String
appKey
,
Msg
msg
)
{
public
Msg
pushMsgAndSave
(
String
toke
,
String
product
,
String
appKey
,
Msg
msg
)
{
// List<PushMsgParam> pmps = new ArrayList<PushMsgParam>();
// List<PushMsgParam> pmps = new ArrayList<PushMsgParam>();
if
(
toke
!=
null
){
RequestContext
.
setToken
(
toke
);
RequestContext
.
setProduct
(
product
);
RequestContext
.
setAppKey
(
appKey
);
}
PushMsgParam
pushMsg
=
new
PushMsgParam
();
PushMsgParam
pushMsg
=
new
PushMsgParam
();
pushMsg
.
setRecivers
(
Arrays
.
asList
(
msg
.
getUserId
()));
pushMsg
.
setRecivers
(
Arrays
.
asList
(
msg
.
getUserId
()));
pushMsg
.
setContent
(
ObjectUtils
.
isEmpty
(
msg
.
getPushBody
())
?
msg
.
getBody
()
:
msg
.
getPushBody
());
pushMsg
.
setContent
(
ObjectUtils
.
isEmpty
(
msg
.
getPushBody
())
?
msg
.
getBody
()
:
msg
.
getPushBody
());
...
...
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