|
@ -86,7 +86,7 @@ public class RenewSignChangeTeamJob implements Job {
|
|
quartzJobLog.setJobStartTime(new Date());
|
|
quartzJobLog.setJobStartTime(new Date());
|
|
quartzJobLog.setJobId(wlyyJobConfig.getId());
|
|
quartzJobLog.setJobId(wlyyJobConfig.getId());
|
|
quartzJobLog.setJobName(wlyyJobConfig.getJobName());
|
|
quartzJobLog.setJobName(wlyyJobConfig.getJobName());
|
|
String sql="select fr.sign_code code,fr.hospital,fr.admin_team_id from wlyy_sign_family_renew_log fr where fr.apply_date<'"+yesterday+ Constant.quota_date_last+"' and fr.sign_year ='"+Constant.getNowYear()+"' and fr.admin_team_id!=fr.old_admin_team_id and fr.hospital=fr.old_hospital and LEFT(fr.hospital,6)=LEFT(fr.old_hospital,6)" ;
|
|
|
|
|
|
String sql="select fr.sign_code code,fr.hospital,fr.admin_team_id from wlyy_sign_family_renew_log fr where fr.apply_date<'"+yesterday+ Constant.quota_date_last+"' and fr.sign_year ='"+Constant.getNowYear()+"' and fr.admin_team_id!=fr.old_admin_team_id and fr.hospital=fr.old_hospital and LEFT(fr.hospital,6)=LEFT(fr.old_hospital,6) and LENGTH(fr.hospital)=10 and LENGTH(fr.old_hospital)=10" ;
|
|
//抽取數據
|
|
//抽取數據
|
|
List<SignFamilyRenew> signFamilies= dbExtract.extract(SignFamilyRenew.class,sql);
|
|
List<SignFamilyRenew> signFamilies= dbExtract.extract(SignFamilyRenew.class,sql);
|
|
//清洗數據
|
|
//清洗數據
|