public string TAX_SLTT_SELECT(string datastring) { string token = AppClass.GetSession("token").ToString(); HR_GS_GSSL model_HR_GS_GSSL = Newtonsoft.Json.JsonConvert.DeserializeObject <HR_GS_GSSL>(datastring); HR_GS_GSSL_SELECT rst = hrmodels.GS_GSSL.SELECT(model_HR_GS_GSSL, token); return(Newtonsoft.Json.JsonConvert.SerializeObject(rst)); }
public MES_RETURN_UI DELETE(HR_GS_GSSL model, string ptoken) { MES_RETURN mr = client.UPDATE(model, 1, ptoken); MES_RETURN_UI mrui = new MES_RETURN_UI(); mrui.TYPE = mr.TYPE; mrui.MESSAGE = mr.MESSAGE; return(mrui); }
public MES_RETURN_UI INSERT(HR_GS_GSSL model, string ptoken) { MES_RETURN mr = client.INSERT(model, ptoken); MES_RETURN_UI mrui = new MES_RETURN_UI(); mrui.TYPE = mr.TYPE; mrui.MESSAGE = mr.MESSAGE; return(mrui); }
public string TAX_SLTT_DELETE(string datastring) { string token = AppClass.GetSession("token").ToString(); int STAFFID = Convert.ToInt32(AppClass.GetSession("STAFFID")); HR_GS_GSSL model_HR_GS_GSSL = Newtonsoft.Json.JsonConvert.DeserializeObject <HR_GS_GSSL>(datastring); model_HR_GS_GSSL.XGR = STAFFID; MES_RETURN_UI rst = hrmodels.GS_GSSL.DELETE(model_HR_GS_GSSL, token); return(Newtonsoft.Json.JsonConvert.SerializeObject(rst)); }
public string TAX_SLTT_INSERT(string datastring) { string token = AppClass.GetSession("token").ToString(); int STAFFID = Convert.ToInt32(AppClass.GetSession("STAFFID")); HR_GS_GSSL model_HR_GS_GSSL = Newtonsoft.Json.JsonConvert.DeserializeObject <HR_GS_GSSL>(datastring); model_HR_GS_GSSL.CJR = STAFFID; if (model_HR_GS_GSSL.HR_XZGL_TAX_TAXSLMX == null) { List <HR_XZGL_TAX_TAXSLMX> model_HR_XZGL_TAX_TAXSLMX_list = new List <HR_XZGL_TAX_TAXSLMX>(); model_HR_GS_GSSL.HR_XZGL_TAX_TAXSLMX = model_HR_XZGL_TAX_TAXSLMX_list.ToArray(); } MES_RETURN_UI rst = hrmodels.GS_GSSL.INSERT(model_HR_GS_GSSL, token); return(Newtonsoft.Json.JsonConvert.SerializeObject(rst)); }
public HR_GS_GSSL_SELECT SELECT(HR_GS_GSSL model, string ptoken) { return(client.SELECT(model, ptoken)); }