Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kwell-mes
Project
Project
Details
Activity
Releases
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
gavelinfo
kwell-mes
Commits
58f55965
Commit
58f55965
authored
Mar 17, 2022
by
黄自鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整手环排序,调整为按名称排序
parent
eaedaf60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
UpointDaoImpl.java
...src/main/java/com/gavel/kwell/dao/impl/UpointDaoImpl.java
+3
-3
No files found.
gavel/src/main/java/com/gavel/kwell/dao/impl/UpointDaoImpl.java
View file @
58f55965
...
@@ -16,7 +16,7 @@ import java.util.List;
...
@@ -16,7 +16,7 @@ import java.util.List;
@Repository
(
"upointDao"
)
@Repository
(
"upointDao"
)
public
class
UpointDaoImpl
extends
BaseDaoImpl
implements
UpointDao
{
public
class
UpointDaoImpl
extends
BaseDaoImpl
implements
UpointDao
{
public
RecordSet
<
UpointVO
>
query
(
UpointCondition
condition
){
public
RecordSet
<
UpointVO
>
query
(
UpointCondition
condition
){
SqlMap
sqlMap
=
new
SqlMap
();
SqlMap
sqlMap
=
new
SqlMap
();
sqlMap
.
setPageNo
(
condition
.
getPageNo
());
sqlMap
.
setPageNo
(
condition
.
getPageNo
());
...
@@ -29,7 +29,7 @@ public class UpointDaoImpl extends BaseDaoImpl implements UpointDao {
...
@@ -29,7 +29,7 @@ public class UpointDaoImpl extends BaseDaoImpl implements UpointDao {
if
(
StringUtils
.
isNotEmpty
(
condition
.
getId
())){
if
(
StringUtils
.
isNotEmpty
(
condition
.
getId
())){
sqlMap
.
append
(
" and "
+
SqlUtil
.
getWhereSql
(
"U_PLCPOINT_ID"
,
condition
.
getId
()));
sqlMap
.
append
(
" and "
+
SqlUtil
.
getWhereSql
(
"U_PLCPOINT_ID"
,
condition
.
getId
()));
sqlMap
.
setParamValue
(
"U_PLCPOINT_ID"
,
condition
.
getId
());
sqlMap
.
setParamValue
(
"U_PLCPOINT_ID"
,
condition
.
getId
());
}
}
if
(
StringUtils
.
isNotEmpty
(
condition
.
getType
())){
if
(
StringUtils
.
isNotEmpty
(
condition
.
getType
())){
...
@@ -82,7 +82,7 @@ public class UpointDaoImpl extends BaseDaoImpl implements UpointDao {
...
@@ -82,7 +82,7 @@ public class UpointDaoImpl extends BaseDaoImpl implements UpointDao {
sqlMap
.
append
(
"from U_PLCPOINT "
);
sqlMap
.
append
(
"from U_PLCPOINT "
);
sqlMap
.
append
(
"where U_PLCPOINT_TYPE = :U_PLCPOINT_TYPE "
);
sqlMap
.
append
(
"where U_PLCPOINT_TYPE = :U_PLCPOINT_TYPE "
);
sqlMap
.
setParamValue
(
"U_PLCPOINT_TYPE"
,
type
);
sqlMap
.
setParamValue
(
"U_PLCPOINT_TYPE"
,
type
);
sqlMap
.
append
(
"order by U_PLCPOINT_
COD
E "
);
sqlMap
.
append
(
"order by U_PLCPOINT_
NAM
E "
);
return
sqlMap
.
query
(
Upoint
.
class
);
return
sqlMap
.
query
(
Upoint
.
class
);
}
}
}
}
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