Compare commits

..

3 Commits

Author SHA1 Message Date
wangliwen 5ac81177a5 Merge branch 'master' into docker_package 2023-01-09 11:18:08 +08:00
wangliwen 5c8824eaae Merge branch 'dev' 2023-01-09 11:18:01 +08:00
wangliwen 00d59f3e54 能力申请后的评分内容增加字段 2023-01-09 11:15:50 +08:00
4 changed files with 25 additions and 0 deletions

View File

@ -30,6 +30,12 @@ public class ResourceScoreDTO implements Serializable {
private Long resourceId; private Long resourceId;
@ApiModelProperty(value = "评分1-5分1分差评5分好评") @ApiModelProperty(value = "评分1-5分1分差评5分好评")
private Integer score; private Integer score;
@ApiModelProperty(value = "质量评分1-5分1分差评5分好评")
private Integer qualityScore;
@ApiModelProperty(value = "算法准确1-5分1分差评5分好评")
private Integer algorithmExactScore;
@ApiModelProperty(value = "组件服务质量1-5分1分差评5分好评")
private Integer assemblyQualityScore;
@ApiModelProperty(value = "评论内容") @ApiModelProperty(value = "评论内容")
private String comment; private String comment;
@ApiModelProperty(value = "删除标志0:正常1:已删除") @ApiModelProperty(value = "删除标志0:正常1:已删除")

View File

@ -38,6 +38,18 @@ public class ResourceScoreEntity {
* 评分1-5分1分差评5分好评 * 评分1-5分1分差评5分好评
*/ */
private Integer score; private Integer score;
/**
* 质量评分
*/
private Integer qualityScore;
/**
* 算法准确
*/
private Integer algorithmExactScore;
/**
* 组件服务质量
*/
private Integer assemblyQualityScore;
/** /**
* 评论内容 * 评论内容
*/ */

View File

@ -0,0 +1,4 @@
ALTER TABLE `tb_resource_score`
ADD COLUMN `quality_score` int NULL COMMENT '质量评分',
ADD COLUMN `algorithm_exact_score` int NULL COMMENT '算法准确',
ADD COLUMN `assembly_quality_score` int NULL COMMENT '组件服务质量';

View File

@ -8,6 +8,9 @@
<result property="userId" column="user_id"/> <result property="userId" column="user_id"/>
<result property="resourceId" column="resource_id"/> <result property="resourceId" column="resource_id"/>
<result property="score" column="score"/> <result property="score" column="score"/>
<result property="qualityScore" column="quality_score"/>
<result property="algorithmExactScore" column="algorithm_exact_score"/>
<result property="assemblyQualityScore" column="assembly_quality_score"/>
<result property="comment" column="comment"/> <result property="comment" column="comment"/>
<result property="delFlag" column="del_flag"/> <result property="delFlag" column="del_flag"/>
<result property="creator" column="creator"/> <result property="creator" column="creator"/>