public static string setNotPay(string strValue) { TMisContractFeeVo objFee = new TMisContractFeeVo(); objFee.ID = strValue; objFee.IF_PAY = "0"; bool isSuccess = new TMisContractFeeLogic().Edit(objFee); return(isSuccess == true ? "1" : "0"); }
public static string setPay(string strValue, string payMoney, DateTime payDate) { TMisContractFeeVo objFee = new TMisContractFeeVo(); objFee.ID = strValue; objFee.IF_PAY = "1"; objFee.INCOME = payMoney; objFee.REMARK5 = payDate.ToString(); bool isSuccess = new TMisContractFeeLogic().Edit(objFee); return(isSuccess == true ? "1" : "0"); }
/// <summary> /// 获取企业收费记录明细记录列表 /// </summary> public string GetContractFreeDetialList() { string result = ""; dt = new DataTable(); TMisContractVo objItems = new TMisContractVo(); objItems.REMARK3 = strYear; objItems.REMARK4 = strMonth; objItems.REMARK5 = strQuarter; objItems.TESTED_COMPANY_ID = strCompanyId; dt = new TMisContractFeeLogic().SelectGetCompanyDetailListInfor(objItems, PageIndex, PageSize); int CountNum = new TMisContractFeeLogic().SelectGetCompanyDetailListInforCount(objItems); result = LigerGridDataToJson(dt, CountNum); return(result); }
//获取待缴费信息 private void GetFees() { string strSortname = Request.Params["sortname"]; string strSortorder = Request.Params["sortorder"]; //当前页面 int intPageIndex = Convert.ToInt32(Request.Params["page"]); //每页记录数 int intPageSize = Convert.ToInt32(Request.Params["pagesize"]); if (strSortname == null || strSortname.Length < 0) { strSortname = TMisContractFeeVo.ID_FIELD; } TMisContractFeeVo objFee = new TMisContractFeeVo(); objFee.IF_PAY = "0"; DataTable dt = new TMisContractFeeLogic().SelectByTableCreateByHHL(objFee, intPageIndex, intPageSize);//何海亮修改 int intTotalCount = new TMisContractFeeLogic().GetSelectResultCountByHHL(objFee); string strJson = CreateToJson(dt, intTotalCount); Response.Write(strJson); Response.End(); }