Commit efa8f5bf by huluobin

update

parent 369025d0
......@@ -1387,7 +1387,7 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
BaseServe baseServe = baseServeMapper.selectById(serveId);
BaseScheduledType baseScheduledType = baseScheduledTypeMapper.selectById(baseServe.getSchTypeId());
String schTypeName = baseScheduledType.getName();
String schTypeName = baseScheduledType == null ? "" : baseScheduledType.getName();
String serveName = baseServe.getName();
List<String> technicianServeName = Lists.newArrayList("日式女士基础修手", "日式女士精致修手", "日式女士基础修脚", "日式男士基础修手", "日式男士修脚", "精细日式卸甲(手部)", "精细日式卸甲(脚部)", "高级会员免费卸甲(手部)", "高级会员免费卸甲(脚部)", "特级会员免费修手", "贵族会员免费手部基础护理", "手部滋润深沉护理", "脚部滋润深沉护理");
......
......@@ -74,7 +74,7 @@ public class TechScoreRulesServiceImpl extends ServiceImpl<TechScoreRulesMapper,
throw new RRException("未获取到美甲师评分信息");
}
AchievementsPersonaResult achievementsPersonaResult = result.getData().getItems().stream().findAny().orElseThrow(NullPointerException::new);
AchievementsPersonaResult achievementsPersonaResult = result.getData().getItems().stream().findAny().orElseThrow(() -> new RRException("未查询到美甲师评分,请联系后台管理员"));
TechScoreResp techScoreResp = new TechScoreResp();
techScoreResp.setTechScore(achievementsPersonaResult.getMonth_score().doubleValue());
......
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