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
e7df9abd
Commit
e7df9abd
authored
Aug 10, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
73739e52
04e9860d
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
27 additions
and
11 deletions
+27
-11
MyWaterBiz.java
...ava/com/github/wxiaoqi/security/admin/biz/MyWaterBiz.java
+5
-1
UserBussinessController.java
.../wxiaoqi/security/admin/rest/UserBussinessController.java
+1
-1
AppUserDetailMapper.xml
...e-admin/src/main/resources/mapper/AppUserDetailMapper.xml
+2
-2
pom.xml
xx-activity/xx-activity-api/pom.xml
+12
-0
RabbitActivityConfig.java
...m/xxfc/platform/activity/config/RabbitActivityConfig.java
+0
-0
SwaggerConfig.java
...java/com/xxfc/platform/activity/config/SwaggerConfig.java
+0
-0
WebConfiguration.java
...a/com/xxfc/platform/activity/config/WebConfiguration.java
+0
-0
pom.xml
xx-activity/xx-activity-server/pom.xml
+1
-6
UserCouponBiz.java
...in/java/com/xxfc/platform/activity/biz/UserCouponBiz.java
+3
-0
OrderVehicleCrosstownBiz.java
...com/xxfc/platform/order/biz/OrderVehicleCrosstownBiz.java
+1
-1
RabbitConsumer.java
...ava/com/xxfc/platform/order/mqhandler/RabbitConsumer.java
+2
-0
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/MyWaterBiz.java
View file @
e7df9abd
...
...
@@ -172,7 +172,11 @@ public class MyWaterBiz extends BaseBiz<MyWalletMapper, MyWallet>{
MyWallet
wallet
=
new
MyWallet
();
wallet
.
setUserId
(
userId
);
wallet
=
selectOne
(
wallet
);
if
(
wallet
!=
null
){
BeanUtils
.
copyProperties
(
wallet
,
dto
);
}
else
{
dto
.
setBalance
(
BigDecimal
.
ZERO
);
}
return
ObjectRestResponse
.
succ
(
dto
);
}
catch
(
Exception
e
){
e
.
printStackTrace
();
...
...
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/rest/UserBussinessController.java
View file @
e7df9abd
...
...
@@ -41,7 +41,7 @@ public class UserBussinessController {
public
ObjectRestResponse
<
UserTeamMemberVo
>
findTeamPage
(
@RequestParam
(
"pageNo"
)
Integer
pageNo
,
@RequestParam
(
"pageSize"
)
Integer
pageSize
,
HttpServletRequest
request
){
try
{
IJWTInfo
infoFromToken
=
userAuthUtil
.
getInfoFromToken
(
userAuthConfig
.
getToken
(
request
));
UserTeamMemberVo
userTeamMemberVo
=
businessBiz
.
findTeamMemberPageByUserId
(
270
,
pageNo
,
pageSize
);
UserTeamMemberVo
userTeamMemberVo
=
businessBiz
.
findTeamMemberPageByUserId
(
Integer
.
valueOf
(
infoFromToken
.
getId
())
,
pageNo
,
pageSize
);
return
ObjectRestResponse
.
succ
(
userTeamMemberVo
);
}
catch
(
Exception
e
)
{
throw
new
BaseException
(
e
);
...
...
ace-modules/ace-admin/src/main/resources/mapper/AppUserDetailMapper.xml
View file @
e7df9abd
...
...
@@ -77,11 +77,11 @@
inner join
(select * from app_user_detail where 1=1
<if
test=
"postionState != null"
>
<choose>
<when
test=
"postionState ==
0
"
>
<when
test=
"postionState ==
6
"
>
and `position_id`=#{postionState}
</when>
<otherwise>
and
<![CDATA[`position_id`<>
#{postionState}
]]>
and
<![CDATA[`position_id`<>
6
]]>
</otherwise>
</choose>
</if>
) d
...
...
xx-activity/xx-activity-api/pom.xml
View file @
e7df9abd
...
...
@@ -24,6 +24,18 @@
<version>
2.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
com.xxfc.platform
</groupId>
<artifactId>
xx-order-api
</artifactId>
<version>
2.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
com.github.wxiaoqi
</groupId>
<artifactId>
ace-auth-client
</artifactId>
<version>
2.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
</dependencies>
</project>
\ No newline at end of file
xx-activity/xx-activity-
server
/src/main/java/com/xxfc/platform/activity/config/RabbitActivityConfig.java
→
xx-activity/xx-activity-
api
/src/main/java/com/xxfc/platform/activity/config/RabbitActivityConfig.java
View file @
e7df9abd
File moved
xx-activity/xx-activity-
server
/src/main/java/com/xxfc/platform/activity/config/SwaggerConfig.java
→
xx-activity/xx-activity-
api
/src/main/java/com/xxfc/platform/activity/config/SwaggerConfig.java
View file @
e7df9abd
File moved
xx-activity/xx-activity-
server
/src/main/java/com/xxfc/platform/activity/config/WebConfiguration.java
→
xx-activity/xx-activity-
api
/src/main/java/com/xxfc/platform/activity/config/WebConfiguration.java
View file @
e7df9abd
File moved
xx-activity/xx-activity-server/pom.xml
View file @
e7df9abd
...
...
@@ -18,12 +18,7 @@
<artifactId>
xx-activity-api
</artifactId>
<version>
2.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.xxfc.platform
</groupId>
<artifactId>
xx-order-api
</artifactId>
<version>
2.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
</dependencies>
<build>
...
...
xx-activity/xx-activity-server/src/main/java/com/xxfc/platform/activity/biz/UserCouponBiz.java
View file @
e7df9abd
...
...
@@ -138,6 +138,9 @@ public class UserCouponBiz extends BaseBiz<UserCouponMapper, UserCoupon> {
log
.
error
(
"----参数不能为空"
);
return
ObjectRestResponse
.
createFailedResult
(
ResultCode
.
NULL_CODE
,
"参数不能为空"
);
}
if
(
amout
.
compareTo
(
BigDecimal
.
ZERO
)<
1
){
return
ObjectRestResponse
.
succ
();
}
Long
time
=
System
.
currentTimeMillis
();
List
<
UserCouponVo
>
list
=
mapper
.
getUserCouponsByType
(
userId
,
type
,
time
,
channel
);
List
<
UserCouponVo
>
list1
=
new
ArrayList
<>();
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderVehicleCrosstownBiz.java
View file @
e7df9abd
...
...
@@ -298,7 +298,7 @@ public class OrderVehicleCrosstownBiz extends BaseBiz<OrderVehicaleCrosstownMapp
orderDepositRefundRecordBiz
.
saveNormalRecord
(
depositRefundRecord
);
//修改订单状态为已完成
baseOrder
.
setStatus
(
OrderStatusEnum
.
ORDER_FINISH
.
getCode
());
baseOrderBiz
.
updateSelectiveByIdReT
(
baseOrder
);
baseOrder
=
baseOrder
Biz
.
updateSelectiveByIdReT
(
baseOrder
);
//修改订单详情是否押金全部退还
orderRentVehicleDetail
.
setFixedLossStatus
(
0
);
orderRentVehicleBiz
.
updateSelectiveByIdRe
(
orderRentVehicleDetail
);
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/mqhandler/RabbitConsumer.java
View file @
e7df9abd
...
...
@@ -43,6 +43,8 @@ public class RabbitConsumer {
//通知 MQ 消息已被接收,可以ACK(从队列中删除)了
channel
.
basicAck
(
message
.
getMessageProperties
().
getDeliveryTag
(),
false
);
try
{
//设置自动取消标识
baseOrder
.
setCancelReason
(
"超时未付款,系统自动取消订单"
);
orderCancelBiz
.
cancel
(
baseOrder
);
}
catch
(
BaseException
e
)
{
if
(
ResultCode
.
DB_OPERATION_FAIL_CODE
==
e
.
getStatus
())
{
...
...
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