|
@ -86,9 +86,19 @@ public class TaskService {
|
|
|
String response = null;
|
|
|
String url =getBaseUrl() + "findActivity";
|
|
|
Map<String,String> params = new HashMap<>();
|
|
|
params.put("activity",object.toJSONString());
|
|
|
|
|
|
|
|
|
params.put("page",page.toString());
|
|
|
params.put("size",size.toString());
|
|
|
|
|
|
if(object.containsKey("patientid")){
|
|
|
String patient = object.getString("patientid");
|
|
|
Patient patient2 = patientDao.findByCode(patient);
|
|
|
object.put("patientIdcard",patient2.getIdcard());
|
|
|
object.put("unionId",patient2.getUnionid());
|
|
|
}
|
|
|
params.put("activity",object.toJSONString());
|
|
|
|
|
|
try {
|
|
|
response = httpClientUtil.httpPost(url,params);
|
|
|
|