yaozhixue 1 year ago
parent
commit
b18de79452

+ 7 - 0
src/main/java/com/zfire/jiasm/syncdata/base/WorkerCertificateInfo.java

@@ -107,6 +107,13 @@ public class WorkerCertificateInfo {
     @ApiModelProperty(value = "复审日期")
     private String hgfsrq;
 
+    @ApiModelProperty(value = "人脸审核结果:0:未审核;1:通过;9:大数据人脸审核驳回")
+    private Integer facecheck;
+    @ApiModelProperty(value = "服务人员人脸存储路径")
+    private String facepath;
+    @ApiModelProperty(value = "是否已采集人脸:1;是")
+    private Boolean hasfaceFlag;
+
     // 其他证件
     private List<WorkerCertificateOther> other = new ArrayList<>();
 

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/download/worker/GLPPWXGQueryAdd.java

@@ -128,7 +128,7 @@ public class GLPPWXGQueryAdd {
     }
 
     // 新增格力网点维修工数据
-    // 放在了 ItfTblWangdianPositionDownload 表但未使用
+    // 放在了 ItfTblWangdianPositionDownload 表 向上同步使用
     @Scheduled(fixedDelayString = "${wdwxgt}")
     public void processWxgT(){
         if (wxgwztc.equals(TaskConfigEnum.FALSE.getCode())){

+ 2 - 0
src/main/java/com/zfire/jiasm/syncdata/service/UploadWorkeCertificateService.java

@@ -16,4 +16,6 @@ public interface UploadWorkeCertificateService {
 
     Boolean uploadWorkeBx(OutWorkerUpload owu);
     Boolean UploadWorkeCert(OutWorkerUpload owu);
+
+    void procesUploadWorkeFace();
 }

+ 2 - 0
src/main/java/com/zfire/jiasm/syncdata/service/impl/PublicServiceImpl.java

@@ -1779,6 +1779,8 @@ public class PublicServiceImpl implements PublicService {
             awc.setCertFlag(7);
         } else if ("焊工证".equals(certName)) {
             awc.setCertFlag(8);
+        } else if ("人脸面像".equals(certName)) {
+            awc.setCertFlag(9);
         }
     }
 

+ 207 - 6
src/main/java/com/zfire/jiasm/syncdata/service/impl/UploadWorkeCertificateServiceImpl.java

@@ -56,6 +56,8 @@ public class UploadWorkeCertificateServiceImpl implements UploadWorkeCertificate
     InsureWorkerInitService insureWorkerInitService;
     @Resource
     WorkerCertGreeService workerCertGreeService;
+    @Resource
+    WorkerService workerService;
 
 
 
@@ -183,7 +185,6 @@ public class UploadWorkeCertificateServiceImpl implements UploadWorkeCertificate
             } catch (Exception ex) {
                 ex.printStackTrace();
                 log.info("同步师傅证件失败:【" + item.getId() + "】");
-                log.info("同步师傅证件失败:{}",JSONObject.toJSONString(wcgs));
                 String msg = "同步师傅证件失败:";
                 if (com.baomidou.mybatisplus.core.toolkit.StringUtils.isNotEmpty(ex.getMessage())){
                     msg = msg + ex.getMessage();
@@ -193,6 +194,106 @@ public class UploadWorkeCertificateServiceImpl implements UploadWorkeCertificate
         }
     }
 
+
+    @Override
+    public void procesUploadWorkeFace() {
+        List<WorkerBrandAccount> workerWdnos = new ArrayList<>();
+        String filePatho ="";
+        String fileIdo ="";
+        Integer count = 0;
+        Boolean upf = Boolean.TRUE;
+        String outFile="";
+        List<WorkerCertGree> wcgs = new ArrayList<>();
+        Map<String,String> wcgids = new HashMap<>();
+        List<Worker> workers = new ArrayList<>();
+
+        // 提取品牌信息 用于多品牌数据同步目前仅格力,可以先不用做
+        Brand brand = baseService.getBrand();
+        if (brand == null) {
+            return;
+        }
+
+        List<WorkerCertGree> wcgsold = workerCertGreeService.lambdaQuery().list();
+        if (CollectionUtils.isNotEmpty(wcgsold)){
+            wcgsold.stream().forEach(event->{
+                wcgids.put(event.getWorkerId() + event.getBrandWebsitId() + event.getCertName(),event.getWorkerCertGreeId());
+            });
+            wcgsold.clear();
+        }
+
+        // 提取需同步的人脸面像数据
+        workers = getWorkers();
+
+        for (Worker item:workers){
+            count = 0;
+            try{
+                //  查看师傅是否已选中品牌商网点(这里只提取选中格力品牌商的师傅数据)
+                workerWdnos = workerBrandAccountService.lambdaQuery()
+                        .eq(WorkerBrandAccount::getWorkerId, item.getWorkerId())
+                        .eq(WorkerBrandAccount::getBrandWorkerStatus,"ON")
+                        .eq(WorkerBrandAccount::getDel,0)
+                        .eq(WorkerBrandAccount::getGroupCompanyId, brand.getBrandId()).list();
+
+                // 未选择品牌商
+                if (workerWdnos.size()<1){
+                    updateWorkFaceError(item,"师傅未选择格力品牌商信息");
+                    continue;
+                }
+
+                //  判断师傅入驻的商户网点
+                count = getCount(workerWdnos, count);
+                if (count.equals(workerWdnos.size())){
+                    updateWorkFaceError(item,"师傅未入驻品牌商网点");
+                    continue;
+                }
+
+                // 生成图片 System.getProperty("java.io.tmpdir")
+                fileIdo = IdWorker.getIdStr() + ".jpeg";
+                filePatho = publicService.pathToGree(fileIdo);
+                File nFile = publicService.createf(filePatho);
+                // 下载文件生成新文件 fid1
+                baseService.saveToFile(ossUtil.getUrlWw(item.getAuthHeadImage()),nFile);
+
+                // 上传图片 按网点上传
+                for (WorkerBrandAccount wdno: workerWdnos){
+                    outFile="";
+                    upf=Boolean.TRUE;
+
+                    if (StringUtils.isEmpty(wdno.getBrandWebsitId())){
+                        continue;
+                    }
+
+                    if (StringUtils.isNotEmpty(filePatho)){
+                        outFile = uploadWdnoFaceFile(wdno.getBrandWebsitId(), item, filePatho, fileIdo);
+                        if (StringUtils.isEmpty(outFile)){
+                            upf=Boolean.FALSE;
+                        }
+                    }
+                    // 网点上传成功 生成对像
+                    if (upf){
+                        getWorkerFaceGreeInfo(outFile, wcgs, wdno, wcgids);
+                    }
+                }
+                // 上传完后师傅所在网点的证件保存,并写入更新表待师傅证件修改
+                // 最后保存网点图,目的下次无需再同步图片
+                extractedFeceEnd(wcgs, item, outFile);
+
+                // 文件清除
+                delfile(filePatho, "", "");
+
+            } catch (Exception ex) {
+                ex.printStackTrace();
+                log.info("同步师傅人脸面像失败:【" + item.getWorkerId() + "】");
+                log.info("同步师傅人脸面像失败:{}",JSONObject.toJSONString(wcgs));
+                String msg = "同步师傅人脸面像失败:";
+                if (com.baomidou.mybatisplus.core.toolkit.StringUtils.isNotEmpty(ex.getMessage())){
+                    msg = msg + ex.getMessage();
+                }
+                updateWorkFaceError(item,msg);
+            }
+        }
+    }
+
     @Transactional(rollbackFor = Exception.class)
     public void extractedEnd(List<WorkerCertGree> wcgs, WorkerCert item, String file, String filet) throws Exception {
         try{
@@ -209,6 +310,22 @@ public class UploadWorkeCertificateServiceImpl implements UploadWorkeCertificate
         }
     }
 
+    @Transactional(rollbackFor = Exception.class)
+    public void extractedFeceEnd(List<WorkerCertGree> wcgs, Worker item, String file ) throws Exception {
+        try{
+            if (wcgs.size()>0){
+                workerCertGreeService.saveOrUpdateBatch(wcgs);
+                wcgs.clear();
+            }
+            updateWorkFaceSyncStat(item, file);
+
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            // 抛异常目的是把前期的数据操作回滚
+            throw new Exception(ex);
+        }
+    }
+
     private void getWorkerCertGreeInfo(String outFile, String outFilet,
                                        List<WorkerCertGree> wcgs, WorkerCert item,
                                        WorkerBrandAccount wdno, Map<String,String> wcgids) {
@@ -230,6 +347,23 @@ public class UploadWorkeCertificateServiceImpl implements UploadWorkeCertificate
         wcgs.add(awc);
     }
 
+    private void getWorkerFaceGreeInfo(String outFile,
+                                       List<WorkerCertGree> wcgs,
+                                       WorkerBrandAccount wdno, Map<String,String> wcgids) {
+        WorkerCertGree  awc = new WorkerCertGree();
+        awc.setWorkerCertGreeId(IdWorker.getIdStr());
+        awc.setWorkerId(wdno.getWorkerId());
+        awc.setBrandWebsitId(wdno.getBrandWebsitId());
+        awc.setCertName("人脸面像");
+        awc.setCertNo("");
+        awc.setCreateTime(new Date());
+        awc.setOutFileUrl(outFile);
+        publicService.setCertFlag(awc.getCertName(), awc);
+        // 存在进行修改
+        publicService.setWorkerCertGreeId(awc, wcgids);
+        wcgs.add(awc);
+    }
+
     private void getWorkerCertGreeOtherInfo(String outFile, String outFilet,
                                        List<WorkerCertGree> wcgs, WorkerCert item,
                                             OutWorkerUpload owu) {
@@ -1053,6 +1187,48 @@ public class UploadWorkeCertificateServiceImpl implements UploadWorkeCertificate
     }
 
 
+    private String  uploadWdnoFaceFile(String wdno,Worker item,String filePath, String fileId) throws Exception {
+        String msg = "";
+        String outFile="";
+
+        // 上传图片
+        // 1: 获取签名信息
+        GreeFileResponseHelper response =  greeLogic.ossGetSignt(wdno,"GET");
+        if (response.getStatusCode() == 200){
+            ResultData resultData = JSONObject.parseObject(response.getData().toString(), ResultData.class);
+            resultData.getExtData().setDir(resultData.getExtData().getDir()+"/"+fileId);
+            // 2:文件上传
+            PostObjectSample ossPostObject = new PostObjectSample();
+            String result = ossPostObject.PostObject(filePath, resultData.getExtData());
+
+            // 3: 保存文件
+            if (StringUtils.isEmpty(result.trim())){
+                Map<String,String> req = new HashMap<>();
+                // 生成对象
+                getSaveFileInfo(fileId, resultData, req);
+                GreeFileSaveHelper responses = greeLogic.greePostSaveFile(req);
+                if (responses.getStatusCode() == 200){
+                    // 保存文件ID   responses.getData().getId()
+                    // 返回文件
+                    outFile = responses.getData().getId();
+                } else {
+                    msg = "上传证件到格力总部失败";
+                    if (StringUtils.isNotEmpty(responses.getMsg())){
+                        msg = msg + responses.getMsg();
+                    }
+                    updateWorkFaceError(item,msg);
+                }
+            } else {
+                updateWorkFaceError(item,"上传图片到OSS失败");
+            }
+        } else {
+            updateWorkFaceError(item,"获取签名信息失败");
+        }
+
+        return outFile;
+    }
+
+
     private Boolean uploadInitFileexc(String fileo, String fid1,String wdno,InsureWorkerRecord wk) throws Exception {
 
         if (StringUtils.isEmpty(wdno)){
@@ -1234,6 +1410,17 @@ public class UploadWorkeCertificateServiceImpl implements UploadWorkeCertificate
         workerCertService.updateById(v);
     }
 
+    private void updateWorkFaceError(Worker item, String msg) {
+        item.setOutSyncTime(new Date());
+        item.setOutSyncTimes(item.getOutSyncTimes() + 1);
+        item.setOutSyncErrorMsg(msg);
+        if (msg.length()>250){
+            item.setOutSyncErrorMsg(msg.substring(0,250));
+        }
+
+        item.updateById();
+    }
+
 
     private void updateWebsitWorkererror(WebsitWorker item, String msg) {
         WebsitWorker v = new WebsitWorker();
@@ -1291,6 +1478,16 @@ public class UploadWorkeCertificateServiceImpl implements UploadWorkeCertificate
     }
 
 
+    public void updateWorkFaceSyncStat(Worker item, String file) {
+        item.setOutSyncTimes(1);
+        item.setOutSyncTime(new Date());
+        item.setOutSyncErrorMsg("成功");
+        item.setOutAuthHeadImage(file);
+
+        item.updateById();
+    }
+
+
     private void getSaveFileInfo(String fileId, ResultData resultData, Map<String, String> req) {
         req.put("bizAppId","flydiy-auto-sit-default-front-greeshmerge");
         req.put("bizTable","default");
@@ -1301,11 +1498,15 @@ public class UploadWorkeCertificateServiceImpl implements UploadWorkeCertificate
     }
 
 
-    /**
-     * 该表只进行增加数据
-     *     相同类型数据只取最大ID
-     * @return
-     */
+
+    private List<Worker> getWorkers() {
+        return workerService.lambdaQuery()
+                .eq(Worker::getIsReal,"YES")
+                .isNotNull(Worker::getAuthHeadImage)
+                .isNull(Worker::getOutAuthHeadImage)
+                .list();
+    }
+
     private List<WorkerCert> getWorkerUploads() {
         // 同步标志-synStatus(0:待同步;1:已同步;99:同步失败)
         return workerCertService.lambdaQuery()

+ 69 - 16
src/main/java/com/zfire/jiasm/syncdata/service/impl/UploadWorkerTOGreeServiceImpl.java

@@ -165,7 +165,7 @@ public class UploadWorkerTOGreeServiceImpl implements UploadWorkerTOGreeService
                 // 按网点同步
                 for (WorkerBrandAccount dot: workerBrandAccount){
 
-                    // 看要同步的师傅的证件上否已更新到总部 只有更新到总部才可以执行
+                    // 看要同步的师傅的证件上否已更新到总部 只有更新到总部才可以执行 有问题但不影响下一个师傅
                     if (checkWaitCert(item, dot)){
                         continue;
                     }
@@ -252,7 +252,7 @@ public class UploadWorkerTOGreeServiceImpl implements UploadWorkerTOGreeService
                     req.setWdno(dot.getBrandWebsitId());
 
                     // 日志
-                    log.info("创建或修改师傅信息request:{}",JSONObject.toJSONString(req));
+                    log.info("创建或修改师傅信息request:[{}] {}",dot.getBrandWebsitId(),JSONObject.toJSONString(req));
 
                     // 同步
                     syncData(dot.getId(), wxgaddapi, item, req,dot.getBrandWebsitId());
@@ -301,6 +301,25 @@ public class UploadWorkerTOGreeServiceImpl implements UploadWorkerTOGreeService
                 return true;
             }
         }
+
+        // 查看人脸面像
+        Worker worker = workerService.lambdaQuery()
+                .eq(Worker::getWorkerId, item.getWorkerId()).one();
+        if (!"YES".equals(worker.getIsReal())){
+            updateWorkerUploadLag(item,"未实名认证");
+            return false;
+        }
+        if (StringUtils.isEmpty(worker.getAuthHeadImage())){
+            updateWorkerUploadLag(item,"未上传实名认证头像");
+            return false;
+        }
+
+        // 已认证就需要同步
+        if (StringUtils.isEmpty(worker.getOutAuthHeadImage())){
+            updateWorkerUploadLag(item,"等待实名认证头像同步");
+            return true;
+        }
+
         return false;
     }
 
@@ -627,7 +646,7 @@ public class UploadWorkerTOGreeServiceImpl implements UploadWorkerTOGreeService
         if (wdwxgGlMap.containsKey(req.getWxgno())){
             ItfTblWangdianPositionDownload i = wdwxgGlMap.get(req.getWxgno()).get(0);
             req.setFlag(i.getFlag());
-            req.setFwryzpfj(i.getFwryzpfj());
+            // req.setFwryzpfj(i.getFwryzpfj());
             req.setGzkkh(i.getGzkkh());
             req.setHmdbz(i.getHmdbz());
             req.setIfmessageFlag(i.getIfmessageFlag());
@@ -635,8 +654,6 @@ public class UploadWorkerTOGreeServiceImpl implements UploadWorkerTOGreeService
             req.setQbaoid(i.getQbaoid());
             req.setQbcheackFlag(i.getQbcheackFlag());
             req.setSfdswxgFlag(i.getSfdswxgFlag());
-            // 是否在黑名单需修改成以平台状态为准
-            // req.setSfhmdFlag(i.getSfhmdFlag());
             req.setVipflag(i.getVipflag());
             req.setMaxaznum(i.getMaxaznum());
             req.setMaxwxnum(i.getMaxwxnum());
@@ -904,6 +921,8 @@ public class UploadWorkerTOGreeServiceImpl implements UploadWorkerTOGreeService
         // 焊工证
         gethgz(workerCertificateInfo, workerId,wcgs);
 
+        // 人脸面像
+        gethFace(workerCertificateInfo, workerId,wcgs);
 
         // 其他资格证
         getotherz(workerCertificateInfo, workerId,wcgs);
@@ -1017,6 +1036,33 @@ public class UploadWorkerTOGreeServiceImpl implements UploadWorkerTOGreeService
         return Boolean.FALSE;
     }
 
+    private Boolean gethFace(WorkerCertificateInfo workerCertificateInfo, String workerId, List<WorkerCertGree> wcgs) {
+        WorkerCertGree wcg = null;
+
+        for (WorkerCertGree item :wcgs){
+            if ("人脸面像".equals(item.getCertName())){
+                wcg= item;
+                break;
+            }
+        }
+
+        workerCertificateInfo.setFacecheck(0);
+        workerCertificateInfo.setHasfaceFlag(Boolean.FALSE);
+
+        // 无不处理
+        if (wcg == null){
+            return Boolean.TRUE;
+        }
+
+        if (StringUtils.isNotEmpty(wcg.getOutFileUrl())){
+            workerCertificateInfo.setFacecheck(1);
+            workerCertificateInfo.setFacepath(wcg.getOutFileUrl());
+            workerCertificateInfo.setHasfaceFlag(Boolean.TRUE);
+        }
+
+        return Boolean.FALSE;
+    }
+
     private Boolean getotherz(WorkerCertificateInfo workerCertificateInfo, String workerId, List<WorkerCertGree> wcgs) throws ParseException {
         WorkerCertGree wcg = null;
         List<WorkerCertificateOther> others = new ArrayList<>();
@@ -1513,6 +1559,23 @@ public class UploadWorkerTOGreeServiceImpl implements UploadWorkerTOGreeService
 
         // 生成数据对象
         setReq(zjInfoList, req, worker,websitWorkerId);
+
+        // 人脸面像赋值 服务人员员工照片保存路径必填
+        setReqFace(workerCertificateInfo, req);
+
+    }
+
+    private void setReqFace(WorkerCertificateInfo workerCertificateInfo, WorkUploadInfo req) {
+
+        // 必填
+        req.setFwryzpfj("www");
+
+        req.setFacecheck(workerCertificateInfo.getFacecheck());
+        req.setHasfaceFlag(workerCertificateInfo.getHasfaceFlag());
+        if (workerCertificateInfo.getFacecheck().equals(1)){
+            req.setFwryzpfj(workerCertificateInfo.getFacepath());
+        }
+
     }
 
     private Boolean extractedPCAS(WorkUploadInfo req, WorkerStreet workerStreet) {
@@ -1538,17 +1601,7 @@ public class UploadWorkerTOGreeServiceImpl implements UploadWorkerTOGreeService
             req.setDizhi(req.getSfen() + req.getCshi() + req.getCounty() + req.getXzhen());
         }
 
-        req.setFacecheck(wb.getFaceCheck());
-        req.setFacepath("");
-        if (StringUtils.isNotEmpty(wb.getFacePath())){
-            req.setFacepath(wb.getFacePath());
-        }
 
-        // 必填
-        req.setFwryzpfj("www");
-        if (StringUtils.isNotEmpty(worker.getImgUrl())){
-            req.setFwryzpfj(worker.getImgUrl());
-        }
         req.setGzkkh("");
         if (StringUtils.isNotEmpty(worker.getBankAccount())){
             req.setGzkkh(worker.getBankAccount());
@@ -2084,7 +2137,7 @@ public class UploadWorkerTOGreeServiceImpl implements UploadWorkerTOGreeService
     private List<OutWorkerUpload> getWorkerUploadstest() {
         // 同步标志-synStatus(0:待同步;1:已同步;99:同步失败)
         List<OutWorkerUpload> recs = outWorkerUploadService.lambdaQuery()
-                .eq(OutWorkerUpload::getSynReqId,7).list();
+                .eq(OutWorkerUpload::getSynReqId,46).list();
         return recs;
     }
 }

+ 54 - 0
src/main/java/com/zfire/jiasm/syncdata/upload/worker/UploadWorkeFace.java

@@ -0,0 +1,54 @@
+package com.zfire.jiasm.syncdata.upload.worker;
+
+import com.zfire.jiasm.syncdata.constant.TaskConfigEnum;
+import com.zfire.jiasm.syncdata.service.UploadWorkeCertificateService;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.scheduling.annotation.Scheduled;
+import org.springframework.stereotype.Component;
+
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+/**
+ * 同步师傅人脸照到格力总部,为师傅入驻新网点做准备
+ *
+ * 用于更新已入驻的网点证件照数据
+ * 更新证件到格力总部(师傅已入驻 且平台网点与格力总部网点有对应关系)
+ * .in(WorkerCert::getOutSyncStatus,0,99)
+ * .lt(WorkerCert::getOutSyncTimes,10)
+ * 网点证件表保存一份供师傅同步使用 这里不修改  WorkerCert.out_sync_status
+ */
+@Slf4j
+@Component
+public class UploadWorkeFace {
+    @Value("${workerfacec}")
+    private String workerfacec = "";
+
+    @Autowired
+    UploadWorkeCertificateService uploadWorkeCertificateService;
+
+
+    /**
+     * 师傅证件照同步到格力总部 这里只用于同步证件,为师傅入驻新网点做准备
+     * 按师傅所在格力总部网点同步除保险外的所有证件
+     * 1:上传到格力总部网点
+     * 2:本地保留一份
+     */
+    @Scheduled(fixedDelayString = "${workerface}")
+    public void processUploadTask(){
+        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
+        if (workerfacec.equals(TaskConfigEnum.FALSE.getCode())){
+            return;
+        }
+
+        log.info("开始同步师傅人脸面像信息: \uF0B7{}",sdf.format(new Date()));
+
+        uploadWorkeCertificateService.procesUploadWorkeFace();
+
+        log.info("同步师傅人脸面像信息结束: \uF0B7{}",sdf.format(new Date()));
+    }
+
+
+}

+ 2 - 0
src/main/resources/bootstrap-dev.properties

@@ -184,6 +184,7 @@ detaildown=2000
 workercertbx=60000
 inbefore=60000
 workerrz=60000
+workerface=60000
 #安装工单下载 、入本地表
 installdown=2000
 installin=5000
@@ -312,6 +313,7 @@ detaildownc=FALSE
 workercertbxc=FALSE
 workerrzc=FALSE
 inbeforec=FALSE
+workerfacec=FALSE
 #回收工单下载、获取工单的反馈明细数据、(获取对应的采集数据、附件数据、条码明细数据)、与总部进行确认下载完成、同步到业务表
 recycledownc=FALSE
 recyclefkdownc=FALSE

+ 2 - 0
src/main/resources/bootstrap-prd.properties

@@ -175,6 +175,7 @@ detaildown=2000
 workercertbx=60000
 inbefore=60000
 workerrz=60000
+workerface=60000
 #安装工单下载 、入本地表
 installdown=2000
 installin=5000
@@ -303,6 +304,7 @@ detaildownc=TRUE
 workercertbxc=TRUE
 workerrzc=TRUE
 inbeforec=TRUE
+workerfacec=TRUE
 #回收工单下载、获取工单的反馈明细数据、(获取对应的采集数据、附件数据、条码明细数据)、与总部进行确认下载完成、同步到业务表
 recycledownc=TRUE
 recyclefkdownc=TRUE

+ 4 - 2
src/main/resources/bootstrap-prdt.properties

@@ -175,6 +175,7 @@ detaildown=2000
 workercertbx=60000
 inbefore=60000
 workerrz=60000
+workerface=60000
 #安装工单下载 、入本地表
 installdown=2000
 installin=5000
@@ -298,11 +299,12 @@ SMSSelf_marketing_Rate=5000
 ######################## 同步定时任务配置 ########################
 #师傅 证件、师傅、工单子表信息
 workercertificatec=FALSE
-workerceruploadc=FALSE
+workerceruploadc=TRUE
 detaildownc=FALSE
 workercertbxc=FALSE
-workerrzc=TRUE
+workerrzc=FALSE
 inbeforec=FALSE
+workerfacec=FALSE
 #回收工单下载、获取工单的反馈明细数据、(获取对应的采集数据、附件数据、条码明细数据)、与总部进行确认下载完成、同步到业务表
 recycledownc=FALSE
 recyclefkdownc=FALSE

+ 2 - 0
src/main/resources/bootstrap-test.properties

@@ -183,6 +183,7 @@ detaildown=60000
 workercertbx=60000
 inbefore=60000
 workerrz=60000
+workerface=60000
 #安装工单下载 、入本地表
 installdown=2000
 installin=5000
@@ -311,6 +312,7 @@ detaildownc=TRUE
 workercertbxc=TRUE
 workerrzc=FALSE
 inbeforec=FALSE
+workerfacec=FALSE
 #回收工单下载、获取工单的反馈明细数据、(获取对应的采集数据、附件数据、条码明细数据)、与总部进行确认下载完成、同步到业务表
 recycledownc=TRUE
 recyclefkdownc=TRUE