public string mInOut2020(string pLabNo, string pSiteCd, string pRegdate, string pCoCd, string pTeamCd, string pInHHMM, string pOutHHMM, out string reMsg, out string reData) { string reCode = "N"; reData = "0"; BizInOut bizInOut = null; try { bizInOut = new BizInOut(); int reCnt = bizInOut.mInOut2020(pLabNo, pSiteCd, pRegdate, pCoCd, pTeamCd, pInHHMM, pOutHHMM); if (reCnt > 0) { reMsg = "[저장 성공]"; reCode = "Y"; reData = reCnt.ToString(); } else { reMsg = "[저장 성공] - 정보 없음"; reCode = "Y"; } } catch (Exception ex) { logs.SaveLog("[error] (page)::WsInOut.svc (Function)::mInOut2020 (Detail)::" + "\r\n" + ex.ToString(), "Error"); reMsg = "[저장 에러] :: " + ex.ToString(); reCode = "N"; } return(reCode); }
public string exLabInOutFinal(string pLabNo, string pSiteCd, out string reMsg, out string reData) { string reCode = "N"; reData = "0"; BizInOut bizInOut = null; try { bizInOut = new BizInOut(); int reCnt = bizInOut.exLabInOutFinal(pLabNo, pSiteCd); if (reCnt > 0) { reMsg = "[저장 성공]"; reCode = "Y"; reData = reCnt.ToString(); } else { reMsg = "[저장 성공] - 정보 없음"; reCode = "Y"; } } catch (Exception ex) { logs.SaveLog("[error] (page)::WsInOut.svc (Function)::exLabInOutFinal (Detail)::" + "\r\n" + ex.ToString(), "Error"); reMsg = "[저장 에러] :: " + ex.ToString(); reCode = "N"; } return(reCode); }
public string exInOutCo(string pDbnm, string pLabNo, string pSiteCd, string CO_CD, out string reMsg, out string reData) { string reCode = "N"; reData = "0"; BizInOut bizInOut = null; try { bizInOut = new BizInOut(); string reCnt = bizInOut.exInOutCo(pDbnm, pLabNo, pSiteCd, CO_CD); if (reCnt != "0") { reMsg = "[저장 성공]"; reCode = "Y"; reData = reCnt; } else { reMsg = "[저장 성공] - 정보 없음"; reCode = "Y"; } } catch (Exception ex) { logs.SaveLog("[error] (page)::WsInOut.svc (Function)::exInOutCo (Detail)::" + "\r\n" + ex.ToString(), "Error"); reMsg = "[저장 에러] :: " + ex.ToString(); reCode = "N"; } return(reCode); }
public string aInOutHistory(string pDbnm, string pLabNo, string pSiteCd, string pRegDate, string pEventDt, string pCoCd, string pTeamCd, string pInputId, out string reMsg, out string reData) { string reCode = "N"; reData = "0"; BizInOut bizInOut = null; try { bizInOut = new BizInOut(); int reCnt = bizInOut.aInOutHistory(pDbnm, pLabNo, pSiteCd, pRegDate, pEventDt, pCoCd, pTeamCd, pInputId); if (reCnt > 0) { reMsg = "[저장 성공]"; reCode = "Y"; reData = reCnt.ToString(); } else { reMsg = "[저장 성공] - 정보 없음"; reCode = "Y"; } } catch (Exception ex) { logs.SaveLog("[error] (page)::WsInOut.svc (Function)::aInOutHistory (Detail)::" + "\r\n" + ex.ToString(), "Error"); reMsg = "[저장 에러] :: " + ex.ToString(); reCode = "N"; } return(reCode); }
public string co_Cmb(string pSiteCd, out List <DataComCombo> reList, out string reMsg) { string reCode = "N"; DataSet ds = null; BizInOut bizInOut = null; try { bizInOut = new BizInOut(); try { ds = bizInOut.co_Cmb(pSiteCd); reMsg = "[검색 성공]"; reCode = "Y"; } catch (Exception ex) { reMsg = "[검색 실패]" + ex.ToString(); reCode = "N"; } } catch (Exception ex) { reMsg = "[검색 에러] :: " + ex.ToString(); reCode = "N"; } List <DataComCombo> data = new List <DataComCombo>(); try { data = ListClass.ConvertDataTableToList <DataComCombo>(ds.Tables[0]); } catch (Exception ex) { logs.SaveLog("[error] (page)::WsInOut.svc (Function)::sLaborCompanyList (Detail)::co_Cmb " + "\r\n" + ex.ToString(), "Error"); reMsg += "/[List 에러]" + ex.ToString(); reCode = "N"; } reList = data; return(reCode); }
public string sInOutHistory(string pDbnm, string pSiteCd, string pDtp1, string pDtp2, string pCocd, out List <DataInOut> reList, out string reMsg) { string reCode = "N"; DataSet ds = null; BizInOut bizInOut = null; try { bizInOut = new BizInOut(); try { ds = bizInOut.sInOutHistory(pDbnm, pSiteCd, pDtp1, pDtp2, pCocd); reMsg = "[검색 성공]"; reCode = "Y"; } catch (Exception ex) { reMsg = "[검색 실패]" + ex.ToString(); reCode = "N"; } } catch (Exception ex) { reMsg = "[검색 에러] :: " + ex.ToString(); reCode = "N"; } List <DataInOut> data = new List <DataInOut>(); try { data = ListClass.ConvertDataTableToList <DataInOut>(ds.Tables[0]); } catch (Exception ex) { logs.SaveLog("[error] (page)::WsInOut.svc (Function)::sInOutHistory (Detail)::ConvertDataTableToList " + "\r\n" + ex.ToString(), "Error"); reMsg += "/[List 에러]" + ex.ToString(); reCode = "N"; } reList = data; return(reCode); }