|
|
@@ -114,12 +114,12 @@ public class FeeRuleSchemeServiceNewImpl implements FeeRuleSchemeNewService {
|
|
|
for(int i=0;i<agreementProductCosts.size();i++)
|
|
|
{
|
|
|
if(agreementProductCosts.get(i).getPriorityLevel()==null){
|
|
|
- agreementProductCosts.get(i).setPriorityLevel(1);
|
|
|
+ agreementProductCosts.get(i).setPriorityLevel(10);
|
|
|
}
|
|
|
}
|
|
|
if(agreementProductCosts.size() > 0) {
|
|
|
//按优先级进行排序
|
|
|
- Collections.sort(agreementProductCosts, Comparator.comparingInt(AgreementProductCosts::getPriorityLevel).reversed());
|
|
|
+ Collections.sort(agreementProductCosts, Comparator.comparingInt(AgreementProductCosts::getPriorityLevel));
|
|
|
//遍历费用因子
|
|
|
String costsId = verificationCosts(agreementProductCosts, insAreaCompany, insOrders);
|
|
|
if(costsId != null) {
|