|
|
@@ -3283,9 +3283,14 @@ public class FeeRuleSchemeServiceNewImpl implements FeeRuleSchemeNewService {
|
|
|
* @return
|
|
|
*/
|
|
|
private boolean selectEqual(PtlAgreementProductCostsAttrLink ptlAgreementProductCostsAttrLink, String value) {
|
|
|
- if (ptlAgreementProductCostsAttrLink.getMin() != null && ptlAgreementProductCostsAttrLink.getMin().contains(value)) {
|
|
|
+ // 包含情况
|
|
|
+ if (ptlAgreementProductCostsAttrLink.getMin() != null && ptlAgreementProductCostsAttrLink.getMin().contains(value) && ptlAgreementProductCostsAttrLink.getOperator().equals("0")) {
|
|
|
return true;
|
|
|
}
|
|
|
+ // 不包含的情况
|
|
|
+ if (ptlAgreementProductCostsAttrLink.getMin()!= null && ptlAgreementProductCostsAttrLink.getMin().contains(value) && ptlAgreementProductCostsAttrLink.getOperator().equals("1")) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
return false;
|
|
|
}
|
|
|
|