Kaynağa Gözat

Merge branch 'dev' of lyr/patient-co-management into dev

lyr 8 yıl önce
ebeveyn
işleme
6a379c3b9e

+ 4 - 4
patient-co-wlyy/src/main/java/com/yihu/wlyy/web/patient/consult/ConsultController.java

@ -749,8 +749,8 @@ public class ConsultController extends WeixinBaseController {
                        json.put("content", obj.getString("content"));
                        // 设置咨询或回复时间
                        json.put("time", DateUtil.dateToStr(new Date(obj.getLong("timestamp")), DateUtil.YYYY_MM_DD_HH_MM_SS));
                        // 设置记录类型:1文字,2图片,3语音
                        json.put("msgType", obj.getInt("contentType") == 2 ? 2 : 1);
                        // 设置记录类型:1文字,2图片,3语音 4 文章
                        json.put("msgType", obj.getInt("contentType"));
                        // 设置类型:0患者问,1医生回复,2患者追问,3患者评价
                        if (!obj.getString("from").equals(getUID())) {
                            json.put("type", 1);
@ -807,7 +807,7 @@ public class ConsultController extends WeixinBaseController {
                    // 设置咨询或回复时间
                    json.put("time", DateUtil.dateToStr(new Date(obj.getLong("timestamp")), DateUtil.YYYY_MM_DD_HH_MM_SS));
                    // 设置记录类型:1文字,2图片,3语音
                    json.put("msgType", obj.getInt("contentType") == 2 ? 2 : 1);
                    json.put("msgType", obj.getInt("contentType"));
                    // 设置类型:0患者问,1医生回复,2患者追问,3患者评价
                    if (!obj.getString("from").equals(getUID())) {
                        json.put("type", 1);
@ -889,7 +889,7 @@ public class ConsultController extends WeixinBaseController {
            // 设置咨询或回复时间
            json.put("time", DateUtil.dateToStr(new Date(obj.getLong("timestamp")), DateUtil.YYYY_MM_DD_HH_MM_SS));
            // 设置记录类型:1文字,2图片,3语音
            json.put("msgType", obj.getInt("contentType") == 2 ? 2 : 1);
            json.put("msgType", obj.getInt("contentType"));
            // 设置类型:0患者问,1医生回复,2患者追问,3患者评价
            if (!obj.getString("from").equals(getUID())) {
                json.put("type", 1);