authPlatform -> authplatform 변경

This commit is contained in:
lch 2021-06-07 07:24:49 +00:00
parent a8654be04b
commit 6829d499a2
7 changed files with 13 additions and 13 deletions

View File

@ -238,7 +238,7 @@
,case when c.refcode='9' then a.ccpositionetc else c.cname end ccpositionname
,case when a.usertype=1 then '교육생' when d.authname is null then '-' else d.authname end usertypestr
,CAST(AES_DECRYPT(UNHEX(a.birthday), <include refid="sql.digest"></include>) AS char) birthday
,a.uduty,a.slevel,a.isacceptmobile,a.vssn,a.ischkatt,a.authPlatform
,a.uduty,a.slevel,a.isacceptmobile,a.vssn,a.ischkatt,a.authplatform
,row_number() over(order by <isNotNull property="orderby">$orderby$</isNotNull><isNull property="orderby">a.username</isNull>) rno
,count(a.cdt) over() pagetotalcount
from users a
@ -303,13 +303,13 @@
,asno,pasname,depart,ccposition,ccpositionetc,fgnoprofile,ccjobs
,userpno,bankname,bankno
,post,address1,address2,introhtml,status,logintime,send335time,pwcalltime,pwcallno,eastereggkey,eetime,kfcfyear,isassignuser,edus
,isacceptmobile,uduty,slevel,jointype,birthday,snsid,di,ci,vssn,ischkatt,authPlatform,<include refid="sql.inc"></include>)
,isacceptmobile,uduty,slevel,jointype,birthday,snsid,di,ci,vssn,ischkatt,authplatform,<include refid="sql.inc"></include>)
values (#usertype#,#userkind#,#userid#,#userpass#,#username#,#usernameeng#
,gender,HEX(AES_ENCRYPT(#email#, <include refid="sql.digest"></include>)),#isacceptemail#,HEX(AES_ENCRYPT(#mobile#, <include refid="sql.digest"></include>)),HEX(AES_ENCRYPT(#telno#, <include refid="sql.digest"></include>))
,#asno#,#pasname#,#depart#,#ccposition#,#ccpositionetc#,#fgnoprofile#,#ccjobs#
,HEX(AES_ENCRYPT(#userpno#, <include refid="sql.digest"></include>)),#bankname#,HEX(AES_ENCRYPT(#bankno#, <include refid="sql.digest"></include>))
,#post#,#address1#,#address2#,#introhtml#,#status#,<include refid="sql.now"></include>,null,null,null,null,null,#kfcfyear#,#isassignuser#,#edus#
,#isacceptmobile#,#uduty#,#slevel#,#jointype#,HEX(AES_ENCRYPT(#birthday#, <include refid="sql.digest"></include>)),#snsid#,#di#,#ci#,#vssn#,#ischkatt#,#authPlatform#,<include refid="sql.inv"></include>);
,#isacceptmobile#,#uduty#,#slevel#,#jointype#,HEX(AES_ENCRYPT(#birthday#, <include refid="sql.digest"></include>)),#snsid#,#di#,#ci#,#vssn#,#ischkatt#,#authplatform#,<include refid="sql.inv"></include>);
<selectKey type="post" property="userno" resultClass="int">SELECT LAST_INSERT_ID()</selectKey>
</insert>
@ -351,7 +351,7 @@
</isEqual>
,status =case when #status# &gt; 0 then #status# else status end
,ischkatt = #ischkatt#
,authPlatform = case when #authPlatform# &gt; 0 then #authPlatform# else authPlatform end
,authplatform = case when #authplatform# &gt; 0 then #authplatform# else authplatform end
where userno=#userno#
</update>
<update id="users.exitjoin" parameterClass="hashtable">

View File

@ -78,7 +78,7 @@ namespace NP.FO.Controllers
//}
//else
//{
if(string.IsNullOrEmpty(vm.User.username) || string.IsNullOrEmpty(vm.User.ci) || string.IsNullOrEmpty(vm.User.di) || vm.User.authPlatform == AuthPlatform.None)
if(string.IsNullOrEmpty(vm.User.username) || string.IsNullOrEmpty(vm.User.ci) || string.IsNullOrEmpty(vm.User.di) || vm.User.authplatform == AuthPlatform.None)
{
return Redirect("/Account/JoinIdVeri");
}

View File

@ -30,7 +30,7 @@
$(opener.document).find("#mform").find("#User_di").val("@(DI)");
$(opener.document).find("#mform").find("#User_ci").val("@(CI)");
$(opener.document).find("#mform").find("#User_jointype").val(0);
$(opener.document).find("#mform").find("#User_authPlatform").val("@(AuthPlatform.IPIN.GetHashCode().GetHashCode())");
$(opener.document).find("#mform").find("#User_authplatform").val("@(AuthPlatform.IPIN.GetHashCode().GetHashCode())");
$(opener.document).find("#mform").attr("action", "/Account/Join");
$(opener.document).find("#mform").submit();
self.close();

View File

@ -32,7 +32,7 @@
$(opener.document).find("#mform").find("#User_ci").val("@(CI)");
$(opener.document).find("#mform").find("#intval2").val(1);
$(opener.document).find("#mform").find("#User_jointype").val(0);
$(opener.document).find("#mform").find("#User_authPlatform").val("@(AuthPlatform.Mobile.GetHashCode())");
$(opener.document).find("#mform").find("#User_authplatform").val("@(AuthPlatform.Mobile.GetHashCode())");
$(opener.document).find("#mform").attr("action", "/Account/Join");
$(opener.document).find("#mform").submit();
self.close();

View File

@ -50,7 +50,7 @@ else
@Html.HiddenFor(w => w.intval2)
@*가입유형 0:일반회원가입,1:google,2:naver,3:카카오*@
@Html.HiddenFor(w => w.User.jointype)
@Html.HiddenFor(w => w.User.authPlatform)
@Html.HiddenFor(w => w.User.authplatform)
@Html.HiddenFor(w => w.IsSaveOK)
<input type="hidden" name="jointype" id="jointype" value="@(Model.User.jointype)" />
<input type="hidden" name="birthday" id="birthday" value="@(Model.User.birthday)" />
@ -59,18 +59,18 @@ else
<input type="hidden" name="vssn" id="vssn" value="@(Model.User.vssn)" />
<input type="hidden" name="userpno" id="userpno" />
<input type="hidden" name="intval" id="intval" value="0" />
<input type="hidden" name="authPlatform" id="authPlatform" value="@(Model.User.authPlatform.GetHashCode())" />
<input type="hidden" name="authplatform" id="authplatform" value="@(Model.User.authplatform.GetHashCode())" />
<div class="joinForm">
<ul>
<li>
<p class="subDsc">※아래 기재사항은 필수 입니다 빈칸 없이 기재해주세요.</p>
</li>
<li>
@if (Model.User.authPlatform == AuthPlatform.IPIN)
@if (Model.User.authplatform == AuthPlatform.IPIN)
{
<p class="subDsc">※[i-PIN 인증] 으로 본인인증을 하였습니다. 학습 시 본인인증도 [i-PIN 인증]으로 본인인증을 진행합니다.</p>
}
else if (Model.User.authPlatform == AuthPlatform.Mobile)
else if (Model.User.authplatform == AuthPlatform.Mobile)
{
<p class="subDsc">※[휴대폰 본인인증] 으로 본인인증을 하였습니다. 학습 시 본인인증도 [i-PIN 인증]으로 본인인증을 진행합니다.</p>
}

View File

@ -15,7 +15,7 @@
@Html.HiddenFor(w=>w.User.ci)
@Html.HiddenFor(w=>w.intval2)
@Html.HiddenFor(w=>w.User.jointype)
@Html.HiddenFor(w=>w.User.authPlatform)
@Html.HiddenFor(w=>w.User.authplatform)
</form>
<div>
<div class="jnsCont">

View File

@ -253,7 +253,7 @@ namespace NP.Model
public String ci { get; set; }
public String vssn { get; set; }
public int ischkatt { get; set; }
public AuthPlatform authPlatform { get; set; }
public AuthPlatform authplatform { get; set; }
}
/// <summary>