Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liqin
chnmuseum-party
Commits
13a3dcb0
Commit
13a3dcb0
authored
Apr 23, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
8d1ae33e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
MysqlGenerator.java
...ava/cn/chnmuseum/party/common/mybatis/MysqlGenerator.java
+1
-1
Audit.java
src/main/java/cn/chnmuseum/party/model/Audit.java
+3
-0
AuditMapper.xml
src/main/resources/mapper/AuditMapper.xml
+3
-2
No files found.
src/main/java/cn/chnmuseum/party/common/mybatis/MysqlGenerator.java
View file @
13a3dcb0
...
...
@@ -3,7 +3,7 @@ package cn.chnmuseum.party.common.mybatis;
public
class
MysqlGenerator
{
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
=
"/opt/ss"
;
...
...
src/main/java/cn/chnmuseum/party/model/Audit.java
View file @
13a3dcb0
...
...
@@ -96,6 +96,9 @@ public class Audit implements Serializable {
@TableField
(
"level"
)
private
String
level
;
@TableField
(
"model_data"
)
private
String
modelData
;
@ApiModelProperty
(
"机构名"
)
@TableField
(
exist
=
false
)
private
String
orgName
;
...
...
src/main/resources/mapper/AuditMapper.xml
View file @
13a3dcb0
...
...
@@ -18,6 +18,7 @@
<result
column=
"first_remarks"
property=
"firstRemarks"
/>
<result
column=
"second_remarks"
property=
"secondRemarks"
/>
<result
column=
"level"
property=
"level"
/>
<result
column=
"model_data"
property=
"modelData"
/>
</resultMap>
<select
id=
"getUserList"
resultMap=
"BaseResultMap"
>
...
...
@@ -46,9 +47,9 @@
<select
id=
"getVideoContentPage"
resultType=
"cn.chnmuseum.party.model.Audit"
>
SELECT
a.*, b.`name`, c.user_name AS userName
a.*, b.`name`, c.user_name AS userName
FROM
t_audit a
t_audit a
LEFT JOIN video_content b ON a.ref_item_id = b.id
LEFT JOIN t_user c ON a.user_id = c.id
${ew.customSqlSegment}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment