dbmsv4 init...3

This commit is contained in:
최준흠 2025-12-23 11:59:04 +09:00
parent 2787f61a5d
commit a62bb3a80d
2 changed files with 4 additions and 3 deletions

View File

@ -19,9 +19,9 @@ abstract class BaseSource extends DBMigration
* SQL 쿼리 상수 정의
*/
private const SQL_GET_CLIENT = "SELECT * FROM clientdb";
private const SQL_GET_LINE = "SELECT Line_code, line_case, Line_ip, line_client_name, line_gateway, line_id, line_pass, line_name, line_haveip, line_phone, line_mainip FROM linedb";
private const SQL_GET_SERVER_CODE = "SELECT server_code,server_use_status,server_cost,server_release_date FROM serverdb WHERE server_code NOT LIKE ?";
private const SQL_GET_SWITCH_CODE = "SELECT DISTINCT(service_sw) FROM servicedb WHERE service_sw NOT LIKE ?";
private const SQL_GET_LINE = "SELECT * FROM linedb";
private const SQL_GET_SERVER_CODE = "SELECT * FROM serverdb WHERE server_code NOT LIKE ?";
private const SQL_GET_SWITCH_CODE = "SELECT * FROM servicedb WHERE service_sw NOT LIKE ?";
public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger)
{

View File

@ -27,6 +27,7 @@ class ClientProcess implements MigrationProcessInterface
if (empty($temps['email'])) {
$temps['email'] = empty($row['Client_EMail2']) ? "" : $row['Client_EMail2'];
}
$temps['history'] = nl2br($row['Client_Note']);
$temps['account_balance'] = intval($row['Client_Money']);
$temps['coupon_balance'] = 0;
$temps['point_balance'] = 0;