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
2845ccb3
Commit
2845ccb3
authored
Oct 19, 2023
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
气瓶充装前后记录查询增加appId筛选字段
parent
c2efdfe3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
TzCylinderMapper.java
...boot/module/cylinder/flc/api/mapper/TzCylinderMapper.java
+3
-3
TzCylinderMapper.xml
...linder-api/src/main/resources/mapper/TzCylinderMapper.xml
+4
-3
TzCylinderServiceImpl.java
.../cylinder/flc/biz/service/impl/TzCylinderServiceImpl.java
+3
-3
No files found.
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-api/src/main/java/com/yeejoin/amos/boot/module/cylinder/flc/api/mapper/TzCylinderMapper.java
View file @
2845ccb3
...
...
@@ -29,13 +29,13 @@ public interface TzCylinderMapper extends BaseMapper<CylinderInfo> {
List
<
TzCylinderInspectionDto
>
getTzCylinderInspectionDto
(
String
sequenceCode
,
String
appId
);
List
<
TzCylinderFillingDto
>
getTzCylinderFillingDto
(
String
sequenceCode
);
List
<
TzCylinderFillingDto
>
getTzCylinderFillingDto
(
String
sequenceCode
,
String
appId
);
TzCylinderBeforeCheckDto
getTzCylinderBeforeCheck
(
String
fillingBeforeId
);
TzCylinderBeforeCheckDto
getTzCylinderBeforeCheck
(
String
appId
,
String
fillingBeforeId
);
List
<
TzCylinderCheckDto
>
getTzCylinderCheckItem
();
TzCylinderAfterCheckDto
getTzCylinderAfterCheck
(
String
fillingCheckId
);
TzCylinderAfterCheckDto
getTzCylinderAfterCheck
(
String
appId
,
String
fillingCheckId
);
List
<
TzCylinderCheckDto
>
getTzCylinderAfterCheckItem
();
...
...
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-api/src/main/resources/mapper/TzCylinderMapper.xml
View file @
2845ccb3
...
...
@@ -166,7 +166,8 @@
LEFT JOIN tz_cylinder_filling AS CF ON CF.filling_before_id = FR.filling_before_id
LEFT JOIN tz_cylinder_filling_check AS FC ON FC.filling_check_id = FR.filling_check_id
WHERE
CF.sequence_code = #{sequence_code}
CF.sequence_code = #{sequenceCode}
and FR.app_id = #{appId}
ORDER BY FR.filling_startTime DESC
</select>
...
...
@@ -181,7 +182,7 @@
CF.have_security_documents,
CF.fill_before_item
FROM tz_cylinder_filling AS CF
WHERE CF.filling_before_id=#{fillingBeforeId}
WHERE CF.
app_id=#{appId} and CF.
filling_before_id=#{fillingBeforeId}
</select>
<select
id=
"getTzCylinderCheckItem"
resultType=
"com.yeejoin.amos.boot.module.cylinder.flc.api.dto.TzCylinderCheckDto"
>
...
...
@@ -200,7 +201,7 @@
FC.abnormal_temperature,
FC.warning_sign
FROM tz_cylinder_filling_check AS FC
WHERE FC.filling_check_id=#{fillingCheckId}
WHERE FC.
app_id=#{appId} and FC.
filling_check_id=#{fillingCheckId}
</select>
<select
id=
"getTzCylinderAfterCheckItem"
resultType=
"com.yeejoin.amos.boot.module.cylinder.flc.api.dto.TzCylinderCheckDto"
>
...
...
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-biz/src/main/java/com/yeejoin/amos/boot/module/cylinder/flc/biz/service/impl/TzCylinderServiceImpl.java
View file @
2845ccb3
...
...
@@ -113,7 +113,7 @@ public class TzCylinderServiceImpl extends BaseService<TzCylinderInfoDto, Cylind
}
List
<
TzCylinderInspectionDto
>
tzCylinderInspectionDtoList
=
tzCylinderMapper
.
getTzCylinderInspectionDto
(
sequenceCode
,
appId
);
List
<
TzCylinderFillingDto
>
tzCylinderFillingDtoList
=
tzCylinderMapper
.
getTzCylinderFillingDto
(
sequenceCode
);
List
<
TzCylinderFillingDto
>
tzCylinderFillingDtoList
=
tzCylinderMapper
.
getTzCylinderFillingDto
(
sequenceCode
,
appId
);
/**
* 取气瓶追溯详情 充装前检查项 名称和结果列表
...
...
@@ -132,7 +132,7 @@ public class TzCylinderServiceImpl extends BaseService<TzCylinderInfoDto, Cylind
}
List
<
TzCylinderCheckDto
>
tzCylinderCheckDtoListResult
=
new
ArrayList
<>();
TzCylinderBeforeCheckDto
tzcylinderBeforeCheckDto
=
tzCylinderMapper
.
getTzCylinderBeforeCheck
(
tzCylinderFillingDto
.
getFillingBeforeId
());
.
getTzCylinderBeforeCheck
(
appId
,
tzCylinderFillingDto
.
getFillingBeforeId
());
JSONObject
obj
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
tzcylinderBeforeCheckDto
));
for
(
String
str
:
obj
.
keySet
())
{
String
explain
=
map
.
get
(
str
);
...
...
@@ -157,7 +157,7 @@ public class TzCylinderServiceImpl extends BaseService<TzCylinderInfoDto, Cylind
for
(
TzCylinderFillingDto
tzCylinderFillingDto
:
tzCylinderFillingDtoList
)
{
List
<
TzCylinderCheckDto
>
tzCylinderAfterCheckDtoListResult
=
new
ArrayList
<>();
TzCylinderAfterCheckDto
tzcylinderAfterCheckDto
=
tzCylinderMapper
.
getTzCylinderAfterCheck
(
tzCylinderFillingDto
.
getFillingCheckId
())
;
.
getTzCylinderAfterCheck
(
appId
,
tzCylinderFillingDto
.
getFillingCheckId
());
;
if
(!
ValidationUtil
.
isEmpty
(
tzcylinderAfterCheckDto
))
{
JSONObject
obj
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
tzcylinderAfterCheckDto
));
for
(
String
str
:
obj
.
keySet
())
{
...
...
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