projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87831b8
)
ExcelToJson.php
author
Edward
<edward@roojs.com>
Mon, 18 Mar 2013 03:44:31 +0000
(11:44 +0800)
committer
Edward
<edward@roojs.com>
Mon, 18 Mar 2013 03:44:31 +0000
(11:44 +0800)
ExcelToJson.php
patch
|
blob
|
history
diff --git
a/ExcelToJson.php
b/ExcelToJson.php
index
569498e
..
fd14176
100644
(file)
--- a/
ExcelToJson.php
+++ b/
ExcelToJson.php
@@
-96,8
+96,8
@@
class Pman_Core_ExcelToJson extends Pman_Roo
foreach ($rows['TRANSFER ITEMS'] as $r){
$itemsite = DB_DataObject::factory('itemsite');
-
//
$itemsite->autoJoin();
- if(!$itemsite->get('
itemsite_id', 5583
)){
+ $itemsite->autoJoin();
+ if(!$itemsite->get('
join_itemsite_item_id_item_id.item_number', $r['ITEM CODE']
)){
$this->jerr("error occur on getting item with reference " . $r['ITEM CODE']);
}
print_r($itemsite);exit;