Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tcm-system
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
TCM
tcm-system
Commits
69d970e2
Commit
69d970e2
authored
Jul 11, 2019
by
zjy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user/role/tright 7.11
parent
a0272a52
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
163 additions
and
104 deletions
+163
-104
DataServiceImpl.java
.../pangding/web/authority/service/impl/DataServiceImpl.java
+85
-26
OrderStatusVo.java
...ain/java/com/pangding/web/authority/vo/OrderStatusVo.java
+45
-45
OrderTicketDetailVo.java
...va/com/pangding/web/authority/vo/OrderTicketDetailVo.java
+3
-3
OrderVo.java
src/main/java/com/pangding/web/authority/vo/OrderVo.java
+3
-3
TyyOrderVo.java
src/main/java/com/pangding/web/authority/vo/TyyOrderVo.java
+27
-27
No files found.
src/main/java/com/pangding/web/authority/service/impl/DataServiceImpl.java
View file @
69d970e2
...
@@ -75,8 +75,16 @@ public class DataServiceImpl implements DataService {
...
@@ -75,8 +75,16 @@ public class DataServiceImpl implements DataService {
companyVo
.
setContactPhone
(
tyyCompanyVo
.
getContactTel
());
companyVo
.
setContactPhone
(
tyyCompanyVo
.
getContactTel
());
companyVo
.
setStatus
(
tyyCompanyVo
.
getStatus
());
companyVo
.
setStatus
(
tyyCompanyVo
.
getStatus
());
companyVo
.
setCreateTime
(
tyyCompanyVo
.
getCreateTime
());
companyVo
.
setCreateTime
(
tyyCompanyVo
.
getCreateTime
());
companyVo
.
setExamineStatus
(
Integer
.
parseInt
(
enterpriseVo
.
getExamine
()));
if
(
null
==
enterpriseVo
.
getExamine
()){
companyVo
.
setCompanyAttribute
(
Integer
.
parseInt
(
enterpriseVo
.
getUsertype
()));
companyVo
.
setExamineStatus
(
0
);
}
else
{
companyVo
.
setExamineStatus
(
Integer
.
parseInt
(
enterpriseVo
.
getExamine
()));
}
if
(
null
==
enterpriseVo
.
getUsertype
()){
companyVo
.
setCompanyAttribute
(
0
);
}
else
{
companyVo
.
setCompanyAttribute
(
Integer
.
parseInt
(
enterpriseVo
.
getUsertype
()));
}
companyVo
.
setProductOrInterface
(
CompanyConstant
.
PRODUCT
);
companyVo
.
setProductOrInterface
(
CompanyConstant
.
PRODUCT
);
if
(
null
!=
tyyCompanyExtendVo
){
if
(
null
!=
tyyCompanyExtendVo
){
companyVo
.
setElectromicAgreementCode
(
tyyCompanyExtendVo
.
getCode
());
companyVo
.
setElectromicAgreementCode
(
tyyCompanyExtendVo
.
getCode
());
...
@@ -132,7 +140,11 @@ public class DataServiceImpl implements DataService {
...
@@ -132,7 +140,11 @@ public class DataServiceImpl implements DataService {
companyExtendVo
.
setQrCodeUrl
(
enterpriseVo
.
getQrcodepath
());
companyExtendVo
.
setQrCodeUrl
(
enterpriseVo
.
getQrcodepath
());
companyExtendVo
.
setQrCode
(
enterpriseVo
.
getQrcodesrc
());
companyExtendVo
.
setQrCode
(
enterpriseVo
.
getQrcodesrc
());
companyExtendVo
.
setInvitationCode
(
enterpriseVo
.
getInvitationCode
());
companyExtendVo
.
setInvitationCode
(
enterpriseVo
.
getInvitationCode
());
companyExtendVo
.
setDivedeStatus
(
Integer
.
parseInt
(
enterpriseVo
.
getIsShare
()));
if
(
null
==
enterpriseVo
.
getIsShare
()){
companyExtendVo
.
setDivedeStatus
(
0
);
}
else
{
companyExtendVo
.
setDivedeStatus
(
Integer
.
parseInt
(
enterpriseVo
.
getIsShare
()));
}
if
(
null
!=
tyyCompanyExtendVo
){
if
(
null
!=
tyyCompanyExtendVo
){
companyExtendVo
.
setWithdrawTotalCash
(
tyyCompanyExtendVo
.
getMoney
());
companyExtendVo
.
setWithdrawTotalCash
(
tyyCompanyExtendVo
.
getMoney
());
}
}
...
@@ -244,7 +256,11 @@ public class DataServiceImpl implements DataService {
...
@@ -244,7 +256,11 @@ public class DataServiceImpl implements DataService {
orderTicketDetailVo
.
setId
(
StringHelper
.
getNewID
());
orderTicketDetailVo
.
setId
(
StringHelper
.
getNewID
());
orderTicketDetailVo
.
setVerify_code
(
tyyOrderdetailsVo
.
getAuxiliarycode
());
orderTicketDetailVo
.
setVerify_code
(
tyyOrderdetailsVo
.
getAuxiliarycode
());
orderTicketDetailVo
.
setOrder_id
(
tyyOrdersVo
.
getOrdersn
());
orderTicketDetailVo
.
setOrder_id
(
tyyOrdersVo
.
getOrdersn
());
orderTicketDetailVo
.
setTicket_status
(
tyyOrderdetailsVo
.
getCodestatus
());
if
(
null
==
tyyOrderdetailsVo
.
getCodestatus
()){
orderTicketDetailVo
.
setTicket_status
(
0
);
}
else
{
orderTicketDetailVo
.
setTicket_status
(
Integer
.
parseInt
(
tyyOrderdetailsVo
.
getCodestatus
()));
}
if
(
"1"
.
equals
(
tyyOrderdetailsVo
.
getCodestatus
())){
if
(
"1"
.
equals
(
tyyOrderdetailsVo
.
getCodestatus
())){
orderTicketDetailVo
.
setTime
(
tyyOrderdetailsVo
.
getChecktime
());
orderTicketDetailVo
.
setTime
(
tyyOrderdetailsVo
.
getChecktime
());
}
else
if
(
"2"
.
equals
(
tyyOrderdetailsVo
.
getCodestatus
())){
}
else
if
(
"2"
.
equals
(
tyyOrderdetailsVo
.
getCodestatus
())){
...
@@ -264,15 +280,23 @@ public class DataServiceImpl implements DataService {
...
@@ -264,15 +280,23 @@ public class DataServiceImpl implements DataService {
private
void
saveOrderStatusVoStepThree
(
TyyOrdersVo
tyyOrdersVo
)
{
private
void
saveOrderStatusVoStepThree
(
TyyOrdersVo
tyyOrdersVo
)
{
OrderStatusVo
orderStatusVo
=
new
OrderStatusVo
();
OrderStatusVo
orderStatusVo
=
new
OrderStatusVo
();
orderStatusVo
.
setId
(
tyyOrdersVo
.
getOrdersn
());
orderStatusVo
.
setId
(
tyyOrdersVo
.
getOrdersn
());
orderStatusVo
.
setPay_type
(
tyyOrdersVo
.
getPaytype
());
if
(
null
==
tyyOrdersVo
.
getPaytype
()){
orderStatusVo
.
setPay_type
(
0
);
}
else
{
orderStatusVo
.
setPay_type
(
Integer
.
parseInt
(
tyyOrdersVo
.
getPaytype
()));
}
orderStatusVo
.
setPayment_time
(
tyyOrdersVo
.
getPaymenttime
());
orderStatusVo
.
setPayment_time
(
tyyOrdersVo
.
getPaymenttime
());
orderStatusVo
.
setPayment_status
(
tyyOrdersVo
.
getPaystatus
());
if
(
null
==
tyyOrdersVo
.
getPaystatus
()){
orderStatusVo
.
setPayment_status
(
0
);
}
else
{
orderStatusVo
.
setPayment_status
(
Integer
.
parseInt
(
tyyOrdersVo
.
getPaystatus
()));
}
if
(
"1"
.
equals
(
tyyOrdersVo
.
getStatus
())){
if
(
"1"
.
equals
(
tyyOrdersVo
.
getStatus
())){
orderStatusVo
.
setOrder_status
(
"2"
);
orderStatusVo
.
setOrder_status
(
2
);
}
else
if
(
"3"
.
equals
(
tyyOrdersVo
.
getStatus
())
&&
"0"
.
equals
(
tyyOrdersVo
.
getPaystatus
())){
}
else
if
(
"3"
.
equals
(
tyyOrdersVo
.
getStatus
())
&&
"0"
.
equals
(
tyyOrdersVo
.
getPaystatus
())){
orderStatusVo
.
setOrder_status
(
"0"
);
orderStatusVo
.
setOrder_status
(
0
);
}
else
if
(
"3"
.
equals
(
tyyOrdersVo
.
getStatus
())
&&
"1"
.
equals
(
tyyOrdersVo
.
getPaystatus
())){
}
else
if
(
"3"
.
equals
(
tyyOrdersVo
.
getStatus
())
&&
"1"
.
equals
(
tyyOrdersVo
.
getPaystatus
())){
orderStatusVo
.
setOrder_status
(
"1"
);
orderStatusVo
.
setOrder_status
(
1
);
}
}
orderStatusVo
.
setThird_order_id
(
tyyOrdersVo
.
getPiaostorderid
());
orderStatusVo
.
setThird_order_id
(
tyyOrdersVo
.
getPiaostorderid
());
orderStatusVo
.
setProduct_company_id
(
tyyOrdersVo
.
getEnterpriseid
());
orderStatusVo
.
setProduct_company_id
(
tyyOrdersVo
.
getEnterpriseid
());
...
@@ -283,10 +307,18 @@ public class DataServiceImpl implements DataService {
...
@@ -283,10 +307,18 @@ public class DataServiceImpl implements DataService {
orderStatusVo
.
setIs_summarize
(
1
);
orderStatusVo
.
setIs_summarize
(
1
);
}
}
orderStatusVo
.
setSummarize_time
(
tyyOrdersVo
.
getEmancipated_date
());
orderStatusVo
.
setSummarize_time
(
tyyOrdersVo
.
getEmancipated_date
());
orderStatusVo
.
setDivide_status
(
tyyOrdersVo
.
getProfit_checked
());
if
(
null
==
tyyOrdersVo
.
getProfit_checked
()){
orderStatusVo
.
setDivide_status
(
0
);
}
else
{
orderStatusVo
.
setDivide_status
(
Integer
.
parseInt
(
tyyOrdersVo
.
getProfit_checked
()));
}
orderStatusVo
.
setDivide_time
(
tyyOrdersVo
.
getProfit_checked_date
());
orderStatusVo
.
setDivide_time
(
tyyOrdersVo
.
getProfit_checked_date
());
orderStatusVo
.
setAgent_company_id
(
tyyOrdersVo
.
getFxsid
());
orderStatusVo
.
setAgent_company_id
(
tyyOrdersVo
.
getFxsid
());
orderStatusVo
.
setIs_delete
(
tyyOrdersVo
.
getIsdelete
());
if
(
null
==
tyyOrdersVo
.
getIsdelete
()){
orderStatusVo
.
setIs_delete
(
0
);
}
else
{
orderStatusVo
.
setIs_delete
(
Integer
.
parseInt
(
tyyOrdersVo
.
getIsdelete
()));
}
orderStatusVo
.
setPay_tonglian_id
(
tyyOrdersVo
.
getTongl_ordersn
());
orderStatusVo
.
setPay_tonglian_id
(
tyyOrdersVo
.
getTongl_ordersn
());
/*若该id存在则跳过,不存在则新增*/
/*若该id存在则跳过,不存在则新增*/
OrderStatusGetReqVo
orderStatusGetReqVo
=
new
OrderStatusGetReqVo
();
OrderStatusGetReqVo
orderStatusGetReqVo
=
new
OrderStatusGetReqVo
();
...
@@ -385,7 +417,11 @@ public class DataServiceImpl implements DataService {
...
@@ -385,7 +417,11 @@ public class DataServiceImpl implements DataService {
orderVo
.
setDiscount_money
(
tyyOrdersVo
.
getDiscountprice
());
orderVo
.
setDiscount_money
(
tyyOrdersVo
.
getDiscountprice
());
orderVo
.
setPd_discount_money
(
tyyOrdersVo
.
getDiscountprice
());
orderVo
.
setPd_discount_money
(
tyyOrdersVo
.
getDiscountprice
());
orderVo
.
setRefund_money
(
refundMoney
);
orderVo
.
setRefund_money
(
refundMoney
);
orderVo
.
setSub_order_type
(
tyyOrdersVo
.
getFieldTicket
());
if
(
null
==
tyyOrdersVo
.
getFieldTicket
()){
orderVo
.
setSub_order_type
(
0
);
}
else
{
orderVo
.
setSub_order_type
(
Integer
.
parseInt
(
tyyOrdersVo
.
getFieldTicket
()));
}
orderVo
.
setPd_order_money
(
tyyOrdersVo
.
getRealprice
());
orderVo
.
setPd_order_money
(
tyyOrdersVo
.
getRealprice
());
orderVo
.
setArea_code
(
tyyOrdersVo
.
getSight_spot_code
());
orderVo
.
setArea_code
(
tyyOrdersVo
.
getSight_spot_code
());
orderVo
.
setOrder_type
(
1
);
orderVo
.
setOrder_type
(
1
);
...
@@ -482,7 +518,11 @@ public class DataServiceImpl implements DataService {
...
@@ -482,7 +518,11 @@ public class DataServiceImpl implements DataService {
}
}
orderTicketDetailVo
.
setId
(
StringHelper
.
getNewID
());
orderTicketDetailVo
.
setId
(
StringHelper
.
getNewID
());
orderTicketDetailVo
.
setVerify_code
(
tyyOrderdetailsVo
.
getAuxiliarycode
());
orderTicketDetailVo
.
setVerify_code
(
tyyOrderdetailsVo
.
getAuxiliarycode
());
orderTicketDetailVo
.
setTicket_status
(
tyyOrderdetailsVo
.
getCodestatus
());
if
(
null
==
tyyOrderdetailsVo
.
getCodestatus
()){
orderTicketDetailVo
.
setTicket_status
(
0
);
}
else
{
orderTicketDetailVo
.
setTicket_status
(
Integer
.
parseInt
(
tyyOrderdetailsVo
.
getCodestatus
()));
}
if
(
"1"
.
equals
(
tyyOrderdetailsVo
.
getCodestatus
())){
if
(
"1"
.
equals
(
tyyOrderdetailsVo
.
getCodestatus
())){
orderTicketDetailVo
.
setTime
(
tyyOrderdetailsVo
.
getChecktime
());
orderTicketDetailVo
.
setTime
(
tyyOrderdetailsVo
.
getChecktime
());
}
else
if
(
"2"
.
equals
(
tyyOrderdetailsVo
.
getCodestatus
())){
}
else
if
(
"2"
.
equals
(
tyyOrderdetailsVo
.
getCodestatus
())){
...
@@ -500,7 +540,6 @@ public class DataServiceImpl implements DataService {
...
@@ -500,7 +540,6 @@ public class DataServiceImpl implements DataService {
orderTicketDetailVo
.
setId
(
orderTicketDetailVo1
.
getId
());
orderTicketDetailVo
.
setId
(
orderTicketDetailVo1
.
getId
());
orderTicketDetailDao
.
update
(
orderTicketDetailVo
);
orderTicketDetailDao
.
update
(
orderTicketDetailVo
);
}
}
}
}
private
void
saveDiscountDetailVoStepOne
(
TyyOrderVo
tyyOrderVo
,
TyyOrderMixVo
tyyOrderMixVo
)
{
private
void
saveDiscountDetailVoStepOne
(
TyyOrderVo
tyyOrderVo
,
TyyOrderMixVo
tyyOrderMixVo
)
{
...
@@ -523,7 +562,6 @@ public class DataServiceImpl implements DataService {
...
@@ -523,7 +562,6 @@ public class DataServiceImpl implements DataService {
discountDetailVo
.
setId
(
discountDetailVo1
.
getId
());
discountDetailVo
.
setId
(
discountDetailVo1
.
getId
());
discountDetailDao
.
update
(
discountDetailVo
);
discountDetailDao
.
update
(
discountDetailVo
);
}
}
}
}
private
void
saveOrderExtendVoStepOne
(
TyyOrderVo
tyyOrderVo
,
TyyOrderMixVo
tyyOrderMixVo
)
{
private
void
saveOrderExtendVoStepOne
(
TyyOrderVo
tyyOrderVo
,
TyyOrderMixVo
tyyOrderMixVo
)
{
...
@@ -577,7 +615,6 @@ public class DataServiceImpl implements DataService {
...
@@ -577,7 +615,6 @@ public class DataServiceImpl implements DataService {
orderExtendDate
.
setId
(
orderExtendDate1
.
getId
());
orderExtendDate
.
setId
(
orderExtendDate1
.
getId
());
orderExtendDaoImpl
.
update
(
orderExtendDate
);
orderExtendDaoImpl
.
update
(
orderExtendDate
);
}
}
}
}
}
}
...
@@ -592,18 +629,30 @@ public class DataServiceImpl implements DataService {
...
@@ -592,18 +629,30 @@ public class DataServiceImpl implements DataService {
orderStatusVo
.
setPay_third_id
(
tyyOrderVo
.
getPay_type_id
());
orderStatusVo
.
setPay_third_id
(
tyyOrderVo
.
getPay_type_id
());
orderStatusVo
.
setPayment_time
(
tyyOrderVo
.
getPay_date
());
orderStatusVo
.
setPayment_time
(
tyyOrderVo
.
getPay_date
());
if
(
tyyOrderVo
.
getPay_status
()
==
0
){
if
(
tyyOrderVo
.
getPay_status
()
==
0
){
orderStatusVo
.
setPayment_status
(
"0"
);
orderStatusVo
.
setPayment_status
(
0
);
}
else
{
}
else
{
orderStatusVo
.
setPayment_status
(
"1"
);
orderStatusVo
.
setPayment_status
(
1
);
}
}
orderStatusVo
.
setPayment_id
(
tyyOrderVo
.
getTongl_third_ordersn
());
orderStatusVo
.
setPayment_id
(
tyyOrderVo
.
getTongl_third_ordersn
());
orderStatusVo
.
setPay_tonglian_id
(
tyyOrderVo
.
getTongl_ordersn
());
orderStatusVo
.
setPay_tonglian_id
(
tyyOrderVo
.
getTongl_ordersn
());
}
else
if
(
null
!=
tyyOrderMixVo
){
}
else
if
(
null
!=
tyyOrderMixVo
){
orderStatusVo
.
setId
(
tyyOrderMixVo
.
getOrdersn
());
orderStatusVo
.
setId
(
tyyOrderMixVo
.
getOrdersn
());
orderStatusVo
.
setPay_type
(
tyyOrderMixVo
.
getPaytype
());
if
(
null
==
tyyOrderMixVo
.
getPaytype
()){
orderStatusVo
.
setPay_type
(
0
);
}
else
{
orderStatusVo
.
setPay_type
(
Integer
.
parseInt
(
tyyOrderMixVo
.
getPaytype
()));
}
orderStatusVo
.
setPayment_time
(
tyyOrderMixVo
.
getPaymenttime
());
orderStatusVo
.
setPayment_time
(
tyyOrderMixVo
.
getPaymenttime
());
orderStatusVo
.
setPayment_status
(
tyyOrderMixVo
.
getPaystatus
());
if
(
null
==
tyyOrderMixVo
.
getPaystatus
()){
orderStatusVo
.
setOrder_status
(
tyyOrderMixVo
.
getOrder_status
());
orderStatusVo
.
setPayment_status
(
0
);
}
else
{
orderStatusVo
.
setPayment_status
(
Integer
.
parseInt
(
tyyOrderMixVo
.
getPaystatus
()));
}
if
(
null
==
tyyOrderMixVo
.
getOrder_status
()){
orderStatusVo
.
setOrder_status
(
0
);
}
else
{
orderStatusVo
.
setOrder_status
(
Integer
.
parseInt
(
tyyOrderMixVo
.
getOrder_status
()));
}
orderStatusVo
.
setThird_order_id
(
tyyOrderMixVo
.
getPiaostorderid
());
orderStatusVo
.
setThird_order_id
(
tyyOrderMixVo
.
getPiaostorderid
());
if
(
"N"
.
equals
(
tyyOrderMixVo
.
getEmancipated
())){
if
(
"N"
.
equals
(
tyyOrderMixVo
.
getEmancipated
())){
orderStatusVo
.
setIs_summarize
(
0
);
orderStatusVo
.
setIs_summarize
(
0
);
...
@@ -611,10 +660,18 @@ public class DataServiceImpl implements DataService {
...
@@ -611,10 +660,18 @@ public class DataServiceImpl implements DataService {
orderStatusVo
.
setIs_summarize
(
1
);
orderStatusVo
.
setIs_summarize
(
1
);
}
}
orderStatusVo
.
setSummarize_time
(
tyyOrderMixVo
.
getEmancipated_date
());
orderStatusVo
.
setSummarize_time
(
tyyOrderMixVo
.
getEmancipated_date
());
orderStatusVo
.
setDivide_status
(
tyyOrderMixVo
.
getProfit_checked
());
if
(
null
==
tyyOrderMixVo
.
getProfit_checked
()){
orderStatusVo
.
setDivide_status
(
0
);
}
else
{
orderStatusVo
.
setDivide_status
(
Integer
.
parseInt
(
tyyOrderMixVo
.
getProfit_checked
()));
}
orderStatusVo
.
setDivide_time
(
tyyOrderMixVo
.
getProfit_checked_date
());
orderStatusVo
.
setDivide_time
(
tyyOrderMixVo
.
getProfit_checked_date
());
orderStatusVo
.
setAgent_company_id
(
tyyOrderMixVo
.
getFxsid
());
orderStatusVo
.
setAgent_company_id
(
tyyOrderMixVo
.
getFxsid
());
orderStatusVo
.
setIs_delete
(
tyyOrderMixVo
.
getIsdelete
());
if
(
null
==
tyyOrderMixVo
.
getIsdelete
()){
orderStatusVo
.
setIs_delete
(
0
);
}
else
{
orderStatusVo
.
setIs_delete
(
Integer
.
parseInt
(
tyyOrderMixVo
.
getIsdelete
()));
}
orderStatusVo
.
setPayment_id
(
tyyOrderMixVo
.
getTongl_third_ordersn
());
orderStatusVo
.
setPayment_id
(
tyyOrderMixVo
.
getTongl_third_ordersn
());
orderStatusVo
.
setPay_tonglian_id
(
tyyOrderMixVo
.
getTongl_ordersn
());
orderStatusVo
.
setPay_tonglian_id
(
tyyOrderMixVo
.
getTongl_ordersn
());
orderStatusVo
.
setPay_third_id
(
tyyOrderMixVo
.
getPay_type_id
());
orderStatusVo
.
setPay_third_id
(
tyyOrderMixVo
.
getPay_type_id
());
...
@@ -629,7 +686,6 @@ public class DataServiceImpl implements DataService {
...
@@ -629,7 +686,6 @@ public class DataServiceImpl implements DataService {
}
else
{
}
else
{
orderStatusDaoImpl
.
update
(
orderStatusVo
);
orderStatusDaoImpl
.
update
(
orderStatusVo
);
}
}
}
}
private
void
saveOrderVoStepOne
(
TyyOrderVo
tyyOrderVo
,
TyyOrderMixVo
tyyOrderMixVo
,
List
<
TyyOrderbackVo
>
tyyOrderbackVoList
)
{
private
void
saveOrderVoStepOne
(
TyyOrderVo
tyyOrderVo
,
TyyOrderMixVo
tyyOrderMixVo
,
List
<
TyyOrderbackVo
>
tyyOrderbackVoList
)
{
...
@@ -670,7 +726,11 @@ public class DataServiceImpl implements DataService {
...
@@ -670,7 +726,11 @@ public class DataServiceImpl implements DataService {
orderVo
.
setCost_price
(
tyyOrderMixVo
.
getPurchaseprice
());
orderVo
.
setCost_price
(
tyyOrderMixVo
.
getPurchaseprice
());
orderVo
.
setCost_total_money
(
orderVo
.
getCost_price
()*
orderVo
.
getOrder_num
());
orderVo
.
setCost_total_money
(
orderVo
.
getCost_price
()*
orderVo
.
getOrder_num
());
orderVo
.
setOrder_money
(
orderVo
.
getCost_total_money
()-
tyyOrderMixVo
.
getDiscountprice
());
orderVo
.
setOrder_money
(
orderVo
.
getCost_total_money
()-
tyyOrderMixVo
.
getDiscountprice
());
orderVo
.
setSub_order_type
(
tyyOrderMixVo
.
getSub_order_type
());
if
(
null
==
tyyOrderMixVo
.
getSub_order_type
()){
orderVo
.
setSub_order_type
(
0
);
}
else
{
orderVo
.
setSub_order_type
(
Integer
.
parseInt
(
tyyOrderMixVo
.
getSub_order_type
()));
}
orderVo
.
setPd_order_money
(
tyyOrderMixVo
.
getRealprice
());
orderVo
.
setPd_order_money
(
tyyOrderMixVo
.
getRealprice
());
orderVo
.
setPd_discount_money
(
tyyOrderMixVo
.
getDiscountprice
());
orderVo
.
setPd_discount_money
(
tyyOrderMixVo
.
getDiscountprice
());
orderVo
.
setDiscount_money
(
tyyOrderMixVo
.
getDiscountprice
());
orderVo
.
setDiscount_money
(
tyyOrderMixVo
.
getDiscountprice
());
...
@@ -696,7 +756,6 @@ public class DataServiceImpl implements DataService {
...
@@ -696,7 +756,6 @@ public class DataServiceImpl implements DataService {
}
else
{
}
else
{
orderDaoImpl
.
update
(
orderVo
);
orderDaoImpl
.
update
(
orderVo
);
}
}
}
}
...
...
src/main/java/com/pangding/web/authority/vo/OrderStatusVo.java
View file @
69d970e2
...
@@ -15,11 +15,11 @@ public class OrderStatusVo {
...
@@ -15,11 +15,11 @@ public class OrderStatusVo {
/**
/**
* 0未支付,1已支付
* 0未支付,1已支付
*/
*/
private
String
payment_status
;
private
Integer
payment_status
;
/**
/**
* 支付类型
* 支付类型
*/
*/
private
String
pay_type
;
private
Integer
pay_type
;
/**
/**
* 支付单号
* 支付单号
*/
*/
...
@@ -55,7 +55,7 @@ public class OrderStatusVo {
...
@@ -55,7 +55,7 @@ public class OrderStatusVo {
/**
/**
* 0不可分润,1可分润,2已分润
* 0不可分润,1可分润,2已分润
*/
*/
private
String
divide_status
;
private
Integer
divide_status
;
/**
/**
* 分润时间
* 分润时间
*/
*/
...
@@ -63,7 +63,7 @@ public class OrderStatusVo {
...
@@ -63,7 +63,7 @@ public class OrderStatusVo {
/**
/**
* 0未支付 1出票中(已支付)2出票成功/预订成功/有房 3出票失败/预订失败/无房 4核销中 5核销完成 6部分退货/退款 7全部退款退货 8取消 9已完成
* 0未支付 1出票中(已支付)2出票成功/预订成功/有房 3出票失败/预订失败/无房 4核销中 5核销完成 6部分退货/退款 7全部退款退货 8取消 9已完成
*/
*/
private
String
order_status
;
private
Integer
order_status
;
/**
/**
* 第三方订单号
* 第三方订单号
*/
*/
...
@@ -91,7 +91,7 @@ public class OrderStatusVo {
...
@@ -91,7 +91,7 @@ public class OrderStatusVo {
/**
/**
* 是否删除 0 未删除 1 已删除
* 是否删除 0 未删除 1 已删除
*/
*/
private
String
is_delete
;
private
Integer
is_delete
;
private
String
agent_company_id
;
private
String
agent_company_id
;
...
@@ -105,22 +105,6 @@ public class OrderStatusVo {
...
@@ -105,22 +105,6 @@ public class OrderStatusVo {
this
.
id
=
id
;
this
.
id
=
id
;
}
}
public
String
getPayment_status
()
{
return
payment_status
;
}
public
void
setPayment_status
(
String
payment_status
)
{
this
.
payment_status
=
payment_status
;
}
public
String
getPay_type
()
{
return
pay_type
;
}
public
void
setPay_type
(
String
pay_type
)
{
this
.
pay_type
=
pay_type
;
}
public
String
getPayment_id
()
{
public
String
getPayment_id
()
{
return
payment_id
;
return
payment_id
;
}
}
...
@@ -185,14 +169,6 @@ public class OrderStatusVo {
...
@@ -185,14 +169,6 @@ public class OrderStatusVo {
this
.
subledge_time
=
subledge_time
;
this
.
subledge_time
=
subledge_time
;
}
}
public
String
getDivide_status
()
{
return
divide_status
;
}
public
void
setDivide_status
(
String
divide_status
)
{
this
.
divide_status
=
divide_status
;
}
public
String
getDivide_time
()
{
public
String
getDivide_time
()
{
return
divide_time
;
return
divide_time
;
}
}
...
@@ -201,14 +177,6 @@ public class OrderStatusVo {
...
@@ -201,14 +177,6 @@ public class OrderStatusVo {
this
.
divide_time
=
divide_time
;
this
.
divide_time
=
divide_time
;
}
}
public
String
getOrder_status
()
{
return
order_status
;
}
public
void
setOrder_status
(
String
order_status
)
{
this
.
order_status
=
order_status
;
}
public
String
getThird_order_id
()
{
public
String
getThird_order_id
()
{
return
third_order_id
;
return
third_order_id
;
}
}
...
@@ -257,14 +225,6 @@ public class OrderStatusVo {
...
@@ -257,14 +225,6 @@ public class OrderStatusVo {
this
.
product_company_name
=
product_company_name
;
this
.
product_company_name
=
product_company_name
;
}
}
public
String
getIs_delete
()
{
return
is_delete
;
}
public
void
setIs_delete
(
String
is_delete
)
{
this
.
is_delete
=
is_delete
;
}
public
String
getAgent_company_id
()
{
public
String
getAgent_company_id
()
{
return
agent_company_id
;
return
agent_company_id
;
}
}
...
@@ -280,4 +240,44 @@ public class OrderStatusVo {
...
@@ -280,4 +240,44 @@ public class OrderStatusVo {
public
void
setAgent_company_name
(
String
agent_company_name
)
{
public
void
setAgent_company_name
(
String
agent_company_name
)
{
this
.
agent_company_name
=
agent_company_name
;
this
.
agent_company_name
=
agent_company_name
;
}
}
public
Integer
getPayment_status
()
{
return
payment_status
;
}
public
void
setPayment_status
(
Integer
payment_status
)
{
this
.
payment_status
=
payment_status
;
}
public
Integer
getPay_type
()
{
return
pay_type
;
}
public
void
setPay_type
(
Integer
pay_type
)
{
this
.
pay_type
=
pay_type
;
}
public
Integer
getDivide_status
()
{
return
divide_status
;
}
public
void
setDivide_status
(
Integer
divide_status
)
{
this
.
divide_status
=
divide_status
;
}
public
Integer
getOrder_status
()
{
return
order_status
;
}
public
void
setOrder_status
(
Integer
order_status
)
{
this
.
order_status
=
order_status
;
}
public
Integer
getIs_delete
()
{
return
is_delete
;
}
public
void
setIs_delete
(
Integer
is_delete
)
{
this
.
is_delete
=
is_delete
;
}
}
}
src/main/java/com/pangding/web/authority/vo/OrderTicketDetailVo.java
View file @
69d970e2
...
@@ -31,7 +31,7 @@ public class OrderTicketDetailVo {
...
@@ -31,7 +31,7 @@ public class OrderTicketDetailVo {
/**
/**
* 0未使用,1已核销,2退票,3过期
* 0未使用,1已核销,2退票,3过期
*/
*/
private
String
ticket_status
;
private
Integer
ticket_status
;
/**
/**
* 时间
* 时间
*/
*/
...
@@ -77,11 +77,11 @@ public class OrderTicketDetailVo {
...
@@ -77,11 +77,11 @@ public class OrderTicketDetailVo {
this
.
ticket_code
=
ticket_code
;
this
.
ticket_code
=
ticket_code
;
}
}
public
String
getTicket_status
()
{
public
Integer
getTicket_status
()
{
return
ticket_status
;
return
ticket_status
;
}
}
public
void
setTicket_status
(
String
ticket_status
)
{
public
void
setTicket_status
(
Integer
ticket_status
)
{
this
.
ticket_status
=
ticket_status
;
this
.
ticket_status
=
ticket_status
;
}
}
...
...
src/main/java/com/pangding/web/authority/vo/OrderVo.java
View file @
69d970e2
...
@@ -79,7 +79,7 @@ public class OrderVo {
...
@@ -79,7 +79,7 @@ public class OrderVo {
/**
/**
* 子订单类型
* 子订单类型
*/
*/
private
String
sub_order_type
;
private
Integer
sub_order_type
;
/**
/**
* 订单时间
* 订单时间
*/
*/
...
@@ -262,11 +262,11 @@ public class OrderVo {
...
@@ -262,11 +262,11 @@ public class OrderVo {
this
.
order_type
=
order_type
;
this
.
order_type
=
order_type
;
}
}
public
String
getSub_order_type
()
{
public
Integer
getSub_order_type
()
{
return
sub_order_type
;
return
sub_order_type
;
}
}
public
void
setSub_order_type
(
String
sub_order_type
)
{
public
void
setSub_order_type
(
Integer
sub_order_type
)
{
this
.
sub_order_type
=
sub_order_type
;
this
.
sub_order_type
=
sub_order_type
;
}
}
...
...
src/main/java/com/pangding/web/authority/vo/TyyOrderVo.java
View file @
69d970e2
...
@@ -35,7 +35,7 @@ public class TyyOrderVo {
...
@@ -35,7 +35,7 @@ public class TyyOrderVo {
/**
/**
* 订单子类型: 1、扫码购票,2、网络购票,3、自助机购票,4、扫码支付,5、预约
* 订单子类型: 1、扫码购票,2、网络购票,3、自助机购票,4、扫码支付,5、预约
*/
*/
private
String
sub_order_type
;
private
Integer
sub_order_type
;
private
String
product_id
;
private
String
product_id
;
/**
/**
* 产品名称
* 产品名称
...
@@ -97,13 +97,13 @@ public class TyyOrderVo {
...
@@ -97,13 +97,13 @@ public class TyyOrderVo {
* 订单状态
* 订单状态
* 0,待付款、1,已付款(出票中)、2,成功出票、3,核销中、4,核销完成、5,部分退款、6,全部退款、7,已取消
* 0,待付款、1,已付款(出票中)、2,成功出票、3,核销中、4,核销完成、5,部分退款、6,全部退款、7,已取消
*/
*/
private
String
order_status
;
private
Integer
order_status
;
private
String
create_date
;
private
String
create_date
;
/**
/**
* 付款类型 0:微信 1:支付宝 2:通联
* 付款类型 0:微信 1:支付宝 2:通联
*/
*/
private
String
pay_type
;
private
Integer
pay_type
;
/**
/**
* 付款凭证编号
* 付款凭证编号
*/
*/
...
@@ -171,14 +171,6 @@ public class TyyOrderVo {
...
@@ -171,14 +171,6 @@ public class TyyOrderVo {
this
.
order_type
=
order_type
;
this
.
order_type
=
order_type
;
}
}
public
String
getSub_order_type
()
{
return
sub_order_type
;
}
public
void
setSub_order_type
(
String
sub_order_type
)
{
this
.
sub_order_type
=
sub_order_type
;
}
public
String
getProduct_id
()
{
public
String
getProduct_id
()
{
return
product_id
;
return
product_id
;
}
}
...
@@ -299,14 +291,6 @@ public class TyyOrderVo {
...
@@ -299,14 +291,6 @@ public class TyyOrderVo {
this
.
refund_poundage_price
=
refund_poundage_price
;
this
.
refund_poundage_price
=
refund_poundage_price
;
}
}
public
String
getOrder_status
()
{
return
order_status
;
}
public
void
setOrder_status
(
String
order_status
)
{
this
.
order_status
=
order_status
;
}
public
String
getCreate_date
()
{
public
String
getCreate_date
()
{
return
create_date
;
return
create_date
;
}
}
...
@@ -315,14 +299,6 @@ public class TyyOrderVo {
...
@@ -315,14 +299,6 @@ public class TyyOrderVo {
this
.
create_date
=
create_date
;
this
.
create_date
=
create_date
;
}
}
public
String
getPay_type
()
{
return
pay_type
;
}
public
void
setPay_type
(
String
pay_type
)
{
this
.
pay_type
=
pay_type
;
}
public
String
getPay_type_id
()
{
public
String
getPay_type_id
()
{
return
pay_type_id
;
return
pay_type_id
;
}
}
...
@@ -370,4 +346,28 @@ public class TyyOrderVo {
...
@@ -370,4 +346,28 @@ public class TyyOrderVo {
public
void
setTongl_ordersn
(
String
tongl_ordersn
)
{
public
void
setTongl_ordersn
(
String
tongl_ordersn
)
{
this
.
tongl_ordersn
=
tongl_ordersn
;
this
.
tongl_ordersn
=
tongl_ordersn
;
}
}
public
Integer
getSub_order_type
()
{
return
sub_order_type
;
}
public
void
setSub_order_type
(
Integer
sub_order_type
)
{
this
.
sub_order_type
=
sub_order_type
;
}
public
Integer
getOrder_status
()
{
return
order_status
;
}
public
void
setOrder_status
(
Integer
order_status
)
{
this
.
order_status
=
order_status
;
}
public
Integer
getPay_type
()
{
return
pay_type
;
}
public
void
setPay_type
(
Integer
pay_type
)
{
this
.
pay_type
=
pay_type
;
}
}
}
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