|
@ -77,7 +77,9 @@ public class SynergyManageService extends BaseService {
|
|
|
if (type == 3){
|
|
|
Followup followup = followUpDao.findOne(Long.parseLong(objectId));
|
|
|
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
followup.setFollowupDate(dateFormat.parse(serviceDate+":00"));
|
|
|
String a = serviceDate+":00";
|
|
|
Date date = dateFormat.parse(serviceDate+":00");
|
|
|
followup.setFollowupDate(date);
|
|
|
followup.setFollowupType(followupType);
|
|
|
followup.setFollowupClass(followupClass);
|
|
|
followup = followUpDao.save(followup);
|
|
@ -103,11 +105,11 @@ public class SynergyManageService extends BaseService {
|
|
|
|
|
|
public String getWorkorById(String code) throws Exception {
|
|
|
String response = null;
|
|
|
String url = customerUrl + "synergy/doctor/getWorkorderInfo?workorderCode ="+code;
|
|
|
String url = customerUrl + "synergy/doctor/getWorkorderInfo?workorderCode="+code;
|
|
|
response = httpClientUtil.get(url,"UTF-8");
|
|
|
com.alibaba.fastjson.JSONObject object1 = JSON.parseObject(response);
|
|
|
if (object1.getInteger("status")==200){
|
|
|
return response;
|
|
|
return object1.getJSONObject("data").toString();
|
|
|
}else {
|
|
|
throw new Exception("请求客服系统服务失败!");
|
|
|
}
|