Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
Overview
Overview
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
王衍超
cloud-fb
Commits
94cf1001
Commit
94cf1001
authored
Apr 19, 2021
by
高晓磊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
中间表依旧关联场站
parent
82f7792c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
DinasTypeDaoImpl.java
...ava/com/xyst/dinas/biz/internal/dao/DinasTypeDaoImpl.java
+0
-5
DinasTypeController.java
...main/java/com/xyst/dinas/biz/web/DinasTypeController.java
+2
-1
Station$DinasTypeDetail.jmx
.../com/xyst/dinas/biz/datamodel/Station$DinasTypeDetail.jmx
+4
-0
No files found.
backend/xyst.dinas.biz/src/main/java/com/xyst/dinas/biz/internal/dao/DinasTypeDaoImpl.java
View file @
94cf1001
...
@@ -73,11 +73,6 @@ public class DinasTypeDaoImpl extends AbstractBaseDao implements DinasTypeDao, D
...
@@ -73,11 +73,6 @@ public class DinasTypeDaoImpl extends AbstractBaseDao implements DinasTypeDao, D
page
.
setTotal
(
template
.
findByCriteria
(
detachedCriteria
).
size
());
page
.
setTotal
(
template
.
findByCriteria
(
detachedCriteria
).
size
());
int
offset
=
page
.
getPageSize
()
*
(
page
.
getPageNo
()
-
1
);
int
offset
=
page
.
getPageSize
()
*
(
page
.
getPageNo
()
-
1
);
List
<
KObject
>
list
=
(
List
<
KObject
>)
template
.
findByCriteria
(
detachedCriteria
,
offset
,
page
.
getPageSize
());
List
<
KObject
>
list
=
(
List
<
KObject
>)
template
.
findByCriteria
(
detachedCriteria
,
offset
,
page
.
getPageSize
());
for
(
KObject
kObject
:
list
)
{
KObject
kObject1
=
detailBean
.
newInstance
();
kObject1
.
set
(
"dinasType"
,
kObject
);
kObject
.
set
(
"stations"
,
template
.
findByExample
(
STATION_DINAS_TYPE_DETAIL_ENTITY
,
kObject1
));
}
page
.
setDatas
(
list
);
page
.
setDatas
(
list
);
return
page
;
return
page
;
}
}
...
...
backend/xyst.dinas.biz/src/main/java/com/xyst/dinas/biz/web/DinasTypeController.java
View file @
94cf1001
...
@@ -32,7 +32,8 @@ public class DinasTypeController {
...
@@ -32,7 +32,8 @@ public class DinasTypeController {
Page
<
KObject
>
objectPage
=
new
Page
<>();
Page
<
KObject
>
objectPage
=
new
Page
<>();
objectPage
.
setPageNo
(
pageNo
);
objectPage
.
setPageNo
(
pageNo
);
objectPage
.
setPageSize
(
pageSize
);
objectPage
.
setPageSize
(
pageSize
);
return
ResponseObj
.
success
(
"操作成功"
,
dinasTypeService
.
queryByPaging
(
objectPage
));
Page
<
KObject
>
kObjectPage
=
dinasTypeService
.
queryByPaging
(
objectPage
);
return
ResponseObj
.
success
(
"操作成功"
,
kObjectPage
);
}
}
/**
/**
...
...
backend/xyst.dinas.biz/src/main/resources/com/xyst/dinas/biz/datamodel/Station$DinasTypeDetail.jmx
View file @
94cf1001
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
</m:parents>
</m:parents>
<m:attributes>
<m:attributes>
<m:attribute>
<m:attribute>
<m:annotations>
<m:id>
aed98349-40f0-4e9a-944b-43f01646978b
</m:id>
<m:id>
aed98349-40f0-4e9a-944b-43f01646978b
</m:id>
<m:name>
station
</m:name>
<m:name>
station
</m:name>
<m:title>
所属场站
</m:title>
<m:title>
所属场站
</m:title>
...
@@ -26,6 +27,9 @@
...
@@ -26,6 +27,9 @@
</m:attribute>
</m:attribute>
<m:attribute>
<m:attribute>
<m:annotations>
<m:annotations>
<m:annotation>
<m:type>
bcp.type.json.JsonIgnore
</m:type>
</m:annotation>
</m:annotations>
</m:annotations>
<m:id>
61699557-6afc-43c2-adeb-fecfeb844536
</m:id>
<m:id>
61699557-6afc-43c2-adeb-fecfeb844536
</m:id>
<m:name>
dinasType
</m:name>
<m:name>
dinasType
</m:name>
...
...
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