认证参数列表添加字段(相关项目版本,说明)
This commit is contained in:
+6
@@ -103,4 +103,10 @@ public class ParamsManifestEO implements Serializable {
|
|||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private String projectName;
|
private String projectName;
|
||||||
|
|
||||||
|
//相关项目版本
|
||||||
|
private String projectVersion;
|
||||||
|
|
||||||
|
//说明
|
||||||
|
private String explanation;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+6
@@ -16,6 +16,8 @@
|
|||||||
<result column="params_template_id" property="paramsTemplateId" />
|
<result column="params_template_id" property="paramsTemplateId" />
|
||||||
<result column="params_template_publish_version" property="paramsTemplatePublishVersion" />
|
<result column="params_template_publish_version" property="paramsTemplatePublishVersion" />
|
||||||
<result column="params_template_name" property="paramsTemplateName" />
|
<result column="params_template_name" property="paramsTemplateName" />
|
||||||
|
<result column="project_version" property="projectVersion" />
|
||||||
|
<result column="explanation" property="explanation" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<resultMap id="ParamsManifestEOResultMapForCopy" type="com.jero.modules.cert.collect.vo.ParamsManifestVO">
|
<resultMap id="ParamsManifestEOResultMapForCopy" type="com.jero.modules.cert.collect.vo.ParamsManifestVO">
|
||||||
<id column="id" property="id" />
|
<id column="id" property="id" />
|
||||||
@@ -27,6 +29,8 @@
|
|||||||
<result column="params_template_name" property="paramsTemplateName" />
|
<result column="params_template_name" property="paramsTemplateName" />
|
||||||
<result column="params_template_id" property="paramsTemplateId" />
|
<result column="params_template_id" property="paramsTemplateId" />
|
||||||
<result column="params_template_publish_version" property="paramsTemplatePublishVersion" />
|
<result column="params_template_publish_version" property="paramsTemplatePublishVersion" />
|
||||||
|
<result column="project_version" property="projectVersion" />
|
||||||
|
<result column="explanation" property="explanation" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="BaseColumnList">
|
<sql id="BaseColumnList">
|
||||||
@@ -43,6 +47,8 @@
|
|||||||
pm.project_id as project_id,
|
pm.project_id as project_id,
|
||||||
pm.params_template_id as params_template_id,
|
pm.params_template_id as params_template_id,
|
||||||
pm.params_template_publish_version as params_template_publish_version,
|
pm.params_template_publish_version as params_template_publish_version,
|
||||||
|
pm.project_version as project_version,
|
||||||
|
pm.explanation as explanation,
|
||||||
if (pt.params_template_name is not null, pt.params_template_name, pm.params_template_name) as params_template_name
|
if (pt.params_template_name is not null, pt.params_template_name, pm.params_template_name) as params_template_name
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
|
|||||||
+2
@@ -187,6 +187,8 @@ public class ParamsManifestEOServiceImpl extends ServiceImpl<ParamsManifestEOMap
|
|||||||
ParamsManifestEO updateEO = new ParamsManifestEO();
|
ParamsManifestEO updateEO = new ParamsManifestEO();
|
||||||
updateEO.setId(paramsManifestEO.getId());
|
updateEO.setId(paramsManifestEO.getId());
|
||||||
updateEO.setTitle(paramsManifestEO.getTitle());
|
updateEO.setTitle(paramsManifestEO.getTitle());
|
||||||
|
updateEO.setProjectVersion(paramsManifestEO.getProjectVersion());
|
||||||
|
updateEO.setExplanation(paramsManifestEO.getExplanation());
|
||||||
Date now = new Date();
|
Date now = new Date();
|
||||||
updateEO.setUpdateTime(now);
|
updateEO.setUpdateTime(now);
|
||||||
return updateById(updateEO);
|
return updateById(updateEO);
|
||||||
|
|||||||
+6
@@ -24,4 +24,10 @@ public class ParamsManifestVO {
|
|||||||
private String ids;
|
private String ids;
|
||||||
private String cut;
|
private String cut;
|
||||||
private String sourceManifestId;
|
private String sourceManifestId;
|
||||||
|
|
||||||
|
//相关项目版本
|
||||||
|
private String projectVersion;
|
||||||
|
|
||||||
|
//说明
|
||||||
|
private String explanation;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user