yq %!s(int64=3) %!d(string=hai) anos
pai
achega
1ca35db1e4
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      src/main/java/com/usky/dxtop/service/job/SmJob.java

+ 4 - 4
src/main/java/com/usky/dxtop/service/job/SmJob.java

@@ -86,10 +86,10 @@ public class SmJob {
                 if (StringUtils.isNotBlank(date.getCardId()) && null != dept && Double.parseDouble(date.getCardId()) > 60000){
                     date.setDeptId(dept.getDId());
                     staffService.personSendMessage(date,type);
-                }
-                //发送人脸信息
-                if (StringUtils.isNotBlank(date.getFaceId())){
-                    staffService.faceSendMessage(date);
+                    //发送人脸信息
+                    if (StringUtils.isNotBlank(date.getFaceId())){
+                        staffService.faceSendMessage(date);
+                    }
                 }
             });
             return list.isEmpty();