yaozhixue 1 year ago
parent
commit
0ba932bcb5

+ 2 - 1
src/main/java/com/zfire/jiasm/syncdata/service/impl/UploadWorkeCertificateServiceImpl.java

@@ -175,7 +175,7 @@ public class UploadWorkeCertificateServiceImpl implements UploadWorkeCertificate
                     }
                 }
                 // 上传完后师傅所在网点的证件保存,并写入更新表待师傅证件修改
-                // 保存最后网点图,目的下次无需再同步图片
+                // 最后保存网点图,目的下次无需再同步图片
                 extractedEnd(wcgs, item, outFile, outFilet);
 
                 // 文件清除
@@ -183,6 +183,7 @@ 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();