This commit is contained in:
parent
ebd94660ca
commit
d07208e8fb
|
@ -61,7 +61,7 @@ public class WxCounselorController extends BaseController {
|
||||||
@GetMapping("/{id}")
|
@GetMapping("/{id}")
|
||||||
public R<CounselorVo> getInfo(@NotNull(message = "主键不能为空")
|
public R<CounselorVo> getInfo(@NotNull(message = "主键不能为空")
|
||||||
@PathVariable Long id) {
|
@PathVariable Long id) {
|
||||||
return R.ok(counselorService.queryById(id));
|
return R.ok(counselorService.queryById4Wx(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -93,6 +93,8 @@ public class CounselorServiceImpl implements ICounselorService {
|
||||||
if (StringUtils.isEmpty(counselorVo.getGoodRate())) {
|
if (StringUtils.isEmpty(counselorVo.getGoodRate())) {
|
||||||
counselorVo.setGoodRate("91.9");
|
counselorVo.setGoodRate("91.9");
|
||||||
}
|
}
|
||||||
|
String scaleTypeName = dictService.getDictLabel("good_field", StrUtil.join(StrUtil.COMMA, counselorVo.getSpecialityField()));
|
||||||
|
counselorVo.setSpecialityFieldName(StrUtil.split(scaleTypeName, StrUtil.COMMA));
|
||||||
return counselorVo;
|
return counselorVo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue