Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-mindworkplate
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fbe76114
authored
Jan 26, 2026
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]新增预警管理,录音查询的逻辑调整
1 parent
88b46555
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
rpc-dj-mindworkplate/src/main/java/cn/com/glsx/dj/mindworkplate/service/warning/EcoCoefficientService.java
rpc-dj-mindworkplate/src/main/java/cn/com/glsx/dj/mindworkplate/service/warning/EcoCoefficientService.java
View file @
fbe7611
...
@@ -56,9 +56,6 @@ public class EcoCoefficientService {
...
@@ -56,9 +56,6 @@ public class EcoCoefficientService {
* @throws IllegalArgumentException 如果未找到匹配规则
* @throws IllegalArgumentException 如果未找到匹配规则
*/
*/
public
BigDecimal
getCoefficient
(
String
indicatorCode
,
double
penetration
)
{
public
BigDecimal
getCoefficient
(
String
indicatorCode
,
double
penetration
)
{
if
(
penetration
<
0
||
penetration
>
1.0
)
{
throw
new
IllegalArgumentException
(
"渗透率必须在 [0.0, 1.0] 范围内"
);
}
List
<
EcoCoefficientRule
>
rules
=
ruleCache
.
get
(
indicatorCode
);
List
<
EcoCoefficientRule
>
rules
=
ruleCache
.
get
(
indicatorCode
);
if
(
rules
==
null
||
rules
.
isEmpty
())
{
if
(
rules
==
null
||
rules
.
isEmpty
())
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment