Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-health-science
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
徐俊
yn-health-science
Commits
51d17e19
Commit
51d17e19
authored
Dec 02, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
66c500cf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
2 deletions
+22
-2
SystemParameter.java
...main/java/com/yiboshi/science/entity/SystemParameter.java
+5
-1
ComFileDTO.java
...c/main/java/com/yiboshi/science/param/dto/ComFileDTO.java
+5
-1
SystemParameterDTO.java
...ava/com/yiboshi/science/param/dto/SystemParameterDTO.java
+4
-0
SystemParameterQueryVO.java
...m/yiboshi/science/param/query/SystemParameterQueryVO.java
+4
-0
ComProjectServiceImpl.java
...m/yiboshi/science/service/impl/ComProjectServiceImpl.java
+4
-0
No files found.
science-admin/src/main/java/com/yiboshi/science/entity/SystemParameter.java
View file @
51d17e19
...
...
@@ -53,7 +53,10 @@ public class SystemParameter extends BaseEntity {
@ApiModelProperty
(
value
=
"状态"
,
position
=
7
)
private
Integer
noteState
;
/** 系统编码 */
@ApiModelProperty
(
value
=
"系统编码"
,
position
=
8
)
@ApiModelProperty
(
value
=
"系统编码"
,
position
=
8
)
@Length
(
max
=
50
,
message
=
"系统编码不能大于50"
)
private
String
systemCode
;
/** 是否为必填项 */
@ApiModelProperty
(
value
=
"是否为必填项"
,
position
=
8
)
private
Boolean
isRequired
;
}
\ No newline at end of file
science-admin/src/main/java/com/yiboshi/science/param/dto/ComFileDTO.java
View file @
51d17e19
...
...
@@ -38,7 +38,10 @@ public class ComFileDTO extends BaseDTO {
/** URL */
@ApiModelProperty
(
value
=
"URL"
,
position
=
7
)
private
String
downloadUrl
;
/** 必要附件(不能删除) */
/** 必要附件(
必须显示
不能删除) */
@ApiModelProperty
(
value
=
"必要附件"
,
position
=
8
)
private
Boolean
required
;
/** 必须上传的附件 */
@ApiModelProperty
(
value
=
"必须上传的附件"
,
position
=
8
)
private
Boolean
isRequired
;
}
\ No newline at end of file
science-admin/src/main/java/com/yiboshi/science/param/dto/SystemParameterDTO.java
View file @
51d17e19
...
...
@@ -50,4 +50,7 @@ public class SystemParameterDTO extends BaseDTO {
/** 父名称 */
@ApiModelProperty
(
value
=
"父名称"
,
position
=
2
)
private
String
parentName
;
/** 是否为必填项 */
@ApiModelProperty
(
value
=
"是否为必填项"
,
position
=
8
)
private
Boolean
isRequired
;
}
\ No newline at end of file
science-admin/src/main/java/com/yiboshi/science/param/query/SystemParameterQueryVO.java
View file @
51d17e19
...
...
@@ -43,4 +43,7 @@ public class SystemParameterQueryVO extends PaginationVO{
/** 系统编码 */
@ApiModelProperty
(
value
=
"系统编码"
,
position
=
8
)
private
String
systemCode
;
/** 是否为必填项 */
@ApiModelProperty
(
value
=
"是否为必填项"
,
position
=
8
)
private
Boolean
isRequired
;
}
\ No newline at end of file
science-admin/src/main/java/com/yiboshi/science/service/impl/ComProjectServiceImpl.java
View file @
51d17e19
...
...
@@ -483,6 +483,10 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
parameterList
.
forEach
(
e
->
{
ComFileDTO
AttachentFile
=
processAttachmentFile
(
e
.
getName
(),
e
.
getDisplayOrder
());
if
(
null
!=
e
.
getIsRequired
()
&&
e
.
getIsRequired
().
equals
(
true
))
AttachentFile
.
setIsRequired
(
true
);
else
AttachentFile
.
setIsRequired
(
false
);
fileList
.
add
(
AttachentFile
);
});
return
fileList
;
...
...
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