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
af29ba3a
authored
2021-11-24 11:25:07 +0800
by
荆蔚杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
字段调整
1 parent
a494b718
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/main/java/com/pashanhoo/file/entity/vo/DgCatalogWithFileVO.java
src/main/resources/mapper/DgFileMapper.xml
src/main/java/com/pashanhoo/file/entity/vo/DgCatalogWithFileVO.java
View file @
af29ba3
...
...
@@ -30,8 +30,8 @@ public class DgCatalogWithFileVO implements Serializable {
/**
* 序号
*/
@ApiModelProperty
(
name
=
"
xh"
,
value
=
"
序号"
)
private
Integer
x
h
;
@ApiModelProperty
(
name
=
"
catalogXh"
,
value
=
"目录
序号"
)
private
Integer
catalogX
h
;
/**
* 档案文件信息列表VO
...
...
src/main/resources/mapper/DgFileMapper.xml
View file @
af29ba3
...
...
@@ -28,7 +28,7 @@
<resultMap
id=
"result"
type=
"com.pashanhoo.file.entity.vo.DgCatalogWithFileVO"
>
<result
column=
"bsm_catalog"
property=
"bsmCatalog"
/>
<result
column=
"wjmc"
property=
"wjmc"
/>
<result
column=
"
xh"
property=
"x
h"
/>
<result
column=
"
catalogXh"
property=
"catalogX
h"
/>
<collection
property=
"fileLists"
ofType=
"com.pashanhoo.file.entity.vo.DgFileListVO"
>
<result
column=
"bsm_file"
property=
"bsmFile"
/>
<result
column=
"bsm_catalog"
property=
"bsmCatalog"
/>
...
...
@@ -42,7 +42,7 @@
</resultMap>
<select
id=
"getFileList"
resultMap=
"result"
>
select DF.*, DAC.XH, DAC.WJMC,DAC.BSM_CATALOG
select DF.*, DAC.XH
as catalogXh
, DAC.WJMC,DAC.BSM_CATALOG
from DG_FILE DF
join DG_ARCHIVES_CATALOG DAC on DAC.BSM_CATALOG = DF.BSM_CATALOG
<where>
...
...
Please
register
or
sign in
to post a comment