- Timestamp:
- 2011/08/03 19:35:17 (13 years ago)
- bzr:base-revision:
- svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_11-dev:21114
- bzr:committer:
- Kentaro Ohkouchi <ohkouchi@loop-az.jp>
- bzr:file-ids:
data/class/helper/SC_Helper_Purchase.php sc_helper_purchase.p-20101020100530-jyaoa7ch9pdfjqzp-1- bzr:mapping-version:
- v4
- bzr:merge:
ohkouchi@loop-az.jp-20110803103410-v2a1ieunkt1rubhw- bzr:repository-uuid:
- 1e3b908f-19a9-db11-a64c-001125224ba8
- bzr:revision-id:
- ohkouchi@loop-az.jp-20110803103514-2e3ctbdav28ikvwj
- bzr:revno:
- 3818
- bzr:revprop:branch-nick:
- branches/version-2_11-dev
- bzr:root:
- branches/version-2_11-dev
- bzr:testament:
bazaar-ng testament short form 2.1
revision-id: ohkouchi@loop-az.jp-20110803103514-2e3ctbdav28ikvwj
sha1: 29384a76cbbd9008eef77cc00f5efccc8690c736- bzr:text-parents:
data/class/helper/SC_Helper_Purchase.php svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_11-dev:21113- bzr:timestamp:
- 2011-08-03 19:35:14.859999895 +0900
- bzr:user-agent:
- bzr2.3.1+bzr-svn1.1.0dev0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/helper/SC_Helper_Purchase.php
r21113 r21115 1119 1119 if ($addCustomerPoint != 0) { 1120 1120 // ▼会員テーブルの更新 1121 $customer_sqlval = array(); 1122 $where = ''; 1123 $arrVal = array(); 1124 $arrRawSql = array(); 1125 $arrRawSqlVal = array(); 1126 1127 $customer_sqlval['update_date'] = 'Now()'; 1128 $arrRawSql['point'] = 'point + ?'; 1129 $arrRawSqlVal[] = $addCustomerPoint; 1130 $where .= 'customer_id = ?'; 1131 $arrVal[] = $arrOrderOld['customer_id']; 1132 $objQuery->update('dtb_customer', $customer_sqlval, $where, $arrVal, $arrRawSql, $arrRawSqlVal); 1121 $objQuery->update('dtb_customer', array('update_date' => 'Now()'), 1122 'customer_id = ?', array($arrOrderOld['customer_id']), 1123 array('point' => 'point + ?'), array($addCustomerPoint)); 1133 1124 // ▲会員テーブルの更新 1134 1125
Note: See TracChangeset
for help on using the changeset viewer.