|
@@ -294,6 +294,12 @@ public class UploadWorkeCertificateServiceImpl implements UploadWorkeCertificate
|
|
|
.eq(WebsitWorker::getWorkerId,owu.getWorkerId())
|
|
|
.eq(WebsitWorker::getWebsitId,owu.getWebsitId())
|
|
|
.one();
|
|
|
+
|
|
|
+ if (item == null){
|
|
|
+ updateOutWorkerUploadError(owu,"无保险信息请核实websit_worker");
|
|
|
+ return Boolean.FALSE;
|
|
|
+ }
|
|
|
+
|
|
|
// 若未同步生成三方文件不处理,等待其他定时任务处理 processUploadTask
|
|
|
if (StringUtils.isEmpty(item.getOutInsureCert())){
|
|
|
updateOutWorkerUploadError(owu,"等待同步保险信息");
|