bug
This commit is contained in:
parent
cf0eeb53ce
commit
16d4da1f3d
@ -346,9 +346,14 @@ public class ActiveConsumptionServiceImpl extends ServiceImpl<ActiveConsumptionM
|
||||
}
|
||||
}
|
||||
}
|
||||
String[] strings = new String[0];
|
||||
//封装VO返回
|
||||
activeConsumptionVO.setParticipationConditionMoney(consumption.getParticipationConditionMoney().toString());
|
||||
activeConsumptionVO.setDieselUserLevel(consumption.getDieselUserLevel().split(","));
|
||||
if (ObjectUtils.isNotEmpty(consumption.getDieselUserLevel()) && consumption.getDieselUserLevel().length()>2){
|
||||
activeConsumptionVO.setDieselUserLevel(consumption.getDieselUserLevel().split(","));
|
||||
}else {
|
||||
activeConsumptionVO.setDieselUserLevel(strings);
|
||||
}
|
||||
activeConsumptionVO.setGasolineUserLevel(consumption.getGasolineUserLevel().split(","));
|
||||
activeConsumptionVO.setNaturalUserLevel(consumption.getNaturalUserLevel().split(","));
|
||||
activeConsumptionVO.setAdaptOil(Arrays.stream(consumption.getAdaptOil().split(","))
|
||||
|
Loading…
Reference in New Issue
Block a user