1
This commit is contained in:
parent
8a3bf19ccb
commit
eee2c3892c
@ -21,10 +21,25 @@ class GoldBullion extends BaseModel {
|
||||
array(
|
||||
'open_address' => myself()->_getAddress(),
|
||||
'open_status' => self::OPEN_STATUS_PENDING,
|
||||
'returned' => 0,
|
||||
)
|
||||
);
|
||||
if (count($rows) > 0) {
|
||||
|
||||
foreach ($rows as $row) {
|
||||
SqlHelper::update(
|
||||
myself()->_getSelfMysql(),
|
||||
't_gold_bullion',
|
||||
array(
|
||||
'idx' => $row['idx']
|
||||
),
|
||||
array(
|
||||
'open_status' => self::OPEN_STATUS_SEND_BEGIN,
|
||||
'open_try_count' => function () {
|
||||
return "open_try_count + 1";
|
||||
},
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user