Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
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
youjj
cloud-platform
Commits
234fc056
Commit
234fc056
authored
Nov 19, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
固定订单列表为车辆类型
parent
6faecd4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
BaseOrder.java
...c/main/java/com/xxfc/platform/order/entity/BaseOrder.java
+2
-0
BaseOrderController.java
...ava/com/xxfc/platform/order/rest/BaseOrderController.java
+2
-0
No files found.
xx-order/xx-order-api/src/main/java/com/xxfc/platform/order/entity/BaseOrder.java
View file @
234fc056
...
...
@@ -24,6 +24,8 @@ import java.util.Date;
@Table
(
name
=
"base_order"
)
public
class
BaseOrder
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
public
static
final
int
ORDER_TYPE_VEHICLE
=
1
;
public
static
final
int
ORDER_SIGN_NORMAL
=
1
;
public
static
final
int
ORDER_SIGN_APPLY
=
2
;
public
static
final
int
ORDER_SIGN_SPECIAL
=
3
;
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/BaseOrderController.java
View file @
234fc056
...
...
@@ -60,6 +60,7 @@ import java.util.Map;
import
java.util.stream.Collectors
;
import
static
com
.
github
.
wxiaoqi
.
security
.
common
.
constant
.
CommonConstants
.
SYS_TRUE
;
import
static
com
.
xxfc
.
platform
.
order
.
entity
.
BaseOrder
.
ORDER_TYPE_VEHICLE
;
import
static
com
.
xxfc
.
platform
.
universal
.
constant
.
DictionaryKey
.
APP_ORDER
;
@Controller
...
...
@@ -169,6 +170,7 @@ public class BaseOrderController extends CommonBaseController implements UserRes
throw
new
BaseException
(
ResultCode
.
AJAX_WECHAT_NOTEXIST_CODE
);
}
//dto.setCrtUser(Integer.valueOf(BaseContextHandler.getUserID()));
dto
.
setType
(
ORDER_TYPE_VEHICLE
);
dto
.
setUserId
(
Integer
.
valueOf
(
BaseContextHandler
.
getUserID
()));
Query
query
=
new
Query
(
dto
);
PageDataVO
<
OrderPageVO
>
pages
=
PageDataVO
.
pageInfo
(
query
,
()
->
baseOrderBiz
.
pageByParm
(
query
.
getSuper
()));
...
...
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