许鹏程
2023-05-17 f4ff3e1a24345d9a61b048591daeead0d0a76641
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.product.face.service;
 
import com.product.admin.service.SystemFaceService;
import com.product.common.lang.StringUtils;
import com.product.core.entity.FieldSetEntity;
import com.product.core.service.support.AbstractBaseService;
import com.product.face.config.FaceConst;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
 
/**
 * @Author cheng
 * @Date 2023/5/16 18:36
 * @Desc 表单使用
 */
@Service
public class FaceApplyService extends AbstractBaseService {
 
    @Resource
    private SystemFaceService systemFaceService;
 
 
    public Object getFaceListConf(FieldSetEntity fse) {
        //TODO 使用变动安
        String faceUuid = fse.getString(FaceConst.FIELD_FACE_UUID);
        String faceNumber = fse.getString(FaceConst.FIELD_FACE_NUMBER);
        if (faceNumber == null && faceUuid == null) {
            return null;
        }
 
        if(StringUtils.isEmpty(faceUuid)){
            return systemFaceService.getFaceFieldList(faceUuid);
        }
        //TODO 使用表单设计器设计的列表返回
        return null;
    }
 
}