Commit 80e95535 authored by liqin's avatar liqin 💬

bug fixed

parent 3ab60608
......@@ -33,6 +33,7 @@ public class MetaObjectHandlerConfig implements MetaObjectHandler {
// this.setFieldValByName("userId", currentUser.getId(), metaObject);
// this.setFieldValByName("userName", currentUser.getUserName(), metaObject);
// this.setFieldValByName("orgName", currentUser.getOrgName(), metaObject);
this.setFieldValByName("creatorName", currentUser.getUserName(), metaObject);
}
}
......
......@@ -63,6 +63,10 @@ public class LearningContent implements Serializable {
@NotBlank(message = "学习项目ID不能为空", groups = {Add.class, Update.class})
private String learningProjectId;
@ApiModelProperty("创建者")
@TableField("creator_name")
private String creatorName;
@ApiModelProperty("审核状态")
@TableField("audit_status")
private String auditStatus;
......
......@@ -10,6 +10,7 @@
<result column="applicable_scope" property="applicableScope"/>
<result column="organ_code" property="organCode"/>
<result column="learning_project_id" property="learningProjectId"/>
<result column="creator_name" property="creatorName"/>
<result column="audit_status" property="auditStatus"/>
<result column="is_published" property="isPublished"/>
<result column="is_deleted" property="isDeleted"/>
......@@ -20,7 +21,8 @@
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
id, name, cover, applicable_scope, organ_code, learning_project_id, audit_status, is_published, is_deleted, sortorder, create_time, update_time
id, name, cover, applicable_scope, organ_code, learning_project_id, creator_name, audit_status, is_published,
is_deleted, sortorder, create_time, update_time
</sql>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment