21 changed files with 557 additions and 243 deletions
@ -1,54 +1,169 @@ |
|||
<template> |
|||
<w-grid |
|||
:title="$t('io.sc.engine.mv.config.binomial.grid.title')" |
|||
:config-button="true" |
|||
selection="multiple" |
|||
:checkbox-selection="true" |
|||
:data-url="Environment.apiContextPath('/api/mv/config/binomial')" |
|||
:pageable="false" |
|||
:toolbar-configure="{ noIcon: false }" |
|||
:toolbar-actions="['refresh', 'separator', 'add', 'edit', 'remove', 'separator', 'resetDefaultValues', 'separator', 'view', 'separator', 'export']" |
|||
:columns="[ |
|||
{ width: 100, name: 'significanceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.significanceLevel') }, |
|||
{ width: 100, name: 'confidenceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.confidenceLevel') }, |
|||
{ width: 120, name: 'zUpper', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zUpper') }, |
|||
{ width: 120, name: 'zLower', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zLower') }, |
|||
{ width: 100, name: 'lastModifier', label: $t('lastModifier') }, |
|||
{ width: 150, name: 'lastModifyDate', label: $t('lastModifyDate'), format: Formater.dateOnly() }, |
|||
]" |
|||
:editor="{ |
|||
dialog: { |
|||
width: '600px', |
|||
height: '300px', |
|||
}, |
|||
form: { |
|||
colsNum: 1, |
|||
fields: [ |
|||
{ name: 'significanceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.significanceLevel'), type: 'text' }, |
|||
{ name: 'confidenceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.confidenceLevel'), type: 'text' }, |
|||
{ name: 'zUpper', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zUpper'), type: 'text' }, |
|||
{ name: 'zLower', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zLower'), type: 'text' }, |
|||
], |
|||
}, |
|||
}" |
|||
:viewer="{ |
|||
panel: { |
|||
columnNum: 1, |
|||
fields: [ |
|||
{ name: 'id', label: $t('id') }, |
|||
{ name: 'significanceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.significanceLevel') }, |
|||
{ name: 'confidenceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.confidenceLevel') }, |
|||
{ name: 'zUpper', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zUpper') }, |
|||
{ name: 'zLower', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zLower') }, |
|||
{ name: 'creator', label: $t('creator') }, |
|||
{ name: 'createDate', label: $t('createDate') }, |
|||
{ name: 'lastModifier', label: $t('lastModifier') }, |
|||
{ name: 'lastModifyDate', label: $t('lastModifyDate') }, |
|||
], |
|||
}, |
|||
}" |
|||
></w-grid> |
|||
<q-tabs v-model="selectedTabRef" inline-label align="left" :breakpoint="0" no-caps> |
|||
<q-tab name="goodSample" icon="bi-people" :label="$t('io.sc.engine.mv.sample.tabs.goodSample')" /> |
|||
<q-tab name="scoreRecord" icon="bi-diagram-3" :label="$t('io.sc.engine.mv.sample.tabs.scoreRecord')" /> |
|||
<q-tab name="defaultRecord" icon="bi-diagram-3" :label="$t('io.sc.engine.mv.sample.tabs.defaultRecord')" /> |
|||
</q-tabs> |
|||
|
|||
<q-tab-panels v-model="selectedTabRef" animated swipeable keep-alive> |
|||
<q-tab-panel name="goodSample" class="px-0"> |
|||
<w-grid |
|||
:title="$t('io.sc.engine.mv.config.binomial.grid.title')" |
|||
:config-button="true" |
|||
selection="multiple" |
|||
:checkbox-selection="true" |
|||
:data-url="Environment.apiContextPath('/api/mv/sample/goodSample')" |
|||
:pageable="false" |
|||
:toolbar-configure="{ noIcon: false }" |
|||
:toolbar-actions="['refresh', 'separator', 'add', 'edit', 'remove', 'separator', 'resetDefaultValues', 'separator', 'view', 'separator', 'export']" |
|||
:columns="[ |
|||
{ width: 100, name: 'significanceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.significanceLevel') }, |
|||
{ width: 100, name: 'confidenceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.confidenceLevel') }, |
|||
{ width: 120, name: 'zUpper', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zUpper') }, |
|||
{ width: 120, name: 'zLower', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zLower') }, |
|||
{ width: 100, name: 'lastModifier', label: $t('lastModifier') }, |
|||
{ width: 150, name: 'lastModifyDate', label: $t('lastModifyDate'), format: Formater.dateOnly() }, |
|||
]" |
|||
:editor="{ |
|||
dialog: { |
|||
width: '600px', |
|||
height: '300px', |
|||
}, |
|||
form: { |
|||
colsNum: 1, |
|||
fields: [ |
|||
{ name: 'significanceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.significanceLevel'), type: 'text' }, |
|||
{ name: 'confidenceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.confidenceLevel'), type: 'text' }, |
|||
{ name: 'zUpper', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zUpper'), type: 'text' }, |
|||
{ name: 'zLower', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zLower'), type: 'text' }, |
|||
], |
|||
}, |
|||
}" |
|||
:viewer="{ |
|||
panel: { |
|||
columnNum: 1, |
|||
fields: [ |
|||
{ name: 'id', label: $t('id') }, |
|||
{ name: 'significanceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.significanceLevel') }, |
|||
{ name: 'confidenceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.confidenceLevel') }, |
|||
{ name: 'zUpper', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zUpper') }, |
|||
{ name: 'zLower', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zLower') }, |
|||
{ name: 'creator', label: $t('creator') }, |
|||
{ name: 'createDate', label: $t('createDate') }, |
|||
{ name: 'lastModifier', label: $t('lastModifier') }, |
|||
{ name: 'lastModifyDate', label: $t('lastModifyDate') }, |
|||
], |
|||
}, |
|||
}" |
|||
></w-grid> |
|||
</q-tab-panel> |
|||
<q-tab-panel name="scoreRecord" class="px-0"> |
|||
<w-grid |
|||
:title="$t('io.sc.engine.mv.config.binomial.grid.title')" |
|||
:config-button="true" |
|||
selection="multiple" |
|||
:checkbox-selection="true" |
|||
:data-url="Environment.apiContextPath('/api/mv/sample/scoreRecord')" |
|||
:pageable="true" |
|||
:toolbar-configure="{ noIcon: false }" |
|||
:toolbar-actions="['refresh', 'separator', 'add', 'edit', 'remove', 'separator', 'resetDefaultValues', 'separator', 'view', 'separator', 'export']" |
|||
:columns="[ |
|||
{ width: 100, name: 'significanceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.significanceLevel') }, |
|||
{ width: 100, name: 'confidenceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.confidenceLevel') }, |
|||
{ width: 120, name: 'zUpper', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zUpper') }, |
|||
{ width: 120, name: 'zLower', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zLower') }, |
|||
{ width: 100, name: 'lastModifier', label: $t('lastModifier') }, |
|||
{ width: 150, name: 'lastModifyDate', label: $t('lastModifyDate'), format: Formater.dateOnly() }, |
|||
]" |
|||
:editor="{ |
|||
dialog: { |
|||
width: '600px', |
|||
height: '300px', |
|||
}, |
|||
form: { |
|||
colsNum: 1, |
|||
fields: [ |
|||
{ name: 'significanceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.significanceLevel'), type: 'text' }, |
|||
{ name: 'confidenceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.confidenceLevel'), type: 'text' }, |
|||
{ name: 'zUpper', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zUpper'), type: 'text' }, |
|||
{ name: 'zLower', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zLower'), type: 'text' }, |
|||
], |
|||
}, |
|||
}" |
|||
:viewer="{ |
|||
panel: { |
|||
columnNum: 1, |
|||
fields: [ |
|||
{ name: 'id', label: $t('id') }, |
|||
{ name: 'significanceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.significanceLevel') }, |
|||
{ name: 'confidenceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.confidenceLevel') }, |
|||
{ name: 'zUpper', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zUpper') }, |
|||
{ name: 'zLower', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zLower') }, |
|||
{ name: 'creator', label: $t('creator') }, |
|||
{ name: 'createDate', label: $t('createDate') }, |
|||
{ name: 'lastModifier', label: $t('lastModifier') }, |
|||
{ name: 'lastModifyDate', label: $t('lastModifyDate') }, |
|||
], |
|||
}, |
|||
}" |
|||
></w-grid> |
|||
</q-tab-panel> |
|||
<q-tab-panel name="defaultRecord" class="px-0"> |
|||
<w-grid |
|||
:title="$t('io.sc.engine.mv.config.binomial.grid.title')" |
|||
:config-button="true" |
|||
selection="multiple" |
|||
:checkbox-selection="true" |
|||
:data-url="Environment.apiContextPath('/api/mv/config/binomial')" |
|||
:pageable="false" |
|||
:toolbar-configure="{ noIcon: false }" |
|||
:toolbar-actions="['refresh', 'separator', 'add', 'edit', 'remove', 'separator', 'resetDefaultValues', 'separator', 'view', 'separator', 'export']" |
|||
:columns="[ |
|||
{ width: 100, name: 'significanceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.significanceLevel') }, |
|||
{ width: 100, name: 'confidenceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.confidenceLevel') }, |
|||
{ width: 120, name: 'zUpper', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zUpper') }, |
|||
{ width: 120, name: 'zLower', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zLower') }, |
|||
{ width: 100, name: 'lastModifier', label: $t('lastModifier') }, |
|||
{ width: 150, name: 'lastModifyDate', label: $t('lastModifyDate'), format: Formater.dateOnly() }, |
|||
]" |
|||
:editor="{ |
|||
dialog: { |
|||
width: '600px', |
|||
height: '300px', |
|||
}, |
|||
form: { |
|||
colsNum: 1, |
|||
fields: [ |
|||
{ name: 'significanceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.significanceLevel'), type: 'text' }, |
|||
{ name: 'confidenceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.confidenceLevel'), type: 'text' }, |
|||
{ name: 'zUpper', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zUpper'), type: 'text' }, |
|||
{ name: 'zLower', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zLower'), type: 'text' }, |
|||
], |
|||
}, |
|||
}" |
|||
:viewer="{ |
|||
panel: { |
|||
columnNum: 1, |
|||
fields: [ |
|||
{ name: 'id', label: $t('id') }, |
|||
{ name: 'significanceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.significanceLevel') }, |
|||
{ name: 'confidenceLevel', label: $t('io.sc.engine.mv.config.binomial.grid.entity.confidenceLevel') }, |
|||
{ name: 'zUpper', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zUpper') }, |
|||
{ name: 'zLower', label: $t('io.sc.engine.mv.config.binomial.grid.entity.zLower') }, |
|||
{ name: 'creator', label: $t('creator') }, |
|||
{ name: 'createDate', label: $t('createDate') }, |
|||
{ name: 'lastModifier', label: $t('lastModifier') }, |
|||
{ name: 'lastModifyDate', label: $t('lastModifyDate') }, |
|||
], |
|||
}, |
|||
}" |
|||
></w-grid> |
|||
</q-tab-panel> |
|||
</q-tab-panels> |
|||
</template> |
|||
<script setup lang="ts"> |
|||
import { ref } from 'vue'; |
|||
import { Environment, Formater } from 'platform-core'; |
|||
|
|||
const selectedTabRef = ref('goodSample'); |
|||
</script> |
|||
|
@ -0,0 +1,21 @@ |
|||
package io.sc.engine.mv.controller.sample; |
|||
|
|||
import io.sc.engine.mv.jpa.entity.ScoreRecord; |
|||
import io.sc.engine.mv.jpa.entity.id.ScoreRecordId; |
|||
import io.sc.engine.mv.jpa.repository.ScoreRecordRepository; |
|||
import io.sc.engine.mv.service.sample.ScoreRecordService; |
|||
import io.sc.engine.mv.vo.ScoreRecordVo; |
|||
import io.sc.platform.mvc.controller.support.RestCrudController; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
/** |
|||
* 评分记录控制器 |
|||
* @author wangshaoping |
|||
* |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/api/mv/sample/scoreRecord") |
|||
public class ScoreRecordWebController extends RestCrudController<ScoreRecordVo, ScoreRecord, ScoreRecordId, ScoreRecordRepository, ScoreRecordService> { |
|||
|
|||
} |
@ -0,0 +1,157 @@ |
|||
package io.sc.engine.mv.jpa.entity; |
|||
|
|||
import io.sc.engine.mv.jpa.entity.id.ScoreRecordId; |
|||
import io.sc.engine.mv.vo.ScoreRecordVo; |
|||
import io.sc.platform.orm.entity.BaseEntity; |
|||
|
|||
import javax.persistence.Column; |
|||
import javax.persistence.Entity; |
|||
import javax.persistence.IdClass; |
|||
import javax.persistence.Table; |
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 评分记录实体类 |
|||
* |
|||
*/ |
|||
@Entity |
|||
@Table(name="MV_SCORE_RECORD") |
|||
@IdClass(ScoreRecordId.class) |
|||
public class ScoreRecord extends BaseEntity<ScoreRecordVo> { |
|||
@Column(name="FD_CUSTOM_ID") |
|||
private String customId; |
|||
|
|||
@Column(name="FD_CUSTOM_NAME") |
|||
private String customName; |
|||
|
|||
@Column(name="FD_MODEL_ID") |
|||
private String modelId; |
|||
|
|||
@Column(name="FD_MODEL_NAME") |
|||
private String modelName; |
|||
|
|||
@Column(name="FD_PD") |
|||
private BigDecimal pd; |
|||
|
|||
@Column(name="FD_SCORE") |
|||
private BigDecimal score; |
|||
|
|||
@Column(name="FD_SCORE_QUANTITATIVE") |
|||
private BigDecimal scoreQuantitative; |
|||
|
|||
@Column(name="FD_SCORE_QUALITATIVE") |
|||
private BigDecimal scoreQualitative; |
|||
|
|||
@Column(name="FD_LEVEL") |
|||
private String level; |
|||
|
|||
@Column(name="FD_SCORE_BEGIN_DATE") |
|||
private Date scoreBeginDate; |
|||
|
|||
@Column(name="FD_SCORE_END_DATE") |
|||
private Date scoreEndDate; |
|||
|
|||
@Override |
|||
public ScoreRecordVo toVo() { |
|||
ScoreRecordVo vo =new ScoreRecordVo(); |
|||
vo.setCustomId(this.getCustomId()); |
|||
vo.setCustomName(this.getCustomName()); |
|||
vo.setPd(this.getPd()); |
|||
vo.setScore(this.getScore()); |
|||
vo.setScoreQuantitative(this.getScoreQuantitative()); |
|||
vo.setScoreQualitative(this.getScoreQualitative()); |
|||
vo.setLevel(this.getLevel()); |
|||
vo.setScoreBeginDate(this.getScoreBeginDate()); |
|||
vo.setScoreEndDate(this.getScoreEndDate()); |
|||
return vo; |
|||
} |
|||
|
|||
public String getCustomId() { |
|||
return customId; |
|||
} |
|||
|
|||
public void setCustomId(String customId) { |
|||
this.customId = customId; |
|||
} |
|||
|
|||
public String getCustomName() { |
|||
return customName; |
|||
} |
|||
|
|||
public void setCustomName(String customName) { |
|||
this.customName = customName; |
|||
} |
|||
|
|||
public String getModelId() { |
|||
return modelId; |
|||
} |
|||
|
|||
public void setModelId(String modelId) { |
|||
this.modelId = modelId; |
|||
} |
|||
|
|||
public String getModelName() { |
|||
return modelName; |
|||
} |
|||
|
|||
public void setModelName(String modelName) { |
|||
this.modelName = modelName; |
|||
} |
|||
|
|||
public BigDecimal getPd() { |
|||
return pd; |
|||
} |
|||
|
|||
public void setPd(BigDecimal pd) { |
|||
this.pd = pd; |
|||
} |
|||
|
|||
public BigDecimal getScore() { |
|||
return score; |
|||
} |
|||
|
|||
public void setScore(BigDecimal score) { |
|||
this.score = score; |
|||
} |
|||
|
|||
public BigDecimal getScoreQuantitative() { |
|||
return scoreQuantitative; |
|||
} |
|||
|
|||
public void setScoreQuantitative(BigDecimal scoreQuantitative) { |
|||
this.scoreQuantitative = scoreQuantitative; |
|||
} |
|||
|
|||
public BigDecimal getScoreQualitative() { |
|||
return scoreQualitative; |
|||
} |
|||
|
|||
public void setScoreQualitative(BigDecimal scoreQualitative) { |
|||
this.scoreQualitative = scoreQualitative; |
|||
} |
|||
|
|||
public String getLevel() { |
|||
return level; |
|||
} |
|||
|
|||
public void setLevel(String level) { |
|||
this.level = level; |
|||
} |
|||
|
|||
public Date getScoreBeginDate() { |
|||
return scoreBeginDate; |
|||
} |
|||
|
|||
public void setScoreBeginDate(Date scoreBeginDate) { |
|||
this.scoreBeginDate = scoreBeginDate; |
|||
} |
|||
|
|||
public Date getScoreEndDate() { |
|||
return scoreEndDate; |
|||
} |
|||
|
|||
public void setScoreEndDate(Date scoreEndDate) { |
|||
this.scoreEndDate = scoreEndDate; |
|||
} |
|||
} |
@ -0,0 +1,48 @@ |
|||
package io.sc.engine.mv.jpa.entity.id; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import java.util.Objects; |
|||
|
|||
public class ScoreRecordId implements Serializable{ |
|||
private String customId; |
|||
private String modelId; |
|||
private Date scoreBeginDate; |
|||
|
|||
public String getCustomId() { |
|||
return customId; |
|||
} |
|||
|
|||
public void setCustomId(String customId) { |
|||
this.customId = customId; |
|||
} |
|||
|
|||
public String getModelId() { |
|||
return modelId; |
|||
} |
|||
|
|||
public void setModelId(String modelId) { |
|||
this.modelId = modelId; |
|||
} |
|||
|
|||
public Date getScoreBeginDate() { |
|||
return scoreBeginDate; |
|||
} |
|||
|
|||
public void setScoreBeginDate(Date scoreBeginDate) { |
|||
this.scoreBeginDate = scoreBeginDate; |
|||
} |
|||
|
|||
@Override |
|||
public boolean equals(Object o) { |
|||
if (this == o) return true; |
|||
if (o == null || getClass() != o.getClass()) return false; |
|||
ScoreRecordId that = (ScoreRecordId) o; |
|||
return Objects.equals(customId, that.customId) && Objects.equals(modelId, that.modelId) && Objects.equals(scoreBeginDate, that.scoreBeginDate); |
|||
} |
|||
|
|||
@Override |
|||
public int hashCode() { |
|||
return Objects.hash(customId, modelId, scoreBeginDate); |
|||
} |
|||
} |
@ -0,0 +1,9 @@ |
|||
package io.sc.engine.mv.jpa.repository; |
|||
|
|||
import io.sc.engine.mv.jpa.entity.ScoreRecord; |
|||
import io.sc.engine.mv.jpa.entity.id.ScoreRecordId; |
|||
import io.sc.platform.orm.repository.DaoRepository; |
|||
|
|||
public interface ScoreRecordRepository extends DaoRepository<ScoreRecord, ScoreRecordId> { |
|||
|
|||
} |
@ -0,0 +1,9 @@ |
|||
package io.sc.engine.mv.service.sample; |
|||
|
|||
import io.sc.engine.mv.jpa.entity.ScoreRecord; |
|||
import io.sc.engine.mv.jpa.entity.id.ScoreRecordId; |
|||
import io.sc.engine.mv.jpa.repository.ScoreRecordRepository; |
|||
import io.sc.platform.orm.service.DaoService; |
|||
|
|||
public interface ScoreRecordService extends DaoService<ScoreRecord, ScoreRecordId, ScoreRecordRepository> { |
|||
} |
@ -0,0 +1,12 @@ |
|||
package io.sc.engine.mv.service.sample.impl; |
|||
|
|||
import io.sc.engine.mv.jpa.entity.ScoreRecord; |
|||
import io.sc.engine.mv.jpa.entity.id.ScoreRecordId; |
|||
import io.sc.engine.mv.jpa.repository.ScoreRecordRepository; |
|||
import io.sc.engine.mv.service.sample.ScoreRecordService; |
|||
import io.sc.platform.orm.service.impl.DaoServiceImpl; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
|||
public class ScoreRecordServiceImpl extends DaoServiceImpl<ScoreRecord, ScoreRecordId, ScoreRecordRepository> implements ScoreRecordService { |
|||
} |
@ -0,0 +1,109 @@ |
|||
package io.sc.engine.mv.vo; |
|||
|
|||
import io.sc.platform.orm.api.vo.AuditorVo; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
|
|||
public class ScoreRecordVo extends AuditorVo { |
|||
private String customId; |
|||
private String customName; |
|||
private String modelId; |
|||
private String modelName; |
|||
private BigDecimal pd; |
|||
private BigDecimal score; |
|||
private BigDecimal scoreQuantitative; |
|||
private BigDecimal scoreQualitative; |
|||
private String level; |
|||
private Date scoreBeginDate; |
|||
private Date scoreEndDate; |
|||
|
|||
public String getCustomId() { |
|||
return customId; |
|||
} |
|||
|
|||
public void setCustomId(String customId) { |
|||
this.customId = customId; |
|||
} |
|||
|
|||
public String getCustomName() { |
|||
return customName; |
|||
} |
|||
|
|||
public void setCustomName(String customName) { |
|||
this.customName = customName; |
|||
} |
|||
|
|||
public String getModelId() { |
|||
return modelId; |
|||
} |
|||
|
|||
public void setModelId(String modelId) { |
|||
this.modelId = modelId; |
|||
} |
|||
|
|||
public String getModelName() { |
|||
return modelName; |
|||
} |
|||
|
|||
public void setModelName(String modelName) { |
|||
this.modelName = modelName; |
|||
} |
|||
|
|||
public BigDecimal getPd() { |
|||
return pd; |
|||
} |
|||
|
|||
public void setPd(BigDecimal pd) { |
|||
this.pd = pd; |
|||
} |
|||
|
|||
public BigDecimal getScore() { |
|||
return score; |
|||
} |
|||
|
|||
public void setScore(BigDecimal score) { |
|||
this.score = score; |
|||
} |
|||
|
|||
public BigDecimal getScoreQuantitative() { |
|||
return scoreQuantitative; |
|||
} |
|||
|
|||
public void setScoreQuantitative(BigDecimal scoreQuantitative) { |
|||
this.scoreQuantitative = scoreQuantitative; |
|||
} |
|||
|
|||
public BigDecimal getScoreQualitative() { |
|||
return scoreQualitative; |
|||
} |
|||
|
|||
public void setScoreQualitative(BigDecimal scoreQualitative) { |
|||
this.scoreQualitative = scoreQualitative; |
|||
} |
|||
|
|||
public String getLevel() { |
|||
return level; |
|||
} |
|||
|
|||
public void setLevel(String level) { |
|||
this.level = level; |
|||
} |
|||
|
|||
public Date getScoreBeginDate() { |
|||
return scoreBeginDate; |
|||
} |
|||
|
|||
public void setScoreBeginDate(Date scoreBeginDate) { |
|||
this.scoreBeginDate = scoreBeginDate; |
|||
} |
|||
|
|||
public Date getScoreEndDate() { |
|||
return scoreEndDate; |
|||
} |
|||
|
|||
public void setScoreEndDate(Date scoreEndDate) { |
|||
this.scoreEndDate = scoreEndDate; |
|||
} |
|||
} |
@ -1,25 +0,0 @@ |
|||
/* |
|||
* 应用属性插件配置 |
|||
* 功能: 该插件配置为框架提供 application.properties 中的配置项, 这样可以让配置项分散到各个子模块中。 |
|||
* 使用说明: |
|||
* module: 配置项所属模块,通常为模块的名称 |
|||
* order: 配置项顺序 |
|||
* description: 配置项描述, 在 application.properties 文件中以注释体现 |
|||
* properties: 属性配置列表 |
|||
*/ |
|||
|
|||
/* 示例 */ |
|||
/* |
|||
[ |
|||
{ |
|||
"module" : "io.sc.platform.core", |
|||
"order" : 150, |
|||
"description": "application configuration", |
|||
"properties": [ |
|||
"application.audit-log-mode = none", |
|||
"#application.audit-log-mode = log", |
|||
"#application.audit-log-mode = database" |
|||
] |
|||
} |
|||
] |
|||
*/ |
@ -1,25 +0,0 @@ |
|||
/* |
|||
* json 序列化器和反序列化器插件配置 |
|||
* 功能: 该插件配置为框架提供 json 序列化器和反序列化器插件配置 |
|||
* 使用说明: |
|||
* className: 目标类名 |
|||
* serializer: 序列化器类名 |
|||
* deserializer: 反序列化器类名 |
|||
*/ |
|||
|
|||
|
|||
/* 示例 */ |
|||
/* |
|||
[ |
|||
{ |
|||
"className" : "java.util.Date", |
|||
"serializer" : "io.sc.platform.core.autoconfigure.support.DateJsonSerializer", |
|||
"deserializer" : "io.sc.platform.core.autoconfigure.support.DateJsonDeserializer" |
|||
}, |
|||
{ |
|||
"className" : "java.time.Instant", |
|||
"serializer" : "io.sc.platform.core.autoconfigure.support.InstantJsonSerializer", |
|||
"deserializer" : "io.sc.platform.core.autoconfigure.support.InstantJsonDeserializer" |
|||
} |
|||
] |
|||
*/ |
@ -1,15 +0,0 @@ |
|||
/* |
|||
* p6spy 插件配置 |
|||
* 功能: 该插件配置为框架提供 p6spy 配置 |
|||
* 使用说明: |
|||
* ignoredPatterns: 忽略显示 jdbc 输出信息正则表达式列表 |
|||
*/ |
|||
|
|||
/* 以下示例将不显示 p6spy 输出的 commit */ |
|||
/* |
|||
{ |
|||
"ignoredPatterns":[ |
|||
"commit" |
|||
] |
|||
} |
|||
*/ |
@ -1,37 +0,0 @@ |
|||
/* |
|||
* 系统参数插件配置 |
|||
* 功能说明: 该插件配置为框架提供系统参数配置 |
|||
* 使用说明: |
|||
* id: 参数唯一标识 |
|||
* parentId: 父唯一标识, 用于进行参数分类 |
|||
* code: 参数代码, 应用可通过该代码获取参数值 |
|||
* defaultValue: 默认值 |
|||
* order: 排序 |
|||
* options: 选项值 map, key 表示值, value 表示显示值 |
|||
*/ |
|||
|
|||
/* 示例 */ |
|||
/* |
|||
[ |
|||
{"id":"parameter.system","order":0}, |
|||
{ |
|||
"id" : "parameter.system.indexPageTemplate", |
|||
"parentId" : "parameter.system", |
|||
"code" : "parameter.system.indexPageTemplate", |
|||
"defaultValue" : "io.sc.platform.mvc.frontend.html", |
|||
"order" : 200 |
|||
}, |
|||
{"id":"parameter.system.ui","parentId":"parameter.system","order":1000}, |
|||
{ |
|||
"id" : "parameter.system.ui.theme", |
|||
"parentId" : "parameter.system.ui", |
|||
"code" : "parameter.system.ui.theme", |
|||
"defaultValue" : "light", |
|||
"order" : 800, |
|||
"options" :{ |
|||
"light" : "#{parameter.system.ui.theme.light}", |
|||
"dark" : "#{parameter.system.ui.theme.dark}" |
|||
} |
|||
} |
|||
] |
|||
*/ |
@ -1,20 +0,0 @@ |
|||
/* |
|||
* 自动重启属性插件配置 |
|||
* 功能: 当配置的属性发生变化时,系统会自动重启(如果应用运行在独立的 web 容器中时, 需手工重启) |
|||
* 使用说明: |
|||
* 匹配规则: startWith |
|||
* container: 在容器中运行时需要重启的属性列表 |
|||
* jar: 通过 jar 直接运行时需要重启的属性列表 |
|||
*/ |
|||
|
|||
/* 示例 */ |
|||
/* |
|||
{ |
|||
"container":[ |
|||
"spring.security." |
|||
], |
|||
"jar": [ |
|||
"spring.security." |
|||
] |
|||
} |
|||
*/ |
@ -1,15 +0,0 @@ |
|||
/* |
|||
* 认证插件配置 |
|||
* 功能: 该插件配置为框架提供不对某些资源进行认证的功能 |
|||
* 使用说明: |
|||
* permitPatterns : 不进行安全认证检查的 url 模式, 采用 ant path 格式配置 |
|||
*/ |
|||
|
|||
/* 示例 */ |
|||
/* |
|||
{ |
|||
"permitPatterns":[ |
|||
"/io.sc.platform.core/**" |
|||
] |
|||
} |
|||
*/ |
@ -1,19 +0,0 @@ |
|||
/** |
|||
* swagger 配置 |
|||
*/ |
|||
|
|||
/* 示例 */ |
|||
/* |
|||
[ |
|||
{ |
|||
"groupName" : "io.sc.platform.mvc", |
|||
"title" : "平台 MVC", |
|||
"description": "平台 MVC 文档", |
|||
"termsOfServiceUrl" : "", |
|||
"version": "1.0", |
|||
"basePackages":[ |
|||
"io.sc.platform.mvc.controller" |
|||
] |
|||
} |
|||
] |
|||
*/ |
@ -1,14 +0,0 @@ |
|||
/* |
|||
* 系统属性插件配置 |
|||
* 功能: 该插件配置为框架提供在启动时自动注册系统属性功能(执行 System.setProperty()) |
|||
* 使用说明: |
|||
* key : 属性名 |
|||
* value : 属性值 |
|||
*/ |
|||
|
|||
/* 示例 */ |
|||
/* |
|||
{ |
|||
"h2.dbname.default" : "DB_PLATFORM" |
|||
} |
|||
*/ |
Loading…
Reference in new issue