|
@ -84,8 +84,14 @@ public class TaskService {
|
|
|
*/
|
|
|
public JSONObject selectActivity(JSONObject object,Integer page,Integer size){
|
|
|
String response = null;
|
|
|
Patient patient = patientDao.findByCode(object.getString("patientId"));
|
|
|
String url =getBaseUrl() + "findActivity";
|
|
|
Map<String,String> params = new HashMap<>();
|
|
|
if (patient != null){
|
|
|
object.put("patientIdcard",patient.getIdcard());
|
|
|
object.put("unionId",patient.getUnionid());
|
|
|
}
|
|
|
object.remove("patientId");
|
|
|
params.put("activity",object.toJSONString());
|
|
|
params.put("page",page.toString());
|
|
|
params.put("size",size.toString());
|