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
4b5c0ece
Commit
4b5c0ece
authored
May 17, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.增加是否有是否存在不符合项
parent
8b96819b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
4 deletions
+15
-4
JyjcInspectionResult.java
...mos/boot/module/jyjc/api/entity/JyjcInspectionResult.java
+7
-0
JyjcInspectionResultModel.java
...boot/module/jyjc/api/model/JyjcInspectionResultModel.java
+6
-3
JyjcInspectionResultMapper.xml
.../src/main/resources/mapper/JyjcInspectionResultMapper.xml
+1
-1
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+1
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/entity/JyjcInspectionResult.java
View file @
4b5c0ece
...
@@ -201,4 +201,11 @@ public class JyjcInspectionResult extends BaseEntity {
...
@@ -201,4 +201,11 @@ public class JyjcInspectionResult extends BaseEntity {
*/
*/
@TableField
(
value
=
"supervisory_code"
)
@TableField
(
value
=
"supervisory_code"
)
private
String
supervisoryCode
;
private
String
supervisoryCode
;
/**
* 是否存在不符合项
*/
@TableField
(
value
=
"is_exist_nc"
)
private
Boolean
isExistNc
;
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/model/JyjcInspectionResultModel.java
View file @
4b5c0ece
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
model
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
model
;
import
com.alibaba.excel.annotation.format.DateTimeFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
...
@@ -9,7 +8,6 @@ import lombok.EqualsAndHashCode;
...
@@ -9,7 +8,6 @@ import lombok.EqualsAndHashCode;
import
org.typroject.tyboot.core.rdbms.model.BaseModel
;
import
org.typroject.tyboot.core.rdbms.model.BaseModel
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
/**
/**
...
@@ -129,7 +127,7 @@ public class JyjcInspectionResultModel extends BaseModel {
...
@@ -129,7 +127,7 @@ public class JyjcInspectionResultModel extends BaseModel {
private
String
useUnitCreditCode
;
private
String
useUnitCreditCode
;
@ApiModelProperty
(
value
=
"检验结果技术参数"
)
@ApiModelProperty
(
value
=
"检验结果技术参数"
)
private
Map
<
String
,
Object
>
resultParamModelMap
;
private
Map
<
String
,
Object
>
resultParamModelMap
;
@ApiModelProperty
(
value
=
"附件类型(特种设备检验报告:1,监检证书:2)"
)
@ApiModelProperty
(
value
=
"附件类型(特种设备检验报告:1,监检证书:2)"
)
private
String
attachmentType
;
private
String
attachmentType
;
...
@@ -168,4 +166,9 @@ public class JyjcInspectionResultModel extends BaseModel {
...
@@ -168,4 +166,9 @@ public class JyjcInspectionResultModel extends BaseModel {
* 身份标识(前端行内权限按钮控制用)
* 身份标识(前端行内权限按钮控制用)
*/
*/
private
String
identity
;
private
String
identity
;
/**
* 是否存在不符合项
*/
private
Boolean
isExistNc
;
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/resources/mapper/JyjcInspectionResultMapper.xml
View file @
4b5c0ece
...
@@ -161,6 +161,6 @@
...
@@ -161,6 +161,6 @@
</otherwise>
</otherwise>
</choose>
</choose>
</where>
</where>
ORDER BY res.
application_date
DESC
ORDER BY res.
sequence_nbr
DESC
</select>
</select>
</mapper>
</mapper>
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcInspectionApplicationServiceImpl.java
View file @
4b5c0ece
...
@@ -625,6 +625,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -625,6 +625,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
resultModel
.
setEquDefine
(
applicationEquipModels
.
get
(
i
).
getEquDefine
());
resultModel
.
setEquDefine
(
applicationEquipModels
.
get
(
i
).
getEquDefine
());
resultModel
.
setEquCategory
(
applicationEquipModels
.
get
(
i
).
getEquCategory
());
resultModel
.
setEquCategory
(
applicationEquipModels
.
get
(
i
).
getEquCategory
());
resultModel
.
setEquList
(
applicationEquipModels
.
get
(
i
).
getEquList
());
resultModel
.
setEquList
(
applicationEquipModels
.
get
(
i
).
getEquList
());
resultModel
.
setIsExistNc
(
false
);
resultModels
.
add
(
resultModel
);
resultModels
.
add
(
resultModel
);
}
}
inspectionResultService
.
saveOrUpdateBatch
(
resultModels
);
inspectionResultService
.
saveOrUpdateBatch
(
resultModels
);
...
...
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