|
@ -60,7 +60,7 @@ public class CreditLogService {
|
|
|
* @return
|
|
|
*/
|
|
|
public JSONObject selectByRanking(String doctorId, Integer page, Integer size){
|
|
|
String sql = "SELECT * FROM wlyy_sign_family WHERE status = 1 AND doctor = '" +doctorId + "'";
|
|
|
String sql = "SELECT * FROM wlyy_sign_family WHERE status = 1 AND ( doctor = '" +doctorId + "' OR doctor_health = '" + doctorId +"')";
|
|
|
List<SignFamily> signFamilyList = jdbcTemplate.query(sql,new BeanPropertyRowMapper(SignFamily.class));
|
|
|
List<String> patientIds = new ArrayList<>();
|
|
|
if (signFamilyList != null && signFamilyList.size() != 0){
|