|
@ -12,7 +12,6 @@ import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
* Created by yeshijie on 2017/9/25.
|
|
@ -42,13 +41,6 @@ public class JwMaternalChildService {
|
|
|
params.add(new BasicNameValuePair("idcard", idcard));
|
|
|
params.add(new BasicNameValuePair("hospital", hospital));
|
|
|
|
|
|
if(idcard.contains("352124761015122-")){
|
|
|
String temp[] = idcard.split("-");
|
|
|
String sql = "SELECT response FROM wlyy_zy_push_log_detail WHERE id = "+temp[1];
|
|
|
List<Map<String ,Object>> list = jdbcTemplate.queryForList(sql);
|
|
|
return list.get(0).get("response").toString();
|
|
|
}
|
|
|
|
|
|
String response = httpClientUtil.post(url, params, "UTF-8");
|
|
|
|
|
|
return response;
|