|
@ -1071,7 +1071,9 @@ public class ConsultController extends EnvelopRestEndpoint {
|
|
|
BasePatientDO patient = patientDao.findById(getRepUID());
|
|
|
int i = 0;
|
|
|
List<String> failed = new ArrayList<>();
|
|
|
|
|
|
//这边还要看能不能获取到
|
|
|
System.out.println("getUID():" + getUID());
|
|
|
System.out.println("getRepUID():" + getRepUID());
|
|
|
String agent = getUID() == getRepUID() ? null : getUID();
|
|
|
for (ConsultTeamLogDo log : logs) {
|
|
|
String response = imUtill.sendTopicIM(getRepUID(), patient.getName(), consult, String.valueOf(log.getType()), log.getContent(), agent);
|
|
@ -1330,7 +1332,7 @@ public class ConsultController extends EnvelopRestEndpoint {
|
|
|
* consult 咨询标识
|
|
|
* content 评价内容
|
|
|
* star 星级
|
|
|
* 操作结果
|
|
|
* 操作结果
|
|
|
*/
|
|
|
// @RequestMapping(value = "comment")
|
|
|
// @ApiOperation("三师咨询评论")
|
|
@ -1361,13 +1363,12 @@ public class ConsultController extends EnvelopRestEndpoint {
|
|
|
// }
|
|
|
//
|
|
|
// }
|
|
|
|
|
|
@RequestMapping(value = "getTopic")
|
|
|
public Envelop getTopic(String consult) {
|
|
|
try {
|
|
|
return success(imUtill.getTopic(consult).get("data").toString());
|
|
|
} catch (Exception e) {
|
|
|
return failed( e.getMessage());
|
|
|
return failed(e.getMessage());
|
|
|
}
|
|
|
}
|
|
|
|