shudonghui 1 жил өмнө
parent
commit
4456557197

+ 13 - 0
sop-business/src/main/java/com/qmth/sop/business/bean/result/DingElementResult.java

@@ -4,6 +4,8 @@ import com.fasterxml.jackson.databind.annotation.JsonSerialize;
 import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
 import io.swagger.annotations.ApiModelProperty;
 
+import javax.validation.constraints.NotNull;
+
 /**
  * @Description: 打卡界面数据
  * @Author: CaoZixuan
@@ -39,6 +41,9 @@ public class DingElementResult {
     @ApiModelProperty("实际打卡的sop")
     private String dingSopNo;
 
+    @ApiModelProperty(value = "是否开启人脸,0:不开启,1:开启")
+    private Boolean faceOpen;
+
     public Long getUserArchivesId() {
         return userArchivesId;
     }
@@ -118,4 +123,12 @@ public class DingElementResult {
     public void setDingSopNo(String dingSopNo) {
         this.dingSopNo = dingSopNo;
     }
+
+    public Boolean getFaceOpen() {
+        return faceOpen;
+    }
+
+    public void setFaceOpen(Boolean faceOpen) {
+        this.faceOpen = faceOpen;
+    }
 }

+ 1 - 0
sop-business/src/main/resources/mapper/TBDingMapper.xml

@@ -261,6 +261,7 @@
             tbua.base_photo_path AS basePhotoPath,
             sdg.sign_in_time AS signInTimeScope,
             sdg.sign_out_time AS signOutTimeScope
+            sdg.face_open AS faceOpen
         FROM
             t_b_user_archives tbua
                 LEFT JOIN