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
ac1cb3ca
Commit
ac1cb3ca
authored
Aug 12, 2021
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理发布空指针异常
parent
c99c1738
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
DocAuditService.java
...join/amos/knowledgebase/face/service/DocAuditService.java
+2
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-knowledgebase-biz/src/main/java/com/yeejoin/amos/knowledgebase/face/service/DocAuditService.java
View file @
ac1cb3ca
...
@@ -22,6 +22,7 @@ import org.springframework.cloud.client.ServiceInstance;
...
@@ -22,6 +22,7 @@ import org.springframework.cloud.client.ServiceInstance;
import
org.springframework.cloud.client.loadbalancer.LoadBalancerClient
;
import
org.springframework.cloud.client.loadbalancer.LoadBalancerClient
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.ObjectUtils
;
import
org.typroject.tyboot.component.emq.EmqKeeper
;
import
org.typroject.tyboot.component.emq.EmqKeeper
;
import
org.typroject.tyboot.core.foundation.context.RequestContext
;
import
org.typroject.tyboot.core.foundation.context.RequestContext
;
import
org.typroject.tyboot.core.foundation.exception.BaseException
;
import
org.typroject.tyboot.core.foundation.exception.BaseException
;
...
@@ -361,7 +362,7 @@ public class DocAuditService {
...
@@ -361,7 +362,7 @@ public class DocAuditService {
AtomicBoolean
isRange
=
new
AtomicBoolean
(
false
);
AtomicBoolean
isRange
=
new
AtomicBoolean
(
false
);
AtomicReference
<
String
>
resRight
=
new
AtomicReference
<>(
""
);
AtomicReference
<
String
>
resRight
=
new
AtomicReference
<>(
""
);
AtomicReference
<
String
>
unit
=
new
AtomicReference
<>(
""
);
AtomicReference
<
String
>
unit
=
new
AtomicReference
<>(
""
);
if
(!
ValidationUtil
.
isEmpty
(
values
.
isEmpty
()
))
{
if
(!
ObjectUtils
.
isEmpty
(
values
))
{
values
.
forEach
(
value
->
{
values
.
forEach
(
value
->
{
if
(
TagValueService
.
VALUE_TAG_FIELD_RANGE_MAX
.
equals
(
value
.
getFieldName
()))
{
if
(
TagValueService
.
VALUE_TAG_FIELD_RANGE_MAX
.
equals
(
value
.
getFieldName
()))
{
resRight
.
set
(
value
.
getTagValue
());
resRight
.
set
(
value
.
getTagValue
());
...
...
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