|
@ -139,7 +139,7 @@ public class ChildFamilyImmuneService extends BaseService {
|
|
" inner join (select patient,name from wlyy_sign_family where type in (1,2) and `status` = 1 and expenses_status = 1 and doctor = '"+doctorcode+"' or doctor_health='"+doctorcode+"') b " +
|
|
" inner join (select patient,name from wlyy_sign_family where type in (1,2) and `status` = 1 and expenses_status = 1 and doctor = '"+doctorcode+"' or doctor_health='"+doctorcode+"') b " +
|
|
" on a.family_code = b.patient " +
|
|
" on a.family_code = b.patient " +
|
|
" left join wlyy_child_info c on c.`code` = a.child_code " +
|
|
" left join wlyy_child_info c on c.`code` = a.child_code " +
|
|
") m on m.barcode = t.barcode ";
|
|
|
|
|
|
") m on m.barcode = t.barcode where t.ymsx=1";
|
|
if (limitType==1){
|
|
if (limitType==1){
|
|
int start = (pageNo-1)*pageSize;
|
|
int start = (pageNo-1)*pageSize;
|
|
sql +=" limit "+start+","+pageSize;
|
|
sql +=" limit "+start+","+pageSize;
|