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
4eb7b080
Commit
4eb7b080
authored
May 06, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
异常处理
parent
30da8a99
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
QwMomentPlanServiceImpl.java
.../service/service/moment/impl/QwMomentPlanServiceImpl.java
+4
-0
ServiceTest.java
haoban-manage3-service/src/test/java/ServiceTest.java
+0
-0
OfflinePreController.java
...n/manage/web/controller/offline/OfflinePreController.java
+3
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/moment/impl/QwMomentPlanServiceImpl.java
View file @
4eb7b080
...
...
@@ -472,6 +472,10 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
@Override
public
void
getMomentId
(
Long
planId
)
{
TabQwMomentPlan
plan
=
this
.
qwMomentPlanMapper
.
getById
(
planId
)
;
if
(
null
==
plan
)
{
logger
.
info
(
"计划已删除"
);
return
;
}
String
wxEnterpriseId
=
plan
.
getWxEnterpriseId
()
;
WxEnterpriseQwDTO
qwDTO
=
this
.
wxEnterpriseService
.
getQwInfo
(
wxEnterpriseId
);
ServiceResponse
<
Object
>
resp2
=
this
.
qywxExternalUserService
.
getMomentTaskResult
(
qwDTO
.
getThirdCorpid
(),
...
...
haoban-manage3-service/src/test/java/ServiceTest.java
View file @
4eb7b080
This diff is collapsed.
Click to expand it.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/offline/OfflinePreController.java
View file @
4eb7b080
...
...
@@ -139,6 +139,9 @@ public class OfflinePreController {
if
(
StringUtils
.
isBlank
(
offlinePreId
)
||
!
offlinePreId
.
trim
().
chars
().
allMatch
(
Character:
:
isDigit
))
{
return
RestResponse
.
failure
(
"9999"
,
"参数错误"
)
;
}
if
(
offlinePreId
.
length
()>
18
)
{
return
RestResponse
.
failure
(
"9999"
,
"参数错误"
)
;
}
ServiceResponse
<
Void
>
countOfflinePre
=
offlinePreApiService
.
checkOfflinePreWriteOff
(
Long
.
valueOf
(
offlinePreId
.
trim
()),
storeId
);
return
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
countOfflinePre
,
SerializerFeature
.
WriteMapNullValue
),
RestResponse
.
class
);
}
...
...
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