|
|
@@ -130,7 +130,11 @@ public class RuleServiceImpl implements RuleService {
|
|
|
}
|
|
|
|
|
|
private boolean checkBoxEqual(RuleAttrLinkVo linkVo, String value) {
|
|
|
- String[] split = linkVo.getMin().split(",");
|
|
|
+ String min = linkVo.getMin();
|
|
|
+ if (min == null || min.isEmpty()) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ String[] split = min.split(",");
|
|
|
for (String sp : split) {
|
|
|
if (sp.equals(value)) {
|
|
|
return true;
|