|
@ -5,6 +5,7 @@ package com.yihu.wlyy.service.third.health.bank;/**
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.yihu.wlyy.entity.patient.SignFamily;
|
|
import com.yihu.wlyy.entity.patient.SignFamily;
|
|
|
|
import com.yihu.wlyy.service.app.device.PatientDeviceService;
|
|
import com.yihu.wlyy.util.HttpClientUtil;
|
|
import com.yihu.wlyy.util.HttpClientUtil;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.slf4j.LoggerFactory;
|
|
@ -41,6 +42,8 @@ public class CreditLogService {
|
|
private JdbcTemplate jdbcTemplate;
|
|
private JdbcTemplate jdbcTemplate;
|
|
@Autowired
|
|
@Autowired
|
|
private StringRedisTemplate redisTemplate;
|
|
private StringRedisTemplate redisTemplate;
|
|
|
|
@Autowired
|
|
|
|
private PatientDeviceService patientDeviceService;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 调用第三方积分排名接口
|
|
* 调用第三方积分排名接口
|
|
@ -164,8 +167,10 @@ public class CreditLogService {
|
|
params.put("task",object.toJSONString());
|
|
params.put("task",object.toJSONString());
|
|
params.put("page",page.toString());
|
|
params.put("page",page.toString());
|
|
params.put("size",size.toString());
|
|
params.put("size",size.toString());
|
|
|
|
String patientId = object.getString("patientId");
|
|
try {
|
|
try {
|
|
response = httpClientUtil.httpPost(url,params);
|
|
response = httpClientUtil.httpPost(url,params);
|
|
|
|
Map<String,Object> taskInfo = patientDeviceService.getPatientDeviceTaskInfo(patientId);
|
|
|
|
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|