<기능개선>
1. PMS NO : [추가개발건 엑셀로그] 2. (주요)작업내용 (1) BO/Controllers/croomController.cs - excellog userno 누락건 처리 (2) BO/Views/cc/exelboard.cshtml - 변동없음 (3) Dao/MyBatis/Maps/System.xml - insert -> update 변경 및 회원정보(userid)를 select insert 로 처리 (4) Model/Systems.cs - 변동없음(서식변경)
This commit is contained in:
parent
d1d79a0daa
commit
57cf22c247
|
|
@ -1029,13 +1029,19 @@ namespace NP.BO.Controllers
|
|||
vm.PayTaxes = Dao.Get<PayTax>("cr.paytaxes", ht);
|
||||
if (vm.isexceldown == 1)
|
||||
{
|
||||
if (vm.excellog != null)
|
||||
{
|
||||
vm.excellog.userno = SUserInfo.UserNo;
|
||||
vm.excellog.userip = GetUserIP();
|
||||
}
|
||||
|
||||
return ExportExcel(
|
||||
new String[] {"결제번호","신청일","입금일","결제상태","이름","아이디","전화번호","강좌명","교육종료일","회사명","대표명","주소","사업자번호","업태","종목","담당자명","담당자연락처"
|
||||
,"계산서수신이메일","청구영수","발행요청금액","발행요청일","실제날짜","발행한날","발행상태"},
|
||||
new String[] {"payno","cdtymd", "payoktimeymd", "pstatusname2","username", "userid", "mobile", "itemname","eendymd", "asname", "ceoname","asaddr",
|
||||
"brno", "btype","bkind", "manname", "telno", "email", "isreceiptname", "taxamt", "taxdatereqymd","taxdateymd","realtaxdateymd","status"},
|
||||
vm.PayTaxes,
|
||||
"계산서요청"+DateTime.Now.ToString("yy.MM.dd"));
|
||||
"계산서요청"+DateTime.Now.ToString("yy.MM.dd"), null, null, vm.excellog);
|
||||
}
|
||||
vm.pagetotalcount = GetCount(vm.PayTaxes.FirstOrDefault());
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
<form id="mform" method="post">
|
||||
<section class="panel panel-default clearfix devsearch" data-cleartbody="tbody1">
|
||||
@Html.Partial("./Partial/SearchCaption")
|
||||
|
|
|
|||
|
|
@ -1349,10 +1349,12 @@
|
|||
,#logmsg#
|
||||
);
|
||||
</update>
|
||||
<insert id="excellog.in" parameterClass="excellog">
|
||||
<update id="excellog.in" parameterClass="excellog">
|
||||
INSERT INTO exceldownlog (userno, userid, username, actiontime, position, comment, userip)
|
||||
VALUES ( #userno#, #userid#, #username#, sysdate(), #position#, #comment#, #userip#);
|
||||
</insert>
|
||||
SELECT userno, userid, username, sysdate(), #position#, #comment#, #userip#
|
||||
FROM users
|
||||
where userno = #userno#
|
||||
</update>
|
||||
<select id="excellog.look" parameterClass="hashtable" resultClass="excellog">
|
||||
select *
|
||||
from (
|
||||
|
|
|
|||
|
|
@ -98,11 +98,6 @@ namespace NP.Model
|
|||
public string comment { get; set; }
|
||||
|
||||
public string userip { get; set; }
|
||||
|
||||
public static implicit operator Excellog(string v)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
/*엑셀을 다운로드 기록 끝*/
|
||||
|
||||
|
|
@ -405,7 +400,8 @@ namespace NP.Model
|
|||
/// 페이지관리
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class MenuPage : BaseModel{
|
||||
public class MenuPage : BaseModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 페이지번호
|
||||
/// </summary>
|
||||
|
|
@ -467,7 +463,6 @@ namespace NP.Model
|
|||
public String topimagecode { get; set; }
|
||||
|
||||
public bool haschild { get; set; }
|
||||
|
||||
public string menu { get; set; }
|
||||
|
||||
public int m0 { get; set; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue