已添加14个文件
已重命名9个文件
已修改25个文件
已复制6个文件
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace MES.Service.Dto.service; |
| | | |
| | | public class Material |
| | | { |
| | | public string? FmrMode { get; set; } |
| | | public string? FngDesc { get; set; } |
| | | public decimal? FsrcEntryId { get; set; } |
| | | public decimal? FrmRealQty { get; set; } |
| | | public string? FmaterialId { get; set; } |
| | | public string? FstockId { get; set; } |
| | | public string? Funit { get; set; } |
| | | public decimal? FmesEntryId { get; set; } |
| | | public decimal? Mid { get; set; } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using MES.Service.Dto.@base; |
| | | |
| | | namespace MES.Service.Dto.service; |
| | | |
| | | public class WarehouseQuery : Page |
| | | { |
| | | public decimal? id { get; set; } |
| | | |
| | | public decimal[]? ItemArnDetailIds { get; set; } |
| | | } |
| | |
| | | { |
| | | public string Id { get; set; } |
| | | public string? Type { get; set; } |
| | | |
| | | public string? FBILLTYPE { get; set; } |
| | | public string? FBillNo { get; set; } |
| | | public string? FWorkShopID0 { get; set; } |
| | | public string? FRoutingId { get; set; } |
| | |
| | | public string? FCloseType { get; set; } |
| | | public string? FSrcSplitBillNo { get; set; } |
| | | public string? FMemoItem { get; set; } |
| | | |
| | | public string? planId { get; set; } |
| | | public string? planSeq { get; set; } |
| | | public string? planNum { get; set; } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.Modes; |
| | | |
| | | /// <summary> |
| | | /// ç©æå
¥åºä¸»è¡¨ |
| | | /// </summary> |
| | | [SugarTable("MES_INV_ITEM_ARN")] |
| | | public class MesInvItemArn |
| | | { |
| | | /// <summary> |
| | | /// ID(SEQ_INV_ID) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)] |
| | | public decimal Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å°è´§åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "BILL_NO")] |
| | | public string BillNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç¶æ|0-æªå®¡æ ¸1-å®¡æ ¸å
¥åº\ç»æ¡ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "STATUS")] |
| | | public short? Status { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åå |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "REASON")] |
| | | public string Reason { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建人 |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CREATE_BY")] |
| | | public string CreateBy { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建æ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CREATE_DATE")] |
| | | public DateTime? CreateDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æåæ´æ°äºº |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "LASTUPDATE_BY")] |
| | | public string LastupdateBy { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æåæ´æ°æ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "LASTUPDATE_DATE")] |
| | | public DateTime? LastupdateDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åæ®ç±»åID |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "BILL_TYPE_ID")] |
| | | public decimal? BillTypeId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// äºå¡ç±»åID |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "TRANSACTION_ID")] |
| | | public decimal? TransactionId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 夿³¨ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "REMARK")] |
| | | public string Remark { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´§åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "PAPER_BILL_NO")] |
| | | public string PaperBillNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éæäººå·¥å· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "USER_NO_BACK")] |
| | | public string UserNoBack { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æäº¤äºº |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CHECK_USER")] |
| | | public string CheckUser { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æäº¤æ¥æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CHECK_DATE")] |
| | | public DateTime? CheckDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
¥åºæ¥æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "INS_DATE")] |
| | | public DateTime? InsDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªç»æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CHECK_RES")] |
| | | public string CheckRes { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å·²æ¡æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CHECK_QTY")] |
| | | public decimal? CheckQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä»åºç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DEPOTS_CODE")] |
| | | public string DepotsCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// äºå¡ç±»åç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "TRANSCTION_NO")] |
| | | public string TransctionNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¾åºåç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "SUPP_NO")] |
| | | public string SuppNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æäº¤ç¶æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FSTATUS")] |
| | | public short? Fstatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å·¥åç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FACTORY")] |
| | | public string Factory { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å·²ååSAP |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "SAPSTATUS")] |
| | | public short? Sapstatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 确认å
¥åºæ¥æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "INS_DATE")] |
| | | public DateTime? Insdate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦æ£éª |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ISCHECK")] |
| | | public decimal? Ischeck { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸å
¥åºäºº |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "INSBY")] |
| | | public string Insby { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
¬å¸ä»£ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "COMPANY")] |
| | | public string Company { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¥ææ è¯ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "URGENT_FLAG")] |
| | | public short? UrgentFlag { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å²éäºå¡ç±»åç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MTTRANSCTION_NO")] |
| | | public decimal? MttransctionNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// IQCæ£éªåå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "IQC_RELEASE_NO")] |
| | | public string IqcReleaseNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦æ¾ç¤º |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "IS_VISUAL")] |
| | | public decimal? IsVisual { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 0=éè´ï¼1=å§å¤ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "F_TYPE")] |
| | | public decimal? FType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERPå°è´§åID |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "EBELN_K3ID")] |
| | | public string EbelnK3id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¡ç æ¡å°è¿åº¦ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "BARCODE_RATIO")] |
| | | public decimal? BarcodeRatio { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERPåå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ERPNO")] |
| | | public string Erpno { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å·²éè´§0-æªéè´§ï¼1-éè´§ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "THSTATUS")] |
| | | public short? Thstatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERPéè´§åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ERPTHNO")] |
| | | public string Erpthno { get; set; } |
| | | |
| | | |
| | | [SugarColumn(IsIgnore = true)] public string? DepotName { get; set; } |
| | | |
| | | [SugarColumn(IsIgnore = true)] public string? SuppName { get; set; } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.Modes; |
| | | |
| | | /// <summary> |
| | | /// </summary> |
| | | [SugarTable("MES_INV_ITEM_ARN_DETAIL")] |
| | | public class MesInvItemArnDetail |
| | | { |
| | | /// <summary> |
| | | /// SEQ_INV_ID |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)] |
| | | public decimal Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 主表ID |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MID")] |
| | | public decimal? Mid { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "EBELN")] |
| | | public string Ebeln { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´è®¢åè¡å· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "EBELN_LINE")] |
| | | public decimal? EbelnLine { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´è®¢åæ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "EBELN_QTY")] |
| | | public decimal? EbelnQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ITEM_NO")] |
| | | public string ItemNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¶è´§æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "QUANTITY")] |
| | | public decimal? Quantity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建人 |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CREATE_BY")] |
| | | public string CreateBy { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建æ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CREATE_DATE")] |
| | | public DateTime? CreateDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æåæ´æ°äºº |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "LASTUPDATE_BY")] |
| | | public string LastupdateBy { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æåæ´æ°æ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "LASTUPDATE_DATE")] |
| | | public DateTime? LastupdateDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ååç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FACTORY")] |
| | | public string Factory { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
¬å¸ä»£ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "COMPANY")] |
| | | public string Company { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´åID |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "EBELN_K3ID")] |
| | | public decimal? EbelnK3id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´åè¡ID |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "LINE_K3ID")] |
| | | public decimal? LineK3id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¬æ¬¡åºæ¶æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "SUB_QTY")] |
| | | public decimal? SubQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä½é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MARGIN_QTY")] |
| | | public decimal? MarginQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä»»å¡åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "WORK_NO")] |
| | | public string WorkNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¥ææ è¯ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "URGENT_FLAG")] |
| | | public decimal? UrgentFlag { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 夿³¨ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MEMO")] |
| | | public string Memo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªç»æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CHECK_RES")] |
| | | public string CheckRes { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªç¶æ ï¼å¾
æ£ãåéãç¹éãå·²æ£ï¼ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CHECK_STATES")] |
| | | public string CheckStates { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¶è´§ä½é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "QUANTITY_M")] |
| | | public decimal? QuantityM { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¬æ¬¡åºæ¶ä½é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "SUB_MQTY")] |
| | | public decimal? SubMqty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªæ¥æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CHECK_DATE")] |
| | | public DateTime? CheckDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦æ£éª |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ISCHECK")] |
| | | public short? Ischeck { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å·²æ¶æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "OK_QTY")] |
| | | public decimal? OkQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å·²æ¶ä½é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "OK_MQTY")] |
| | | public decimal? OkMqty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 产ååå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "BOARD_STYLE")] |
| | | public string BoardStyle { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä»»å¡åè¡å· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "WORK_LINE")] |
| | | public decimal? WorkLine { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 0ãéè´åï¼1ãå§å¤å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "F_TYPE")] |
| | | public decimal? FType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å
¥åº |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ISDEPS_IN")] |
| | | public short? IsdepsIn { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å°è´§åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHA001")] |
| | | public string Dha001 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å·²å
¥åºæ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "OK_RKQTY")] |
| | | public decimal? OkRkqty { get; set; } |
| | | |
| | | [SugarColumn(IsIgnore = true)] public string? itemModel { get; set; } |
| | | |
| | | [SugarColumn(IsIgnore = true)] public string? itemName { get; set; } |
| | | |
| | | [SugarColumn(IsIgnore = true)] public string? Fname { get; set; } |
| | | } |
| | |
| | | /// éè´åä½ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FPURCHASEUNITID")] |
| | | public string? Fpurchaseunitid { get; set; } |
| | | public decimal? Fpurchaseunitid { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èªå®ä¹å段1 |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.Modes; |
| | | |
| | | /// <summary> |
| | | /// æ¥æå
¥åºæ£éªè¡¨å¤´ |
| | | /// </summary> |
| | | [SugarTable("MES_QA_ITEMS_DETECT_01")] |
| | | public class MesQaItemsDetect01 |
| | | { |
| | | /// <summary> |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)] |
| | | public decimal Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªåå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "RELEASE_NO")] |
| | | public string ReleaseNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªæ¥æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FCHECK_DATE")] |
| | | public DateTime? FcheckDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªäººå |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FCHECK_BY")] |
| | | public string FcheckBy { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ITEM_NO")] |
| | | public string ItemNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¥ææ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FBATCH_QTY")] |
| | | public decimal? FbatchQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å¤å®ç»æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FRECE_QTY")] |
| | | public string FreceQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "SUPP_NO")] |
| | | public string SuppNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FNG_DESC")] |
| | | public string FngDesc { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªç»æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FCHECK_RESU")] |
| | | public string FcheckResu { get; set; } |
| | | |
| | | /// <summary> |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FREVIEW")] |
| | | public string Freview { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªæ°´å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "SAMPLE_SIZE_NO")] |
| | | public string SampleSizeNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªæ°´å¹³ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FCHECK_LEVEL")] |
| | | public string FcheckLevel { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ææ¶æ°´å¹³ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FAC_LEVEL")] |
| | | public string FacLevel { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ½æ£æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CHECK_QTY")] |
| | | public string CheckQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¹æ¬¡å· --å°è´§åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "LOT_NO")] |
| | | public string LotNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦æ¨é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FMOVE")] |
| | | public string Fmove { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å¤ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FHANDLE")] |
| | | public string Fhandle { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建人 |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CREATE_BY")] |
| | | public string CreateBy { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åå»ºæ¥æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CREATE_DATE")] |
| | | public DateTime? CreateDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ´æ°äºº |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "LASTUPDATE_BY")] |
| | | public string LastupdateBy { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ´æ°æ¥æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "LASTUPDATE_DATE")] |
| | | public DateTime? LastupdateDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å®¡æ ¸ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MODIFY1_FLAG")] |
| | | public decimal? Modify1Flag { get; set; } |
| | | |
| | | /// <summary> |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MODIFY1_BY")] |
| | | public string Modify1By { get; set; } |
| | | |
| | | /// <summary> |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MODIFY1_DATE")] |
| | | public DateTime? Modify1Date { get; set; } |
| | | |
| | | /// <summary> |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FACTORY")] |
| | | public string Factory { get; set; } |
| | | |
| | | /// <summary> |
| | | /// XRFæµè¯æ¥åç¼å· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FCHECK_REPNO")] |
| | | public string FcheckRepno { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç¬¬ä¸æ¹æ¥å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FTHIRD_REP")] |
| | | public string FthirdRep { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦ä½åº |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FCANCEL")] |
| | | public decimal? Fcancel { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æäº¤æ è¯ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FSUBMIT")] |
| | | public decimal? Fsubmit { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªä¾æ® |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FCHECK_ACCORD")] |
| | | public string FcheckAccord { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç±»å(0 æ¥æ 1 å¨åº) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FTYPE")] |
| | | public short? Ftype { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åä½ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ITEM_UNIT")] |
| | | public string ItemUnit { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åºè´§æ¥æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "OUT_DATE")] |
| | | public string OutDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å
æ£ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FEXEMPTION")] |
| | | public decimal? Fexemption { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¡£ä½æ å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FGEAR_STAND")] |
| | | public string FgearStand { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¸è¯å¤çæ¹æ³ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FNG_HANDLE")] |
| | | public string FngHandle { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 管çç¼å· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FMANAGE_NO")] |
| | | public string FmanageNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è½¬æ¢æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FCOVERT_QTY")] |
| | | public string FcovertQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// çæ¬ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FVERSION")] |
| | | public decimal? Fversion { get; set; } |
| | | |
| | | /// <summary> |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "COMPANY")] |
| | | public string Company { get; set; } |
| | | |
| | | /// <summary> |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FSECOND_RESU")] |
| | | public string FsecondResu { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æå¤§æ½æ£æ° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MAX_CHECK_QTY")] |
| | | public decimal? MaxCheckQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç¹å®ä¿®æ¹æ¯å¦å®¡æ ¸ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MODIFY1_FLAG1")] |
| | | public decimal? Modify1Flag1 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç¹å®ä¿®æ¹å®¡æ ¸äºº |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MODIFY1_BY1")] |
| | | public string Modify1By1 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç¹å®ä¿®æ¹å®¡æ ¸æ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MODIFY1_DATE1")] |
| | | public DateTime? Modify1Date1 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å°æ¹æ¬¡å· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "LOT_NO1")] |
| | | public string LotNo1 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "LOT_NO2")] |
| | | public string LotNo2 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 产ååå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "BOARD_STYLE")] |
| | | public string BoardStyle { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä»»å¡åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "WORK_NO")] |
| | | public string WorkNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å°è´§æ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHA018")] |
| | | public string Dha018 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è¡å· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB002")] |
| | | public decimal? Dhb002 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å°è´§åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB001")] |
| | | public string Dhb001 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¾åºå |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "LIFNR")] |
| | | public string Lifnr { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éææ¹å¼ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "FMRMODE")] |
| | | public string Fmrmode { get; set; } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.Modes; |
| | | |
| | | /// <summary> |
| | | /// éè´å°è´§å表身 |
| | | /// </summary> |
| | | [SugarTable("PURDHB")] |
| | | public class Purdhb |
| | | { |
| | | /// <summary> |
| | | /// åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB001")] |
| | | public string Dhb001 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åºå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB002")] |
| | | public string Dhb002 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB003")] |
| | | public string Dhb003 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æåç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB004")] |
| | | public string Dhb004 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æè§æ ¼ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB005")] |
| | | public string Dhb005 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 交货æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB006")] |
| | | public decimal? Dhb006 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åä½ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB007")] |
| | | public string Dhb007 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä»åº |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB008")] |
| | | public string Dhb008 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä»åºåç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB009")] |
| | | public string Dhb009 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¹å· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB010")] |
| | | public string Dhb010 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¥æºåå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB011")] |
| | | public string Dhb011 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¥æºåºå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB012")] |
| | | public decimal? Dhb012 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¸
ç¹æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB013")] |
| | | public decimal? Dhb013 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å°åæ¥æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB014")] |
| | | public string Dhb014 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éªæ¶æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB015")] |
| | | public decimal? Dhb015 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éªéæ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB016")] |
| | | public decimal? Dhb016 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è¿è´§åä»· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB017")] |
| | | public decimal? Dhb017 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è¿è´§éé¢ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB018")] |
| | | public decimal? Dhb018 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¢æ·æå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB019")] |
| | | public string Dhb019 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨é¨ç¼å· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB020")] |
| | | public string Dhb020 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èµ åæ° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB021")] |
| | | public decimal? Dhb021 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ´æ°ERP |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB022")] |
| | | public string Dhb022 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªç¶æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB023")] |
| | | public string Dhb023 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 夿³¨ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB024")] |
| | | public string Dhb024 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "AUDITING")] |
| | | public decimal? Auditing { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERPéè´åå·ID |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB026")] |
| | | public decimal? Dhb026 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERPéè´åºå·ID |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB027")] |
| | | public decimal? Dhb027 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERPç©æID |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB028")] |
| | | public decimal? Dhb028 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å¾
æ£æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB029")] |
| | | public decimal? Dhb029 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªæ¥æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB030")] |
| | | public string Dhb030 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£éªå |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB031")] |
| | | public string Dhb031 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
¥åºæ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB032")] |
| | | public decimal? Dhb032 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
¥åºäºº |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB033")] |
| | | public string Dhb033 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
¥åºæ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB034")] |
| | | public string Dhb034 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´§æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB035")] |
| | | public decimal? Dhb035 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERPID |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB037")] |
| | | public decimal? Dhb037 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é货人 |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB036")] |
| | | public string Dhb036 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERPååå½å· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB038")] |
| | | public decimal? Dhb038 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERPæºåå
ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB039")] |
| | | public decimal? Dhb039 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERPæºåç±»å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB040")] |
| | | public decimal? Dhb040 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERP订åå
ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB041")] |
| | | public decimal? Dhb041 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èªå¢å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ID")] |
| | | public decimal? Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦æ£éªï¼1ä¸ºå·²æ£ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ISCHECK")] |
| | | public decimal? Ischeck { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä»åº |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DHB042")] |
| | | public string Dhb042 { get; set; } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.Modes; |
| | | |
| | | /// <summary> |
| | | /// éæå头 |
| | | /// </summary> |
| | | [SugarTable("PURDKA")] |
| | | public class Purdka |
| | | { |
| | | /// <summary> |
| | | /// èªå¢å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ID")] |
| | | public decimal? Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建人å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CREATEUSER")] |
| | | public string Createuser { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建æ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CREATETIME")] |
| | | public string Createtime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹æ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MODIFYTIME")] |
| | | public string Modifytime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹äººå |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MODIFYUSER")] |
| | | public string Modifyuser { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "AUDITING")] |
| | | public string Auditing { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´§åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKA001")] |
| | | public string Dka001 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´§ç±»å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKA002")] |
| | | public string Dka002 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´§æ¥æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKA003")] |
| | | public string Dka003 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´§æ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKA004")] |
| | | public string Dka004 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¾åºå |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKA005")] |
| | | public string Dka005 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¾åºååç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKA006")] |
| | | public string Dka006 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨é¨ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKA007")] |
| | | public string Dka007 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸è
|
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKA008")] |
| | | public string Dka008 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸æ¥æ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKA009")] |
| | | public string Dka009 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´§ç¶æï¼0æç©ºä¸ºæªéè´§ï¼1为已éå® |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKA010")] |
| | | public string Dka010 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERPID |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ERPID")] |
| | | public decimal? Erpid { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¿ç®¡åç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKA011")] |
| | | public string Dka011 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éªæ¶åç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKA012")] |
| | | public string Dka012 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦æ¨é红åå
¥åº1-æ¨éï¼0-æªæ¨é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKA013")] |
| | | public decimal? Dka013 { get; set; } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.Modes; |
| | | |
| | | /// <summary> |
| | | /// éæåå表 |
| | | /// </summary> |
| | | [SugarTable("PURDKB")] |
| | | public class Purdkb |
| | | { |
| | | /// <summary> |
| | | /// èªå¢å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ID")] |
| | | public decimal? Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "AUDITING")] |
| | | public string Auditing { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建æ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CREATETIME")] |
| | | public string Createtime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建人å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "CREATEUSER")] |
| | | public string Createuser { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB001")] |
| | | public string Dkb001 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åºå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB002")] |
| | | public string Dkb002 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB003")] |
| | | public string Dkb003 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æåç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB004")] |
| | | public string Dkb004 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æè§æ ¼ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB005")] |
| | | public string Dkb005 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åºéæ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB006")] |
| | | public decimal? Dkb006 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®éæ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB007")] |
| | | public decimal? Dkb007 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å¾
éæ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB008")] |
| | | public decimal? Dkb008 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åä½ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB009")] |
| | | public string Dkb009 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åä»· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB010")] |
| | | public decimal? Dkb010 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éé¢ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB011")] |
| | | public decimal? Dkb011 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¥æºåå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB012")] |
| | | public string Dkb012 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¥æºåºå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB013")] |
| | | public string Dkb013 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¸è¯åç±» |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB014")] |
| | | public string Dkb014 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¸è¯é¡¹ç® |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB015")] |
| | | public string Dkb015 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä»åºç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB016")] |
| | | public string Dkb016 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 夿³¨ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB017")] |
| | | public string Dkb017 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä»åºåç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DKB018")] |
| | | public string Dkb018 { get; set; } |
| | | } |
| | |
| | | Fissuetype = item.FIssueType, |
| | | Fisbatchmanage = item.FIsBatchManage, |
| | | Fpurchaserid = item.FPurchaserId, |
| | | Fpurchaseunitid = item.FPurchaseUnitId, |
| | | Fpurchaseunitid = Convert.ToDecimal(item.FPurchaseUnitId), |
| | | Storeunit = item.FStoreUnitID, |
| | | Saleunit = item.FSaleUnitId, |
| | | Fforbidstatus = item.FForbidStatus, |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using MES.Service.DB; |
| | | using MES.Service.Dto.service; |
| | | using MES.Service.Modes; |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.service.Warehouse; |
| | | |
| | | public class MesInvItemArnDetailManager : Repository<MesInvItemArnDetail> |
| | | { |
| | | //å½å类已ç»ç»§æ¿äº Repository å¢ãå ãæ¥ãæ¹çæ¹æ³ |
| | | |
| | | //è¿éé¢åç代ç ä¸ä¼ç»è¦ç,妿è¦éæ°çæè¯·å é¤ MesInvItemArnDetailManager.cs |
| | | |
| | | public List<MesInvItemArnDetail> GetDetails(WarehouseQuery query) |
| | | { |
| | | // æ¥è¯¢ |
| | | return Db.Queryable<MesInvItemArnDetail, MesItems, MesUnit>( |
| | | (c, t, u) => new object[] |
| | | { |
| | | JoinType.Left, |
| | | c.ItemNo == t.ItemNo && c.Company == t.Company && |
| | | c.Factory == t.Factory, |
| | | JoinType.Left, |
| | | t.Fpurchaseunitid == u.Id && t.Factory == u.Factory && |
| | | t.Company == u.Company |
| | | }) |
| | | .Where((c, t, u) => c.Mid == query.id) |
| | | .Select((c, t, u) => new MesInvItemArnDetail |
| | | { |
| | | CheckRes = c.CheckRes, |
| | | itemModel = t.ItemModel, |
| | | itemName = t.ItemName, |
| | | UrgentFlag = c.UrgentFlag, |
| | | Memo = c.Memo, |
| | | Quantity = c.Quantity, |
| | | SubQty = c.SubQty, |
| | | CheckStates = c.CheckStates, |
| | | WorkLine = c.WorkLine, |
| | | IsdepsIn = c.IsdepsIn, |
| | | OkRkqty = c.OkRkqty, |
| | | Fname = u.Fname, |
| | | EbelnQty = c.EbelnQty, |
| | | ItemNo = c.ItemNo, |
| | | Id = c.Id, |
| | | Ebeln = c.Ebeln |
| | | }) |
| | | .ToList(); |
| | | } |
| | | |
| | | public List<Material> GetMaterial(WarehouseQuery query) |
| | | { |
| | | // æ¥è¯¢ |
| | | var result = Db |
| | | .Queryable<MesQaItemsDetect01, MesInvItemArn, MesInvItemArnDetail, |
| | | MesItems, MesUnit>( |
| | | (a, d, b, c, t) => new object[] |
| | | { |
| | | JoinType.Inner, d.BillNo == a.LotNo, |
| | | JoinType.Inner, d.Id == b.Mid && b.ItemNo == a.ItemNo, |
| | | JoinType.Inner, |
| | | a.ItemNo == c.ItemNo && a.Company == c.Company && |
| | | a.Factory == c.Factory, |
| | | JoinType.Inner, c.Fpurchaseunitid == t.Id |
| | | }) |
| | | .Where((a, d, b, c, t) => a.FngHandle == "éè´§" && |
| | | query.ItemArnDetailIds.Contains(b.Id)) |
| | | .Select((a, d, b, c, t) => new Material |
| | | { |
| | | FmrMode = a.Fmrmode, |
| | | FngDesc = a.FngDesc, |
| | | FsrcEntryId = b.Id, |
| | | FrmRealQty = b.Quantity, |
| | | FmaterialId = a.ItemNo, |
| | | FstockId = d.DepotsCode, |
| | | Funit = t.Fnumber, |
| | | FmesEntryId = a.Id, |
| | | Mid = d.Id |
| | | }) |
| | | .ToList(); |
| | | |
| | | return result; |
| | | } |
| | | |
| | | //var result = db.Ado.GetString($"SELECT f_getseqnextvalue('{sequenceName}') FROM DUAL"); |
| | | |
| | | private readonly PurdhbManager purdhbManager = new(); |
| | | private readonly PurdkaManager purdkaManager = new(); |
| | | private readonly PurdkbManager purdkbManager = new(); |
| | | private readonly MesQaItemsDetect01Manager rohInDataManager = new(); |
| | | |
| | | public bool SetMaterial(Material material) |
| | | { |
| | | return UseTransaction(db => |
| | | { |
| | | var executeCommand = db.Updateable<MesInvItemArnDetail>() |
| | | .SetColumns(s => s.CheckRes == "ä¸åæ ¼") |
| | | .SetColumns(s => s.CheckStates == "éè´§") |
| | | .SetColumns(s => s.Ischeck == 1) |
| | | .Where(s => |
| | | s.Mid == material.Mid && s.ItemNo == material.FmaterialId) |
| | | .ExecuteCommand(); |
| | | |
| | | var mesQaItemsDetect01 = db.Queryable<MesQaItemsDetect01>() |
| | | .Where(a => a.Id == material.FmesEntryId).Single(); |
| | | |
| | | if (mesQaItemsDetect01 == null) |
| | | { |
| | | return 0; |
| | | } |
| | | |
| | | var suppName = db.Queryable<MesSupplier>() |
| | | .Where(b => b.SuppNo == mesQaItemsDetect01.SuppNo) |
| | | .Select<string>(b => b.SuppName).First(); |
| | | |
| | | var CIdt = db.Ado.GetString( |
| | | $"SELECT f_getseqnextvalue('mes_inv_item_ins') FROM DUAL"); |
| | | |
| | | var billNo = db.Ado.GetString( |
| | | $"SELECT getbillcode1('1000', '1000', 'INV_IN_BACK') FROM DUAL"); |
| | | |
| | | // PURDKA |
| | | var purdka = GetPurdka(CIdt, billNo, mesQaItemsDetect01, suppName); |
| | | |
| | | executeCommand += db.Insertable<Purdka>(purdka).ExecuteCommand(); |
| | | |
| | | db.Queryable<Purdhb>() |
| | | .Where(c => c.Dhb001 == mesQaItemsDetect01.LotNo |
| | | && c.Dhb003 == mesQaItemsDetect01.ItemNo) |
| | | .Select(c => new Purdhb |
| | | { |
| | | Dhb002 = c.Dhb002, |
| | | Dhb003 = c.Dhb003, |
| | | Dhb006 = c.Dhb006, |
| | | Dhb007 = c.Dhb007, |
| | | Dhb017 = c.Dhb017, |
| | | Dhb018 = c.Dhb018, |
| | | Dhb001 = c.Dhb001, |
| | | Dhb042 = c.Dhb042 |
| | | }).ToList(); |
| | | |
| | | return executeCommand; |
| | | }) > 3; |
| | | } |
| | | |
| | | private static Purdka GetPurdka(string CIdt, string billNo, |
| | | MesQaItemsDetect01 mesQaItemsDetect01, string suppName) |
| | | { |
| | | var date = DateTime.Now.ToString("yyyy-MM-dd"); |
| | | Purdka purdka = new Purdka(); |
| | | purdka.Id = Convert.ToDecimal(CIdt); |
| | | purdka.Dka001 = billNo; |
| | | purdka.Dka002 = "éè´éè´§"; |
| | | purdka.Dka003 = date; |
| | | purdka.Dka004 = date; |
| | | purdka.Dka005 = mesQaItemsDetect01.SuppNo; |
| | | purdka.Dka006 = suppName; |
| | | purdka.Dka010 = "1"; |
| | | purdka.Dka013 = 0; |
| | | purdka.Createuser = mesQaItemsDetect01.LastupdateBy; |
| | | return purdka; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using MES.Service.DB; |
| | | using MES.Service.Dto.service; |
| | | using MES.Service.Modes; |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.service.Warehouse; |
| | | |
| | | public class MesInvItemArnManager : Repository<MesInvItemArn> |
| | | { |
| | | //å½å类已ç»ç»§æ¿äº Repository å¢ãå ãæ¥ãæ¹çæ¹æ³ |
| | | |
| | | //è¿éé¢åç代ç ä¸ä¼ç»è¦ç,妿è¦éæ°çæè¯·å é¤ MesInvItemArnManager.cs |
| | | public List<MesInvItemArn> GetPagedResults(WarehouseQuery query) |
| | | { |
| | | // æ¥è¯¢å¹¶å页 |
| | | var result = Db.Queryable<MesInvItemArn, MesDepots, MesSupplier>( |
| | | (a, d, f) => new object[] |
| | | { |
| | | JoinType.Left, |
| | | a.DepotsCode == d.DepotCode && d.Factory == a.Factory && |
| | | d.Company == a.Company, |
| | | JoinType.Left, a.SuppNo == f.SuppNo |
| | | }) |
| | | .Where((a, d, f) => a.BillTypeId == 700 |
| | | && a.TransctionNo == "701" |
| | | && a.Factory == "1000" |
| | | && a.Company == "1000" |
| | | && a.IsVisual == 0) |
| | | .WhereIF(query.id != null, (a, d, f) => a.Id == query.id) |
| | | .Select((a, d, f) => new MesInvItemArn |
| | | { |
| | | Status = a.Status, |
| | | SuppNo = a.SuppNo, |
| | | FType = a.FType, |
| | | Fstatus = a.Fstatus, |
| | | Remark = a.Remark, |
| | | Insdate = a.Insdate, |
| | | CheckDate = a.CheckDate, |
| | | DepotsCode = a.DepotsCode, |
| | | Id = a.Id, |
| | | UrgentFlag = a.UrgentFlag, |
| | | CreateBy = a.CreateBy, |
| | | BillNo = a.BillNo, |
| | | PaperBillNo = a.PaperBillNo, |
| | | DepotName = d.DepotName, |
| | | SuppName = f.SuppName |
| | | }).OrderByDescending(a => a.BillNo) |
| | | .ToPageList(query.PageIndex, query.Limit); |
| | | |
| | | return result; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using MES.Service.DB; |
| | | using MES.Service.Modes; |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.service.Warehouse; |
| | | |
| | | public class MesQaItemsDetect01Manager : Repository<MesQaItemsDetect01> |
| | | { |
| | | //å½å类已ç»ç»§æ¿äº Repository å¢ãå ãæ¥ãæ¹çæ¹æ³ |
| | | |
| | | //è¿éé¢åç代ç ä¸ä¼ç»è¦ç,妿è¦éæ°çæè¯·å é¤ MesQaItemsDetect01Manager.cs |
| | | |
| | | |
| | | #region æå¦æ¹æ³ |
| | | |
| | | /// <summary> |
| | | /// ä»å¨æ¹æ³æ»¡è¶³ä¸äºå¤æä¸å¡éæ±ï¼ä¸å¡ä»£ç 请å¨è¿éé¢å®ä¹æ¹æ³ |
| | | /// </summary> |
| | | public void Study() |
| | | { |
| | | /*********æ¥è¯¢*********/ |
| | | |
| | | var data1 = base.GetById(1); //æ ¹æ®IDæ¥è¯¢ |
| | | var data2 = base.GetList(); //æ¥è¯¢ææ |
| | | var data3 = base.GetList(it => 1 == 1); //æ ¹æ®æ¡ä»¶æ¥è¯¢ |
| | | //var data4 = base.GetSingle(it => 1 == 1);//æ ¹æ®æ¡ä»¶æ¥è¯¢ä¸æ¡,妿è¶
è¿ä¸æ¡ä¼æ¥é |
| | | |
| | | var p = new PageModel { PageIndex = 1, PageSize = 2 }; // å页æ¥è¯¢ |
| | | var data5 = base.GetPageList(it => 1 == 1, p); |
| | | Console.Write(p.TotalCount); //è¿åæ»æ° |
| | | |
| | | var data6 = |
| | | base.GetPageList(it => 1 == 1, p, |
| | | it => SqlFunc.GetRandom()); // å页æ¥è¯¢å æåº |
| | | Console.Write(p.TotalCount); //è¿åæ»æ° |
| | | |
| | | var conModels = new List<IConditionalModel>(); //ç»è£
æ¡ä»¶æ¥è¯¢ä½ä¸ºæ¡ä»¶å®ç° å页æ¥è¯¢å æåº |
| | | conModels.Add(new ConditionalModel |
| | | { |
| | | FieldName = typeof(MesQaItemsDetect01).GetProperties()[0].Name, |
| | | ConditionalType = ConditionalType.Equal, FieldValue = "1" |
| | | }); //id=1 |
| | | var data7 = base.GetPageList(conModels, p, it => SqlFunc.GetRandom()); |
| | | |
| | | AsQueryable().Where(x => 1 == 1) |
| | | .ToList(); //æ¯æäºè½¬æ¢æqueryable,æä»¬å¯ä»¥ç¨queryableå®ç°å¤æåè½ |
| | | |
| | | |
| | | /*********æå
¥*********/ |
| | | var insertData = new MesQaItemsDetect01(); //æµè¯åæ° |
| | | var insertArray = new[] { insertData }; |
| | | base.Insert(insertData); //æå
¥ |
| | | base.InsertRange(insertArray); //æ¹éæå
¥ |
| | | var id = base.InsertReturnIdentity(insertData); //æå
¥è¿åèªå¢å |
| | | AsInsertable(insertData).ExecuteCommand(); //æä»¬å¯ä»¥è½¬æ Insertableå®ç°å¤ææå
¥ |
| | | |
| | | |
| | | /*********æ´æ°*********/ |
| | | var updateData = new MesQaItemsDetect01(); //æµè¯åæ° |
| | | var updateArray = new[] { updateData }; //æµè¯åæ° |
| | | base.Update(updateData); //æ ¹æ®å®ä½æ´æ° |
| | | base.UpdateRange(updateArray); //æ¹éæ´æ° |
| | | //base.Update(it => new MesQaItemsDetect01() { ClassName = "a", CreateTime = DateTime.Now }, it => it.id==1);// åªæ´æ°ClassNameååCreateTimeåï¼å
¶å®å䏿´æ°ï¼æ¡ä»¶id=1 |
| | | AsUpdateable(updateData).ExecuteCommand(); //转æUpdateableå¯ä»¥å®ç°å¤æçæå
¥ |
| | | |
| | | |
| | | /*********å é¤*********/ |
| | | var deldata = new MesQaItemsDetect01(); //æµè¯åæ° |
| | | base.Delete(deldata); //æ ¹æ®å®ä½å é¤ |
| | | base.DeleteById(1); //æ ¹æ®ä¸»é®å é¤ |
| | | base.DeleteById(new[] { 1, 2 }); //æ ¹æ®ä¸»é®æ°ç»å é¤ |
| | | base.Delete(it => 1 == 2); //æ ¹æ®æ¡ä»¶å é¤ |
| | | AsDeleteable().Where(it => 1 == 2) |
| | | .ExecuteCommand(); //转æDeleteableå®ç°å¤æçæä½ |
| | | } |
| | | |
| | | #endregion |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using MES.Service.DB; |
| | | using MES.Service.Modes; |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.service.Warehouse; |
| | | |
| | | public class PurdhbManager : Repository<Purdhb> |
| | | { |
| | | //å½å类已ç»ç»§æ¿äº Repository å¢ãå ãæ¥ãæ¹çæ¹æ³ |
| | | |
| | | //è¿éé¢åç代ç ä¸ä¼ç»è¦ç,妿è¦éæ°çæè¯·å é¤ PurdhbManager.cs |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using MES.Service.DB; |
| | | using MES.Service.Modes; |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.service.Warehouse; |
| | | |
| | | public class PurdkaManager : Repository<Purdka> |
| | | { |
| | | //å½å类已ç»ç»§æ¿äº Repository å¢ãå ãæ¥ãæ¹çæ¹æ³ |
| | | |
| | | //è¿éé¢åç代ç ä¸ä¼ç»è¦ç,妿è¦éæ°çæè¯·å é¤ PurdkaManager.cs |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using MES.Service.DB; |
| | | using MES.Service.Modes; |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.service.Warehouse; |
| | | |
| | | public class PurdkbManager : Repository<Purdkb> |
| | | { |
| | | //å½å类已ç»ç»§æ¿äº Repository å¢ãå ãæ¥ãæ¹çæ¹æ³ |
| | | |
| | | //è¿éé¢åç代ç ä¸ä¼ç»è¦ç,妿è¦éæ°çæè¯·å é¤ PurdkbManager.cs |
| | | } |
| | |
| | | ForceCloserid = dto.FForceCloserId, |
| | | CloseType = dto.FCloseType, |
| | | SrcSplitBillno = dto.FSrcSplitBillNo, |
| | | Caa016 = dto.FMemoItem |
| | | Caa016 = dto.FMemoItem, |
| | | Caa018 = Convert.ToDecimal(dto.planId), |
| | | Caa019 = Convert.ToDecimal(dto.planSeq), |
| | | Caa020 = dto.planNum |
| | | }; |
| | | } |
| | | |
ÎļþÃû´Ó MESApplication/Controllers/DemoController.cs ÐÞ¸Ä |
| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.Base; |
| | | |
| | | [Route("api/[controller]")] |
| | | [ApiController] |
ÎļþÃû´Ó MESApplication/Controllers/LoginController.cs ÐÞ¸Ä |
| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.Base; |
| | | |
| | | [Route("api/[controller]")] |
| | | [ApiController] |
ÎļþÃû´Ó MESApplication/Controllers/MessageCenterController.cs ÐÞ¸Ä |
| | |
| | | using MES.Service.util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.Base; |
| | | |
| | | [ApiController] |
| | | [Route("api/[controller]")] |
ÎļþÃû´Ó MESApplication/Controllers/BaseController.cs ÐÞ¸Ä |
| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.QC; |
| | | |
| | | [Route("api/[controller]")] |
| | | [ApiController] |
ÎļþÃû´Ó MESApplication/Controllers/MesLineUserController.cs ÐÞ¸Ä |
| | |
| | | using MES.Service.util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.QC; |
| | | |
| | | [ApiController] |
| | | [Route("api/[controller]")] |
ÎļþÃû´Ó MESApplication/Controllers/RKJController.cs ÐÞ¸Ä |
| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.QC; |
| | | |
| | | [Route("api/[controller]")] |
| | | [ApiController] |
ÎļþÃû´Ó MESApplication/Controllers/SJController.cs ÐÞ¸Ä |
| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.QC; |
| | | |
| | | [Route("api/[controller]")] |
| | | [ApiController] |
ÎļþÃû´Ó MESApplication/Controllers/SuspendController.cs ÐÞ¸Ä |
| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.QC; |
| | | |
| | | [Route("api/[controller]")] |
| | | [ApiController] |
ÎļþÃû´Ó MESApplication/Controllers/XJController.cs ÐÞ¸Ä |
| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.QC; |
| | | |
| | | [Route("api/[controller]")] |
| | | [ApiController] |
copy from MESApplication/Controllers/MesLineUserController.cs
copy to MESApplication/Controllers/Warehouse/MesInvItemArnController.cs
Îļþ´Ó MESApplication/Controllers/MesLineUserController.cs ¸´ÖÆ |
| | |
| | | using System.Dynamic; |
| | | using MES.Service.Dto.service; |
| | | using MES.Service.Modes; |
| | | using MES.Service.service; |
| | | using MES.Service.service.Warehouse; |
| | | using MES.Service.util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.Warehouse; |
| | | |
| | | [ApiController] |
| | | [Route("api/[controller]")] |
| | | public class MesLineUserController : ControllerBase |
| | | public class MesInvItemArnController : ControllerBase |
| | | { |
| | | private readonly MesLineUserManager m = new(); |
| | | private readonly MesInvItemArnManager m = new(); |
| | | |
| | | |
| | | /***è¿å
¥æ¨¡ç管çå¯ä»¥ä¿®æ¹æ¨¡ç***/ |
| | | [HttpPost("GetPageList")] |
| | | public ResponseResult GetPageList(WarehouseQuery query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = m.GetPagedResults(query); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è·åææ |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Insert")] |
| | | public ResponseResult Add([FromBody] MesLineUser data) |
| | | public ResponseResult Add([FromBody] MesInvItemArn data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("InsertReturnIdentity")] |
| | | public ResponseResult InsertReturnIdentity([FromBody] MesLineUser data) |
| | | public ResponseResult InsertReturnIdentity([FromBody] MesInvItemArn data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Update")] |
| | | public ResponseResult Update([FromBody] MesLineUser data) |
| | | public ResponseResult Update([FromBody] MesInvItemArn data) |
| | | { |
| | | try |
| | | { |
copy from MESApplication/Controllers/MessageCenterController.cs
copy to MESApplication/Controllers/Warehouse/MesInvItemArnDetailController.cs
Îļþ´Ó MESApplication/Controllers/MessageCenterController.cs ¸´ÖÆ |
| | |
| | | using System.Dynamic; |
| | | using MES.Service.Dto.service; |
| | | using MES.Service.Modes; |
| | | using MES.Service.service; |
| | | using MES.Service.service.Warehouse; |
| | | using MES.Service.util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.Warehouse; |
| | | |
| | | [ApiController] |
| | | [Route("api/[controller]")] |
| | | public class MessageCenterController : ControllerBase |
| | | public class MesInvItemArnDetailController : ControllerBase |
| | | { |
| | | private readonly MessageCenterManager m = new(); |
| | | private readonly MesInvItemArnDetailManager m = new(); |
| | | |
| | | |
| | | //ResetUpdate |
| | | [HttpPost("ResetUpdate")] |
| | | public ResponseResult ResetUpdate([FromBody] MessageCenter data) |
| | | [HttpPost("GetDetails")] |
| | | public ResponseResult GetDetails(WarehouseQuery query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = m.ResetUpdate(data); |
| | | resultInfos.tbBillList = m.GetDetails(query); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | |
| | | } |
| | | } |
| | | |
| | | [HttpPost("GetByPid")] |
| | | public ResponseResult ResetUpdate(int pid) |
| | | // |
| | | [HttpPost("GetMaterial")] |
| | | public ResponseResult GetMaterial(WarehouseQuery query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = m.GetList(it => it.Pid == pid); |
| | | resultInfos.tbBillList = m.GetMaterial(query); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | [HttpPost("getPushFailed")] |
| | | public ResponseResult getPushFailed(MessageCenter query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = m.getPushFailedPage(query); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | /***è¿å
¥æ¨¡ç管çå¯ä»¥ä¿®æ¹æ¨¡ç***/ |
| | | |
| | | /// <summary> |
| | | /// è·åææ |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Insert")] |
| | | public ResponseResult Add([FromBody] MessageCenter data) |
| | | public ResponseResult Add([FromBody] MesInvItemArnDetail data) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = m.save(data); |
| | | resultInfos.tbBillList = m.Insert(data); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("InsertReturnIdentity")] |
| | | public ResponseResult InsertReturnIdentity([FromBody] MessageCenter data) |
| | | public ResponseResult InsertReturnIdentity( |
| | | [FromBody] MesInvItemArnDetail data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Update")] |
| | | public ResponseResult Update([FromBody] MessageCenter data) |
| | | public ResponseResult Update([FromBody] MesInvItemArnDetail data) |
| | | { |
| | | try |
| | | { |
copy from MESApplication/Controllers/MesLineUserController.cs
copy to MESApplication/Controllers/Warehouse/MesQaItemsDetect01Controller.cs
Îļþ´Ó MESApplication/Controllers/MesLineUserController.cs ¸´ÖÆ |
| | |
| | | using System.Dynamic; |
| | | using MES.Service.Modes; |
| | | using MES.Service.service; |
| | | using MES.Service.service.Warehouse; |
| | | using MES.Service.util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.Warehouse; |
| | | |
| | | [ApiController] |
| | | [Route("api/[controller]")] |
| | | public class MesLineUserController : ControllerBase |
| | | public class MesQaItemsDetect01Controller : ControllerBase |
| | | { |
| | | private readonly MesLineUserManager m = new(); |
| | | private readonly MesQaItemsDetect01Manager m = new(); |
| | | |
| | | |
| | | /***è¿å
¥æ¨¡ç管çå¯ä»¥ä¿®æ¹æ¨¡ç***/ |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Insert")] |
| | | public ResponseResult Add([FromBody] MesLineUser data) |
| | | public ResponseResult Add([FromBody] MesQaItemsDetect01 data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("InsertReturnIdentity")] |
| | | public ResponseResult InsertReturnIdentity([FromBody] MesLineUser data) |
| | | public ResponseResult InsertReturnIdentity( |
| | | [FromBody] MesQaItemsDetect01 data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Update")] |
| | | public ResponseResult Update([FromBody] MesLineUser data) |
| | | public ResponseResult Update([FromBody] MesQaItemsDetect01 data) |
| | | { |
| | | try |
| | | { |
copy from MESApplication/Controllers/MesLineUserController.cs
copy to MESApplication/Controllers/Warehouse/PurdhbController.cs
Îļþ´Ó MESApplication/Controllers/MesLineUserController.cs ¸´ÖÆ |
| | |
| | | using System.Dynamic; |
| | | using MES.Service.Modes; |
| | | using MES.Service.service; |
| | | using MES.Service.service.Warehouse; |
| | | using MES.Service.util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.Warehouse; |
| | | |
| | | [ApiController] |
| | | [Route("api/[controller]")] |
| | | public class MesLineUserController : ControllerBase |
| | | public class PurdhbController : ControllerBase |
| | | { |
| | | private readonly MesLineUserManager m = new(); |
| | | private readonly PurdhbManager m = new(); |
| | | |
| | | |
| | | /***è¿å
¥æ¨¡ç管çå¯ä»¥ä¿®æ¹æ¨¡ç***/ |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Insert")] |
| | | public ResponseResult Add([FromBody] MesLineUser data) |
| | | public ResponseResult Add([FromBody] Purdhb data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("InsertReturnIdentity")] |
| | | public ResponseResult InsertReturnIdentity([FromBody] MesLineUser data) |
| | | public ResponseResult InsertReturnIdentity([FromBody] Purdhb data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Update")] |
| | | public ResponseResult Update([FromBody] MesLineUser data) |
| | | public ResponseResult Update([FromBody] Purdhb data) |
| | | { |
| | | try |
| | | { |
copy from MESApplication/Controllers/MesLineUserController.cs
copy to MESApplication/Controllers/Warehouse/PurdkaController.cs
Îļþ´Ó MESApplication/Controllers/MesLineUserController.cs ¸´ÖÆ |
| | |
| | | using System.Dynamic; |
| | | using MES.Service.Modes; |
| | | using MES.Service.service; |
| | | using MES.Service.service.Warehouse; |
| | | using MES.Service.util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.Warehouse; |
| | | |
| | | [ApiController] |
| | | [Route("api/[controller]")] |
| | | public class MesLineUserController : ControllerBase |
| | | public class PurdkaController : ControllerBase |
| | | { |
| | | private readonly MesLineUserManager m = new(); |
| | | private readonly PurdkaManager m = new(); |
| | | |
| | | |
| | | /***è¿å
¥æ¨¡ç管çå¯ä»¥ä¿®æ¹æ¨¡ç***/ |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Insert")] |
| | | public ResponseResult Add([FromBody] MesLineUser data) |
| | | public ResponseResult Add([FromBody] Purdka data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("InsertReturnIdentity")] |
| | | public ResponseResult InsertReturnIdentity([FromBody] MesLineUser data) |
| | | public ResponseResult InsertReturnIdentity([FromBody] Purdka data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Update")] |
| | | public ResponseResult Update([FromBody] MesLineUser data) |
| | | public ResponseResult Update([FromBody] Purdka data) |
| | | { |
| | | try |
| | | { |
copy from MESApplication/Controllers/MesLineUserController.cs
copy to MESApplication/Controllers/Warehouse/PurdkbController.cs
Îļþ´Ó MESApplication/Controllers/MesLineUserController.cs ¸´ÖÆ |
| | |
| | | using System.Dynamic; |
| | | using MES.Service.Modes; |
| | | using MES.Service.service; |
| | | using MES.Service.service.Warehouse; |
| | | using MES.Service.util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | |
| | | namespace MESApplication.Controllers; |
| | | namespace MESApplication.Controllers.Warehouse; |
| | | |
| | | [ApiController] |
| | | [Route("api/[controller]")] |
| | | public class MesLineUserController : ControllerBase |
| | | public class PurdkbController : ControllerBase |
| | | { |
| | | private readonly MesLineUserManager m = new(); |
| | | private readonly PurdkbManager m = new(); |
| | | |
| | | |
| | | /***è¿å
¥æ¨¡ç管çå¯ä»¥ä¿®æ¹æ¨¡ç***/ |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Insert")] |
| | | public ResponseResult Add([FromBody] MesLineUser data) |
| | | public ResponseResult Add([FromBody] Purdkb data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("InsertReturnIdentity")] |
| | | public ResponseResult InsertReturnIdentity([FromBody] MesLineUser data) |
| | | public ResponseResult InsertReturnIdentity([FromBody] Purdkb data) |
| | | { |
| | | try |
| | | { |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("Update")] |
| | | public ResponseResult Update([FromBody] MesLineUser data) |
| | | public ResponseResult Update([FromBody] Purdkb data) |
| | | { |
| | | try |
| | | { |
| | |
| | | [Route("api/[controller]")] |
| | | public class WomcaaController : ControllerBase |
| | | { |
| | | private readonly WomcaaManager m = new(); |
| | | |
| | | private readonly MessageCenterManager _manager = new(); |
| | | private readonly WomcaaManager m = new(); |
| | | |
| | | private readonly string METHOD = "POST"; |
| | | |
| | |
| | | { |
| | | c.SwaggerDoc("v1", |
| | | new OpenApiInfo |
| | | { Title = "WebFirst.Api", Version = "v1" }); |
| | | { Title = "MESApplication.Api", Version = "v1" }); |
| | | }); |
| | | |
| | | //é
ç½®JSON.NET |
| | |
| | | // 设置å½åçç¥ä¸ºé©¼å³°å½å |
| | | opt.SerializerSettings.ContractResolver = |
| | | new CamelCasePropertyNamesContractResolver(); |
| | | |
| | | //è¿åç»åç«¯çæ¶é´æ ¼å¼å |
| | | opt.SerializerSettings.DateFormatString = "yyyy-MM-dd HH:mm:ss"; |
| | | }); |
| | | |
| | | //é
ç½®å¯ä»¥è·¨å |