Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
中
中电中采
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ZGC_INDEX
中电中采
Commits
f2fcfa4a
Commit
f2fcfa4a
authored
Apr 23, 2021
by
rico.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理CPU属性
parent
b62a0426
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
模板建库func.py
模板建库func.py
+2
-0
No files found.
模板建库func.py
View file @
f2fcfa4a
...
...
@@ -467,6 +467,8 @@ def check_params_data(path):
#加载标准项
cat_subtitle_list
=
db_params
[
db_params
[
'name'
]
==
category
][
'subtitle'
]
.
tolist
()
if
'CPU属性'
in
cat_subtitle_list
:
cat_subtitle_list
.
remove
(
'CPU属性'
)
#加载数据字典
cursor_zi_new
.
execute
(
f
"select subtitle,stdvalue,primitive,simplevalue from ShuJuZiDian_Cfg where categoryname = '{category}'"
)
...
...
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