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
5ed4ac46
Commit
5ed4ac46
authored
Aug 07, 2019
by
周健威
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/base-modify' into base-modify
parents
6c85ec69
19f44215
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
2 deletions
+31
-2
SmsTemplateDTO.java
.../java/com/xxfc/platform/universal/dto/SmsTemplateDTO.java
+4
-0
CCPRestSmsBiz.java
...n/java/com/xxfc/platform/universal/biz/CCPRestSmsBiz.java
+11
-0
VehicleBookRecordBiz.java
...a/com/xxfc/platform/vehicle/biz/VehicleBookRecordBiz.java
+11
-0
VehicleBookRecordMapper.xml
...ver/src/main/resources/mapper/VehicleBookRecordMapper.xml
+5
-2
No files found.
xx-universal/xx-universal-api/src/main/java/com/xxfc/platform/universal/dto/SmsTemplateDTO.java
View file @
5ed4ac46
...
@@ -62,6 +62,10 @@ public class SmsTemplateDTO {
...
@@ -62,6 +62,10 @@ public class SmsTemplateDTO {
public
static
final
int
REFUND_A
=
22
;
public
static
final
int
REFUND_A
=
22
;
//违章押金退还
//违章押金退还
public
static
final
int
REFUND_B
=
23
;
public
static
final
int
REFUND_B
=
23
;
//旅游内部通知(客服)
public
static
final
int
PAY_H
=
24
;
//取消旅游订单(客服)
public
static
final
int
CANCEL_F
=
25
;
...
...
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/biz/CCPRestSmsBiz.java
View file @
5ed4ac46
...
@@ -58,6 +58,11 @@ public class CCPRestSmsBiz{
...
@@ -58,6 +58,11 @@ public class CCPRestSmsBiz{
//违章押金退还 23
//违章押金退还 23
public
static
final
String
TEMPLATE_ID_FINISH_B
=
"460773"
;
public
static
final
String
TEMPLATE_ID_FINISH_B
=
"460773"
;
//旅游内部通知(客服)24
public
static
final
String
TEMPLATE_ID_PAY_H
=
"461421"
;
//取消旅游订单(客服)25
public
static
final
String
TEMPLATE_ID_CANCEL_F
=
"461424"
;
...
@@ -131,6 +136,12 @@ public class CCPRestSmsBiz{
...
@@ -131,6 +136,12 @@ public class CCPRestSmsBiz{
case
23
:
case
23
:
CCPRestSmsUtils
.
sendTemplateSMS
(
phoneNumbers
,
params
,
TEMPLATE_ID_FINISH_B
);
CCPRestSmsUtils
.
sendTemplateSMS
(
phoneNumbers
,
params
,
TEMPLATE_ID_FINISH_B
);
break
;
break
;
case
24
:
CCPRestSmsUtils
.
sendTemplateSMS
(
phoneNumbers
,
params
,
TEMPLATE_ID_PAY_H
);
break
;
case
25
:
CCPRestSmsUtils
.
sendTemplateSMS
(
phoneNumbers
,
params
,
TEMPLATE_ID_CANCEL_F
);
break
;
}
}
...
...
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleBookRecordBiz.java
View file @
5ed4ac46
...
@@ -158,10 +158,21 @@ public class VehicleBookRecordBiz extends BaseBiz<VehicleBookRecordMapper, Vehic
...
@@ -158,10 +158,21 @@ public class VehicleBookRecordBiz extends BaseBiz<VehicleBookRecordMapper, Vehic
return
RestResponse
.
suc
();
return
RestResponse
.
suc
();
}
}
}
}
if
(
vehicleBookRecordQueryVo
.
getLiftCompany
()
!=
null
)
{
if
(
companyList
.
contains
(
vehicleBookRecordQueryVo
.
getLiftCompany
()))
{
//如果权限中有这个公司就允许查询, 否则就直接返回空
companyList
.
clear
();
companyList
.
add
(
vehicleBookRecordQueryVo
.
getLiftCompany
());
}
else
{
return
RestResponse
.
suc
();
}
}
}
else
{
}
else
{
if
(
vehicleBookRecordQueryVo
.
getCompanyId
()
!=
null
)
{
if
(
vehicleBookRecordQueryVo
.
getCompanyId
()
!=
null
)
{
companyList
.
add
(
vehicleBookRecordQueryVo
.
getCompanyId
());
companyList
.
add
(
vehicleBookRecordQueryVo
.
getCompanyId
());
}
}
if
(
vehicleBookRecordQueryVo
.
getLiftCompany
()
!=
null
)
{
companyList
.
add
(
vehicleBookRecordQueryVo
.
getLiftCompany
());
}
}
}
vehicleBookRecordQueryVo
.
setCompanyIds
(
companyList
);
vehicleBookRecordQueryVo
.
setCompanyIds
(
companyList
);
Query
query
=
new
Query
(
vehicleBookRecordQueryVo
);
Query
query
=
new
Query
(
vehicleBookRecordQueryVo
);
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleBookRecordMapper.xml
View file @
5ed4ac46
...
@@ -425,11 +425,14 @@
...
@@ -425,11 +425,14 @@
and v1.book_type = #{bookType}
and v1.book_type = #{bookType}
</if>
</if>
<if
test=
"companyIds != null and companyIds.size > 0"
>
<if
test=
"companyIds != null and companyIds.size > 0"
>
and v1.lift_company in
and
(
v1.lift_company in
<foreach
collection=
"companyIds"
item=
"id"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"companyIds"
item=
"id"
open=
"("
separator=
","
close=
")"
>
#{id}
#{id}
</foreach>
</foreach>
or v1.ret_company in
<foreach
collection=
"companyIds"
item=
"id"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
)
</if>
</if>
and v1.status between 1 and 2 and v1.book_user != -2
and v1.status between 1 and 2 and v1.book_user != -2
</where>
</where>
...
...
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