|
@@ -303,6 +303,7 @@ public class TBSopInfoServiceImpl extends ServiceImpl<TBSopInfoMapper, TBSopInfo
|
|
|
if (sopInfoListParam.getType() != TFCustomTypeEnum.OFFICE_SOP_FLOW && sopInfoListParam.getType() != TFCustomTypeEnum.CLOUD_MARK_SOP_FLOW) {
|
|
|
throw ExceptionResultEnum.ERROR.exception("流程类型只能为教务处或研究生");
|
|
|
}
|
|
|
+ String tableName = sopInfoListParam.getType().getTableName() + "_" + sopInfoListParam.getVersion();
|
|
|
String fieldName = null, fieldValue = null;
|
|
|
if (!CollectionUtils.isEmpty(sopInfoListParam.getFormWidgetMetadataList())) {
|
|
|
StringJoiner stringJoiner = new StringJoiner(",");
|
|
@@ -320,7 +321,7 @@ public class TBSopInfoServiceImpl extends ServiceImpl<TBSopInfoMapper, TBSopInfo
|
|
|
fieldName = stringJoiner.toString();
|
|
|
fieldValue = !Objects.equals(stringJoinerValue.toString().trim(), "") ? stringJoinerValue.toString().trim() : null;
|
|
|
}
|
|
|
- return this.baseMapper.list(new Page<>(sopInfoListParam.getPageNumber(), sopInfoListParam.getPageSize()), Objects.nonNull(sopInfoListParam.getType()) ? sopInfoListParam.getType().name() : null, sopInfoListParam.getServiceId(), fieldName, fieldValue);
|
|
|
+ return this.baseMapper.list(new Page<>(sopInfoListParam.getPageNumber(), sopInfoListParam.getPageSize()), Objects.nonNull(sopInfoListParam.getType()) ? sopInfoListParam.getType().name() : null, sopInfoListParam.getServiceId(), tableName, fieldName, fieldValue);
|
|
|
}
|
|
|
|
|
|
/**
|