|
@ -69,8 +69,8 @@ public class DeviceHealthIndexService extends BaseDeviceJpaService<DeviceHealthI
|
|
|
|
|
|
StringBuilder filter = new StringBuilder();
|
|
|
|
|
|
String sql =" SELECT i.* ,s.name userName FROM device.wlyy_patient_health_index i , wlyy.wlyy_sign_family s WHERE s. STATUS > 0 and i.user=s.patient ";
|
|
|
String countSql =" SELECT count(1) as num FROM device.wlyy_patient_health_index i, wlyy.wlyy_sign_family s WHERE s. STATUS > 0 and i.user=s.patient ";
|
|
|
String sql =" SELECT i.* ,s.name userName FROM device.wlyy_patient_health_index i , wlyy.wlyy_patient s WHERE i.user=s.code ";
|
|
|
String countSql =" SELECT count(1) as num FROM device.wlyy_patient_health_index i, wlyy.wlyy_patient s WHERE i.user=s.code ";
|
|
|
//1、管理员 2、医生 0、其他
|
|
|
if(loginUser.getType()==2){
|
|
|
Doctor doctor = doctorDao.findByCode(loginUser.getCode());
|