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
8780c738
Commit
8780c738
authored
Apr 13, 2021
by
高晓磊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除采砂许可的排序字段,接驳管理按照创建时间降序.
parent
9838f777
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
26 deletions
+2
-26
DischargingDaoImpl.java
...yst/dinas/production/internal/dao/DischargingDaoImpl.java
+1
-0
SandMiningDaoImpl.java
...xyst/dinas/production/internal/dao/SandMiningDaoImpl.java
+1
-1
SandMining.jmx
...ources/com/xyst/dinas/production/datamodel/SandMining.jmx
+0
-10
SandMining.jmx
.../resources/com/xyst/dinas/production/query/SandMining.jmx
+0
-10
SandMining.hbm.xml
...s.production/src/main/resources/config/SandMining.hbm.xml
+0
-5
No files found.
backend/xyst.dinas.production/src/main/java/com/xyst/dinas/production/internal/dao/DischargingDaoImpl.java
View file @
8780c738
...
...
@@ -41,6 +41,7 @@ public class DischargingDaoImpl extends AbstractBaseDao implements DischargingDa
@Override
public
Page
<
KObject
>
listDischargingInfoPaging
(
Page
<
KObject
>
page
,
UUID
transportShipId
,
Integer
type
,
Date
startDate
,
Date
endDate
,
Integer
sandMiningAreaType
,
List
<
UUID
>
stationIds
,
UUID
sandMiningAreaId
,
UUID
shipId
,
UUID
parentId
)
{
DetachedCriteria
detachedCriteria
=
getDetachedCriteria
(
type
,
transportShipId
,
startDate
,
endDate
,
sandMiningAreaType
,
stationIds
,
sandMiningAreaId
,
shipId
,
parentId
);
detachedCriteria
.
addOrder
(
Order
.
desc
(
"createTime"
));
int
offset
=
page
.
getPageSize
()
*
(
page
.
getPageNo
()
-
1
);
page
.
setTotal
(
template
.
findByCriteria
(
detachedCriteria
).
size
());
List
<
KObject
>
list
=
(
List
<
KObject
>)
template
.
findByCriteria
(
detachedCriteria
,
offset
,
page
.
getPageSize
());
...
...
backend/xyst.dinas.production/src/main/java/com/xyst/dinas/production/internal/dao/SandMiningDaoImpl.java
View file @
8780c738
...
...
@@ -49,7 +49,7 @@ public class SandMiningDaoImpl extends AbstractBaseDao implements SandMiningDao,
if
(
null
!=
currentLoginRegionalCompany
){
detachedCriteria
.
add
(
Restrictions
.
eq
(
"regionalCompany.id"
,
currentLoginRegionalCompany
.
getUuid
(
"id"
)));
}
detachedCriteria
.
addOrder
(
Order
.
desc
(
"
sortOrder
"
));
detachedCriteria
.
addOrder
(
Order
.
desc
(
"
createTime
"
));
int
offset
=
page
.
getPageSize
()
*
(
page
.
getPageNo
()
-
1
);
page
.
setTotal
(
template
.
findByCriteria
(
detachedCriteria
).
size
());
List
<
KObject
>
list
=
(
List
<
KObject
>)
template
.
findByCriteria
(
detachedCriteria
,
offset
,
page
.
getPageSize
());
...
...
backend/xyst.dinas.production/src/main/resources/com/xyst/dinas/production/datamodel/SandMining.jmx
View file @
8780c738
...
...
@@ -257,16 +257,6 @@
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
</m:annotations>
<m:id>
e4ef9412-c841-44d5-ade5-180af98d4f00
</m:id>
<m:name>
sortOrder
</m:name>
<m:title>
排序
</m:title>
<m:type>
int
</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
</m:attributes>
</m:class>
</content>
...
...
backend/xyst.dinas.production/src/main/resources/com/xyst/dinas/production/query/SandMining.jmx
View file @
8780c738
...
...
@@ -314,16 +314,6 @@
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
sortOrder
</m:name>
<m:title>
排序
</m:title>
<m:type>
string
</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
</m:fields>
</m:query>
</content>
...
...
backend/xyst.dinas.production/src/main/resources/config/SandMining.hbm.xml
View file @
8780c738
...
...
@@ -135,11 +135,6 @@
<comment>
采砂功率
</comment>
</column>
</property>
<property
name=
"sortOrder"
type=
"int"
not-null=
"true"
unique=
"true"
update=
"false"
insert=
"false"
index=
"sand_mining_index"
>
<column
name=
"sort_order"
length=
"5"
>
<comment
>
排序
</comment>
</column>
</property>
</class>
<class
entity-name=
"com.xyst.dinas.production.datamodel.SandMining$SandMiningStationDetail"
table=
"xyst_dinas_production_sand_mining_station_detail"
>
...
...
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