|
@ -1085,7 +1085,7 @@ public class SignWebService extends BaseService {
|
|
|
public JSONObject getOverDuePatients(String year,Long teamCode,Integer page,Integer pageSize){
|
|
|
StringBuffer sql = new StringBuffer("SELECT IFNULL(year( from_days( datediff( now(), p.birthday))),'未知') age," +
|
|
|
"t.patient code,t.idcard,t.name,t.mobile,t.openid," +
|
|
|
"t.ssc,t.sign_type signType,p.sex ,t.expenses_status expensesStatus " +
|
|
|
"t.ssc,t.type signType,p.sex ,t.expenses_status expensesStatus " +
|
|
|
" FROM wlyy_sign_family t " +
|
|
|
" LEFT JOIN wlyy_patient p ON t.patient = p.code " +
|
|
|
" WHERE t.admin_team_code ="+teamCode+" AND t.sign_year ='"+year+"' AND t.status =-4 LIMIT "+page*pageSize+","+pageSize);
|