Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HYH.APSJ
Project
Project
Details
Activity
Releases
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
佟礼
HYH.APSJ
Commits
02cf8d24
Commit
02cf8d24
authored
Feb 06, 2026
by
DESKTOP-VKRD9QF\Administration
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料请求新加字段
parent
2dfa8789
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
OrderMaterialRequirement.java
...va/com/aps/entity/Algorithm/OrderMaterialRequirement.java
+5
-0
ChromosomeDataService.java
...in/java/com/aps/service/common/ChromosomeDataService.java
+6
-1
application.yml
src/main/resources/application.yml
+3
-3
No files found.
src/main/java/com/aps/entity/Algorithm/OrderMaterialRequirement.java
View file @
02cf8d24
...
...
@@ -126,4 +126,9 @@ public class OrderMaterialRequirement {
*/
@TableField
(
exist
=
false
)
public
double
Quantity
;
public
String
version
;
}
src/main/java/com/aps/service/common/ChromosomeDataService.java
View file @
02cf8d24
...
...
@@ -892,7 +892,12 @@ public class ChromosomeDataService {
OffsetDateTime
offsetDateTime
=
dateTime
.
atOffset
(
ZoneOffset
.
UTC
);
formattedData
.
put
(
field
.
getName
(),
offsetDateTime
);
}
else
{
formattedData
.
put
(
field
.
getName
(),
value
);
// 对于String类型字段,如果值为null,设置为空字符串
if
(
value
==
null
&&
field
.
getType
()
==
String
.
class
)
{
formattedData
.
put
(
field
.
getName
(),
""
);
}
else
{
formattedData
.
put
(
field
.
getName
(),
value
);
}
}
}
catch
(
Exception
e
)
{
// 忽略字段访问错误
...
...
src/main/resources/application.yml
View file @
02cf8d24
...
...
@@ -10,8 +10,8 @@ spring:
pathmatch
:
matching-strategy
:
ant_path_matcher
# Spring Boot 2.6+ 需要这个配置
redis
:
host
:
39.100.88.40
port
:
63
79
host
:
192.168.0.181
port
:
63
80
timeout
:
120000
database
:
10
password
:
redis@228!
...
...
@@ -55,7 +55,7 @@ spring:
# Oracle数据源
oracle
:
driver-class-name
:
oracle.jdbc.OracleDriver
url
:
jdbc:oracle:thin:@//
39.100.78.207:700
2/ORCLPDB1
# ORCL为你的Oracle实例名
url
:
jdbc:oracle:thin:@//
192.168.0.181:152
2/ORCLPDB1
# ORCL为你的Oracle实例名
username
:
mes
# 替换为你的Oracle用户名
password
:
root_mes123456
# 替换为你的Oracle密码
# sqlserver:
...
...
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