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;
|
}
|
|
}
|