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
32e4a060
Commit
32e4a060
authored
Dec 31, 2021
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
f3aaa468
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
FailureDetailsMapper.xml
...on-api/src/main/resources/mapper/FailureDetailsMapper.xml
+3
-3
FailureDetailsServiceImpl.java
...le/common/biz/service/impl/FailureDetailsServiceImpl.java
+4
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/FailureDetailsMapper.xml
View file @
32e4a060
...
...
@@ -60,13 +60,13 @@
and submission_time between #{startTime} and #{endTime}
</if>
<if
test=
"submissionName != null "
>
and submission_name =
#{submissionName}
and submission_name =
like concat (%, #{submissionName},%)
</if>
<if
test=
"submissionBranchId!= null "
>
and submission_branch_id
= #{submissionBranchId}
and submission_branch_id= #{submissionBranchId}
</if>
<if
test=
"sequenceNbr!= null "
>
and sequence_nbr =
#{ sequenceNbr}
and sequence_nbr =
like concat (%,#{ sequenceNbr},%)
</if>
</where>
order by submission_time DESC limit #{current},#{size}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/FailureDetailsServiceImpl.java
View file @
32e4a060
...
...
@@ -282,9 +282,12 @@ public class FailureDetailsServiceImpl extends BaseService<FailureDetailsDto, Fa
failureDetailsDto
.
setFailureCode
(
buildOrderNo
());
String
parentId
=
iOrgUsrService
.
getParentId
(
userInfo
.
getUserModel
().
getUserId
());
if
(
parentId
!=
null
){
failureDetailsDto
.
setBizCode
(
Long
.
valueOf
(
parentId
));
}
OrgUsr
orgUsr
=
iOrgUsrService
.
getById
(
parentId
);
failureDetailsDto
.
setBizCode
(
Long
.
valueOf
(
parentId
));
model
=
this
.
createWithModel
(
failureDetailsDto
);
if
(
ObjectUtils
.
isNotEmpty
(
failureDetailsDto
.
getAttachment
()))
{
...
...
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