$arrUpdateParts['old_unite_price'] = $arrServiceInfo['unite_price']; } if (!intval($pk['service_id'])) { $arrData['profit_rate'] = $arrGoodsConfig['service_profit']; $arrData['on_time'] = time(); $arrData['service_status'] = 2; $objServiceT = new keke_table_class('witkey_service'); $objServiceT->save($arrData); unset($objServiceT); } else { if ($arrServiceInfo['service_status'] == '1') { $objServiceT = new keke_table_class('witkey_service'); $objServiceT->save($arrData, $pk); } else { if (!empty($arrUpdateParts)) { CommonClass::createEditLog($pk['service_id'], $arrServiceInfo['model_id'], serialize($arrUpdateParts)); keke_shop_release_class::updateEditStatusBySid($pk['service_id'], 1); } else { kekezu::show_msg($strServiceName . '信息没有更改', $strJumpUrl, NULL, NULL, 'ok'); } } } if ($objId && $intTaskId) { $strBidSql = ' UPDATE `' . TABLEPRE . 'witkey_task_bid` SET `hasdel`=1 WHERE (`bid_id` =' . $objId . ') and task_id = ' . $intTaskId; $strWorkSql = ' UPDATE `' . TABLEPRE . 'witkey_task_work` SET `hasdel`=1 WHERE (`work_id`=' . $objId . ') and task_id = ' . $intTaskId; db_factory::execute($strBidSql); db_factory::execute($strWorkSql); } kekezu::show_msg('操作成功', $strJumpUrl, NULL, NULL, 'ok'); } function updateFilepath($serviceId, $filepath, $type)