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
2a789f52
Commit
2a789f52
authored
Mar 23, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
8905e998
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
61 additions
and
32 deletions
+61
-32
MysqlGenerator.java
...energy/chnmuseum/party/common/mybatis/MysqlGenerator.java
+1
-0
AssetMapper.xml
src/main/resources/mapper/AssetMapper.xml
+7
-5
CopyrightOwnerAssetTypeMapper.xml
src/main/resources/mapper/CopyrightOwnerAssetTypeMapper.xml
+4
-4
CopyrightOwnerBoardTypeMapper.xml
src/main/resources/mapper/CopyrightOwnerBoardTypeMapper.xml
+4
-4
ExhibitionBoardCatMapper.xml
src/main/resources/mapper/ExhibitionBoardCatMapper.xml
+2
-3
ExhibitionBoardMapper.xml
src/main/resources/mapper/ExhibitionBoardMapper.xml
+12
-8
LearningContentBoardCatMapper.xml
src/main/resources/mapper/LearningContentBoardCatMapper.xml
+4
-4
LearningContentMapper.xml
src/main/resources/mapper/LearningContentMapper.xml
+8
-4
LearningProjectMapper.xml
src/main/resources/mapper/LearningProjectMapper.xml
+19
-0
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/common/mybatis/MysqlGenerator.java
View file @
2a789f52
...
@@ -16,6 +16,7 @@ public class MysqlGenerator {
...
@@ -16,6 +16,7 @@ public class MysqlGenerator {
"learning_content_copyright_owner"
,
"learning_content_copyright_owner"
,
"learning_project"
"learning_project"
};
};
// 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"
;
...
...
src/main/resources/mapper/AssetMapper.xml
View file @
2a789f52
...
@@ -6,18 +6,20 @@
...
@@ -6,18 +6,20 @@
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.Asset"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.Asset"
>
<id
column=
"id"
property=
"id"
/>
<id
column=
"id"
property=
"id"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"asset_copyright_owner_id"
property=
"assetCopyrightOwnerId"
/>
<result
column=
"asset_type_id"
property=
"assetTypeId"
/>
<result
column=
"thumbnail"
property=
"thumbnail"
/>
<result
column=
"thumbnail"
property=
"thumbnail"
/>
<result
column=
"asset_type_id"
property=
"assetTypeId"
/>
<result
column=
"asset_copyright_owner_id"
property=
"assetCopyrightOwnerId"
/>
<result
column=
"video_url"
property=
"videoUrl"
/>
<result
column=
"video_url"
property=
"videoUrl"
/>
<result
column=
"audit_status"
property=
"auditStatus"
/>
<result
column=
"audit_status_add"
property=
"auditStatusAdd"
/>
<result
column=
"audit_status_edit"
property=
"auditStatusEdit"
/>
<result
column=
"audit_status_delete"
property=
"auditStatusDelete"
/>
<result
column=
"create_time"
property=
"createTime"
/>
<result
column=
"create_time"
property=
"createTime"
/>
<result
column=
"update_time"
property=
"updateTime"
/>
<result
column=
"update_time"
property=
"updateTime"
/>
</resultMap>
</resultMap>
<!-- 通用查询结果列 -->
<!-- 通用查询结果列 -->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
id, name,
asset_copyright_owner_id, asset_type_id, thumbnail, video_url, audit_status
, create_time, update_time
id, name,
thumbnail, asset_type_id, asset_copyright_owner_id, video_url, audit_status_add, audit_status_edit, audit_status_delete
, create_time, update_time
</sql>
</sql>
</mapper>
</mapper>
src/main/resources/mapper/CopyrightOwnerAssetTypeMapper.xml
View file @
2a789f52
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
<!-- 通用查询映射结果 -->
<!-- 通用查询映射结果 -->
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.CopyrightOwnerAssetType"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.CopyrightOwnerAssetType"
>
<id
column=
"id"
property=
"id"
/>
<id
column=
"id"
property=
"id"
/>
<result
column=
"copyright_owner_id"
property=
"copyrightOwnerId"
/>
<result
column=
"copyright_owner_id"
property=
"copyrightOwnerId"
/>
<result
column=
"asset_type_id"
property=
"assetTypeId"
/>
<result
column=
"asset_type_id"
property=
"assetTypeId"
/>
</resultMap>
</resultMap>
<!-- 通用查询结果列 -->
<!-- 通用查询结果列 -->
...
...
src/main/resources/mapper/CopyrightOwnerBoardTypeMapper.xml
View file @
2a789f52
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
<!-- 通用查询映射结果 -->
<!-- 通用查询映射结果 -->
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.CopyrightOwnerBoardType"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.CopyrightOwnerBoardType"
>
<id
column=
"id"
property=
"id"
/>
<id
column=
"id"
property=
"id"
/>
<result
column=
"copyright_owner_id"
property=
"copyrightOwnerId"
/>
<result
column=
"copyright_owner_id"
property=
"copyrightOwnerId"
/>
<result
column=
"board_type_id"
property=
"boardTypeId"
/>
<result
column=
"board_type_id"
property=
"boardTypeId"
/>
</resultMap>
</resultMap>
<!-- 通用查询结果列 -->
<!-- 通用查询结果列 -->
...
...
src/main/resources/mapper/ExhibitionBoardCatMapper.xml
View file @
2a789f52
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.ExhibitionBoardCat"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.ExhibitionBoardCat"
>
<id
column=
"id"
property=
"id"
/>
<id
column=
"id"
property=
"id"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"copyright_owner"
property=
"copyrightOwner"
/>
<result
column=
"remarks"
property=
"remarks"
/>
<result
column=
"remarks"
property=
"remarks"
/>
<result
column=
"create_time"
property=
"createTime"
/>
<result
column=
"create_time"
property=
"createTime"
/>
<result
column=
"update_time"
property=
"updateTime"
/>
<result
column=
"update_time"
property=
"updateTime"
/>
...
@@ -14,7 +13,7 @@
...
@@ -14,7 +13,7 @@
<!-- 通用查询结果列 -->
<!-- 通用查询结果列 -->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
id, name,
copyright_owner,
remarks, create_time, update_time
id, name, remarks, create_time, update_time
</sql>
</sql>
</mapper>
</mapper>
src/main/resources/mapper/ExhibitionBoardMapper.xml
View file @
2a789f52
...
@@ -6,23 +6,27 @@
...
@@ -6,23 +6,27 @@
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.ExhibitionBoard"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.ExhibitionBoard"
>
<id
column=
"id"
property=
"id"
/>
<id
column=
"id"
property=
"id"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"
copyright_owner_id"
property=
"c
opyrightOwnerId"
/>
<result
column=
"
board_copyright_owner_id"
property=
"boardC
opyrightOwnerId"
/>
<result
column=
"exhibition_board_cat_id"
property=
"exhibitionBoardCatId"
/>
<result
column=
"exhibition_board_cat_id"
property=
"exhibitionBoardCatId"
/>
<result
column=
"
board_img_url"
property=
"boardImgUrl
"
/>
<result
column=
"
cover"
property=
"cover
"
/>
<result
column=
"
board_qrcode_url"
property=
"boardQ
rcodeUrl"
/>
<result
column=
"
qrcode_url"
property=
"q
rcodeUrl"
/>
<result
column=
"introduction"
property=
"introduction"
/>
<result
column=
"introduction"
property=
"introduction"
/>
<result
column=
"asset_type"
property=
"assetType"
/>
<result
column=
"asset_copyright_owner_id"
property=
"assetCopyrightOwnerId"
/>
<result
column=
"asset_type_id"
property=
"assetTypeId"
/>
<result
column=
"asset_id"
property=
"assetId"
/>
<result
column=
"asset_id"
property=
"assetId"
/>
<result
column=
"guide_audio_url"
property=
"guideAudioUrl"
/>
<result
column=
"guide_audio_url"
property=
"guideAudioUrl"
/>
<result
column=
"reference_material"
property=
"referenceMaterial"
/>
<result
column=
"ref_material_dir"
property=
"refMaterialDir"
/>
<result
column=
"ref_material_url"
property=
"refMaterialUrl"
/>
<result
column=
"audit_status_add"
property=
"auditStatusAdd"
/>
<result
column=
"audit_status_edit"
property=
"auditStatusEdit"
/>
<result
column=
"audit_status_delete"
property=
"auditStatusDelete"
/>
<result
column=
"create_time"
property=
"createTime"
/>
<result
column=
"create_time"
property=
"createTime"
/>
<result
column=
"update_time"
property=
"updateTime"
/>
<result
column=
"update_time"
property=
"updateTime"
/>
<result
column=
"audit_status"
property=
"auditStatus"
/>
</resultMap>
</resultMap>
<!-- 通用查询结果列 -->
<!-- 通用查询结果列 -->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
id, name,
copyright_owner_id, exhibition_board_cat_id, board_img_url, board_qrcode_url, introduction, asset_type, asset_id, guide_audio_url, reference_material, create_time, update_time, audit_status
id, name,
board_copyright_owner_id, exhibition_board_cat_id, cover, qrcode_url, introduction, asset_copyright_owner_id, asset_type_id, asset_id, guide_audio_url, ref_material_dir, ref_material_url, audit_status_add, audit_status_edit, audit_status_delete, create_time, update_time
</sql>
</sql>
</mapper>
</mapper>
src/main/resources/mapper/LearningContentBoardCatMapper.xml
View file @
2a789f52
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
<!-- 通用查询映射结果 -->
<!-- 通用查询映射结果 -->
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.LearningContentBoardCat"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.LearningContentBoardCat"
>
<id
column=
"id"
property=
"id"
/>
<id
column=
"id"
property=
"id"
/>
<result
column=
"learning_content_id"
property=
"learningContentId"
/>
<result
column=
"learning_content_id"
property=
"learningContentId"
/>
<result
column=
"exhibition_board_cat_id"
property=
"exhibitionBoardCatId"
/>
<result
column=
"exhibition_board_cat_id"
property=
"exhibitionBoardCatId"
/>
</resultMap>
</resultMap>
<!-- 通用查询结果列 -->
<!-- 通用查询结果列 -->
...
...
src/main/resources/mapper/LearningContentMapper.xml
View file @
2a789f52
...
@@ -6,16 +6,20 @@
...
@@ -6,16 +6,20 @@
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.LearningContent"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.LearningContent"
>
<id
column=
"id"
property=
"id"
/>
<id
column=
"id"
property=
"id"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"
avartar"
property=
"avarta
r"
/>
<result
column=
"
cover"
property=
"cove
r"
/>
<result
column=
"applicable_scope"
property=
"applicableScope"
/>
<result
column=
"applicable_scope"
property=
"applicableScope"
/>
<result
column=
"audit_status"
property=
"auditStatus"
/>
<result
column=
"learning_project_id"
property=
"learningProjectId"
/>
<result
column=
"audit_status_add"
property=
"auditStatusAdd"
/>
<result
column=
"audit_status_edit"
property=
"auditStatusEdit"
/>
<result
column=
"audit_status_delete"
property=
"auditStatusDelete"
/>
<result
column=
"sortorder"
property=
"sortorder"
/>
<result
column=
"create_time"
property=
"createTime"
/>
<result
column=
"create_time"
property=
"createTime"
/>
<result
column=
"update_time"
property=
"updateTime"
/>
<result
column=
"update_time"
property=
"updateTime"
/>
</resultMap>
</resultMap>
<!-- 通用查询结果列 -->
<!-- 通用查询结果列 -->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
id, name,
avartar, applicable_scope, audit_status
, create_time, update_time
id, name,
cover, applicable_scope, learning_project_id, audit_status_add, audit_status_edit, audit_status_delete, sortorder
, create_time, update_time
</sql>
</sql>
</mapper>
</mapper>
src/main/resources/mapper/LearningProjectMapper.xml
0 → 100644
View file @
2a789f52
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.wisenergy.chnmuseum.party.mapper.LearningProjectMapper"
>
<!-- 通用查询映射结果 -->
<resultMap
id=
"BaseResultMap"
type=
"cn.wisenergy.chnmuseum.party.model.LearningProject"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"remarks"
property=
"remarks"
/>
<result
column=
"create_time"
property=
"createTime"
/>
<result
column=
"update_time"
property=
"updateTime"
/>
</resultMap>
<!-- 通用查询结果列 -->
<sql
id=
"Base_Column_List"
>
id, name, remarks, create_time, update_time
</sql>
</mapper>
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