Commit 13a3dcb0 authored by liqin's avatar liqin 💬

bug fixed

parent 8d1ae33e
...@@ -3,7 +3,7 @@ package cn.chnmuseum.party.common.mybatis; ...@@ -3,7 +3,7 @@ package cn.chnmuseum.party.common.mybatis;
public class MysqlGenerator { public class MysqlGenerator {
private static final String[] tableNames = new String[]{ private static final String[] tableNames = new String[]{
"asset_tmp" "t_audit"
}; };
// private static final String projectPath = "D:\\develop\\Project\\chnmuseum-party"; // private static final String projectPath = "D:\\develop\\Project\\chnmuseum-party";
private static final String projectPath = "/opt/ss"; private static final String projectPath = "/opt/ss";
......
...@@ -96,6 +96,9 @@ public class Audit implements Serializable { ...@@ -96,6 +96,9 @@ public class Audit implements Serializable {
@TableField("level") @TableField("level")
private String level; private String level;
@TableField("model_data")
private String modelData;
@ApiModelProperty("机构名") @ApiModelProperty("机构名")
@TableField(exist = false) @TableField(exist = false)
private String orgName; private String orgName;
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
<result column="first_remarks" property="firstRemarks"/> <result column="first_remarks" property="firstRemarks"/>
<result column="second_remarks" property="secondRemarks"/> <result column="second_remarks" property="secondRemarks"/>
<result column="level" property="level"/> <result column="level" property="level"/>
<result column="model_data" property="modelData"/>
</resultMap> </resultMap>
<select id="getUserList" resultMap="BaseResultMap"> <select id="getUserList" resultMap="BaseResultMap">
...@@ -46,9 +47,9 @@ ...@@ -46,9 +47,9 @@
<select id="getVideoContentPage" resultType="cn.chnmuseum.party.model.Audit"> <select id="getVideoContentPage" resultType="cn.chnmuseum.party.model.Audit">
SELECT SELECT
a.*, b.`name`, c.user_name AS userName a.*, b.`name`, c.user_name AS userName
FROM FROM
t_audit a t_audit a
LEFT JOIN video_content b ON a.ref_item_id = b.id LEFT JOIN video_content b ON a.ref_item_id = b.id
LEFT JOIN t_user c ON a.user_id = c.id LEFT JOIN t_user c ON a.user_id = c.id
${ew.customSqlSegment} ${ew.customSqlSegment}
......
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