|
@ -96,6 +96,7 @@ public class PatientDeviceJob implements Job {
|
|
" WHERE " +
|
|
" WHERE " +
|
|
" pd.user_idcard = sf.idcard " +
|
|
" pd.user_idcard = sf.idcard " +
|
|
" AND sf.type = 2 " +
|
|
" AND sf.type = 2 " +
|
|
|
|
" AND pd.del=0 " +
|
|
" AND sf. STATUS IN (1, 2) " +
|
|
" AND sf. STATUS IN (1, 2) " +
|
|
" AND pd.czrq <' "+yesterday+ Constant.quota_date_last+"' ";
|
|
" AND pd.czrq <' "+yesterday+ Constant.quota_date_last+"' ";
|
|
//抽取數據
|
|
//抽取數據
|