Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
荆蔚杰
/
java.archive
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
6ce8d530
authored
2021-11-25 10:14:47 +0800
by
荆蔚杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
接口逻辑优化
1 parent
24d62474
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/resources/mapper/DgFileMapper.xml
src/main/resources/mapper/DgFileMapper.xml
View file @
6ce8d53
...
...
@@ -27,7 +27,7 @@
<resultMap
id=
"result"
type=
"com.pashanhoo.file.entity.vo.DgCatalogWithFileVO"
>
<result
column=
"bsm_archives"
property=
"bsmArchive"
/>
<result
column=
"bsm
_c
atalog"
property=
"bsmCatalog"
/>
<result
column=
"bsm
C
atalog"
property=
"bsmCatalog"
/>
<result
column=
"wjmc"
property=
"wjmc"
/>
<result
column=
"catalogXh"
property=
"catalogXh"
/>
<collection
property=
"fileLists"
ofType=
"com.pashanhoo.file.entity.vo.DgFileListVO"
>
...
...
@@ -43,7 +43,7 @@
</resultMap>
<select
id=
"getFileList"
resultMap=
"result"
>
select DF.*, DAC.XH as catalogXh, DAC.WJMC,DAC.BSM_CATALOG,DA.BSM_ARCHIVES
select DF.*, DAC.XH as catalogXh, DAC.WJMC,DAC.BSM_CATALOG
as bsmCatalog
,DA.BSM_ARCHIVES
from DG_FILE DF
right join DG_ARCHIVES_CATALOG DAC on DAC.BSM_CATALOG = DF.BSM_CATALOG
join DG_ARCHIVES DA on DAC.BSM_ARCHIVES = DA.BSM_ARCHIVES
...
...
Please
register
or
sign in
to post a comment