|
|
@@ -11,8 +11,6 @@ import com.lc.ibps.cloud.file.provider.UploadProvider;
|
|
|
import com.lc.ibps.common.file.persistence.entity.AttachmentPo;
|
|
|
import com.lc.ibps.components.quartz.BaseJob2;
|
|
|
import com.lc.ibps.org.party.persistence.entity.DefaultPartyUserPo;
|
|
|
-import com.lc.ibps.org.party.persistence.entity.PartyEmployeePo;
|
|
|
-import com.lc.ibps.org.party.persistence.entity.PartyEntityPo;
|
|
|
import org.quartz.JobDataMap;
|
|
|
import org.quartz.JobExecutionContext;
|
|
|
import org.slf4j.Logger;
|
|
|
@@ -44,7 +42,7 @@ public class ReplenishSnapshotJob extends BaseJob2 {
|
|
|
String runqianServer = EnvUtil.getProperty("runqian.server", "");
|
|
|
String runqianBasePath = EnvUtil.getProperty("runqian.base-path", "");
|
|
|
String sql = " select id_,biz_key_,proc_def_name_,bao_biao_lu_jing_,user_id_,user_name_,account_,end_time_,bo_code_,org_id_ from t_bckzsjb " +
|
|
|
- " where date_format(create_time_,'%Y-%m-%d')=current_date and status_='0' and retry_<3 ";
|
|
|
+ " where date_format(create_time_,'%Y-%m-%d')=current_date and status_='0' and retry_<3 ";
|
|
|
@SuppressWarnings("unchecked")
|
|
|
List<Map<String, Object>> list = (List<Map<String, Object>>) commonDao.query(sql);
|
|
|
if (BeanUtils.isNotEmpty(list)) {
|
|
|
@@ -81,7 +79,7 @@ public class ReplenishSnapshotJob extends BaseJob2 {
|
|
|
|
|
|
commonDao.execute("update t_bckzsjb set status_='1',kuai_zhao_='"+kuaiZhaoId+"' where id_='"+id+"'");
|
|
|
|
|
|
- logger.warn("Generated Snapshot Success kuaiZhaoId={},id={}" + kuaiZhaoId,id );
|
|
|
+ logger.warn("Generated Snapshot Success kuaiZhaoId={},id={}" , kuaiZhaoId,id );
|
|
|
success = success + 1;
|
|
|
}
|
|
|
}catch (Exception e){
|