Commit 14fba952 by Water Wang

optimize

parent 6a1a7a38
...@@ -1347,12 +1347,12 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service. ...@@ -1347,12 +1347,12 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
for(MktLeadsGoals item : leadsGoals){ for(MktLeadsGoals item : leadsGoals){
if(time == 1){//月份 if(time == 1){//月份
if(item.getSeqTime() == month){ if(item.getSeqTime() == month){
goalsPremium = item.getPremium(); goalsPremium = item.getCommission();
break; break;
} }
}else{//季度 }else{//季度
if(monthList.contains(item.getSeqTime())){ if(monthList.contains(item.getSeqTime())){
goalsPremium = (goalsPremium == null) ? item.getPremium() : goalsPremium + item.getPremium(); goalsPremium = (goalsPremium == null) ? item.getCommission() : goalsPremium + item.getCommission();
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment