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
353aea51
Commit
353aea51
authored
Sep 10, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
9d815b9a
7e39478f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
9 deletions
+19
-9
OrderMsgBiz.java
...n/java/com/xxfc/platform/order/biz/inner/OrderMsgBiz.java
+9
-9
VehicleModelController.java
...a/com/xxfc/platform/uccn/rest/VehicleModelController.java
+1
-0
VehicleModelQueryCondition.java
...xfc/platform/vehicle/pojo/VehicleModelQueryCondition.java
+2
-0
VehicleModelMapper.xml
...e-server/src/main/resources/mapper/VehicleModelMapper.xml
+7
-0
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/inner/OrderMsgBiz.java
View file @
353aea51
...
...
@@ -29,8 +29,8 @@ import java.util.HashSet;
import
java.util.List
;
import
java.util.Map
;
import
static
com
.
github
.
wxiaoqi
.
security
.
common
.
constant
.
CommonConstants
.
HOUR_MINUTE_FORMATTE_HUTOOL
;
import
static
com
.
github
.
wxiaoqi
.
security
.
common
.
constant
.
CommonConstants
.
SYS_FALSE
;
import
static
com
.
github
.
wxiaoqi
.
security
.
admin
.
constant
.
enumerate
.
MemberEnum
.
NONE
;
import
static
com
.
github
.
wxiaoqi
.
security
.
common
.
constant
.
CommonConstants
.
*
;
import
static
com
.
xxfc
.
platform
.
universal
.
constant
.
DictionaryKey
.
APP_ORDER
;
/**
...
...
@@ -472,7 +472,7 @@ public class OrderMsgBiz {
private
void
handelSmsParamApp
(
CompanyDetail
startCompanyDetail
,
CompanyDetail
endCompanyDetail
,
OrderRentVehicleDetail
orvd
,
OrderTourDetail
otd
,
OrderMemberDetail
omd
,
BaseOrder
baseOrder
,
List
<
String
>
smsParams
,
AppUserDTO
appUserDTO
,
int
paramHandelType
)
{
switch
(
paramHandelType
)
{
case
SmsTemplateDTO
.
PAY_A
:
if
(
0
<
appUserDTO
.
getMemberLevel
(
)
)
{
if
(
SYS_TRUE
.
equals
(
appUserDTO
.
getIsMember
())
&&
!
NONE
.
getCode
().
equals
(
appUserDTO
.
getMemberLevel
()
)
)
{
smsParams
.
add
(
USER_M
+
appUserDTO
.
getRealname
());
}
else
{
smsParams
.
add
(
USER_N
+
appUserDTO
.
getRealname
());
...
...
@@ -502,14 +502,14 @@ public class OrderMsgBiz {
smsParams
.
add
(
appUserDTO
.
getRentFreeDays
().
toString
());
break
;
case
SmsTemplateDTO
.
CANCEL_A
:
if
(
0
<
appUserDTO
.
getMemberLevel
(
)
)
{
if
(
SYS_TRUE
.
equals
(
appUserDTO
.
getIsMember
())
&&
!
NONE
.
getCode
().
equals
(
appUserDTO
.
getMemberLevel
()
)
)
{
smsParams
.
add
(
USER_M
+
appUserDTO
.
getRealname
());
}
else
{
smsParams
.
add
(
USER_N
+
appUserDTO
.
getRealname
());
}
break
;
case
SmsTemplateDTO
.
PAY_I
:
if
(
0
<
appUserDTO
.
getMemberLevel
(
)
)
{
if
(
SYS_TRUE
.
equals
(
appUserDTO
.
getIsMember
())
&&
!
NONE
.
getCode
().
equals
(
appUserDTO
.
getMemberLevel
()
)
)
{
smsParams
.
add
(
USER_M
+
appUserDTO
.
getRealname
());
}
else
{
smsParams
.
add
(
USER_N
+
appUserDTO
.
getRealname
());
...
...
@@ -517,7 +517,7 @@ public class OrderMsgBiz {
smsParams
.
add
(
startCompanyDetail
.
getAddrDetail
());
break
;
case
SmsTemplateDTO
.
PAY_J
:
if
(
0
<
appUserDTO
.
getMemberLevel
(
)
)
{
if
(
SYS_TRUE
.
equals
(
appUserDTO
.
getIsMember
())
&&
!
NONE
.
getCode
().
equals
(
appUserDTO
.
getMemberLevel
()
)
)
{
smsParams
.
add
(
USER_M
+
appUserDTO
.
getRealname
());
}
else
{
smsParams
.
add
(
USER_N
+
appUserDTO
.
getRealname
());
...
...
@@ -534,7 +534,7 @@ public class OrderMsgBiz {
private
void
handelDepositSmsParamApp
(
BigDecimal
originalAmount
,
BigDecimal
violateAmount
,
BigDecimal
refundAmount
,
BigDecimal
residueAmount
,
BaseOrder
baseOrder
,
List
<
String
>
smsParams
,
AppUserDTO
appUserDTO
,
int
paramHandelType
)
{
switch
(
paramHandelType
)
{
case
SmsTemplateDTO
.
CANCEL_C
:
if
(
0
<
appUserDTO
.
getMemberLevel
(
)
)
{
if
(
SYS_TRUE
.
equals
(
appUserDTO
.
getIsMember
())
&&
!
NONE
.
getCode
().
equals
(
appUserDTO
.
getMemberLevel
()
)
)
{
smsParams
.
add
(
USER_M
+
appUserDTO
.
getRealname
());
}
else
{
smsParams
.
add
(
USER_N
+
appUserDTO
.
getRealname
());
...
...
@@ -549,7 +549,7 @@ public class OrderMsgBiz {
case
SmsTemplateDTO
.
REFUND_A
:
Map
<
String
,
Dictionary
>
dictionaryMap
=
thirdFeign
.
dictionaryGetAll4Map
().
getData
();
Integer
rentDepositAutoRefundTime
=
new
Integer
(
dictionaryMap
.
get
(
APP_ORDER
+
"_"
+
DictionaryKey
.
RENT_DEPOSIT_AUTO_REFUND_TIME
).
getDetail
());
if
(
0
<
appUserDTO
.
getMemberLevel
(
)
)
{
if
(
SYS_TRUE
.
equals
(
appUserDTO
.
getIsMember
())
&&
!
NONE
.
getCode
().
equals
(
appUserDTO
.
getMemberLevel
()
)
)
{
smsParams
.
add
(
USER_M
+
appUserDTO
.
getRealname
());
}
else
{
smsParams
.
add
(
USER_N
+
appUserDTO
.
getRealname
());
...
...
@@ -562,7 +562,7 @@ public class OrderMsgBiz {
smsParams
.
add
(
DateUtil
.
formatDateTime
(
DateUtil
.
date
(
baseOrder
.
getRefundTime
()
+
Long
.
valueOf
(
rentDepositAutoRefundTime
*
60
*
60
*
1000
))));
break
;
case
SmsTemplateDTO
.
REFUND_B
:
if
(
0
<
appUserDTO
.
getMemberLevel
(
)
)
{
if
(
SYS_TRUE
.
equals
(
appUserDTO
.
getIsMember
())
&&
!
NONE
.
getCode
().
equals
(
appUserDTO
.
getMemberLevel
()
)
)
{
smsParams
.
add
(
USER_M
+
appUserDTO
.
getRealname
());
}
else
{
smsParams
.
add
(
USER_N
+
appUserDTO
.
getRealname
());
...
...
xx-uccn/xx-uccn-server/src/main/java/com/xxfc/platform/uccn/rest/VehicleModelController.java
View file @
353aea51
...
...
@@ -64,6 +64,7 @@ public class VehicleModelController extends CommonBaseController {
@GetMapping
(
value
=
"/findVehicleModelPage"
)
@IgnoreUserToken
public
ObjectRestResponse
<
PageDataVO
<
VehicleModelVo
>>
findVehicleModelPageUnauthfind
(
VehicleModelQueryCondition
vmqc
)
{
vmqc
.
setNotInIds
(
"67"
);
ObjectRestResponse
<
PageDataVO
<
VehicleModelVo
>>
objectRestResponse
=
vehicleFeign
.
findVehicleModelPageUnauthfind
(
vmqc
);
PageDataVO
<
VehicleModelVo
>
pageDataVOs
=
objectRestResponse
.
getData
();
pageDataVOs
.
getData
().
forEach
(
v
->
{
...
...
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/pojo/VehicleModelQueryCondition.java
View file @
353aea51
...
...
@@ -30,6 +30,8 @@ public class VehicleModelQueryCondition {
private
Integer
status
;
@ApiModelProperty
(
"分类逗号分割"
)
String
catasStr
;
@ApiModelProperty
(
"排除的车型id"
)
String
notInIds
;
@ApiModelProperty
(
value
=
"分类列表"
,
hidden
=
true
)
Map
<
Integer
,
List
<
VehiclePlatCata
>>
catas
;
}
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleModelMapper.xml
View file @
353aea51
...
...
@@ -46,6 +46,13 @@
</foreach>
) > 0
</if>
<if
test=
"notInIds != null"
>
and vmqc.id not in (
<foreach
collection=
"notInIds.split(',')"
item=
"noIdItem"
index=
"noIdIndex"
>
#{noIdItem}
</foreach>
)
</if>
ORDER BY vmqc.id ASC
</select>
...
...
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