| | |
| | | } |
| | | #endregion |
| | | |
| | | #region[ERP订åå é¤] |
| | | /// <summary> |
| | | /// ERP订åå é¤ |
| | | /// </summary> |
| | | /// <param name="erporderid">订åid</param> |
| | | /// <param name="erpordercode">订åå·</param> |
| | | /// <returns></returns> |
| | | [Route(template: "DeleteErpOrder")] |
| | | [HttpPost] |
| | | public HttpResponseMessage DeleteErpOrder(string erporderid, string erpordercode) |
| | | { |
| | | var username = HttpContext.Current.Request.Cookies["admin"].Value.ToString(); //æä½äººå |
| | | mes = ProductionManagementBLL.DeleteErpOrder(erporderid, erpordercode, username); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | #region[MESå·¥åæ¥è¯¢] |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region[ERP订åå é¤] |
| | | public static ToMessage DeleteErpOrder(string erporderid, string erpordercode, string username) |
| | | { |
| | | return ProductionManagementDAL.DeleteErpOrder(erporderid, erpordercode, username); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | #region[MESå·¥åæ¥è¯¢] |
| | |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select A.id, A.status,A.wo,A.materiel_code as partcode,B.partname,B.partspec,A.qty,A.relse_qty,A.wkshp_code,C.org_name as wkshp_name, |
| | | A.stck_code,D.name as stck_name,A.saleOrderCode,A.saleOrderDeliveryDate,A.planstartdate,A.planenddate,U.username as createuser,A.createdate |
| | | A.stck_code,D.name as stck_name,A.saleOrderCode,A.saleOrderDeliveryDate,A.planstartdate,A.planenddate,U.username as createuser,A.createdate,A.sbid |
| | | from TKimp_Ewo A |
| | | left join TMateriel_Info B on A.materiel_code=B.partcode |
| | | left join TOrganization C on A.wkshp_code=C.org_code |
| | |
| | | if (i == 1) //é¦åè·åå·¥åå· |
| | | { |
| | | sql = @"select isnull(max(cast(substring(wo_code,charindex('_',wo_code)+1,len(wo_code)-charindex('_',wo_code)) as numeric)),0)+1 as worknumb |
| | | from TK_Wrk_Man where m_po=@erpordercode"; |
| | | from TK_Wrk_Man where m_po=@erpordercode"; |
| | | dynamicParams.Add("@erpordercode", erpordercode); |
| | | var data = DapperHelper.selectdata(sql, dynamicParams); |
| | | num = Convert.ToInt32(data.Rows[0]["WORKNUMB"].ToString()); |
| | |
| | | mes.code = "300"; |
| | | mes.count = 0; |
| | | mes.Message = "订åå
³é失败!"; |
| | | mes.data = null; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | mes.code = "300"; |
| | | mes.count = 0; |
| | | mes.Message = e.Message; |
| | | mes.data = null; |
| | | } |
| | | return mes; |
| | | } |
| | | #endregion |
| | | |
| | | #region[ERP订åå é¤] |
| | | public static ToMessage DeleteErpOrder(string erporderid, string erpordercode, string username) |
| | | { |
| | | var sql = ""; |
| | | List<object> list = new List<object>(); |
| | | var dynamicParams = new DynamicParameters(); |
| | | try |
| | | { |
| | | sql = @"select * from TK_Wrk_Man where m_po=@erpordercode and sourceid=@erporderid and status<>'NEW'"; |
| | | dynamicParams.Add("@erpordercode", erpordercode); |
| | | dynamicParams.Add("@erporderid", erporderid); |
| | | var data = DapperHelper.selectdata(sql, dynamicParams); |
| | | if (data.Rows.Count > 0) |
| | | { |
| | | mes.code = "300"; |
| | | mes.count = 0; |
| | | mes.Message = "å½å订å䏿工å已派åæå·²å¼å·¥æå·²å®å·¥(å
³é),ä¸å
许å é¤!"; |
| | | mes.data = null; |
| | | return mes; |
| | | } |
| | | else |
| | | { |
| | | //å é¤å·¥å |
| | | sql = @"delete TK_Wrk_Man where m_po=@wo and sourceid=@erporderid"; |
| | | list.Add(new |
| | | { |
| | | str = sql, |
| | | parm = new |
| | | { |
| | | wo = erpordercode, |
| | | erporderid = erporderid |
| | | } |
| | | }); |
| | | //å é¤è®¢å |
| | | sql = @"delete TKimp_Ewo where wo=@wo and id=@erporderid"; |
| | | list.Add(new |
| | | { |
| | | str = sql, |
| | | parm = new |
| | | { |
| | | wo = erpordercode, |
| | | erporderid = erporderid |
| | | } |
| | | }); |
| | | } |
| | | bool aa = DapperHelper.DoTransaction(list); |
| | | LogHelper.WriteLogData(aa.ToString()); |
| | | if (aa) |
| | | { |
| | | mes.code = "200"; |
| | | mes.count = 0; |
| | | mes.Message = "订åå 餿å!"; |
| | | mes.data = null; |
| | | } |
| | | else |
| | | { |
| | | mes.code = "300"; |
| | | mes.count = 0; |
| | | mes.Message = "订åå é¤å¤±è´¥!"; |
| | | mes.data = null; |
| | | } |
| | | } |
| | |
| | | } |
| | | //æ ¹æ®æ¡ä»¶æ¥è¯¢å·¥åå·¥åºæ¥å·¥(æ¶æ)è®°å½,ä¸ä¸è¯æ°é大äº0 |
| | | //åå¨è¿ç¨å |
| | | //sql = @"h_p_IFCLD_MesReportDefectHandleSelect"; |
| | | sql = @"select MM.record_id as m_id,MM.wo_code,A.materiel_code,S.seq,MM.step_code,T.stepname,A.id, |
| | | S.plan_qty,A.good_qty as report_qty,MM.defect_qty as ng_qty,A.bad_qty as badqty,'Z' as style,MM.verify, |
| | | MM.defect_code,STUFF((SELECT ',' + P.name |
| | | FROM TDefect P |
| | | WHERE CHARINDEX(',' + P.code + ',', ',' + MM.defect_code + ',') > 0 |
| | | FOR XML PATH('')), 1, 1, '') AS defect_name |
| | | from CSR_WorkRecord_Defect MM |
| | | inner join TK_Wrk_Record A on MM.record_id=a.id |
| | | inner join TK_Wrk_Step S on A.wo_code=S.wo_code and A.step_code=S.step_code |
| | | inner join TStep T on MM.step_code=T.stepcode |
| | | where MM.wo_code=@ordercode and MM.step_code=@stepcode and MM.style='B' and A.style='B' and A.ng_qty>0"; |
| | | sql = @"h_p_IFCLD_MesReportDefectHandleSelect"; |
| | | dynamicParams1.Add("@ordercode", ordercode); |
| | | dynamicParams1.Add("@stepcode", stepcode); |
| | | DataTable dt = DapperHelper.selectdata(sql, dynamicParams1); |
| | | DataTable dt = DapperHelper.selectProcedure(sql, dynamicParams1); |
| | | if (dt.Rows.Count > 0) |
| | | { |
| | | list.Add("data1", rt); |
| | |
| | | try |
| | | { |
| | | //çç»è·å人åå表 |
| | | sql = @"select U.username,U.username |
| | | sql = @"select U.usercode,U.username |
| | | from TGroup G |
| | | inner join TGroupUser T on G.group_code=T.group_code |
| | | left join TUser U on T.user_code=U.usercode |
| | |
| | | //åå
¥ç¼ºé·è®°å½è¡¨ |
| | | for (int i = 0; i < groupedItems.Count; i++) |
| | | { |
| | | sql = @"insert into CSR_WorkRecord_Defect(record_id,wo_code,partnumber,step_seq,step_code,defect_qty,defect_code,remarks,style,lm_user,lm_date) |
| | | values(@record_id,@wo_code,@partcode,@stepseq,@stepcode,@ngqty,@defect_code,@remarks,@style,@lm_user,@lm_date)"; |
| | | list.Add(new { str = sql, parm = new { record_id = int.Parse(dt.Rows[0]["ID"].ToString()), wo_code = mesordercode, partcode = partcode, stepseq = stepseq, stepcode = stepcode, ngqty = groupedItems[i].badqty, defect_code = groupedItems[i].defect_code, remarks = remarks, style = "B", lm_user = username, lm_date = date } }); |
| | | sql = @"insert into CSR_WorkRecord_Defect(record_id,wo_code,partnumber,step_seq,step_code,defect_qty,defect_pendqty,defect_code,remarks,style,lm_user,lm_date) |
| | | values(@record_id,@wo_code,@partcode,@stepseq,@stepcode,@ngqty,@defect_pendqty,@defect_code,@remarks,@style,@lm_user,@lm_date)"; |
| | | list.Add(new { str = sql, parm = new { record_id = int.Parse(dt.Rows[0]["ID"].ToString()), wo_code = mesordercode, partcode = partcode, stepseq = stepseq, stepcode = stepcode, ngqty = groupedItems[i].badqty, defect_pendqty= groupedItems[i].badqty, defect_code = groupedItems[i].defect_code, remarks = remarks, style = "B", lm_user = username, lm_date = date } }); |
| | | |
| | | } |
| | | } |
| | |
| | | //åå
¥ç¼ºé·è®°å½è¡¨ |
| | | for (int i = 0; i < groupedItems.Count; i++) |
| | | { |
| | | sql = @"insert into CSR_WorkRecord_Defect(record_id,wo_code,partnumber,step_seq,step_code,defect_qty,defect_code,remarks,style,lm_user,lm_date) |
| | | values(@record_id,@wo_code,@partcode,@stepseq,@stepcode,@ngqty,@defect_code,@remarks,@style,@lm_user,@lm_date)"; |
| | | list.Add(new { str = sql, parm = new { record_id = int.Parse(dt.Rows[0]["ID"].ToString()), wo_code = mesordercode, partcode = partcode, stepseq = stepseq, stepcode = stepcode, ngqty = groupedItems[i].badqty, defect_code = groupedItems[i].defect_code, remarks = remarks, style = "B", lm_user = username, lm_date = date } }); |
| | | sql = @"insert into CSR_WorkRecord_Defect(record_id,wo_code,partnumber,step_seq,step_code,defect_qty,defect_pendqty,defect_code,remarks,style,lm_user,lm_date) |
| | | values(@record_id,@wo_code,@partcode,@stepseq,@stepcode,@ngqty,@defect_pendqty,@defect_code,@remarks,@style,@lm_user,@lm_date)"; |
| | | list.Add(new { str = sql, parm = new { record_id = int.Parse(dt.Rows[0]["ID"].ToString()), wo_code = mesordercode, partcode = partcode, stepseq = stepseq, stepcode = stepcode, ngqty = groupedItems[i].badqty, defect_pendqty= groupedItems[i].badqty, defect_code = groupedItems[i].defect_code, remarks = remarks, style = "B", lm_user = username, lm_date = date } }); |
| | | |
| | | } |
| | | } |
| | |
| | | //åå
¥ç¼ºé·è®°å½è¡¨ |
| | | for (int i = 0; i < groupedItems.Count; i++) |
| | | { |
| | | sql = @"insert into CSR_WorkRecord_Defect(record_id,wo_code,partnumber,step_seq,step_code,defect_qty,defect_code,remarks,style,lm_user,lm_date) |
| | | values(@record_id,@wo_code,@partcode,@stepseq,@stepcode,@ngqty,@defect_code,@remarks,@style,@lm_user,@lm_date)"; |
| | | list.Add(new { str = sql, parm = new { record_id = int.Parse(dt.Rows[0]["ID"].ToString()), wo_code = mesordercode, partcode = partcode, stepseq = stepseq, stepcode = stepcode, ngqty = groupedItems[i].badqty, defect_code = groupedItems[i].defect_code, remarks = remarks, style = "S", lm_user = username, lm_date = date } }); |
| | | sql = @"insert into CSR_WorkRecord_Defect(record_id,wo_code,partnumber,step_seq,step_code,defect_qty,defect_pendqty,defect_code,remarks,style,lm_user,lm_date) |
| | | values(@record_id,@wo_code,@partcode,@stepseq,@stepcode,@ngqty,@defect_pendqty,@defect_code,@remarks,@style,@lm_user,@lm_date)"; |
| | | list.Add(new { str = sql, parm = new { record_id = int.Parse(dt.Rows[0]["ID"].ToString()), wo_code = mesordercode, partcode = partcode, stepseq = stepseq, stepcode = stepcode, ngqty = groupedItems[i].badqty, defect_pendqty= groupedItems[i].badqty, defect_code = groupedItems[i].defect_code, remarks = remarks, style = "S", lm_user = username, lm_date = date } }); |
| | | |
| | | } |
| | | } |
| | |
| | | //åå
¥ç¼ºé·è®°å½è¡¨ |
| | | for (int i = 0; i < groupedItems.Count; i++) |
| | | { |
| | | sql = @"insert into CSR_WorkRecord_Defect(record_id,wo_code,partnumber,step_seq,step_code,defect_qty,defect_code,remarks,style,lm_user,lm_date) |
| | | values(@record_id,@wo_code,@partcode,@stepseq,@stepcode,@ngqty,@defect_code,@remarks,@style,@lm_user,@lm_date)"; |
| | | list.Add(new { str = sql, parm = new { record_id = int.Parse(dt.Rows[0]["ID"].ToString()), wo_code = mesordercode, partcode = partcode, stepseq = stepseq, stepcode = stepcode, ngqty = groupedItems[i].badqty, defect_code = groupedItems[i].defect_code, remarks = remarks, style = "S", lm_user = username, lm_date = date } }); |
| | | sql = @"insert into CSR_WorkRecord_Defect(record_id,wo_code,partnumber,step_seq,step_code,defect_qty,defect_pendqty,defect_code,remarks,style,lm_user,lm_date) |
| | | values(@record_id,@wo_code,@partcode,@stepseq,@stepcode,@ngqty,@defect_pendqty,@defect_code,@remarks,@style,@lm_user,@lm_date)"; |
| | | list.Add(new { str = sql, parm = new { record_id = int.Parse(dt.Rows[0]["ID"].ToString()), wo_code = mesordercode, partcode = partcode, stepseq = stepseq, stepcode = stepcode, ngqty = groupedItems[i].badqty, defect_pendqty= groupedItems[i].badqty, defect_code = groupedItems[i].defect_code, remarks = remarks, style = "S", lm_user = username, lm_date = date } }); |
| | | |
| | | } |
| | | } |
| | |
| | | str = sql, |
| | | parm = new |
| | | { |
| | | m_id = int.Parse(json.Data.Rows[i]["ID"].ToString()), |
| | | m_id = int.Parse(json.Data.Rows[i]["M_ID"].ToString()), |
| | | repair_qty = decimal.Parse(json.Data.Rows[i]["REPAIR_QTY"].ToString()), |
| | | bad_qty = decimal.Parse(json.Data.Rows[i]["BAD_QTY"].ToString()) |
| | | } |
| | |
| | | bad_qty = decimal.Parse(json.Data.Rows[i]["BAD_QTY"].ToString()), |
| | | wo_code = json.Data.Rows[i]["WO_CODE"].ToString(), |
| | | step_code = json.Data.Rows[i]["STEP_CODE"].ToString(), |
| | | id = int.Parse(json.Data.Rows[i]["ID"].ToString()) |
| | | id = int.Parse(json.Data.Rows[i]["M_ID"].ToString()) |
| | | } |
| | | }); |
| | | //åå
¥æ¥å·¥ç¼ºé·å¤çè®°å½è¡¨ |
| | | sql = @"insert into CSR_WorkRecord_DefectHandle(record_subid,wo_code,partnumber,step_seq,step_code,repair_qty,bad_qty,defect_code,style,lm_user,lm_date) |
| | | values(@record_subid,@wo_code,@partcode,@stepseq,@stepcode,@repair_qty,@bad_qty,@defect_code,@style,@lm_user,@lm_date)"; |
| | | //åå缺é·è®°å½è¡¨çå¾
å¤çæ°é |
| | | sql = @"update CSR_WorkRecord_Defect set defect_pendqty=defect_pendqty-@repair_qty-@bad_qty,bad_qty=bad_qty+@bad_qty |
| | | where wo_code=@wo_code and step_code=@step_code and id=@id and style='B'"; |
| | | list.Add(new |
| | | { |
| | | str = sql, |
| | | parm = new |
| | | { |
| | | record_subid = int.Parse(json.Data.Rows[i]["M_ID"].ToString()), |
| | | repair_qty = decimal.Parse(json.Data.Rows[i]["REPAIR_QTY"].ToString()), |
| | | bad_qty = decimal.Parse(json.Data.Rows[i]["BAD_QTY"].ToString()), |
| | | wo_code = json.Data.Rows[i]["WO_CODE"].ToString(), |
| | | step_code = json.Data.Rows[i]["STEP_CODE"].ToString(), |
| | | id = int.Parse(json.Data.Rows[i]["ID"].ToString()) |
| | | } |
| | | }); |
| | | //åå
¥æ¥å·¥ç¼ºé·å¤çè®°å½è¡¨ |
| | | sql = @"insert into CSR_WorkRecord_DefectHandle(defect_id,wo_code,partnumber,step_seq,step_code,repair_qty,bad_qty,defect_code,style,lm_user,lm_date) |
| | | values(@defect_id,@wo_code,@partcode,@stepseq,@stepcode,@repair_qty,@bad_qty,@defect_code,@style,@lm_user,@lm_date)"; |
| | | list.Add(new |
| | | { |
| | | str = sql, |
| | | parm = new |
| | | { |
| | | defect_id = int.Parse(json.Data.Rows[i]["ID"].ToString()), |
| | | wo_code = json.Data.Rows[i]["WO_CODE"].ToString(), |
| | | partcode = json.Data.Rows[i]["MATERIEL_CODE"].ToString(), |
| | | stepseq = json.Data.Rows[i]["SEQ"].ToString(), |
| | |
| | | str = sql, |
| | | parm = new |
| | | { |
| | | m_id = int.Parse(json.Data.Rows[i]["ID"].ToString()), |
| | | m_id = int.Parse(json.Data.Rows[i]["M_ID"].ToString()), |
| | | repair_qty = decimal.Parse(json.Data.Rows[i]["REPAIR_QTY"].ToString()), |
| | | bad_qty = decimal.Parse(json.Data.Rows[i]["BAD_QTY"].ToString()) |
| | | } |
| | |
| | | bad_qty = decimal.Parse(json.Data.Rows[i]["BAD_QTY"].ToString()), |
| | | wo_code = json.Data.Rows[i]["WO_CODE"].ToString(), |
| | | step_code = json.Data.Rows[i]["STEP_CODE"].ToString(), |
| | | id = int.Parse(json.Data.Rows[i]["ID"].ToString()) |
| | | id = int.Parse(json.Data.Rows[i]["M_ID"].ToString()) |
| | | } |
| | | }); |
| | | //åå
¥æ¥å·¥ç¼ºé·å¤çè®°å½è¡¨ |
| | | sql = @"insert into CSR_WorkRecord_DefectHandle(record_subid,wo_code,partnumber,step_seq,step_code,repair_qty,bad_qty,defect_code,style,lm_user,lm_date) |
| | | values(@record_subid,@wo_code,@partcode,@stepseq,@stepcode,@repair_qty,@bad_qty,@defect_code,@style,@lm_user,@lm_date)"; |
| | | //åå缺é·è®°å½è¡¨çå¾
å¤çæ°é |
| | | sql = @"update CSR_WorkRecord_Defect set defect_pendqty=defect_pendqty-@repair_qty-@bad_qty,bad_qty=bad_qty+@bad_qty |
| | | where wo_code=@wo_code and step_code=@step_code and id=@id and style='S'"; |
| | | list.Add(new |
| | | { |
| | | str = sql, |
| | | parm = new |
| | | { |
| | | record_subid = int.Parse(json.Data.Rows[i]["M_ID"].ToString()), |
| | | repair_qty = decimal.Parse(json.Data.Rows[i]["REPAIR_QTY"].ToString()), |
| | | bad_qty = decimal.Parse(json.Data.Rows[i]["BAD_QTY"].ToString()), |
| | | wo_code = json.Data.Rows[i]["WO_CODE"].ToString(), |
| | | step_code = json.Data.Rows[i]["STEP_CODE"].ToString(), |
| | | id = int.Parse(json.Data.Rows[i]["ID"].ToString()) |
| | | } |
| | | }); |
| | | //åå
¥æ¥å·¥ç¼ºé·å¤çè®°å½è¡¨ |
| | | sql = @"insert into CSR_WorkRecord_DefectHandle(defect_id,wo_code,partnumber,step_seq,step_code,repair_qty,bad_qty,defect_code,style,lm_user,lm_date) |
| | | values(@defect_id,@wo_code,@partcode,@stepseq,@stepcode,@repair_qty,@bad_qty,@defect_code,@style,@lm_user,@lm_date)"; |
| | | list.Add(new |
| | | { |
| | | str = sql, |
| | | parm = new |
| | | { |
| | | defect_id = int.Parse(json.Data.Rows[i]["ID"].ToString()), |
| | | wo_code = json.Data.Rows[i]["WO_CODE"].ToString(), |
| | | partcode = json.Data.Rows[i]["MATERIEL_CODE"].ToString(), |
| | | stepseq = json.Data.Rows[i]["SEQ"].ToString(), |
| | |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select * from( |
| | | select W.wkshp_code,L.org_name as wkshp_name,A.wo_code,M.partcode,M.partname,M.partspec,T.stepcode,T.stepname,P.plan_qty,A.defect_qty, |
| | | select W.wkshp_code,L.org_name as wkshp_name,A.wo_code,M.partcode,M.partname,M.partspec,T.stepcode,T.stepname,P.plan_qty,A.defect_qty,A.defect_pendqty,A.bad_qty, |
| | | A.defect_code, |
| | | STUFF((SELECT ',' + P.name |
| | | FROM TDefect P |
| | |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select AA.wkshp_code as 车é´ç¼ç ,AA.wkshp_name as 车é´åç§°,AA.wo_code as å·¥åç¼å·,AA.partcode as 产åç¼ç ,AA.partname as 产ååç§°,AA.partspec as 产åè§æ ¼,AA.stepcode as å·¥åºç¼ç , |
| | | AA.stepname as å·¥åºåç§°,AA.plan_qty as 任塿°é,AA.defect_qty as ä¸è¯æ°é,AA.defect_code as 缺é·ä»£ç ,AA.defect_name as 缺é·åç§°, |
| | | AA.stepname as å·¥åºåç§°,AA.plan_qty as 任塿°é,AA.defect_qty as ä¸è¯æ°é,A.defect_pendqty as ä¸è¯å¾
å¤çæ°é,A.bad_qty as æ¥åºæ°é,AA.defect_code as 缺é·ä»£ç ,AA.defect_name as 缺é·åç§°, |
| | | (case when AA.style='B' then 'æ¥å·¥' when AA.style='S' then 'æ¶æ' end) as 'æä½ç±»å',AA.username as æä½äººå,AA.lm_date as æä½æ¶é´ |
| | | from( |
| | | select W.wkshp_code,L.org_name as wkshp_name,A.wo_code,M.partcode,M.partname,M.partspec,T.stepcode,T.stepname,P.plan_qty,A.defect_qty, |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | ãæ¶é´ã:2023-08-31 16:15:43,457 |
| | | ã级å«ã:ERROR |
| | | ãç±»åã:æ¥å¿è®°å½ |
| | | ã线ç¨IDã: 7 |
| | | ãæä»¶å°åã:D:\æ°å¯è¿ªMES\MES项ç®\MESæ£æ¸
æ²³\VueWebApi\VueWebApi\Tools\LogHelper.cs 第37è¡ |
| | | ãæ¥å¿å
容ã:è¿å
¥DALæ¹æ³ |
| | | æ¶é´ï¼2023-08-31 16:15:43 |
| | | ãæ¥è®°è¯¦ç»ãï¼ |
| | | --------------------------------------------------------------------------------------------------------------- |
| | | ãæ¶é´ã:2023-08-31 16:21:43,278 |
| | | ã级å«ã:ERROR |
| | | ãç±»åã:æ¥å¿è®°å½ |
| | | ã线ç¨IDã: 6 |
| | | ãæä»¶å°åã:D:\æ°å¯è¿ªMES\MES项ç®\MESæ£æ¸
æ²³\VueWebApi\VueWebApi\Tools\LogHelper.cs 第37è¡ |
| | | ãæ¥å¿å
容ã:è¿å
¥DALæ¹æ³ |
| | | æ¶é´ï¼2023-08-31 16:21:43 |
| | | ãæ¥è®°è¯¦ç»ãï¼ |
| | | --------------------------------------------------------------------------------------------------------------- |
| | | ãæ¶é´ã:2023-08-31 16:22:26,258 |
| | | ã级å«ã:ERROR |
| | | ãç±»åã:æ¥å¿è®°å½ |
| | | ã线ç¨IDã: 6 |
| | | ãæä»¶å°åã:D:\æ°å¯è¿ªMES\MES项ç®\MESæ£æ¸
æ²³\VueWebApi\VueWebApi\Tools\LogHelper.cs 第37è¡ |
| | | ãæ¥å¿å
容ã:True |
| | | æ¶é´ï¼2023-08-31 16:22:26 |
| | | ãæ¥è®°è¯¦ç»ãï¼ |
| | | --------------------------------------------------------------------------------------------------------------- |
| | | ãæ¶é´ã:2023-08-31 16:22:54,242 |
| | | ã级å«ã:ERROR |
| | | ãç±»åã:æ¥å¿è®°å½ |
| | | ã线ç¨IDã: 6 |
| | | ãæä»¶å°åã:D:\æ°å¯è¿ªMES\MES项ç®\MESæ£æ¸
æ²³\VueWebApi\VueWebApi\Tools\LogHelper.cs 第37è¡ |
| | | ãæ¥å¿å
容ã:è¿å
¥DALæ¹æ³ |
| | | æ¶é´ï¼2023-08-31 16:22:54 |
| | | ãæ¥è®°è¯¦ç»ãï¼ |
| | | --------------------------------------------------------------------------------------------------------------- |
| | |
| | | <publishTime>12/24/2021 15:38:29</publishTime> |
| | | </File> |
| | | <File Include="bin/VueWebApi.dll"> |
| | | <publishTime>08/16/2023 17:56:41</publishTime> |
| | | <publishTime>08/31/2023 16:26:21</publishTime> |
| | | </File> |
| | | <File Include="bin/VueWebApi.pdb"> |
| | | <publishTime>08/16/2023 17:56:41</publishTime> |
| | | <publishTime>08/31/2023 16:26:21</publishTime> |
| | | </File> |
| | | <File Include="bin/VueWebApi.xml"> |
| | | <publishTime>08/16/2023 17:56:41</publishTime> |
| | | <publishTime>08/31/2023 16:26:21</publishTime> |
| | | </File> |
| | | <File Include="bin/WebActivatorEx.dll"> |
| | | <publishTime>02/08/2013 16:42:28</publishTime> |
| | |
| | | <publishTime>06/10/2022 09:23:15</publishTime> |
| | | </File> |
| | | <File Include="log4net.config"> |
| | | <publishTime>05/10/2023 09:38:48</publishTime> |
| | | <publishTime>08/31/2023 16:10:26</publishTime> |
| | | </File> |
| | | <File Include="Scripts/bootstrap.js"> |
| | | <publishTime>06/10/2022 08:20:26</publishTime> |
| | |
| | | <param name="erpordercode">订åå·</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ProductionManagementController.DeleteErpOrder(System.String,System.String)"> |
| | | <summary> |
| | | ERP订åå é¤ |
| | | </summary> |
| | | <param name="erporderid">订åid</param> |
| | | <param name="erpordercode">订åå·</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ProductionManagementController.MesOrderSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | MESå·¥åæ¥è¯¢ |
| | |
| | | |
| | | <log4net> |
| | | <!--åå
¥å°æä»¶--> |
| | | <!--<appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender,log4net"> |
| | | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender,log4net"> |
| | | |
| | | --><!--æä»¶è·¯å¾ï¼å¦æRollingStyle为CompositeæDateï¼åè¿é设置为ç®å½ï¼æä»¶åå¨DatePatterné设置ï¼å
¶ä»åè¿éè¦ææä»¶åãå·²ç»æ©å±æ¯æèæç®å½--><!-- |
| | | <!--æä»¶è·¯å¾ï¼å¦æRollingStyle为CompositeæDateï¼åè¿é设置为ç®å½ï¼æä»¶åå¨DatePatterné设置ï¼å
¶ä»åè¿éè¦ææä»¶åãå·²ç»æ©å±æ¯æèæç®å½--> |
| | | <param name="File" value="Logs\" /> |
| | | --><!--å°æ¥è®°åå
¥å°è·ç®å½ä¸é¢çLogsæä»¶å¤¹ä¸é¢çyyyy-MM-dd.TXTæä»¶ä¸--><!-- |
| | | <!--å°æ¥è®°åå
¥å°è·ç®å½ä¸é¢çLogsæä»¶å¤¹ä¸é¢çyyyy-MM-dd.TXTæä»¶ä¸--> |
| | | |
| | | <param name="AppendToFile" value="true" /> |
| | | |
| | |
| | | <param name="RollingStyle" value="Date" /> |
| | | |
| | | <param name="DatePattern" value="yyyy-MM-dd.TXT" /> |
| | | --><!--TXTåç¼å¿
é¡»æ¯å¤§åçï¼å¦åæé®é¢--><!-- |
| | | <!--TXTåç¼å¿
é¡»æ¯å¤§åçï¼å¦åæé®é¢--> |
| | | |
| | | <param name="CountDirection" value="-1" /> |
| | | |
| | | |
| | | --><!--log4netè®°å½éè¯¯çæ ¼å¼(å³ï¼ç¨ä»ä¹æ ·çæ ¼å¼ï¼å¸å±ï¼æ¥è®°å½é误)--><!-- |
| | | <!--log4netè®°å½éè¯¯çæ ¼å¼(å³ï¼ç¨ä»ä¹æ ·çæ ¼å¼ï¼å¸å±ï¼æ¥è®°å½é误)--> |
| | | |
| | | <layout type="log4net.Layout.PatternLayout"> |
| | | <param name="ConversionPattern" value=" ãæ¶é´ã:%d%n ã级å«ã:%p%n ãç±»åã:%c%n ã线ç¨IDã: %thread %n ãæä»¶å°åã:%F 第%Lè¡%n ãæ¥å¿å
容ã:%m%n ãæ¥è®°è¯¦ç»ãï¼%exception %n---------------------------------------------------------------------------------------------------------------%n" /> |
| | | </layout> |
| | | </appender>--> |
| | | </appender> |
| | | |
| | | <!--æ¤å¤å°æä½è®°å½åå
¥æ°æ®åº,æ¥å¿åç--> |
| | | <appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender"> |
| | |
| | | <param name="erpordercode">订åå·</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ProductionManagementController.DeleteErpOrder(System.String,System.String)"> |
| | | <summary> |
| | | ERP订åå é¤ |
| | | </summary> |
| | | <param name="erporderid">订åid</param> |
| | | <param name="erpordercode">订åå·</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ProductionManagementController.MesOrderSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | MESå·¥åæ¥è¯¢ |
| | |
| | | |
| | | <log4net> |
| | | <!--åå
¥å°æä»¶--> |
| | | <!--<appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender,log4net"> |
| | | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender,log4net"> |
| | | |
| | | --><!--æä»¶è·¯å¾ï¼å¦æRollingStyle为CompositeæDateï¼åè¿é设置为ç®å½ï¼æä»¶åå¨DatePatterné设置ï¼å
¶ä»åè¿éè¦ææä»¶åãå·²ç»æ©å±æ¯æèæç®å½--><!-- |
| | | <!--æä»¶è·¯å¾ï¼å¦æRollingStyle为CompositeæDateï¼åè¿é设置为ç®å½ï¼æä»¶åå¨DatePatterné设置ï¼å
¶ä»åè¿éè¦ææä»¶åãå·²ç»æ©å±æ¯æèæç®å½--> |
| | | <param name="File" value="Logs\" /> |
| | | --><!--å°æ¥è®°åå
¥å°è·ç®å½ä¸é¢çLogsæä»¶å¤¹ä¸é¢çyyyy-MM-dd.TXTæä»¶ä¸--><!-- |
| | | <!--å°æ¥è®°åå
¥å°è·ç®å½ä¸é¢çLogsæä»¶å¤¹ä¸é¢çyyyy-MM-dd.TXTæä»¶ä¸--> |
| | | |
| | | <param name="AppendToFile" value="true" /> |
| | | |
| | |
| | | <param name="RollingStyle" value="Date" /> |
| | | |
| | | <param name="DatePattern" value="yyyy-MM-dd.TXT" /> |
| | | --><!--TXTåç¼å¿
é¡»æ¯å¤§åçï¼å¦åæé®é¢--><!-- |
| | | <!--TXTåç¼å¿
é¡»æ¯å¤§åçï¼å¦åæé®é¢--> |
| | | |
| | | <param name="CountDirection" value="-1" /> |
| | | |
| | | |
| | | --><!--log4netè®°å½éè¯¯çæ ¼å¼(å³ï¼ç¨ä»ä¹æ ·çæ ¼å¼ï¼å¸å±ï¼æ¥è®°å½é误)--><!-- |
| | | <!--log4netè®°å½éè¯¯çæ ¼å¼(å³ï¼ç¨ä»ä¹æ ·çæ ¼å¼ï¼å¸å±ï¼æ¥è®°å½é误)--> |
| | | |
| | | <layout type="log4net.Layout.PatternLayout"> |
| | | <param name="ConversionPattern" value=" ãæ¶é´ã:%d%n ã级å«ã:%p%n ãç±»åã:%c%n ã线ç¨IDã: %thread %n ãæä»¶å°åã:%F 第%Lè¡%n ãæ¥å¿å
容ã:%m%n ãæ¥è®°è¯¦ç»ãï¼%exception %n---------------------------------------------------------------------------------------------------------------%n" /> |
| | | </layout> |
| | | </appender>--> |
| | | </appender> |
| | | |
| | | <!--æ¤å¤å°æä½è®°å½åå
¥æ°æ®åº,æ¥å¿åç--> |
| | | <appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender"> |