|
@@ -31,6 +31,8 @@ public class UploadWorkerTOGree {
|
|
|
private String workerceruploadc = "";
|
|
|
@Value("${workerrzc}")
|
|
|
private String workerrzc = "";
|
|
|
+ @Value("${inbeforec}")
|
|
|
+ private String inbeforec = "";
|
|
|
|
|
|
@Autowired
|
|
|
UploadWorkerTOGreeService uploadWorkerTOGreeService;
|
|
@@ -57,10 +59,10 @@ public class UploadWorkerTOGree {
|
|
|
}
|
|
|
|
|
|
// 师傅入驻格力新网点前 同步证件数据(保险+其他证件照)
|
|
|
- @Scheduled(fixedDelayString = "${workercerupload}")
|
|
|
+ @Scheduled(fixedDelayString = "${inbefore}")
|
|
|
public void workAddCertProcess() throws Exception {
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
- if (workerceruploadc.equals(TaskConfigEnum.FALSE.getCode())){
|
|
|
+ if (inbeforec.equals(TaskConfigEnum.FALSE.getCode())){
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -74,7 +76,7 @@ public class UploadWorkerTOGree {
|
|
|
|
|
|
|
|
|
// 师傅入驻格力新网点
|
|
|
- @Scheduled(fixedDelayString = "${workercerupload}")
|
|
|
+ @Scheduled(fixedDelayString = "${workerrz}")
|
|
|
public void workAddProcess() throws Exception {
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
if (workerrzc.equals(TaskConfigEnum.FALSE.getCode())){
|