import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@Scheduled(cron = "${citizencard.confirm.chkdtl.cron}")
@SchedulerLock(name = "CitizencardChkClearConfirmTask", lockAtMostForString = "PT10M")
public void doConfirmCitizenCardChkdtlTask() {
- try { long t1 = System.currentTimeMillis();
+ try {
+ long t1 = System.currentTimeMillis();
if (null == TenantContext.getTenantSchema()) TenantContext.setTenantSchema(Constants.DEFAULT_TENANTID);
TBusinesspara businessParam = systemUtilService.getBusinessValueForUpdateNowait(ConstantUtil.BUSINESS_CITIZENCARD_CLEARDATE);