| | |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //鏌ョ湅鏉冮檺 |
| | | if (!DBUtility.ClsPub.Security_Log("Sc_QualityReportBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ////鏌ョ湅鏉冮檺 |
| | | //if (!DBUtility.ClsPub.Security_Log("Sc_QualityReportBill_Query", 1, false, user)) |
| | | //{ |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | //} |
| | | ReportWorkDemandPlanBill Report = JsonConvert.DeserializeObject<ReportWorkDemandPlanBill>(sWhere); |
| | | ds = oCN.RunProcReturn($"exec h_p_Sc_StationOutBillMain '{Report.HBeginDate}','{Report.HEndDate}','{Report.HNumber}','{Report.HName}','{Report.HProcName}','{Report.HEquipName}','{Report.HBactNo}'", "h_p_Sc_StationOutBillMain"); |
| | | |
| | |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //鏌ョ湅鏉冮檺 |
| | | if (!DBUtility.ClsPub.Security_Log("Sc_QualityReportBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ////鏌ョ湅鏉冮檺 |
| | | //if (!DBUtility.ClsPub.Security_Log("Sc_QualityReportBill_Query", 1, false, user)) |
| | | //{ |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | //} |
| | | ReportWorkDemandPlanBill1 Report = JsonConvert.DeserializeObject<ReportWorkDemandPlanBill1>(sWhere); |
| | | ds = oCN.RunProcReturn($"exec h_p_Sc_StationOutBillMonth '{Report.HYear}','{Report.HWorkCenter}','{Report.HName}', '{Report.HBeginDate}','{Report.HEndDate}'", "h_p_Sc_StationOutBillMonth"); |
| | | |
| | |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //鏌ョ湅鏉冮檺 |
| | | if (!DBUtility.ClsPub.Security_Log("Sc_QualityReportBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ////鏌ョ湅鏉冮檺 |
| | | //if (!DBUtility.ClsPub.Security_Log("Sc_QualityReportBill_Query", 1, false, user)) |
| | | //{ |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | //} |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //鏌ョ湅鏉冮檺 |
| | | if (!DBUtility.ClsPub.Security_Log("Sc_QualityReportBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ////鏌ョ湅鏉冮檺 |
| | | //if (!DBUtility.ClsPub.Security_Log("Sc_QualityReportBill_Query", 1, false, user)) |
| | | //{ |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | //} |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |