|
@ -36,12 +36,14 @@ public class BannerDoctorController extends EnvelopRestEndpoint {
|
|
|
@ApiParam(name = "doctorName", value = "doctorName", required = false)
|
|
|
@RequestParam(value = "doctorName", required = false)String doctorName,
|
|
|
@ApiParam(name = "content", value = "content", required = false)
|
|
|
@RequestParam(value = "content", required = false)String content){
|
|
|
@RequestParam(value = "content", required = false)String content,
|
|
|
@ApiParam(name = "type", value = "type", required = false)
|
|
|
@RequestParam(value = "type", required = false)Integer type){
|
|
|
List<BaseBannerDoctorDO> resultList = new ArrayList<>();
|
|
|
if(StringUtils.isNotEmpty(bannerIds)){
|
|
|
List<String> list = Arrays.asList(bannerIds.split(","));
|
|
|
String patientId= getUID();
|
|
|
resultList = baseBannerDoctorService.bannerGive(patientId,list,content,doctor,doctorName);
|
|
|
resultList = baseBannerDoctorService.bannerGive(patientId,list,content,doctor,doctorName,type);
|
|
|
}
|
|
|
return success("赠送成功",resultList);
|
|
|
}
|