|
@ -20,6 +20,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
* Created by 卓 on 2017/5/10.
|
|
@ -81,4 +82,23 @@ public class EvaluateController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 保存评价
|
|
|
* @param doctor 保存评价内容的JSON
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "doctor/label")
|
|
|
@ResponseBody
|
|
|
public String doctorLabel(@RequestParam(required = true,value="doctor") String doctor){
|
|
|
try{
|
|
|
List<Map<String,Object>> result = evaluateLabelService.findDistinctLabelByLaDoctor(doctor);
|
|
|
return write(200,"查询成功!","list",result);
|
|
|
}catch (Exception e){
|
|
|
error(e);
|
|
|
return write(-1,e.getMessage());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
}
|