Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iwl-live
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Anthony.Suerte
iwl-live
Commits
c53b2752
Commit
c53b2752
authored
Sep 21, 2021
by
Antonio.Suerte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AUI Hotfix [Internal Transfer]
parent
9bf10ac3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
0 deletions
+29
-0
sql.xml
system/lib/sql.xml
+24
-0
model.php
system/logic/transfer/model.php
+5
-0
No files found.
system/lib/sql.xml
View file @
c53b2752
...
...
@@ -2586,6 +2586,30 @@
transfer.create_time DESC
</LIST_TRANSFER>
<LIST_TRANSFER_TOTAL_FROM_TO>
(SELECT
mst_currency.currency_name AS currency
, COUNT(transfer.from_account) AS from_account
, IFNULL(SUM(transfer.debit_amount), 0) AS from_amount
, COUNT(transfer.to_account) AS to_account
, IFNULL(SUM(transfer.transfer_amount), 0) AS to_amount
, mst_currency.digit AS digit
FROM
t_mst_currency AS mst_currency
LEFT OUTER JOIN
t_transfer AS transfer
ON(mst_currency.currency_name = transfer.debit_currency)
INNER JOIN
v_users_all AS users
ON(transfer.from_account = users.user_account)
WHERE
mst_currency.c_id > 0
__ELEMENT01__
AND users.admin_flg = 0 AND users.status in (2,3,4,5,6,7)
GROUP BY
currency)
</LIST_TRANSFER_TOTAL_FROM_TO>
<!--
口座振替の取得
登録値:送金元口座番号
...
...
system/logic/transfer/model.php
View file @
c53b2752
...
...
@@ -6,6 +6,7 @@ class TransferModelClass extends ModelClassEx {
-------------------------------------------------------------------------*/
private
$fromTotal
=
array
();
// 結果セット(集計)
private
$toTotal
=
array
();
// 結果セット(集計)
private
$fromToTotal
=
array
();
// 結果セット(集計)
private
$rs
=
null
;
// 結果セット
private
$tId
=
NO_COUNT
;
// トランザクションID
private
$from
=
NO_STRING
;
// 送金元口座番号
...
...
@@ -1328,6 +1329,10 @@ class TransferModelClass extends ModelClassEx {
public
function
setTotalTo
(
$rs
)
{
$this
->
toTotal
=
$rs
;
}
public
function
setTotalFromTo
(
$rs
)
{
$this
->
fromToTotal
=
$rs
;
}
/*-------------------------------------------------------------------------
* @function_name: 口座振替リストの設定
...
...
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