Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
867bf5c4
Commit
867bf5c4
authored
Jun 13, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8a48b14e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
20 deletions
+19
-20
DailyPaperService.php
application/api_broker/service/DailyPaperService.php
+19
-20
No files found.
application/api_broker/service/DailyPaperService.php
View file @
867bf5c4
...
...
@@ -186,7 +186,6 @@ class DailyPaperService
$total_shop
=
$payLogModel
->
getTotal
(
$field
,
$params
,
"pay_type"
);
$total_office
=
$officePayLogModel
->
getTotal
(
$field
,
$params
,
"pay_type"
);
$total_arr
=
array_merge
(
$total_shop
,
$total_office
);
$total
[
"alipay"
]
=
0
;
$total
[
"alipay_2"
]
=
0
;
$total
[
"alipay_3"
]
=
0
;
//陈志杰支付宝
...
...
@@ -211,61 +210,61 @@ class DailyPaperService
foreach
(
$total_arr
as
$item
)
{
switch
(
$item
[
"pay_type"
])
{
case
10
:
$total
[
"alipay"
]
=
$item
[
"money"
];
$total
[
"alipay"
]
+
=
$item
[
"money"
];
break
;
case
11
:
$total
[
"alipay_2"
]
=
$item
[
"money"
];
$total
[
"alipay_2"
]
+
=
$item
[
"money"
];
break
;
case
12
:
$total
[
"alipay"
]
=
$item
[
"money"
];
$total
[
"alipay"
]
+
=
$item
[
"money"
];
break
;
case
13
:
$total
[
"alipay_3"
]
=
$item
[
"money"
];
$total
[
"alipay_3"
]
+
=
$item
[
"money"
];
break
;
case
20
:
$total
[
"tenpay"
]
=
$item
[
"money"
];
$total
[
"tenpay"
]
+
=
$item
[
"money"
];
break
;
case
21
:
$total
[
"tenpay_2"
]
=
$item
[
"money"
];
$total
[
"tenpay_2"
]
+
=
$item
[
"money"
];
break
;
case
22
:
$total
[
"tenpay"
]
=
$item
[
"money"
];
$total
[
"tenpay"
]
+
=
$item
[
"money"
];
break
;
case
23
:
$total
[
"tenpay_3"
]
=
$item
[
"money"
];
$total
[
"tenpay_3"
]
+
=
$item
[
"money"
];
break
;
case
30
:
$total
[
"pos"
]
=
$item
[
"money"
];
$total
[
"pos"
]
+
=
$item
[
"money"
];
break
;
case
40
:
$total
[
"realty_pay"
]
=
$item
[
"money"
];
$total
[
"realty_pay"
]
+
=
$item
[
"money"
];
break
;
case
41
:
$total
[
"family_pay"
]
=
$item
[
"money"
];
$total
[
"family_pay"
]
+
=
$item
[
"money"
];
break
;
case
42
:
$total
[
"private_bank"
]
=
$item
[
"money"
];
$total
[
"private_bank"
]
+
=
$item
[
"money"
];
break
;
case
50
:
$total
[
"cash"
]
=
$item
[
"money"
];
$total
[
"cash"
]
+
=
$item
[
"money"
];
break
;
case
60
:
$total
[
"other_bank"
]
=
$item
[
"money"
];
$total
[
"other_bank"
]
+
=
$item
[
"money"
];
break
;
case
70
:
$total
[
"bank_card"
]
=
$item
[
"money"
];
$total
[
"bank_card"
]
+
=
$item
[
"money"
];
break
;
case
71
:
$total
[
"bank_card_yun"
]
=
$item
[
"money"
];
$total
[
"bank_card_yun"
]
+
=
$item
[
"money"
];
break
;
case
72
:
$total
[
"bank_card_lin"
]
=
$item
[
"money"
];
$total
[
"bank_card_lin"
]
+
=
$item
[
"money"
];
break
;
case
73
:
$total
[
"bank_card_new"
]
=
$item
[
"money"
];
$total
[
"bank_card_new"
]
+
=
$item
[
"money"
];
break
;
case
74
:
$total
[
"bank_card_chen"
]
=
$item
[
"money"
];
$total
[
"bank_card_chen"
]
+
=
$item
[
"money"
];
break
;
}
}
...
...
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