|
@@ -1,6 +1,5 @@
|
|
|
package com.dgtis.data.api;
|
|
|
|
|
|
-import cn.hutool.json.JSONUtil;
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
@@ -476,7 +475,7 @@ public class CustomerApiController {
|
|
|
String indid = jsonObject.getString("_id");
|
|
|
mpInfo.put("id",indid);
|
|
|
JSONObject source = JSON.parseObject(jsonObject.getString("_source"));
|
|
|
- String scustid = jsonObject.getString("scustid");
|
|
|
+ String scustid = source.getString("scustid");
|
|
|
mpInfo.putAll(JSON.parseObject(jsonObject.getString("_source"),Map.class));
|
|
|
//mpInfo.put("birthday",DateUtils.parseDateToStr("yyyy-MM-dd HH:mm:ss",JSON.parseObject(jsonObject.getString("_source")).getDate("birthday")));
|
|
|
if(mpInfo.containsKey("birthday")){
|