|  | @ -8,6 +8,7 @@ import com.yihu.jw.dao.TaskDao;
 | 
												
													
														
															|  | import com.yihu.jw.entity.health.bank.ActiveRecordDO;
 |  | import com.yihu.jw.entity.health.bank.ActiveRecordDO;
 | 
												
													
														
															|  | import com.yihu.jw.entity.health.bank.ActivityDO;
 |  | import com.yihu.jw.entity.health.bank.ActivityDO;
 | 
												
													
														
															|  | import com.yihu.jw.entity.health.bank.TaskDO;
 |  | import com.yihu.jw.entity.health.bank.TaskDO;
 | 
												
													
														
															|  | 
 |  | import com.yihu.jw.entity.util.AesEncryptUtils;
 | 
												
													
														
															|  | import com.yihu.mysql.query.BaseJpaService;
 |  | import com.yihu.mysql.query.BaseJpaService;
 | 
												
													
														
															|  | import org.springframework.beans.factory.annotation.Autowired;
 |  | import org.springframework.beans.factory.annotation.Autowired;
 | 
												
													
														
															|  | import org.springframework.jdbc.core.JdbcTemplate;
 |  | import org.springframework.jdbc.core.JdbcTemplate;
 | 
												
											
												
													
														
															|  | @ -65,7 +66,7 @@ public class ActiveRecordService extends BaseJpaService<ActiveRecordDO, ActiveRe
 | 
												
													
														
															|  |         Map<String,Object> result = jdbcTemplate.queryForMap(sql);
 |  |         Map<String,Object> result = jdbcTemplate.queryForMap(sql);
 | 
												
													
														
															|  |         activeRecordDO.setPatientId(patientId);
 |  |         activeRecordDO.setPatientId(patientId);
 | 
												
													
														
															|  |         if(result!=null){
 |  |         if(result!=null){
 | 
												
													
														
															|  |             activeRecordDO.setPatientName(result.get("name")+"");
 |  | 
 | 
												
													
														
															|  | 
 |  |             activeRecordDO.setPatientName(AesEncryptUtils.decrypt(result.get("name")+""));
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
													
														
															|  |         String sql2 = "select f.* from wlyy.wlyy_sign_family f where f.patient='"+patientId+"' and f.status=1 and f.expenses_status=1";
 |  |         String sql2 = "select f.* from wlyy.wlyy_sign_family f where f.patient='"+patientId+"' and f.status=1 and f.expenses_status=1";
 | 
												
													
														
															|  |         List<Map<String, Object>> result2 = jdbcTemplate.queryForList(sql2);
 |  |         List<Map<String, Object>> result2 = jdbcTemplate.queryForList(sql2);
 |