Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-staff
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5ba02c57
authored
Feb 02, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:条件值添加判断
1 parent
cab76bba
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
src/main/java/cn/com/glsx/dj/staff/service/performance/PerformanceConfigService.java
src/main/java/cn/com/glsx/dj/staff/service/performance/PerformanceConfigService.java
View file @
5ba02c5
...
@@ -109,6 +109,17 @@ public class PerformanceConfigService {
...
@@ -109,6 +109,17 @@ public class PerformanceConfigService {
log
.
info
(
"提成基数参数配置错误。condition_goods_config_type 必传 "
);
log
.
info
(
"提成基数参数配置错误。condition_goods_config_type 必传 "
);
return
RopResponse
.
error
(
RopErrorEnum
.
PERFORMANCE_SCHEME_REQUIREMENT_PARAM_ERROR
,
"提成基数参数配置错误 condition_goods_config_type 必传 "
);
return
RopResponse
.
error
(
RopErrorEnum
.
PERFORMANCE_SCHEME_REQUIREMENT_PARAM_ERROR
,
"提成基数参数配置错误 condition_goods_config_type 必传 "
);
}
}
PerformanceConditionTypeEnum
conditionTypeEnum
=
PerformanceConditionTypeEnum
.
getByCode
(
condition
.
getConditionType
());
if
(
conditionTypeEnum
==
null
)
{
log
.
info
(
"提成基数参数配置错误。condition_type 必传 "
);
return
RopResponse
.
error
(
RopErrorEnum
.
PERFORMANCE_SCHEME_REQUIREMENT_PARAM_ERROR
,
"提成基数参数配置错误。condition_type 必传 "
);
}
if
(
conditionTypeEnum
==
PerformanceConditionTypeEnum
.
PENETRATION_RATE_LIMIT
||
conditionTypeEnum
==
PerformanceConditionTypeEnum
.
ORDER_COUNT_DEDUCTION
)
{
if
(
condition
.
getConditionEndValue
()
==
null
)
{
log
.
info
(
"提成基数参数配置错误。condition_end_value 必传 "
);
return
RopResponse
.
error
(
RopErrorEnum
.
PERFORMANCE_SCHEME_REQUIREMENT_PARAM_ERROR
,
"提成基数参数配置错误。condition_end_value 必传 "
);
}
}
}
}
}
}
}
}
...
...
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