260522_03_ENH: 전화번호, pw는 개별 수정 가능하게 수정
This commit is contained in:
@@ -9,6 +9,8 @@ Dim r_position : r_position = Trim(Request("r_position"))
|
||||
Dim r_area : r_area = Request("r_area")
|
||||
Dim r_district : r_district = Request("r_district")
|
||||
Dim r_edu : r_edu = Trim(Request("r_edu"))
|
||||
Dim new_r_phone : new_r_phone = Trim(Request("new_r_phone"))
|
||||
Dim new_r_pass : new_r_pass = Trim(Request("new_r_pass"))
|
||||
|
||||
Dim flag
|
||||
|
||||
@@ -42,12 +44,18 @@ if gubun = "update" Then
|
||||
If r_area <> "NULL" Then
|
||||
SQL = SQL &" r_area = '"&r_area&"', "&VbcRlf
|
||||
End If
|
||||
If r_district <> "" OR r_district <> "NULL" Then
|
||||
If r_district <> "" AND r_district <> "NULL" Then
|
||||
SQL = SQL &" r_district = '"&r_district&"', "&VbcRlf
|
||||
End If
|
||||
If r_edu <> "NULL" Then
|
||||
SQL = SQL &" r_edu = '"&r_edu&"', "&VbcRlf
|
||||
End If
|
||||
If new_r_phone <> "" AND new_r_phone <> "NULL" Then
|
||||
SQL = SQL &" r_phone = dbo.base64_encode('"&new_r_phone&"'), "&VbcRlf
|
||||
End If
|
||||
If new_r_pass <> "" AND new_r_pass <> "NULL" Then
|
||||
SQL = SQL &" r_pass = dbo.base64_encode('"&new_r_pass&"'), "&VbcRlf
|
||||
End If
|
||||
SQL = SQL &" Udate = getDate() "&VbcRlf
|
||||
SQL = SQL &" where dbo.base64_decode(r_phone) = '"&r_phone&"'; "&VbcRlf
|
||||
flag = ExecuteSQL(SQL)
|
||||
|
||||
Reference in New Issue
Block a user