添加EBS码盘入库
This commit is contained in:
parent
f6545e1135
commit
81548d4705
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -3,24 +3,24 @@
|
|||
"WorkspaceRootPath": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\service\\stockinservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\service\\stockinservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\dto\\bindingvehicleinreq.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\dto\\bindingvehicleinreq.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\controllers\\stockincontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\controllers\\stockincontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\database\\base\\dao\\tmistockdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\database\\base\\dao\\tmistockdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\database\\base\\dao\\tongoodsshelfdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\database\\base\\dao\\tongoodsshelfdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\dto\\getgoodsdetailresp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\dto\\getgoodsdetailresp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\service\\stockinservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\service\\stockinservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\controllers\\stockincontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\controllers\\stockincontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\database\\base\\dao\\cuxwmspolinesitfdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\database\\base\\dao\\cuxwmspolinesitfdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 992,
|
||||
"SelectedChildIndex": 6,
|
||||
"SelectedChildIndex": 4,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
|
|
@ -50,76 +50,70 @@
|
|||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "GetGoodsDetailResp.cs",
|
||||
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||
"ViewState": "AgIAABMAAAAAAAAAAAA5wDAAAAAbAAAAAAAAAA==",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "TMiStockDao.cs",
|
||||
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\TMiStockDao.cs",
|
||||
"RelativeDocumentMoniker": "WmsMobileServe\\DataBase\\Base\\Dao\\TMiStockDao.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\TMiStockDao.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\DataBase\\Base\\Dao\\TMiStockDao.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAMAAAArAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-11-30T07:49:03.656Z",
|
||||
"WhenOpened": "2024-12-07T06:27:03.685Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"DocumentIndex": 4,
|
||||
"Title": "CuxWmsPoLinesItfDao.cs",
|
||||
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\CuxWmsPoLinesItfDao.cs",
|
||||
"RelativeDocumentMoniker": "WmsMobileServe\\DataBase\\Base\\Dao\\CuxWmsPoLinesItfDao.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\CuxWmsPoLinesItfDao.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\DataBase\\Base\\Dao\\CuxWmsPoLinesItfDao.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAgAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-12-07T06:25:22.606Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "TOnGoodsShelfDao.cs",
|
||||
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||
"RelativeDocumentMoniker": "WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAC8AAAAbAAAAAAAAAA==",
|
||||
"ViewState": "AgIAAAMAAAAAAAAAAAAgwCoAAACTAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-11-30T06:47:03.896Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"DocumentIndex": 2,
|
||||
"Title": "StockInService.cs",
|
||||
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||
"ViewState": "AgIAAJYAAAAAAAAAAAAswLwAAAAAAAAAAAAAAA==",
|
||||
"ViewState": "AgIAANcAAAAAAAAAAAAswAMBAAA4AAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-11-27T03:58:09.272Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"DocumentIndex": 3,
|
||||
"Title": "StockInController.cs",
|
||||
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAACsAAAB4AAAAAAAAAA==",
|
||||
"ViewState": "AgIAABEAAAAAAAAAAAAAwDsAAACBAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-11-27T02:43:33.699Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"DockedWidth": 992,
|
||||
"SelectedChildIndex": 0,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "BindingVehicleInReq.cs",
|
||||
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||
"ViewState": "AgIAAD0AAAAAAAAAAAAwwFwAAAAYAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-11-30T12:13:17.451Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,25 +2,25 @@
|
|||
"Version": 1,
|
||||
"WorkspaceRootPath": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\controllers\\stockincontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\controllers\\stockincontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\service\\stockinservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\service\\stockinservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\dto\\bindingvehicleinreq.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\dto\\bindingvehicleinreq.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\controllers\\stockincontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\controllers\\stockincontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\database\\base\\dao\\tmistockdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\database\\base\\dao\\tmistockdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\database\\base\\dao\\tongoodsshelfdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\database\\base\\dao\\tongoodsshelfdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\dto\\getgoodsdetailresp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\dto\\getgoodsdetailresp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\database\\base\\dao\\cuxwmspolinesitfdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\database\\base\\dao\\cuxwmspolinesitfdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 992,
|
||||
"SelectedChildIndex": 6,
|
||||
"SelectedChildIndex": 8,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
|
|
@ -50,15 +50,28 @@
|
|||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "GetGoodsDetailResp.cs",
|
||||
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||
"ViewState": "AgIAABMAAAAAAAAAAAA5wDAAAAAbAAAAAAAAAA==",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "TMiStockDao.cs",
|
||||
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\TMiStockDao.cs",
|
||||
"RelativeDocumentMoniker": "WmsMobileServe\\DataBase\\Base\\Dao\\TMiStockDao.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\TMiStockDao.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\DataBase\\Base\\Dao\\TMiStockDao.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAMAAAArAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-11-30T07:49:03.656Z",
|
||||
"WhenOpened": "2024-12-07T06:27:03.685Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "CuxWmsPoLinesItfDao.cs",
|
||||
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\CuxWmsPoLinesItfDao.cs",
|
||||
"RelativeDocumentMoniker": "WmsMobileServe\\DataBase\\Base\\Dao\\CuxWmsPoLinesItfDao.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\CuxWmsPoLinesItfDao.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\DataBase\\Base\\Dao\\CuxWmsPoLinesItfDao.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAgAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-12-07T06:25:22.606Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
|
|
@ -69,57 +82,38 @@
|
|||
"RelativeDocumentMoniker": "WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAC8AAAAbAAAAAAAAAA==",
|
||||
"ViewState": "AgIAAAMAAAAAAAAAAAAgwCoAAACTAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-11-30T06:47:03.896Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"DocumentIndex": 1,
|
||||
"Title": "StockInService.cs",
|
||||
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||
"ViewState": "AgIAAIoAAAAAAAAAAAAswK4AAAA3AAAAAAAAAA==",
|
||||
"ViewState": "AgIAANcAAAAAAAAAAAAswAYBAAAEAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-11-27T03:58:09.272Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"DocumentIndex": 0,
|
||||
"Title": "StockInController.cs",
|
||||
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAACsAAAB4AAAAAAAAAA==",
|
||||
"ViewState": "AgIAABEAAAAAAAAAAAAAwBkAAAASAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-11-27T02:43:33.699Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"DockedWidth": 992,
|
||||
"SelectedChildIndex": 0,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "BindingVehicleInReq.cs",
|
||||
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||
"ViewState": "AgIAAD0AAAAAAAAAAAAwwFwAAAAYAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-11-30T12:13:17.451Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ using WmsMobileServe.ApiClient.Mes.Dto;
|
|||
using WmsMobileServe.ApiServe.Mobile.Dto;
|
||||
using WmsMobileServe.ApiServe.Mobile.Service;
|
||||
using WmsMobileServe.ApiServe.Mobile.Vo;
|
||||
using WmsMobileServe.DataBase.Base.Po;
|
||||
|
||||
|
||||
namespace WmsMobileServe.ApiServe.Mobile.Controllers;
|
||||
|
|
@ -37,10 +38,25 @@ public class StockInController(StockInService stockInService) : ControllerBase
|
|||
public MobileApiResponse<GetGoodsDetailResp> GetGoodsDetail([FromQuery] string? boxNo) => stockInService.GetGoodsDetail(boxNo);
|
||||
|
||||
/// <summary>
|
||||
/// 码盘入库
|
||||
/// MES码盘入库
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost("bindingVehicleIn")]
|
||||
public MobileApiResponse BindingVehicleIn([FromBody] BindingVehicleInReq request) => stockInService.BindingVehicleIn(request);
|
||||
|
||||
/// <summary>
|
||||
/// 获取EBS码盘信息
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("getCuxData")]
|
||||
public MobileApiResponse<List<CuxWmsPoLinesItf>> GetCuxData() => stockInService.GetCuxData();
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Ebs码盘入库
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost("bindingVehicleInEbs")]
|
||||
public MobileApiResponse BindingVehicleInEbs([FromBody] BindingVehicleInEbsReq request) => stockInService.BindingVehicleInEbs(request);
|
||||
|
||||
}
|
||||
|
|
|
|||
126
WmsMobileServe/ApiServe/Mobile/Dto/BindingVehicleInEbsReq.cs
Normal file
126
WmsMobileServe/ApiServe/Mobile/Dto/BindingVehicleInEbsReq.cs
Normal file
|
|
@ -0,0 +1,126 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WmsMobileServe.ApiServe.Mobile.Dto;
|
||||
|
||||
public class BindingVehicleInEbsReq
|
||||
{
|
||||
/// <summary>
|
||||
/// 载具号
|
||||
/// </summary>
|
||||
[JsonPropertyName("vehicleNo")]
|
||||
public string? VehicleNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 入库模式
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 1 -- 直接入库
|
||||
/// 2 -- 去往站台
|
||||
/// </remarks>
|
||||
[JsonPropertyName("taskType")]
|
||||
public int? TaskType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 绑定的物料
|
||||
/// </summary>
|
||||
[JsonPropertyName("bindingGoods")]
|
||||
public List<BindingGoodsEbsDetails>? BindingGoodsDetails { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 绑定的物品名称
|
||||
/// </summary>
|
||||
public class BindingGoodsEbsDetails
|
||||
{
|
||||
/// <summary>
|
||||
/// 箱号
|
||||
/// </summary>
|
||||
[JsonPropertyName("boxNo")]
|
||||
public string? BoxNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 每包数量
|
||||
/// </summary>
|
||||
[JsonPropertyName("numPerBox")]
|
||||
public decimal? NumPerBox { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 包装数量
|
||||
/// </summary>
|
||||
[JsonPropertyName("goodsNum")]
|
||||
public decimal? GoodsNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 包数量
|
||||
/// </summary>
|
||||
[JsonPropertyName("picketNum")]
|
||||
public decimal? PacketNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 零包数量
|
||||
/// </summary>
|
||||
[JsonPropertyName("otherNum")]
|
||||
public decimal? OtherNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品编码
|
||||
/// </summary>
|
||||
[JsonPropertyName("goodsId")]
|
||||
public string? GoodsId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 销售订单
|
||||
/// </summary>
|
||||
[JsonPropertyName("saleOrderNo")]
|
||||
public string? SaleOrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 包装层级
|
||||
/// </summary>
|
||||
[JsonPropertyName("packetLevel")]
|
||||
public string? PacketLevel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 周期
|
||||
/// </summary>
|
||||
[JsonPropertyName("cycle")]
|
||||
public string? Cycle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户销售订单
|
||||
/// </summary>
|
||||
[JsonPropertyName("customSaleOrderNo")]
|
||||
public string? CustomSaleOrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子库
|
||||
/// </summary>
|
||||
[JsonPropertyName("minorWarehouseId")]
|
||||
public string? MinorWarehouseId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品描述
|
||||
/// </summary>
|
||||
[JsonPropertyName("goodsDesc")]
|
||||
public string? GoodsDesc { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单头主键
|
||||
/// </summary>
|
||||
[JsonPropertyName("poHeaderId")]
|
||||
public string? PoHeaderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单行主键
|
||||
/// </summary>
|
||||
[JsonPropertyName("poLineId")]
|
||||
public string? PoLineId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发运行主键
|
||||
/// </summary>
|
||||
[JsonPropertyName("lineLocationId")]
|
||||
public string? LineLocationId { get; set; }
|
||||
}
|
||||
|
|
@ -11,7 +11,7 @@ namespace WmsMobileServe.ApiServe.Mobile.Service;
|
|||
|
||||
|
||||
[Component]
|
||||
public class StockInService(MesApiClient mesApiClient, TOnGoodsShelfDao onGoodsShelfDao, TMiStockDao miStockDao)
|
||||
public class StockInService(MesApiClient mesApiClient, TOnGoodsShelfDao onGoodsShelfDao, TMiStockDao miStockDao, CuxWmsPoLinesItfDao cuxWmsPoLinesItfDao)
|
||||
{
|
||||
/// <summary>
|
||||
/// 空载具入库
|
||||
|
|
@ -131,7 +131,11 @@ public class StockInService(MesApiClient mesApiClient, TOnGoodsShelfDao onGoodsS
|
|||
return MobileApiResponse<GetGoodsDetailResp>.Success(data: mesGoodsDetail);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MES 码盘入库
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
public MobileApiResponse BindingVehicleIn(BindingVehicleInReq request)
|
||||
{
|
||||
if (string.IsNullOrEmpty(request.VehicleNo) || request.BindingGoodsDetails == default) return MobileApiResponse.Fail("传入的数据无法识别");
|
||||
|
|
@ -164,7 +168,7 @@ public class StockInService(MesApiClient mesApiClient, TOnGoodsShelfDao onGoodsS
|
|||
StorageAreaId = item.MinorWarehouseId,
|
||||
UpGoodsId = UUIDUtils.GetNewUUID2(),
|
||||
GoodsTypeId = item.PacketLevel,
|
||||
StorageMode = "码盘入库",
|
||||
StorageMode = "MES码盘入库",
|
||||
ProdictionDate = DateTime.Now,
|
||||
Ctl = request.VehicleNo,
|
||||
BarCode = item.BoxNo,
|
||||
|
|
@ -183,6 +187,78 @@ public class StockInService(MesApiClient mesApiClient, TOnGoodsShelfDao onGoodsS
|
|||
var insertResult = onGoodsShelfDao.Insert([.. onGoodsShelves]);
|
||||
if (insertResult > 0) return MobileApiResponse.Success(string.Format("载具:{0} 产生入库任务成功", request.VehicleNo));
|
||||
return MobileApiResponse.Fail(string.Format("载具:{0} 产生入库任务失败,数据无法插入", request.VehicleNo));
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取EBS待码盘信息
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public MobileApiResponse<List<CuxWmsPoLinesItf>> GetCuxData()
|
||||
{
|
||||
List<CuxWmsPoLinesItf>? cuxWmsPoLinesItfs = cuxWmsPoLinesItfDao.SelectWithStatus(0);
|
||||
if (cuxWmsPoLinesItfs == default) return MobileApiResponse<List<CuxWmsPoLinesItf>>.Fail();
|
||||
return MobileApiResponse<List<CuxWmsPoLinesItf>>.Success(data: cuxWmsPoLinesItfs);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Ebs 码盘入库
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
public MobileApiResponse BindingVehicleInEbs(BindingVehicleInEbsReq request)
|
||||
{
|
||||
if (string.IsNullOrEmpty(request.VehicleNo) || request.BindingGoodsDetails == default) return MobileApiResponse.Fail("传入的数据无法识别");
|
||||
if (request.BindingGoodsDetails.Count < 1) return MobileApiResponse.Fail("传入的数据为空");
|
||||
/* 检验载具是否有入库任务 */
|
||||
var stackInRasks = onGoodsShelfDao.SelectWithVehicleNo(request.VehicleNo);
|
||||
if (stackInRasks == default) return MobileApiResponse.Fail("数据服务异常,请稍后再试");
|
||||
if (stackInRasks.Count > 0) return MobileApiResponse.Fail(string.Format("该载具号:{0} 存在入库任务,请核实后再试", request.VehicleNo));
|
||||
/* 检验载具是否在库存中 */
|
||||
var stocks = miStockDao.SelectWithVehicleNo(request.VehicleNo);
|
||||
if (stocks == default) return MobileApiResponse.Fail("数据服务异常,请稍后再试");
|
||||
if (stocks.Count > 0) return MobileApiResponse.Fail(string.Format("该载具号:{0} 仍在库中,请核实后再试", request.VehicleNo));
|
||||
/* 构建入库任务 */
|
||||
List<TOnGoodsShelf> onGoodsShelves = []; // 需要入库的任务
|
||||
List<(string? PoHeaderId, string? PoLineId, string? LineLocationId)> orders = [];
|
||||
foreach (var item in request.BindingGoodsDetails)
|
||||
{
|
||||
onGoodsShelves.Add(new()
|
||||
{
|
||||
LotId = UUIDUtils.GetNewUUID2(),
|
||||
GoodsId = item.GoodsId,
|
||||
ProviderId = item.SaleOrderNo,
|
||||
LocationId = "",
|
||||
StoNum = item.OtherNum,
|
||||
AccNum = item.NumPerBox,
|
||||
ShelfNum = item.GoodsNum,
|
||||
StockNum = item.PacketNum,
|
||||
OnDate = DateTime.Now,
|
||||
OnShelfUserId = "Mobile_Android",
|
||||
StorageId = "-",
|
||||
StorageAreaId = item.MinorWarehouseId,
|
||||
UpGoodsId = UUIDUtils.GetNewUUID2(),
|
||||
GoodsTypeId = item.PacketLevel,
|
||||
StorageMode = "EBS码盘入库",
|
||||
ProdictionDate = DateTime.Now,
|
||||
Ctl = request.VehicleNo,
|
||||
BarCode = item.BoxNo,
|
||||
CustomerId = item.CustomSaleOrderNo,
|
||||
GoodsName = item.GoodsDesc,
|
||||
Status = "0",
|
||||
Unit = "-",
|
||||
TaskType = request.TaskType.ToString(),
|
||||
GoodsMeasureId = item.SaleOrderNo,
|
||||
PackingNum = 1,
|
||||
DamageNum = 1,
|
||||
ScaleUnit = item.Cycle,
|
||||
Remark = ""
|
||||
});
|
||||
orders.Add((item.PoHeaderId, item.PoLineId, item.LineLocationId));
|
||||
}
|
||||
// 插入数据,更新状态
|
||||
var insertResult = onGoodsShelfDao.InsertWithCux(onGoodsShelves, orders);
|
||||
if (insertResult) return MobileApiResponse.Success(string.Format("载具:{0} 产生入库任务成功", request.VehicleNo));
|
||||
return MobileApiResponse.Fail(string.Format("载具:{0} 产生入库任务失败,数据无法插入", request.VehicleNo));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
34
WmsMobileServe/DataBase/Base/Dao/CuxWmsPoLinesItfDao.cs
Normal file
34
WmsMobileServe/DataBase/Base/Dao/CuxWmsPoLinesItfDao.cs
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
using WmsMobileServe.Annotation;
|
||||
using WmsMobileServe.DataBase.Base.Po;
|
||||
|
||||
namespace WmsMobileServe.DataBase.Base.Dao;
|
||||
|
||||
[Component]
|
||||
public class CuxWmsPoLinesItfDao(DataBaseClient client)
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 根据状态查询
|
||||
/// </summary>
|
||||
/// <param name="status"></param>
|
||||
/// <returns></returns>
|
||||
public List<CuxWmsPoLinesItf>? SelectWithStatus(int? status)
|
||||
{
|
||||
if (status == default) return default;
|
||||
try
|
||||
{
|
||||
var sqlFuc = client.Instance().Queryable<CuxWmsPoLinesItf>()
|
||||
.Where(x => x.Status == status);
|
||||
return sqlFuc.ToList();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_ = ex;
|
||||
return default;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -30,6 +30,30 @@ public class TOnGoodsShelfDao(DataBaseClient client)
|
|||
}
|
||||
|
||||
|
||||
public bool InsertWithCux(List<TOnGoodsShelf> onGoodsShelfs, List<(string? PoHeaderId, string? PoLineId, string? LineLocationId)> values)
|
||||
{
|
||||
try
|
||||
{
|
||||
var tranResult = client.Instance().UseTran(() =>
|
||||
{
|
||||
client.Instance().Insertable(onGoodsShelfs).ExecuteCommand(); // 插入任务
|
||||
foreach (var item in values)
|
||||
{
|
||||
client.Instance().Updateable<CuxWmsPoLinesItf>().SetColumns(s => s.Status == 1)
|
||||
.Where(w => w.PoHeaderId.ToString() == item.PoHeaderId && w.PoLineId.ToString() == item.PoLineId && w.LineLocationId.ToString() == item.LineLocationId).ExecuteCommand();
|
||||
}
|
||||
});
|
||||
|
||||
return tranResult.IsSuccess;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_ = ex;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据载具号查询任务
|
||||
/// </summary>
|
||||
|
|
|
|||
186
WmsMobileServe/DataBase/Base/Po/CuxWmsPoLinesItf.cs
Normal file
186
WmsMobileServe/DataBase/Base/Po/CuxWmsPoLinesItf.cs
Normal file
|
|
@ -0,0 +1,186 @@
|
|||
using System.Text.Json.Serialization;
|
||||
using SqlSugar;
|
||||
|
||||
namespace WmsMobileServe.DataBase.Base.Po;
|
||||
|
||||
/// <summary>
|
||||
/// 采购订单表
|
||||
/// </summary>
|
||||
[SugarTable("CUX_WMS_PO_LINES_ITF")]
|
||||
public class CuxWmsPoLinesItf
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单头主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "PO_HEADER_ID")]
|
||||
[JsonPropertyName("poHeaderId")]
|
||||
public int? PoHeaderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单行主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "PO_LINE_ID")]
|
||||
[JsonPropertyName("poLineId")]
|
||||
public int? PoLineId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发运行主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "LINE_LOCATION_ID")]
|
||||
[JsonPropertyName("lineLocationId")]
|
||||
public int? LineLocationId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 收货组织代码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "SHIP_TO_ORGANIZATION_CODE")]
|
||||
[JsonPropertyName("shipToOrganization")]
|
||||
public string? ShipToOrganization { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单行号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "LINE_NUM")]
|
||||
[JsonPropertyName("lineNum")]
|
||||
public int? LineNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料ID
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "ITEM_ID")]
|
||||
[JsonPropertyName("itemId")]
|
||||
public int? ItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料编码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "ITEM_CODE")]
|
||||
[JsonPropertyName("itemCode")]
|
||||
public string? ItemCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料描述
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "ITEM_DESCRIPTION")]
|
||||
[JsonPropertyName("itemDesc")]
|
||||
public string? ItemDesc { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 采购单位
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "PUR_UOM_CODE")]
|
||||
[JsonPropertyName("purUomCode")]
|
||||
public string? PurUomCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 库存单位
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "INV_UOM_CODE")]
|
||||
[JsonPropertyName("invUomCode")]
|
||||
public string? InvUomCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位转换率
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "CONVERSION_RATE")]
|
||||
[JsonPropertyName("conversionRate")]
|
||||
public int? ConversionRate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 型号 测试架用
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "ITEM_TYPE")]
|
||||
[JsonPropertyName("itemType")]
|
||||
public string? ItemType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发运行号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "SHIPMENT_NUM")]
|
||||
[JsonPropertyName("shipmentNum")]
|
||||
public int? ShipmentNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发运行接收人附注
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "NOTE_TO_RECEIVER")]
|
||||
[JsonPropertyName("noteToReceicer")]
|
||||
public string? NoteToReceicer { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分配ID
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "PO_DISTRIBUTION_ID")]
|
||||
[JsonPropertyName("poDistributionId")]
|
||||
public int? PoDistributionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分配行号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "DISTRIBUTION_NUM")]
|
||||
[JsonPropertyName("disTributionNum")]
|
||||
public int? DisTributionNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "QUANTITY")]
|
||||
[JsonPropertyName("quantity")]
|
||||
public int? Quantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 已接收数量
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "QUANTITY_RECEIVED")]
|
||||
[JsonPropertyName("quantityReceives")]
|
||||
public int? QuantityReceives { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 取消数量
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "QUANTITY_CANCELLED")]
|
||||
[JsonPropertyName("quantityCancelled")]
|
||||
public int? QuantityCancelled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 承诺日期
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "PROMISED_DATE")]
|
||||
[JsonPropertyName("promisdeDate")]
|
||||
public DateTime? PromisdeDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 需要日期
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "NEED_BY_DATE")]
|
||||
[JsonPropertyName("needByDate")]
|
||||
public DateTime? NeedByDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后更新日期
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "LAST_UPDATE_DATE")]
|
||||
[JsonPropertyName("lastUpdateDate")]
|
||||
public DateTime? LastUpdateDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "LAST_UPDATED_BY")]
|
||||
[JsonPropertyName("lastUpdatedBy")]
|
||||
public int? LastUpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态(1:未处理;2:错误;3:成功)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "STATUS")]
|
||||
[JsonPropertyName("status")]
|
||||
public int? Status { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -25,6 +25,32 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ContainingType": "WmsMobileServe.ApiServe.Mobile.Controllers.StockInController",
|
||||
"Method": "BindingVehicleInEbs",
|
||||
"RelativePath": "api/mobile/stockIn/bindingVehicleInEbs",
|
||||
"HttpMethod": "POST",
|
||||
"IsController": true,
|
||||
"Order": 0,
|
||||
"Parameters": [
|
||||
{
|
||||
"Name": "request",
|
||||
"Type": "WmsMobileServe.ApiServe.Mobile.Dto.BindingVehicleInEbsReq",
|
||||
"IsRequired": true
|
||||
}
|
||||
],
|
||||
"ReturnTypes": [
|
||||
{
|
||||
"Type": "WmsMobileServe.ApiServe.Mobile.Vo.MobileApiResponse",
|
||||
"MediaTypes": [
|
||||
"text/plain",
|
||||
"application/json",
|
||||
"text/json"
|
||||
],
|
||||
"StatusCode": 200
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ContainingType": "WmsMobileServe.ApiServe.Mobile.Controllers.StockInController",
|
||||
"Method": "EmptyVehicleIn",
|
||||
|
|
@ -51,6 +77,26 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ContainingType": "WmsMobileServe.ApiServe.Mobile.Controllers.StockInController",
|
||||
"Method": "GetCuxData",
|
||||
"RelativePath": "api/mobile/stockIn/getCuxData",
|
||||
"HttpMethod": "GET",
|
||||
"IsController": true,
|
||||
"Order": 0,
|
||||
"Parameters": [],
|
||||
"ReturnTypes": [
|
||||
{
|
||||
"Type": "WmsMobileServe.ApiServe.Mobile.Vo.MobileApiResponse\u00601[[System.Collections.Generic.List\u00601[[WmsMobileServe.DataBase.Base.Po.CuxWmsPoLinesItf, WmsMobileServe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]",
|
||||
"MediaTypes": [
|
||||
"text/plain",
|
||||
"application/json",
|
||||
"text/json"
|
||||
],
|
||||
"StatusCode": 200
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ContainingType": "WmsMobileServe.ApiServe.Mobile.Controllers.StockInController",
|
||||
"Method": "GetGoodsDetail",
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ using System.Reflection;
|
|||
[assembly: System.Reflection.AssemblyCompanyAttribute("WmsMobileServe")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f6545e1135be56f2b1cd78e243b34b393d9edddf")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("WmsMobileServe")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("WmsMobileServe")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
0d9fca2e08bba88f81a075a3317b22a3d4588d4415ac0f5bdddc624faa3f0618
|
||||
e5028a0a2474731aa24a724562c71b46d7cc8ce975d9ff0dd6647025d9b918c4
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
09e18ce3df8a5f636f39f7d5616907c4077590be16b1b57bac66d1c1621798da
|
||||
c1a3b4de8f58a2a15dc85e7ff1c7fa09af737d6828fba1de306ab0098a50a80e
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user