baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)
This commit is contained in:
commit
c2b0e7be0d
6522 files changed
+3530643
No files matched your search
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
+1042
File diff suppressed because it is too large.
Load diff
+41
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"ProjectMap": {
|
||||
"175404a8-1628-46eb-a094-e5948238693c": {
|
||||
"ProjectGuid": "175404a8-1628-46eb-a094-e5948238693c",
|
||||
"DisplayName": "WebApi",
|
||||
"ColorIndex": 0
|
||||
},
|
||||
"f560ea29-e28a-461a-82c4-65bb947f4346": {
|
||||
"ProjectGuid": "f560ea29-e28a-461a-82c4-65bb947f4346",
|
||||
"DisplayName": "Repositories",
|
||||
"ColorIndex": 1
|
||||
},
|
||||
"dc3b4bc8-746a-4ca4-9938-55ebd0d22b3b": {
|
||||
"ProjectGuid": "dc3b4bc8-746a-4ca4-9938-55ebd0d22b3b",
|
||||
"DisplayName": "Services",
|
||||
"ColorIndex": 2
|
||||
},
|
||||
"f8f94b23-7fbd-44d3-91d0-8f8e8f484cf5": {
|
||||
"ProjectGuid": "f8f94b23-7fbd-44d3-91d0-8f8e8f484cf5",
|
||||
"DisplayName": "Domain",
|
||||
"ColorIndex": 3
|
||||
},
|
||||
"a2fe74e1-b743-11d0-ae1a-00a0c90fffc3": {
|
||||
"ProjectGuid": "a2fe74e1-b743-11d0-ae1a-00a0c90fffc3",
|
||||
"DisplayName": "杂项文件",
|
||||
"ColorIndex": -1
|
||||
},
|
||||
"c9682b35-2467-4851-9775-bb46d627fbbb": {
|
||||
"ProjectGuid": "c9682b35-2467-4851-9775-bb46d627fbbb",
|
||||
"DisplayName": "Infrastructure",
|
||||
"ColorIndex": 4
|
||||
},
|
||||
"daecf466-b158-4820-b7c9-7d887ca257ae": {
|
||||
"ProjectGuid": "daecf466-b158-4820-b7c9-7d887ca257ae",
|
||||
"DisplayName": "Shared",
|
||||
"ColorIndex": 5
|
||||
}
|
||||
},
|
||||
"NextColorIndex": 6
|
||||
}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
@@ -0,0 +1,220 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "D:\\Code\\WMS\\APP.O3\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|d:\\code\\wms\\app.o3\\repositories\\wms\\instockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|solutionrelative:repositories\\wms\\instockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|d:\\code\\wms\\app.o3\\repositories\\wms\\outstockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|solutionrelative:repositories\\wms\\outstockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DC3B4BC8-746A-4CA4-9938-55EBD0D22B3B}|Services\\Services.csproj|d:\\code\\wms\\app.o3\\services\\wms\\outstockservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DC3B4BC8-746A-4CA4-9938-55EBD0D22B3B}|Services\\Services.csproj|solutionrelative:services\\wms\\outstockservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{175404A8-1628-46EB-A094-E5948238693C}|WebApi\\WebApi.csproj|d:\\code\\wms\\app.o3\\webapi\\controllers\\wms\\outstockcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{175404A8-1628-46EB-A094-E5948238693C}|WebApi\\WebApi.csproj|solutionrelative:webapi\\controllers\\wms\\outstockcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F8F94B23-7FBD-44D3-91D0-8F8E8F484CF5}|Domain\\Domain.csproj|d:\\code\\wms\\app.o3\\domain\\unitofwork\\wms\\irepositories\\ioutstockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F8F94B23-7FBD-44D3-91D0-8F8E8F484CF5}|Domain\\Domain.csproj|solutionrelative:domain\\unitofwork\\wms\\irepositories\\ioutstockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|d:\\code\\wms\\app.o3\\repositories\\wms\\checkbill.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|solutionrelative:repositories\\wms\\checkbill.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|d:\\code\\wms\\app.o3\\repositories\\wms\\selbillrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|solutionrelative:repositories\\wms\\selbillrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|d:\\code\\wms\\app.o3\\repositories\\repositorybase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|solutionrelative:repositories\\repositorybase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|d:\\code\\wms\\app.o3\\repositories\\wms\\stktransferrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|solutionrelative:repositories\\wms\\stktransferrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{175404A8-1628-46EB-A094-E5948238693C}|WebApi\\WebApi.csproj|d:\\code\\wms\\app.o3\\webapi\\controllers\\wms\\stktransfercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{175404A8-1628-46EB-A094-E5948238693C}|WebApi\\WebApi.csproj|solutionrelative:webapi\\controllers\\wms\\stktransfercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{175404A8-1628-46EB-A094-E5948238693C}|WebApi\\WebApi.csproj|d:\\code\\wms\\app.o3\\webapi\\controllers\\wms\\printservicescontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{175404A8-1628-46EB-A094-E5948238693C}|WebApi\\WebApi.csproj|solutionrelative:webapi\\controllers\\wms\\printservicescontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|d:\\code\\wms\\app.o3\\repositories\\wms\\misinstockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|solutionrelative:repositories\\wms\\misinstockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 217,
|
||||
"SelectedChildIndex": 4,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "OutStockController.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\WebApi\\Controllers\\WMS\\OutStockController.cs",
|
||||
"RelativeDocumentMoniker": "WebApi\\Controllers\\WMS\\OutStockController.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\WebApi\\Controllers\\WMS\\OutStockController.cs",
|
||||
"RelativeToolTip": "WebApi\\Controllers\\WMS\\OutStockController.cs",
|
||||
"ViewState": "AgIAABkAAAAAAAAAAAAkwCUAAABFAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-04-23T07:31:10.861Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "OutStockService.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Services\\WMS\\OutStockService.cs",
|
||||
"RelativeDocumentMoniker": "Services\\WMS\\OutStockService.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Services\\WMS\\OutStockService.cs",
|
||||
"RelativeToolTip": "Services\\WMS\\OutStockService.cs",
|
||||
"ViewState": "AgIAAB4AAAAAAAAAAAAUwDYAAABDAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-04-23T07:31:02.48Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "IOutStockRepository.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Domain\\UnitOfWork\\WMS\\IRepositories\\IOutStockRepository.cs",
|
||||
"RelativeDocumentMoniker": "Domain\\UnitOfWork\\WMS\\IRepositories\\IOutStockRepository.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Domain\\UnitOfWork\\WMS\\IRepositories\\IOutStockRepository.cs",
|
||||
"RelativeToolTip": "Domain\\UnitOfWork\\WMS\\IRepositories\\IOutStockRepository.cs",
|
||||
"ViewState": "AgIAAAUAAAAAAAAAAAAowBUAAAAZAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-04-23T07:30:58.805Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "InStockRepository.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\InStockRepository.cs",
|
||||
"RelativeDocumentMoniker": "Repositories\\WMS\\InStockRepository.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\InStockRepository.cs",
|
||||
"RelativeToolTip": "Repositories\\WMS\\InStockRepository.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAF4AAAAnAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-04-22T01:30:17.335Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "OutStockRepository.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\OutStockRepository.cs",
|
||||
"RelativeDocumentMoniker": "Repositories\\WMS\\OutStockRepository.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\OutStockRepository.cs",
|
||||
"RelativeToolTip": "Repositories\\WMS\\OutStockRepository.cs",
|
||||
"ViewState": "AgIAABUAAAAAAAAAAAAuwCcAAAA3AAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-01-21T02:11:55.385Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 7,
|
||||
"Title": "RepositoryBase.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Repositories\\RepositoryBase.cs",
|
||||
"RelativeDocumentMoniker": "Repositories\\RepositoryBase.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Repositories\\RepositoryBase.cs",
|
||||
"RelativeToolTip": "Repositories\\RepositoryBase.cs",
|
||||
"ViewState": "AgIAADoAAAAAAAAAAAAAwLgAAAAvAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-02-05T07:09:03.028Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 8,
|
||||
"Title": "STKTransferRepository.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\STKTransferRepository.cs",
|
||||
"RelativeDocumentMoniker": "Repositories\\WMS\\STKTransferRepository.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\STKTransferRepository.cs",
|
||||
"RelativeToolTip": "Repositories\\WMS\\STKTransferRepository.cs",
|
||||
"ViewState": "AgIAAGYAAAAAAAAAAAAkwLkCAABIAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-01-21T07:28:19.903Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 10,
|
||||
"Title": "PrintServicesController.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\WebApi\\Controllers\\WMS\\PrintServicesController.cs",
|
||||
"RelativeDocumentMoniker": "WebApi\\Controllers\\WMS\\PrintServicesController.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\WebApi\\Controllers\\WMS\\PrintServicesController.cs",
|
||||
"RelativeToolTip": "WebApi\\Controllers\\WMS\\PrintServicesController.cs",
|
||||
"ViewState": "AgIAABgAAAAAAAAAAAAYwCAAAAA5AAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-08-21T02:39:44.72Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"Title": "CheckBill.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\CheckBill.cs",
|
||||
"RelativeDocumentMoniker": "Repositories\\WMS\\CheckBill.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\CheckBill.cs",
|
||||
"RelativeToolTip": "Repositories\\WMS\\CheckBill.cs",
|
||||
"ViewState": "AgIAADIBAAAAAAAAAAAqwJwBAABiAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-04-08T06:24:13.694Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"Title": "SelBillRepository.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\SelBillRepository.cs",
|
||||
"RelativeDocumentMoniker": "Repositories\\WMS\\SelBillRepository.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\SelBillRepository.cs",
|
||||
"RelativeToolTip": "Repositories\\WMS\\SelBillRepository.cs",
|
||||
"ViewState": "AgIAAGUAAAAAAAAAAAAYwGoAAABuAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-08-18T08:33:55.233Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 9,
|
||||
"Title": "STKTransferController.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\WebApi\\Controllers\\WMS\\STKTransferController.cs",
|
||||
"RelativeDocumentMoniker": "WebApi\\Controllers\\WMS\\STKTransferController.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\WebApi\\Controllers\\WMS\\STKTransferController.cs",
|
||||
"RelativeToolTip": "WebApi\\Controllers\\WMS\\STKTransferController.cs",
|
||||
"ViewState": "AgIAAA8AAAAAAAAAAIA1wB0AAAAQAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-01-22T02:04:48.871Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 11,
|
||||
"Title": "MisInStockRepository.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\MisInStockRepository.cs",
|
||||
"RelativeDocumentMoniker": "Repositories\\WMS\\MisInStockRepository.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\MisInStockRepository.cs",
|
||||
"RelativeToolTip": "Repositories\\WMS\\MisInStockRepository.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAL0BAAAhAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-18T01:30:55.258Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
+205
@@ -0,0 +1,205 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "D:\\Code\\WMS\\APP.O3\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{175404A8-1628-46EB-A094-E5948238693C}|WebApi\\WebApi.csproj|d:\\code\\wms\\app.o3\\webapi\\controllers\\wms\\outstockcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{175404A8-1628-46EB-A094-E5948238693C}|WebApi\\WebApi.csproj|solutionrelative:webapi\\controllers\\wms\\outstockcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|d:\\code\\wms\\app.o3\\repositories\\wms\\outstockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|solutionrelative:repositories\\wms\\outstockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{DC3B4BC8-746A-4CA4-9938-55EBD0D22B3B}|Services\\Services.csproj|d:\\code\\wms\\app.o3\\services\\wms\\outstockservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{DC3B4BC8-746A-4CA4-9938-55EBD0D22B3B}|Services\\Services.csproj|solutionrelative:services\\wms\\outstockservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F8F94B23-7FBD-44D3-91D0-8F8E8F484CF5}|Domain\\Domain.csproj|d:\\code\\wms\\app.o3\\domain\\unitofwork\\wms\\irepositories\\ioutstockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F8F94B23-7FBD-44D3-91D0-8F8E8F484CF5}|Domain\\Domain.csproj|solutionrelative:domain\\unitofwork\\wms\\irepositories\\ioutstockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|d:\\code\\wms\\app.o3\\repositories\\wms\\checkbill.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|solutionrelative:repositories\\wms\\checkbill.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|d:\\code\\wms\\app.o3\\repositories\\wms\\selbillrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|solutionrelative:repositories\\wms\\selbillrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|d:\\code\\wms\\app.o3\\repositories\\repositorybase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|solutionrelative:repositories\\repositorybase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|d:\\code\\wms\\app.o3\\repositories\\wms\\stktransferrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|solutionrelative:repositories\\wms\\stktransferrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{175404A8-1628-46EB-A094-E5948238693C}|WebApi\\WebApi.csproj|d:\\code\\wms\\app.o3\\webapi\\controllers\\wms\\stktransfercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{175404A8-1628-46EB-A094-E5948238693C}|WebApi\\WebApi.csproj|solutionrelative:webapi\\controllers\\wms\\stktransfercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{175404A8-1628-46EB-A094-E5948238693C}|WebApi\\WebApi.csproj|d:\\code\\wms\\app.o3\\webapi\\controllers\\wms\\printservicescontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{175404A8-1628-46EB-A094-E5948238693C}|WebApi\\WebApi.csproj|solutionrelative:webapi\\controllers\\wms\\printservicescontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|d:\\code\\wms\\app.o3\\repositories\\wms\\misinstockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{F560EA29-E28A-461A-82C4-65BB947F4346}|Repositories\\Repositories.csproj|solutionrelative:repositories\\wms\\misinstockrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 217,
|
||||
"SelectedChildIndex": 2,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "OutStockController.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\WebApi\\Controllers\\WMS\\OutStockController.cs",
|
||||
"RelativeDocumentMoniker": "WebApi\\Controllers\\WMS\\OutStockController.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\WebApi\\Controllers\\WMS\\OutStockController.cs",
|
||||
"RelativeToolTip": "WebApi\\Controllers\\WMS\\OutStockController.cs",
|
||||
"ViewState": "AgIAABkAAAAAAAAAAAAkwCEAAAByAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-04-23T07:31:10.861Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "OutStockService.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Services\\WMS\\OutStockService.cs",
|
||||
"RelativeDocumentMoniker": "Services\\WMS\\OutStockService.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Services\\WMS\\OutStockService.cs",
|
||||
"RelativeToolTip": "Services\\WMS\\OutStockService.cs",
|
||||
"ViewState": "AgIAAB4AAAAAAAAAAAAUwDYAAABDAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-04-23T07:31:02.48Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "IOutStockRepository.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Domain\\UnitOfWork\\WMS\\IRepositories\\IOutStockRepository.cs",
|
||||
"RelativeDocumentMoniker": "Domain\\UnitOfWork\\WMS\\IRepositories\\IOutStockRepository.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Domain\\UnitOfWork\\WMS\\IRepositories\\IOutStockRepository.cs",
|
||||
"RelativeToolTip": "Domain\\UnitOfWork\\WMS\\IRepositories\\IOutStockRepository.cs",
|
||||
"ViewState": "AgIAAAUAAAAAAAAAAAAowBUAAAAZAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-04-23T07:30:58.805Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "OutStockRepository.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\OutStockRepository.cs",
|
||||
"RelativeDocumentMoniker": "Repositories\\WMS\\OutStockRepository.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\OutStockRepository.cs",
|
||||
"RelativeToolTip": "Repositories\\WMS\\OutStockRepository.cs",
|
||||
"ViewState": "AgIAABUAAAAAAAAAAAAuwCcAAAA3AAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-01-21T02:11:55.385Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"Title": "RepositoryBase.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Repositories\\RepositoryBase.cs",
|
||||
"RelativeDocumentMoniker": "Repositories\\RepositoryBase.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Repositories\\RepositoryBase.cs",
|
||||
"RelativeToolTip": "Repositories\\RepositoryBase.cs",
|
||||
"ViewState": "AgIAADoAAAAAAAAAAAAAwLgAAAAvAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-02-05T07:09:03.028Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 7,
|
||||
"Title": "STKTransferRepository.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\STKTransferRepository.cs",
|
||||
"RelativeDocumentMoniker": "Repositories\\WMS\\STKTransferRepository.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\STKTransferRepository.cs",
|
||||
"RelativeToolTip": "Repositories\\WMS\\STKTransferRepository.cs",
|
||||
"ViewState": "AgIAAGYAAAAAAAAAAAAkwLkCAABIAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-01-21T07:28:19.903Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 9,
|
||||
"Title": "PrintServicesController.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\WebApi\\Controllers\\WMS\\PrintServicesController.cs",
|
||||
"RelativeDocumentMoniker": "WebApi\\Controllers\\WMS\\PrintServicesController.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\WebApi\\Controllers\\WMS\\PrintServicesController.cs",
|
||||
"RelativeToolTip": "WebApi\\Controllers\\WMS\\PrintServicesController.cs",
|
||||
"ViewState": "AgIAABgAAAAAAAAAAAAYwCAAAAA5AAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-08-21T02:39:44.72Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "CheckBill.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\CheckBill.cs",
|
||||
"RelativeDocumentMoniker": "Repositories\\WMS\\CheckBill.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\CheckBill.cs",
|
||||
"RelativeToolTip": "Repositories\\WMS\\CheckBill.cs",
|
||||
"ViewState": "AgIAADIBAAAAAAAAAAAqwJwBAABiAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-04-08T06:24:13.694Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"Title": "SelBillRepository.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\SelBillRepository.cs",
|
||||
"RelativeDocumentMoniker": "Repositories\\WMS\\SelBillRepository.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\SelBillRepository.cs",
|
||||
"RelativeToolTip": "Repositories\\WMS\\SelBillRepository.cs",
|
||||
"ViewState": "AgIAAGUAAAAAAAAAAAAYwGoAAABuAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-08-18T08:33:55.233Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 8,
|
||||
"Title": "STKTransferController.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\WebApi\\Controllers\\WMS\\STKTransferController.cs",
|
||||
"RelativeDocumentMoniker": "WebApi\\Controllers\\WMS\\STKTransferController.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\WebApi\\Controllers\\WMS\\STKTransferController.cs",
|
||||
"RelativeToolTip": "WebApi\\Controllers\\WMS\\STKTransferController.cs",
|
||||
"ViewState": "AgIAAA8AAAAAAAAAAIA1wB0AAAAQAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2026-01-22T02:04:48.871Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 10,
|
||||
"Title": "MisInStockRepository.cs",
|
||||
"DocumentMoniker": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\MisInStockRepository.cs",
|
||||
"RelativeDocumentMoniker": "Repositories\\WMS\\MisInStockRepository.cs",
|
||||
"ToolTip": "D:\\Code\\WMS\\APP.O3\\Repositories\\WMS\\MisInStockRepository.cs",
|
||||
"RelativeToolTip": "Repositories\\WMS\\MisInStockRepository.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAL0BAAAhAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-09-18T01:30:55.258Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Vendored
BIN
Binary file not shown.
Executable
+25
@@ -0,0 +1,25 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<AssemblyName>Opsoft.NetCore.O3App.Domain</AssemblyName>
|
||||
<RootNamespace>Opsoft.NetCore.O3App.Domain</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Shared\Shared.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="UnitOfWork\FixedAssets\" />
|
||||
<Folder Include="UnitOfWork\Public\Model\" />
|
||||
<Folder Include="UnitOfWork\QualityTest\" />
|
||||
<Folder Include="UnitOfWork\TVBoard\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Opsoft.Data" Version="0.1.0" />
|
||||
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.11.1" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ShowAllFiles>false</ShowAllFiles>
|
||||
<_LastSelectedProfileId>D:\OPSOFT_O3%28ODK6.0%29\01 Source\APP.O3\Domain\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Enums.CommonEnum
|
||||
{
|
||||
public enum tagParType
|
||||
{
|
||||
Number,
|
||||
String,
|
||||
Logic
|
||||
}
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Enums.ReportCodes
|
||||
{
|
||||
public enum BasicTableName
|
||||
{
|
||||
/// <summary>
|
||||
/// 部门
|
||||
/// </summary>
|
||||
[Description("部门")]
|
||||
T_BD_DEPARTMENT = 1,
|
||||
/// <summary>
|
||||
/// 供应商
|
||||
/// </summary>
|
||||
[Description("供应商")]
|
||||
T_BD_SUPPLIER = 2,
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
[Description("客户")]
|
||||
T_BD_CUSTOMER = 3,
|
||||
|
||||
/// <summary>
|
||||
/// 设备
|
||||
/// </summary>
|
||||
[Description("设备")]
|
||||
T_ENG_EQUIPMENT = 4,
|
||||
/// <summary>
|
||||
/// 工序
|
||||
/// </summary>
|
||||
[Description("工序")]
|
||||
T_SFC_PROCESS = 5,
|
||||
/// <summary>
|
||||
/// 资源
|
||||
/// </summary>
|
||||
[Description("资源")]
|
||||
T_ENG_RESOURCE = 6,
|
||||
/// <summary>
|
||||
/// 工作中心
|
||||
/// </summary>
|
||||
[Description("工作中心")]
|
||||
T_ENG_WORKCENTER = 7,
|
||||
/// <summary>
|
||||
/// 班组
|
||||
/// </summary>
|
||||
[Description("班组")]
|
||||
T_PRD_SHIFTGROUP = 8,
|
||||
/// <summary>
|
||||
/// 班次
|
||||
/// </summary>
|
||||
[Description("班次")]
|
||||
T_ENG_SHIFTSLICE = 9,
|
||||
/// <summary>
|
||||
/// 职员
|
||||
/// </summary>
|
||||
[Description("职员")]
|
||||
T_HR_EMPINFO = 10,
|
||||
/// <summary>
|
||||
/// 不良原因
|
||||
/// </summary>
|
||||
[Description("不良原因")]
|
||||
T_QM_BADREASONS = 11,
|
||||
/// <summary>
|
||||
/// 模具
|
||||
/// </summary>
|
||||
[Description("模具")]
|
||||
T_ENG_MOULDANDJIG = 12,
|
||||
/// <summary>
|
||||
/// 工序暂停
|
||||
/// </summary>
|
||||
[Description("工序暂停")]
|
||||
T_SFC_SUSPENDREASONS = 13,
|
||||
/// <summary>
|
||||
/// 安灯预警事件
|
||||
/// </summary>
|
||||
[Description("安灯预警事件")]
|
||||
T_AS_WARNINGEVENT = 14,
|
||||
/// <summary>
|
||||
/// 成品物料
|
||||
/// </summary>
|
||||
[Description("成品BOM")]
|
||||
T_BD_BOM = 15,
|
||||
/// <summary>
|
||||
/// 辅助资料
|
||||
/// </summary>
|
||||
[Description("辅助资料")]
|
||||
T_BAS_ASSISTANTDATA = 16,
|
||||
}
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
public enum StatusCodes
|
||||
{
|
||||
/// <summary>
|
||||
/// 成功
|
||||
/// </summary>
|
||||
[Description("成功")]
|
||||
OK = 200,
|
||||
/// <summary>
|
||||
/// 无效输入参数
|
||||
/// </summary>
|
||||
[Description("无效输入参数")]
|
||||
InvalidInputs = 400,
|
||||
/// <summary>
|
||||
/// 内部服务错误
|
||||
/// </summary>
|
||||
[Description("内部服务错误")]
|
||||
InternalServerError = 500
|
||||
}
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Enums.StkAppInspect
|
||||
{
|
||||
public enum InspectReasonEnum
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存状态转换
|
||||
/// </summary>
|
||||
StockStatusConvert = 1,
|
||||
/// <summary>
|
||||
/// 形态转换
|
||||
/// </summary>
|
||||
StatusConvert = 2,
|
||||
/// <summary>
|
||||
/// 批号调整
|
||||
/// </summary>
|
||||
LotAdjust = 3,
|
||||
/// <summary>
|
||||
/// 其他出库
|
||||
/// </summary>
|
||||
MisDelivery = 4,
|
||||
}
|
||||
}
|
||||
Executable
+46
@@ -0,0 +1,46 @@
|
||||
using Opsoft.NetCore.O3App.Shared;
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// O3App异常
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class O3AppException : Exception
|
||||
{
|
||||
public object Additional { get; set; }
|
||||
public int StatusCode { get; }
|
||||
public O3AppException() { }
|
||||
public O3AppException(string message) : base(message) { }
|
||||
public O3AppException(string message, Exception inner) : base(message, inner) { }
|
||||
protected O3AppException(SerializationInfo info, StreamingContext context) : base(info, context) { }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the O3AppException class with a specified StatusCode enum and a error message.
|
||||
/// </summary>
|
||||
public O3AppException(string message, int statusCode) : base(message)
|
||||
{
|
||||
StatusCode = statusCode;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the O3AppException class with a specified StatusCode enum and a error message and a reference to the inner exception that is the cause of this exception.
|
||||
/// </summary>
|
||||
public O3AppException(string message, int statusCode, Exception inner) : base(message, inner)
|
||||
{
|
||||
StatusCode = statusCode;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the O3AppException class with a specified StatusCode enum.
|
||||
/// </summary>
|
||||
public O3AppException(Enum @enum) : this(@enum.GetDesc(), @enum.ToInt32()) { }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the System.Exception class with a StatusCode eunm and a reference to the inner exception that is the cause of this exception.
|
||||
/// </summary>
|
||||
public O3AppException(Enum @enum, Exception inner) : this(@enum.GetDesc(), @enum.ToInt32(), inner) { }
|
||||
}
|
||||
}
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Interface
|
||||
{
|
||||
public class BaseEntity
|
||||
{
|
||||
}
|
||||
}
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Opsoft.NetCore.O3App.Domain.Models;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Interface
|
||||
{
|
||||
public interface IRepository<TEntity> where TEntity : BaseEntity
|
||||
{
|
||||
public LoginRequest LoginInfo { get; set; }
|
||||
|
||||
public string GetBillType(string sourceType, string sourceBillTypeID, List<BOS_SELBILL> selBillList, out string billTypeID);
|
||||
}
|
||||
}
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Interface
|
||||
{
|
||||
public interface IService<T> where T : BaseEntity
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Models;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides access to the <see cref="TraceContext"/> for the current request.
|
||||
/// </summary>
|
||||
public interface ITraceContextAccessor
|
||||
{
|
||||
/// <summary>
|
||||
/// The <see cref="TraceContext"/> for the current request.
|
||||
/// </summary>
|
||||
TraceContext TraceContext { get; set; }
|
||||
|
||||
long TransactionSequence { get; }
|
||||
}
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Models;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// A factory for creating and disposing an instance of a <see cref="TraceContext"/>.
|
||||
/// </summary>
|
||||
public interface ITraceContextFactory
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="TraceContext"/> with the Trace ID set for the current request.
|
||||
/// </summary>
|
||||
/// <param name="traceId">The Trace ID to set on the context.</param>
|
||||
/// /// <param name="header">The header used to hold the Trace ID.</param>
|
||||
/// <returns>A new instance of a <see cref="TraceContext"/>.</returns>
|
||||
TraceContext Create(string traceId, string header);
|
||||
|
||||
/// <summary>
|
||||
/// Disposes of the <see cref="TraceContext"/> for the current request.
|
||||
/// </summary>
|
||||
void Dispose();
|
||||
}
|
||||
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Models.ESOP
|
||||
{
|
||||
public class ESopStationResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// ESOP工位内码
|
||||
/// </summary>
|
||||
public string StationId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ESOP工位编码
|
||||
/// </summary>
|
||||
public string StationNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ESOP工位名称
|
||||
/// </summary>
|
||||
public string StationName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源信息
|
||||
/// </summary>
|
||||
public List<SourceResopnse> SourceInfoList { get; set; }
|
||||
}
|
||||
|
||||
public class SourceResopnse
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源内码
|
||||
/// </summary>
|
||||
public string SourceId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源编码
|
||||
/// </summary>
|
||||
public string SourceNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源名称
|
||||
/// </summary>
|
||||
public string SourceName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序识别码信息
|
||||
/// </summary>
|
||||
public List<ProcessCodeInfo> ProcessCodeInfoList { get; set; }
|
||||
}
|
||||
|
||||
public class ProcessCodeInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 工序识别码
|
||||
/// </summary>
|
||||
public string ProcessCode { get; set; }
|
||||
}
|
||||
}
|
||||
Executable
+84
@@ -0,0 +1,84 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Models
|
||||
{
|
||||
public class LoginRequest
|
||||
{
|
||||
public LoginRequest()
|
||||
{
|
||||
OperatorIdDic = new Dictionary<string, string>();
|
||||
}
|
||||
public string UserName { get; set; }
|
||||
|
||||
[Required]
|
||||
[JsonProperty("userid")]
|
||||
public string UserID { get; set; }
|
||||
|
||||
[JsonProperty("password")]
|
||||
public string Password { get; set; }
|
||||
|
||||
[Required]
|
||||
[JsonProperty("dbaias")]
|
||||
public string DBAias { get; set; }
|
||||
|
||||
public string PAType { get; set; }
|
||||
|
||||
public string PAID { get; set; }
|
||||
|
||||
public string errtype { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否为智能终端
|
||||
/// </summary>
|
||||
public bool IsPDA { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 电子邮箱
|
||||
/// </summary>
|
||||
public string EMAIL { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ERP中的用户帐号
|
||||
/// </summary>
|
||||
public string ERPID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否系统默认
|
||||
/// </summary>
|
||||
public bool ISDEFAULT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户ID卡
|
||||
/// </summary>
|
||||
public string CARDID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 域用户名
|
||||
/// </summary>
|
||||
public string DOMAINUSER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后一次登录时间
|
||||
/// </summary>
|
||||
public string LASTLOGINTIME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后修改密码的时间
|
||||
/// </summary>
|
||||
public string LASTCPTIME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户照片
|
||||
/// </summary>
|
||||
public byte[] PHOTO { get; set; }
|
||||
/// <summary>
|
||||
/// 是否为人脸登录
|
||||
/// </summary>
|
||||
public bool IsFaceLogin { get; set; }
|
||||
|
||||
public Dictionary<string, string> OperatorIdDic { get; set; }
|
||||
}
|
||||
}
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Models
|
||||
{
|
||||
public class Member : EntityInt64
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public DateTime BirtyDay { get; set; }
|
||||
}
|
||||
}
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Models
|
||||
{
|
||||
public class PageResult<T> : List<T>
|
||||
{
|
||||
public int TotalCount { get; set; }
|
||||
}
|
||||
}
|
||||
Executable
+16
@@ -0,0 +1,16 @@
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Models
|
||||
{
|
||||
public abstract class PagingQueryRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// 分页开始下标
|
||||
/// </summary>
|
||||
public int? Start { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 每页条数
|
||||
/// </summary>
|
||||
public int? Length { get; set; }
|
||||
}
|
||||
}
|
||||
Executable
+26
@@ -0,0 +1,26 @@
|
||||
using Opsoft.NetCore.O3App.Shared;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Models
|
||||
{
|
||||
public class TraceContext
|
||||
{
|
||||
public TraceContext(string traceId, string header = TraceIdOptions.DefaultHeader)
|
||||
{
|
||||
Guard.ArgumentNotNullOrWhiteSpace(traceId, nameof(traceId));
|
||||
Guard.ArgumentNotNullOrWhiteSpace(header, nameof(header));
|
||||
|
||||
TraceId = traceId;
|
||||
Header = header;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The Trace ID which is applicable to the current request.
|
||||
/// </summary>
|
||||
public string TraceId { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The name of the header from which the Trace ID is read/written.
|
||||
/// </summary>
|
||||
public string Header { get; }
|
||||
}
|
||||
}
|
||||
Executable
+30
@@ -0,0 +1,30 @@
|
||||
using Opsoft.NetCore.O3App.Shared;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
public static class TraceUtility
|
||||
{
|
||||
public static string GenerateAgentId()
|
||||
{
|
||||
var host = IpHelper.GetIPv4().NullOrEmpty2Default("127.0.0.1");
|
||||
if (!IPAddress.TryParse(host, out var address))
|
||||
{
|
||||
address = Dns.GetHostEntry(host).AddressList.First();
|
||||
}
|
||||
var hashValue = new MD5CryptoServiceProvider().ComputeHash(Encoding.Default.GetBytes(Shared.Constants.AppNames.Self));
|
||||
var builder = new StringBuilder();
|
||||
for (int index = 0; index < hashValue.Length; index++)
|
||||
{
|
||||
builder.Append(hashValue[index].ToString("x").PadLeft(1, '0'));
|
||||
}
|
||||
var appName = builder.ToString();
|
||||
var start = appName.Length > 6 ? appName.Length - 6 : 0;
|
||||
var length = appName.Length < 6 ? appName.Length : 6;
|
||||
return $"{address}_{appName.Substring(start, length)}";
|
||||
}
|
||||
}
|
||||
}
|
||||
+161
@@ -0,0 +1,161 @@
|
||||
using Opsoft.NetCore.O3App.Shared;
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Models
|
||||
{
|
||||
public struct TransactionId : IEquatable<TransactionId>
|
||||
{
|
||||
#region Private fields
|
||||
private const char _delimiter = '^';
|
||||
private readonly int _hashCode;
|
||||
private string _description;
|
||||
private readonly byte[] _bytes;
|
||||
#endregion
|
||||
|
||||
#region Public properties
|
||||
/// <summary>
|
||||
/// Gets the current runing agent's identifier.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// The current runing agent's identifier.
|
||||
/// </value>
|
||||
public string AgentId { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the agent start timestamp.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// The agent start timestamp.
|
||||
/// </value>
|
||||
public long AgentStartTimestamp { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the sequence.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// The sequence.
|
||||
/// </value>
|
||||
public long Sequence { get; }
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TransactionId"/> struct.
|
||||
/// </summary>
|
||||
/// <param name="agentId">The agent identifier.</param>
|
||||
/// <param name="agentStartTimestamp">The agent start time.</param>
|
||||
/// <param name="sequence">The sequence.</param>
|
||||
public TransactionId(string agentId, long agentStartTimestamp, long sequence)
|
||||
{
|
||||
AgentId = agentId ?? throw new ArgumentNullException(nameof(agentId));
|
||||
AgentStartTimestamp = agentStartTimestamp;
|
||||
Sequence = sequence;
|
||||
_description = $"{AgentId}{_delimiter}{agentStartTimestamp}{_delimiter}{Sequence}";
|
||||
_hashCode = _description.GetHashCode();
|
||||
_bytes = _description.ToArray().Select(it => (byte)it).ToArray();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Public methods
|
||||
/// <summary>
|
||||
/// Tries to parse the specified string and generate a <see cref="TransactionId"/>.
|
||||
/// </summary>
|
||||
/// <param name="payload">The transaction ID payload to parse.</param>
|
||||
/// <param name="transactionId">The generated <see cref="TransactionId"/></param>
|
||||
/// <returns>A <see cref="bool"/> value indicating whether to successfully parse the payload.</returns>
|
||||
public static bool TryParse(string payload, out TransactionId transactionId)
|
||||
{
|
||||
Guard.ArgumentNotNullOrWhiteSpace(payload, nameof(payload));
|
||||
transactionId = default(TransactionId);
|
||||
var split = payload.Split(_delimiter);
|
||||
if (split.Length != 3)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
var agentId = split[0];
|
||||
long timestamp;
|
||||
long sequence;
|
||||
if (!long.TryParse(split[1], out timestamp))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!long.TryParse(split[2], out sequence))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
transactionId = new TransactionId(agentId, timestamp, sequence);
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Indicates whether the current object is equal to another object of the same type.
|
||||
/// </summary>
|
||||
/// <param name="other">An object to compare with this object.</param>
|
||||
/// <returns>
|
||||
/// true if the current object is equal to the <paramref name="other">other</paramref> parameter; otherwise, false.
|
||||
/// </returns>
|
||||
public bool Equals(TransactionId other) => AgentId == other.AgentId && AgentStartTimestamp == other.AgentStartTimestamp && Sequence == other.Sequence;
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the specified <see cref="System.Object" />, is equal to this instance.
|
||||
/// </summary>
|
||||
/// <param name="obj">The <see cref="System.Object" /> to compare with this instance.</param>
|
||||
/// <returns>
|
||||
/// <c>true</c> if the specified <see cref="System.Object" /> is equal to this instance; otherwise, <c>false</c>.
|
||||
/// </returns>
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (obj is TransactionId)
|
||||
{
|
||||
return Equals((TransactionId)obj);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a hash code for this instance.
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
|
||||
/// </returns>
|
||||
public override int GetHashCode() => _hashCode;
|
||||
|
||||
/// <summary>
|
||||
/// Returns a <see cref="string" /> that represents this instance.
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// A <see cref="string" /> that represents this instance.
|
||||
/// </returns>
|
||||
public override string ToString() => _description;
|
||||
|
||||
/// <summary>
|
||||
/// Implements the operator ==.
|
||||
/// </summary>
|
||||
/// <param name="transactionId1">The transaction id1.</param>
|
||||
/// <param name="transactionId2">The transaction id2.</param>
|
||||
/// <returns>
|
||||
/// The result of the operator.
|
||||
/// </returns>
|
||||
public static bool operator ==(TransactionId transactionId1, TransactionId transactionId2) => transactionId1.Equals(transactionId2);
|
||||
|
||||
/// <summary>
|
||||
/// Implements the operator !=.
|
||||
/// </summary>
|
||||
/// <param name="transactionId1">The transaction id1.</param>
|
||||
/// <param name="transactionId2">The transaction id2.</param>
|
||||
/// <returns>
|
||||
/// The result of the operator.
|
||||
/// </returns>
|
||||
public static bool operator !=(TransactionId transactionId1, TransactionId transactionId2) => !transactionId1.Equals(transactionId2);
|
||||
|
||||
/// <summary>
|
||||
/// To the bytes.
|
||||
/// </summary>
|
||||
/// <returns>Serialize to byte array.</returns>
|
||||
public byte[] ToBytes() => _bytes;
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Executable
+16
@@ -0,0 +1,16 @@
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Models
|
||||
{
|
||||
public class User
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户名
|
||||
/// </summary>
|
||||
public string UserName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工号
|
||||
/// </summary>
|
||||
public string WorkId { get; set; }
|
||||
}
|
||||
}
|
||||
Executable
+168
@@ -0,0 +1,168 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Enums.CommonEnum;
|
||||
using Opsoft.NetCore.O3App.Shared;
|
||||
using System;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.Models
|
||||
{
|
||||
public class tagParas
|
||||
{
|
||||
private object _ParDefaultValue;
|
||||
|
||||
private string _ParName;
|
||||
|
||||
private tagParType _ParType = tagParType.String;
|
||||
|
||||
private object _ParValue;
|
||||
|
||||
public object ParValue
|
||||
{
|
||||
get
|
||||
{
|
||||
return _ParValue;
|
||||
}
|
||||
set
|
||||
{
|
||||
_ParValue = value;
|
||||
}
|
||||
}
|
||||
|
||||
public object DefaultValue
|
||||
{
|
||||
get
|
||||
{
|
||||
return _ParDefaultValue;
|
||||
}
|
||||
set
|
||||
{
|
||||
_ParDefaultValue = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return _ParName;
|
||||
}
|
||||
set
|
||||
{
|
||||
_ParName = value;
|
||||
}
|
||||
}
|
||||
|
||||
public tagParType pType
|
||||
{
|
||||
get
|
||||
{
|
||||
return _ParType;
|
||||
}
|
||||
set
|
||||
{
|
||||
_ParType = value;
|
||||
}
|
||||
}
|
||||
|
||||
public tagParas()
|
||||
{
|
||||
}
|
||||
|
||||
public string ToUpperEx(string pf)
|
||||
{
|
||||
if (Convert.IsDBNull(pf) || pf == null)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(pf))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
return pf.ToUpper();
|
||||
}
|
||||
catch
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
public tagParas(string KeyList)
|
||||
{
|
||||
_ParDefaultValue = null;
|
||||
string[] array = KeyList.Split(',');
|
||||
for (int i = 0; i < array.GetLength(0); i++)
|
||||
{
|
||||
switch (i)
|
||||
{
|
||||
case 0:
|
||||
_ParName = array[i].ToString();
|
||||
break;
|
||||
case 1:
|
||||
switch (ToUpperEx(array[i]))
|
||||
{
|
||||
case "C":
|
||||
_ParType = tagParType.String;
|
||||
break;
|
||||
case "N":
|
||||
_ParType = tagParType.Number;
|
||||
break;
|
||||
case "L":
|
||||
_ParType = tagParType.Logic;
|
||||
break;
|
||||
default:
|
||||
_ParType = tagParType.String;
|
||||
break;
|
||||
}
|
||||
|
||||
switch (_ParType)
|
||||
{
|
||||
case tagParType.Logic:
|
||||
_ParDefaultValue = false;
|
||||
_ParValue = false;
|
||||
break;
|
||||
case tagParType.String:
|
||||
_ParDefaultValue = "";
|
||||
_ParValue = "";
|
||||
break;
|
||||
case tagParType.Number:
|
||||
_ParDefaultValue = 0;
|
||||
_ParValue = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
break;
|
||||
case 2:
|
||||
switch (_ParType)
|
||||
{
|
||||
case tagParType.Logic:
|
||||
if (ToUpperEx(array[i]) == "Y" || ToUpperEx(array[i]) == "TRUE")
|
||||
{
|
||||
_ParDefaultValue = true;
|
||||
_ParValue = true;
|
||||
}
|
||||
else if (ToUpperEx(array[i]) == "N" || ToUpperEx(array[i]) == "FALSE")
|
||||
{
|
||||
_ParDefaultValue = false;
|
||||
_ParValue = false;
|
||||
}
|
||||
|
||||
break;
|
||||
case tagParType.String:
|
||||
_ParDefaultValue = array[i];
|
||||
_ParValue = array[i];
|
||||
break;
|
||||
case tagParType.Number:
|
||||
_ParDefaultValue = array[i].ToDecimal();
|
||||
_ParValue = array[i].ToDecimal();
|
||||
break;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
public abstract class Entity
|
||||
{
|
||||
}
|
||||
}
|
||||
Executable
+65
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
public abstract class EntityInt64 : Entity, IEntity<Int64>
|
||||
{
|
||||
public long Id { get; set; }
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
return Equals(obj as EntityInt64);
|
||||
}
|
||||
|
||||
private static bool IsTransient(EntityInt64 obj)
|
||||
{
|
||||
return obj != null && Equals(obj.Id, default(long));
|
||||
}
|
||||
|
||||
private Type GetUnproxiedType()
|
||||
{
|
||||
return GetType();
|
||||
}
|
||||
|
||||
public virtual bool Equals(EntityInt64 other)
|
||||
{
|
||||
if (other == null)
|
||||
return false;
|
||||
|
||||
if (ReferenceEquals(this, other))
|
||||
return true;
|
||||
|
||||
if (!IsTransient(this) &&
|
||||
!IsTransient(other) &&
|
||||
Equals(Id, other.Id))
|
||||
{
|
||||
var otherType = other.GetUnproxiedType();
|
||||
var thisType = GetUnproxiedType();
|
||||
return thisType.IsAssignableFrom(otherType) ||
|
||||
otherType.IsAssignableFrom(thisType);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
if (Equals(Id, default(long)))
|
||||
{
|
||||
return base.GetHashCode();
|
||||
}
|
||||
|
||||
return Id.GetHashCode();
|
||||
}
|
||||
|
||||
public static bool operator ==(EntityInt64 x, EntityInt64 y)
|
||||
{
|
||||
return Equals(x, y);
|
||||
}
|
||||
|
||||
public static bool operator !=(EntityInt64 x, EntityInt64 y)
|
||||
{
|
||||
return !(x == y);
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+20
@@ -0,0 +1,20 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
public interface IBaseRepository<TEntity> where TEntity : Entity
|
||||
{
|
||||
Task<long> AddAsync(TEntity entity);
|
||||
Task<long> AddAsync(IEnumerable<TEntity> entities);
|
||||
Task<bool> UpdateAsync(TEntity entity);
|
||||
Task<bool> UpdateAsync(IEnumerable<TEntity> entities);
|
||||
Task<List<TEntity>> QueryAsync(string sql, object parameters = null, bool isReadDb = false);
|
||||
Task<PageResult<TEntity>> PagingQueryAsync<TPagingRequest>(string sql, TPagingRequest parameters, bool isReadDb = false) where TPagingRequest : PagingQueryRequest;
|
||||
Task<TEntity> QueryFirstAsync(string sql, object parameters = null, bool isReadDb = false);
|
||||
Task<T> ExecuteScalarAsync<T>(string sql, object parameters = null);
|
||||
Task<TEntity> GetByIdAsync(long id);
|
||||
Task<TEntity> GetByGuidAsync(string guid);
|
||||
}
|
||||
}
|
||||
Executable
+31
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
public interface IDapperContext : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates if transaction is started.
|
||||
/// </summary>
|
||||
bool IsTransactionStarted { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Begins transaction.
|
||||
/// </summary>
|
||||
void BeginTransaction();
|
||||
|
||||
/// <summary>
|
||||
/// Commits operations of transaction.
|
||||
/// </summary>
|
||||
void Commit();
|
||||
|
||||
/// <summary>
|
||||
/// Rollbacks operations of transaction.
|
||||
/// </summary>
|
||||
void Rollback();
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
public interface IDapperContextFactory
|
||||
{
|
||||
IDapperContext Create(string dbName = Shared.Constants.DatabaseNames.Default, bool @readonly = false);
|
||||
}
|
||||
}
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
using System;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
public interface IDapperUnitOfWork : IDisposable
|
||||
{
|
||||
void SaveChanges();
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
public interface IDapperUnitOfWorkFactory
|
||||
{
|
||||
IDapperUnitOfWork Create(string dbName = Shared.Constants.DatabaseNames.Default, bool @readonly = false);
|
||||
}
|
||||
}
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
public interface IEntity<T>
|
||||
{
|
||||
T Id { get; set; }
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
using Opsoft.NetCore.O3App.Shared;
|
||||
using System;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
public abstract class ServiceBase<TService>
|
||||
where TService : ServiceBase<TService>
|
||||
{
|
||||
protected ServiceBase(IMapper mapper, ILogger<TService> logger)
|
||||
{
|
||||
Mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
|
||||
Logger = logger ?? throw new ArgumentNullException(nameof(logger));
|
||||
}
|
||||
|
||||
public IMapper Mapper { get; }
|
||||
public ILogger Logger { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using Opsoft.NetCore.O3App.Shared;
|
||||
using System;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain
|
||||
{
|
||||
public abstract class ServiceBase<TService, TRepository> : ServiceBase<TService>
|
||||
where TService : ServiceBase<TService>
|
||||
where TRepository : class
|
||||
{
|
||||
protected ServiceBase(TRepository repository, IMapper mapper, ILogger<TService> logger)
|
||||
: base(mapper, logger)
|
||||
{
|
||||
Repository = repository ?? throw new ArgumentNullException(nameof(repository));
|
||||
}
|
||||
public TRepository Repository { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.Assets.Model;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Assets.IRepositories
|
||||
{
|
||||
/// <summary>
|
||||
/// 资产盘点
|
||||
/// </summary>
|
||||
public interface IAssetInventoryRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取盘点方案信息及暂存信息
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GetAssetInventory>> GetAssetInventory(Inventory SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取资产信息
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GetAssets>> GetAssets(Inventory SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 资产盘点暂存
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> TemporaryStorage(Temporary SData);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.Assets.Model;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Assets.IServices
|
||||
{
|
||||
/// <summary>
|
||||
/// 资产盘点
|
||||
/// </summary>
|
||||
public interface IAssetInventoryService :IService<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取盘点方案信息及暂存信息
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GetAssetInventory>> GetAssetInventory(Inventory SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取资产信息
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GetAssets>> GetAssets(Inventory SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 资产盘点暂存
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> TemporaryStorage(Temporary SData);
|
||||
}
|
||||
}
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Assets.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取资产盘点方案信息及暂存信息
|
||||
/// </summary>
|
||||
public class GetAssetInventory
|
||||
{
|
||||
/// <summary>
|
||||
/// 暂存盘点内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 暂存盘点编号
|
||||
/// </summary>
|
||||
public string FBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 暂存盘点名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 暂存列表
|
||||
/// </summary>
|
||||
public object Deposit { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取资产信息
|
||||
/// </summary>
|
||||
public class GetAssets
|
||||
{
|
||||
/// <summary>
|
||||
/// 资产内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资产编号
|
||||
/// </summary>
|
||||
public string FNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资产名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资产规格型号
|
||||
/// </summary>
|
||||
public string FMODEL { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资产数量
|
||||
/// </summary>
|
||||
public decimal FNUM { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取资产盘点方案信息及暂存信息传参
|
||||
/// </summary>
|
||||
public class Inventory
|
||||
{
|
||||
/// <summary>
|
||||
/// 资产盘点编码
|
||||
/// </summary>
|
||||
public string FBILLNO { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 资产盘点暂存传参
|
||||
/// </summary>
|
||||
public class Temporary
|
||||
{
|
||||
/// <summary>
|
||||
/// 1=暂存/2=提交
|
||||
/// </summary>
|
||||
public int basicType { get; set; }
|
||||
/// <summary>
|
||||
/// 资产盘点方案内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
/// <summary>
|
||||
/// 资产盘点方案编码
|
||||
/// </summary>
|
||||
public string FBILLNO { get; set; }
|
||||
/// <summary>
|
||||
/// 暂存的资产信息
|
||||
/// </summary>
|
||||
public List<Dictionary<string, object>> SData { get; set; }
|
||||
}
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.IRepositories
|
||||
{
|
||||
public interface IAssetinventoryRepository : IRepository<IAS_ASSETSINVENTORY>
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 新闻列表显示方法
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<IAS_ASSETSINVENTORY>> GetAllAssetinventoryUnRead(object data);
|
||||
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.IRepositories
|
||||
{
|
||||
public interface IPersonalMessageRepository : IRepository<SYS_PRESONINFO>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取当前登录用户的所有消息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<GetPersonalMessage> GetAllPersonalMessage(object data);
|
||||
|
||||
/// <summary>
|
||||
/// 更新个人消息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<GetPersonalMessage> UpdatePersonalMessage(UpdatePersonalMeaasge data);
|
||||
|
||||
/// <summary>
|
||||
/// 获取个人未读的消息数量
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetCountUnReadPersonalMessage(object data);
|
||||
}
|
||||
}
|
||||
+91
@@ -0,0 +1,91 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.Models;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.IRepositories
|
||||
{
|
||||
public interface ISysConfigDataRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取APK版本
|
||||
/// </summary>
|
||||
/// <param name="apkType"></param>
|
||||
/// <returns></returns>
|
||||
Task<TBdAppversion> GetLatestAppInfo(int apkType);
|
||||
/// <summary>
|
||||
/// 获取轮播图信息
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<List<T_BAS_IMAGEPAGEVIEW>> GetAllImagePageView();
|
||||
/// <summary>
|
||||
/// 获取仓库信息
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<List<T_BD_STOCK>> GetAllStock(Dictionary<string, string> paramaters);
|
||||
/// <summary>
|
||||
///获取仓位信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<BD_FLEXVALUES>> GetAllFlexValues(string finterid);
|
||||
/// <summary>
|
||||
/// 获取个人日志信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<T_BD_PERSONDIARY>> GetAllPersonDiary(string dateTime, string finterID);
|
||||
/// <summary>
|
||||
///编辑个人日志信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<T_BD_PERSONDIARY>> UpDatePersonDiary(T_BD_PERSONDIARY diary);
|
||||
/// <summary>
|
||||
///删除个人日志信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> DeletePersonDiary(string interId);
|
||||
/// <summary>
|
||||
/// 获取个人事项
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<List<T_BD_PERSONALMATTERS>> GetAllPersonalMatters();
|
||||
/// <summary>
|
||||
///编辑个人事项返回
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<T_BD_PERSONALMATTERS>> UpdatePersonalMatters(JObject data);
|
||||
|
||||
/// <summary>
|
||||
/// 查询基本信息底层接口
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<Basic>> QueryALLResource(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 获取用户信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<LoginRequest> QueryLoginUserInfo(string useNO);
|
||||
|
||||
/// <summary>
|
||||
/// 获取系统打印参数
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<SysPrintData>> SysPrintIteam(SysPrintIteam data);
|
||||
/// <summary>
|
||||
/// 获取蓝牙打印机信息
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<List<Basic>> SysPrintBluetooth(SysPrintIteam data);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.IRepositories
|
||||
{
|
||||
public interface IUserMessageRepository : IRepository<SYS_USERMESSAGE>
|
||||
{
|
||||
Task<List<UserMessages>> GetAllUserMessage(object data);
|
||||
|
||||
Task<List<GetAllUserMessageUnReadCountDto>> GetAllUserMessageUnReadCount();
|
||||
|
||||
Task<List<UserMessages>> GetAllUserMessageRead(object data);
|
||||
|
||||
|
||||
Task<List<UpdateMessageStatus>> UpdateMessageStatus(object data);
|
||||
|
||||
/// <summary>
|
||||
/// 新闻列表显示方法
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<SYS_NEWS>> GetAllNewsBulletinUnRead(object data);
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取新闻公告
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<EnAnnou>> Notice(GetNotice SData);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.IServices
|
||||
{
|
||||
public interface IAssetinventoryServices : IService<IAS_ASSETSINVENTORY>
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 盘点方案列表显示方法
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<IAS_ASSETSINVENTORY>> GetAllAssetinventoryUnRead(object data);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.IServices
|
||||
{
|
||||
public interface IPersonalMessageService : IService<SYS_PRESONINFO>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取所有个人消息
|
||||
/// </summary>
|
||||
/// <param name="v"></param>
|
||||
/// <returns></returns>
|
||||
Task<GetPersonalMessage> GetAllPersonalMessage(object data);
|
||||
|
||||
/// <summary>
|
||||
/// 更新个人消息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<GetPersonalMessage> UpdatePersonalMessage(UpdatePersonalMeaasge data);
|
||||
|
||||
/// <summary>
|
||||
/// 获取个人未读的消息数量
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetCountUnReadPersonalMessage(object data);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.Models;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.IServices
|
||||
{
|
||||
public interface ISysConfigDataService : IService<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取APK版本
|
||||
/// </summary>
|
||||
/// <param name="apkType"></param>
|
||||
/// <returns></returns>
|
||||
Task<TBdAppversion> GetLatestAppInfo(int apkType);
|
||||
|
||||
/// <summary>
|
||||
/// 获取轮播图
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<List<T_BAS_IMAGEPAGEVIEW>> GetAllImagePageView();
|
||||
|
||||
/// <summary>
|
||||
/// 获取仓库信息
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<List<T_BD_STOCK>> GetAllStock(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 获取仓位信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<BD_FLEXVALUES>> GetAllFlexValues(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 获取个人日志信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<T_BD_PERSONDIARY>> GetAllPersonDiary(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 编辑个人日志信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<T_BD_PERSONDIARY>> UpdatePersonDiary(T_BD_PERSONDIARY diary);
|
||||
|
||||
/// <summary>
|
||||
///删除个人日志信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> DeletePersonDiary(string interId);
|
||||
|
||||
/// <summary>
|
||||
/// 获取个人事项
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<List<T_BD_PERSONALMATTERS>> GetAllPersonalMatters();
|
||||
|
||||
/// <summary>
|
||||
/// 编辑个人事项返回
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<T_BD_PERSONALMATTERS>> UpdatePersonalMatters(JObject data);
|
||||
|
||||
/// <summary>
|
||||
/// 查询基本信息服务接口
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<Basic>> QueryALLResource(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 获取用户信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<LoginRequest> QueryLoginUserInfo(string useNO);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 上传图片
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> Upload(IFormFile file);
|
||||
|
||||
/// <summary>
|
||||
/// 获取系统打印参数
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<SysPrintData>> SysPrintIteam(SysPrintIteam SData);
|
||||
|
||||
/// <summary>
|
||||
/// 获取全部蓝牙打印机设置
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<List<Basic>> SysPrintBluetooth(SysPrintIteam SData);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.IServices
|
||||
{
|
||||
public interface IUserMessageService : IService<SYS_USERMESSAGE>
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<UserMessages>> GetAllUserMessage(object data);
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<List<GetAllUserMessageUnReadCountDto>> GetAllUserMessageUnReadCount();
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<UserMessages>> GetAllUserMessageRead(object data);
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<UpdateMessageStatus>> UpdateMessageStatus(object data);
|
||||
|
||||
/// <summary>
|
||||
/// 新闻列表显示方法
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<SYS_NEWS>> GetAllNewsBulletinUnRead(object data);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取新闻公告
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<EnAnnou>> Notice(GetNotice SData);
|
||||
}
|
||||
|
||||
}
|
||||
+155
@@ -0,0 +1,155 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using System;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 企业新闻公告
|
||||
/// </summary>
|
||||
public class SYS_ENANNOU : BaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public SYS_ENANNOU()
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// 公告主题
|
||||
/// </summary>
|
||||
public System.String FNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 公告内容
|
||||
/// </summary>
|
||||
public System.String FCONTENT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否外部公开
|
||||
/// </summary>
|
||||
public System.Boolean FISOUTALL { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否内部公开
|
||||
/// </summary>
|
||||
public System.Boolean FISINALL { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public System.String FNOTE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 新闻公告图片
|
||||
/// </summary>
|
||||
public System.String FIMAGE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发布人
|
||||
/// </summary>
|
||||
public System.String FCHECKERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发布日期
|
||||
/// </summary>
|
||||
public System.DateTime? FCHECKDATE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FGROUPID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Int32 FSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Boolean FDELETED { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FCOMPANYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.DateTime? C_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String C_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.DateTime? M_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String M_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String UID { get; set; }
|
||||
}
|
||||
public class SYS_NEWS :BaseEntity
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
public System.String FBILLNO { get; set; }
|
||||
/// <summary>
|
||||
/// 公告主题
|
||||
/// </summary>
|
||||
public System.String FNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 公告内容
|
||||
/// </summary>
|
||||
public System.String FCONTENT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否外部公开
|
||||
/// </summary>
|
||||
public System.Boolean FISOUTALL { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否内部公开
|
||||
/// </summary>
|
||||
public System.Boolean FISINALL { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public System.Int32 FSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发布日期
|
||||
/// </summary>
|
||||
public System.DateTime? FCHECKDATE { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 创建日期
|
||||
/// </summary>
|
||||
public System.DateTime? C_YMD { get; set; }
|
||||
}
|
||||
}
|
||||
+144
@@ -0,0 +1,144 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model
|
||||
{
|
||||
public class SYS_PRESONINFO : BaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 消息编号
|
||||
/// </summary>
|
||||
public string FNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息推送名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息内容
|
||||
/// </summary>
|
||||
public string FCONTENT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息状态 1=未送达;2=未读;3=已读;4=删除
|
||||
/// </summary>
|
||||
public string FINFOSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 收件人
|
||||
/// </summary>
|
||||
public string FRECEIVER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FGROUPID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Int32 FSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Boolean FDELETED { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FCOMPANYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.DateTime? C_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String C_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.DateTime? M_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String M_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String UID { get; set; }
|
||||
}
|
||||
|
||||
public class PersonalMessage
|
||||
{
|
||||
/// <summary>
|
||||
/// ID
|
||||
/// </summary>
|
||||
// public string FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息编号
|
||||
/// </summary>
|
||||
public string FNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息推送名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息内容
|
||||
/// </summary>
|
||||
public string FCONTENT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息状态 1=未送达;2=未读;3=已读;4=删除
|
||||
/// /// </summary>
|
||||
public string FINFOSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 收件人
|
||||
/// </summary>
|
||||
public string FRECEIVERNAME { get; set; }
|
||||
|
||||
public DateTime? C_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息类型 1=安灯呼叫
|
||||
/// </summary>
|
||||
public string FMESSAGETYPE { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class GetPersonalMessage
|
||||
{
|
||||
public int SumCount { get; set; }
|
||||
public List<PersonalMessage> Data { get; set; }
|
||||
}
|
||||
|
||||
public class UpdatePersonalMeaasge
|
||||
{
|
||||
/// <summary>
|
||||
/// 消息编号
|
||||
/// </summary>
|
||||
public List<string> MeaasgeNoList { get; set; }
|
||||
/// <summary>
|
||||
/// 操作: 3=已读;4=删除
|
||||
/// </summary>
|
||||
public int Type { get; set; }
|
||||
}
|
||||
}
|
||||
+309
@@ -0,0 +1,309 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using System;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户间信息档
|
||||
/// </summary>
|
||||
public class SYS_USERMESSAGE : BaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public SYS_USERMESSAGE()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FTITLE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FINFO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.DateTime? FDATETIME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FFROMUSER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FTOUSER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Boolean FISALL { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Boolean FISSYS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FGROUPID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Int32 FSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Boolean FDELETED { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FCOMPANYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.DateTime? C_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String C_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.DateTime? M_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String M_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String UID { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 信息是否已读标记档
|
||||
/// </summary>
|
||||
public class SYS_USERFILTERINFOENTRY : BaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public SYS_USERFILTERINFOENTRY()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FCLASSTYPEID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FUSER_ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FLEFT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FDATAMEMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FFILTEROPERATOR { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FVALUE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FRIGHT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FLOGICALOPERATORS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Boolean FISCASESENSITIVE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Int32 FENTRYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FDETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Int32 FSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Boolean FDELETED { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FCOMPANYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.DateTime? C_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String C_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.DateTime? M_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String M_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String UID { get; set; }
|
||||
}
|
||||
|
||||
public class UserMessages
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FTITLE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FINFO { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FFROMUSER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime FDATETIME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public bool FISREAD { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 返回未读消息数量
|
||||
/// </summary>
|
||||
public class GetAllUserMessageUnReadCountDto
|
||||
{
|
||||
public int NUM { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///消息标记为已读
|
||||
/// </summary>
|
||||
public class UpdateMessageStatus
|
||||
{
|
||||
public string FReadUser { get; set; }
|
||||
public string FDateTime { get; set; }
|
||||
public string FIsRead { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 新闻公告传参
|
||||
/// </summary>
|
||||
public class GetNotice
|
||||
{
|
||||
/// <summary>
|
||||
/// 类别信息
|
||||
/// </summary>
|
||||
public string basicType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 页码
|
||||
/// </summary>
|
||||
public string pageSize { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 显示数量
|
||||
/// </summary>
|
||||
public string pageIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// UID
|
||||
/// </summary>
|
||||
public string UID { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 新闻公告
|
||||
/// </summary>
|
||||
public class EnAnnou
|
||||
{
|
||||
public string FImageBase64 { get; set; }
|
||||
public string FName { get; set; }
|
||||
public string FContent { get; set; }
|
||||
public string C_YMD { get; set; }
|
||||
public string UID { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
+163
@@ -0,0 +1,163 @@
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// APK 版本信息
|
||||
/// </summary>
|
||||
public class AppConfigRequest
|
||||
{
|
||||
public int appType { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 仓库信息
|
||||
/// </summary>
|
||||
public class T_BD_STOCK
|
||||
{
|
||||
/// <summary>
|
||||
/// 仓库内码
|
||||
/// </summary>
|
||||
public System.String FINTERID { get; set; }
|
||||
/// <summary>
|
||||
/// 代码
|
||||
/// </summary>
|
||||
public System.String FNUMBER { get; set; }
|
||||
/// <summary>
|
||||
/// 仓库属性1=普通仓库;2=车间仓库;3=供应商仓库;4=客户仓库;5=第三方仓储
|
||||
/// </summary>
|
||||
public System.String FSTOCKPROPERTY { get; set; }
|
||||
/// <summary>
|
||||
/// 启用仓位管理
|
||||
/// </summary>
|
||||
public System.Boolean FISOPENLOCATION { get; set; }
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 轮播图
|
||||
/// </summary>
|
||||
public class T_BAS_IMAGEPAGEVIEW
|
||||
{
|
||||
/// <summary>
|
||||
/// 轮播图图片
|
||||
/// </summary>
|
||||
public System.String FIMAGE { get; set; }
|
||||
/// <summary>
|
||||
///图片FIMAGEBASE64
|
||||
/// </summary>
|
||||
public string FIMAGEBASE64 { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 仓位信息
|
||||
/// </summary>
|
||||
public class BD_FLEXVALUES
|
||||
{
|
||||
/// <summary>
|
||||
/// 仓库内码
|
||||
/// </summary>
|
||||
public System.String FSTOCKINTERID { get; set; }
|
||||
/// <summary>
|
||||
/// 仓库编号
|
||||
/// </summary>
|
||||
public System.String FSTOCKNUMBER { get; set; }
|
||||
/// <summary>
|
||||
/// 仓位代码
|
||||
/// </summary>
|
||||
public System.String FNUMBER { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 个人日志信息
|
||||
/// </summary>
|
||||
public class T_BD_PERSONDIARY
|
||||
{
|
||||
/// <summary>
|
||||
/// 日历日期
|
||||
/// </summary>
|
||||
public System.String FDATE { get; set; }
|
||||
/// <summary>
|
||||
/// 标题
|
||||
/// </summary>
|
||||
public System.String FNAME { get; set; }
|
||||
/// <summary>
|
||||
/// 内容
|
||||
/// </summary>
|
||||
public System.String FCONTENT { get; set; }
|
||||
/// <summary>
|
||||
/// 开始时间
|
||||
/// </summary>
|
||||
public System.String FSTARTTIME { get; set; }
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
public System.String FENDTIME { get; set; }
|
||||
/// <summary>
|
||||
///内码
|
||||
/// </summary>
|
||||
public System.String FINTERID { get; set; }
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 个人事项
|
||||
/// </summary>
|
||||
public class T_BD_PERSONALMATTERS
|
||||
{
|
||||
/// <summary>
|
||||
/// 个人信息
|
||||
/// </summary>
|
||||
public System.String FINFO { get; set; }
|
||||
/// <summary>
|
||||
/// 日期
|
||||
/// </summary>
|
||||
public System.String FPERSONALDATE { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取系统打印参数传参
|
||||
/// </summary>
|
||||
public class SysPrintIteam
|
||||
{
|
||||
/// <summary>
|
||||
/// 组织ID
|
||||
/// </summary>
|
||||
public string OrgID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单据编号
|
||||
/// </summary>
|
||||
public string PrgKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否启用MAC隔离
|
||||
/// </summary>
|
||||
public bool IsUsedMac { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 手机MAC
|
||||
/// </summary>
|
||||
public string PhoneMAC { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 系统打印参数传参
|
||||
/// </summary>
|
||||
public class SysPrintData
|
||||
{
|
||||
/// <summary>
|
||||
/// 打印机服务器IP
|
||||
/// </summary>
|
||||
public string FIPIF { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 打印机服务器端口号
|
||||
/// </summary>
|
||||
public string FPORTNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 打印机名称
|
||||
/// </summary>
|
||||
public string FPRINTNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 打印模板
|
||||
/// </summary>
|
||||
public string FMOULD { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model
|
||||
{
|
||||
public class TBdAppversion
|
||||
{
|
||||
public int Fapptype { get; set; }
|
||||
public string Fversioncode { get; set; }
|
||||
public string Fversionupdatedesc { get; set; }
|
||||
public string Fversiondownloadurl { get; set; }
|
||||
public string Finterid { get; set; }
|
||||
public string Fbillno { get; set; }
|
||||
public string Fgroupid { get; set; }
|
||||
public decimal Fstatus { get; set; }
|
||||
public bool Fdeleted { get; set; }
|
||||
public string Fcompanyid { get; set; }
|
||||
public DateTime CYmd { get; set; }
|
||||
public string CUser { get; set; }
|
||||
public DateTime MYmd { get; set; }
|
||||
public string MUser { get; set; }
|
||||
public string Uid { get; set; }
|
||||
|
||||
public static string GetSelectSql() => @"SELECT FVERSIONCODE, FVERSIONUPDATEDESC, FVERSIONDOWNLOADURL, FAPPTYPE, FINTERID, FBILLNO, FGROUPID, FSTATUS, FDELETED, FCOMPANYID, C_YMD AS CYmd, C_USER AS CUser, M_YMD AS MYmd, M_USER AS MUser, ""UID""
|
||||
FROM T_BD_APPVERSION ";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,169 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using System;
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 资产盘点表
|
||||
/// </summary>
|
||||
public class T_IAS_ASSETSINVENTORY:BaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public T_IAS_ASSETSINVENTORY()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 盘点方案名称
|
||||
/// </summary>
|
||||
public System.String FNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 申请日期
|
||||
/// </summary>
|
||||
public System.DateTime? FDATE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 起始资产类别代码
|
||||
/// </summary>
|
||||
public System.String FBEGGROUPNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 截止资产类别代码
|
||||
/// </summary>
|
||||
public System.String FENDGROUPNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 起始资产编码
|
||||
/// </summary>
|
||||
public System.String FBEGASSETNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 截止资产编码
|
||||
/// </summary>
|
||||
public System.String FENDASSETNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 起始存放地点 --部门
|
||||
/// </summary>
|
||||
public System.String FBEGLOCATIONNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 截止存放地点 --部门
|
||||
/// </summary>
|
||||
public System.String FENDLOCATIONNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 起始使用部门 --部门
|
||||
/// </summary>
|
||||
public System.String FBEGUSEDEPTNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 截止使用部门 --部门
|
||||
/// </summary>
|
||||
public System.String FENDUSEDEPTNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public System.Decimal FQTY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public System.String FNOTE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 审核人
|
||||
/// </summary>
|
||||
public System.String FCHECKERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 审核日期
|
||||
/// </summary>
|
||||
public System.DateTime? FCHECKDATE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 禁用人
|
||||
/// </summary>
|
||||
public System.String FDISABLEID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 禁用日期
|
||||
/// </summary>
|
||||
public System.DateTime? FDISABLEDATE { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FGROUPID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Int32 FSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Boolean FDELETED { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String FCOMPANYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.DateTime? C_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String C_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.DateTime? M_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String M_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String UID { get; set; }
|
||||
}
|
||||
public class IAS_ASSETSINVENTORY:BaseEntity
|
||||
{
|
||||
public string FBILLNO { get;set;}
|
||||
|
||||
public System.String FNAME { get; set; }
|
||||
|
||||
public System.DateTime? FDATE { get; set; }
|
||||
|
||||
public System.Decimal FNOTE { get; set; }
|
||||
|
||||
public System.Int32 FSTATUS { get; set; }
|
||||
|
||||
public System.DateTime? FCHECKDATE { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.ESOP.ESOP;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.ESOP.IRepositories
|
||||
{
|
||||
public interface IESOPRepository : IRepository<BaseEntity>
|
||||
{
|
||||
|
||||
///// <summary>
|
||||
///// 获取文件信息
|
||||
///// </summary>
|
||||
///// <param name="request"></param>
|
||||
///// <returns></returns>
|
||||
//Task<object> GetAnnounceAndFile(ESOPRequest request);
|
||||
}
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.Models.ESOP;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.ESOP.ESOP;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.ESOP.IServices
|
||||
{
|
||||
public interface IESOPService : IService<BaseEntity>
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 获取文件信息
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetAnnounceAndFile(ESOPRequest request);
|
||||
|
||||
/// <summary>
|
||||
/// 根据工位编码获取资源以及工序识别码信息
|
||||
/// </summary>
|
||||
/// <param name="stationCode"></param>
|
||||
/// <returns></returns>
|
||||
Task<ESopStationResponse> GetSourceAndCode(string stationCode);
|
||||
}
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.ESOP.ESOP
|
||||
{
|
||||
public class ESOPRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// ESOP模式(1=主动选单 2=下发获取)
|
||||
/// </summary>
|
||||
public int FMode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工位内码
|
||||
/// </summary>
|
||||
public string FSTATIONID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工位编码
|
||||
/// </summary>
|
||||
public string FSTATIONNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工位名称
|
||||
/// </summary>
|
||||
public string FSTATIONNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源
|
||||
/// </summary>
|
||||
public string FRESOURCEID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源编号
|
||||
/// </summary>
|
||||
public string FRESOURCENUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源编号
|
||||
/// </summary>
|
||||
public string FRESOURCENAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序识别码
|
||||
/// </summary>
|
||||
public string FCODE { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.ESOP.Model
|
||||
{
|
||||
public class T_SFC_WORKFILEMANAGE
|
||||
{
|
||||
private string _FNUMBER;
|
||||
private string _FNAME;
|
||||
private string _FVERSION;
|
||||
private string _FTYPE;
|
||||
private string _FSERVICEFILEPATH;
|
||||
private string _FIPPATH;
|
||||
private DateTime _FEFFECTIVEDATE;
|
||||
private DateTime _FEXPIRYDATE;
|
||||
|
||||
public string FNUMBER { get => _FNUMBER; set => _FNUMBER = value; }
|
||||
public string FNAME { get => _FNAME; set => _FNAME = value; }
|
||||
public string FVERSION { get => _FVERSION; set => _FVERSION = value; }
|
||||
public string FTYPE { get => _FTYPE; set => _FTYPE = value; }
|
||||
public string FSERVICEFILEPATH { get => _FSERVICEFILEPATH; set => _FSERVICEFILEPATH = value; }
|
||||
public DateTime FEFFECTIVEDATE { get => _FEFFECTIVEDATE; set => _FEFFECTIVEDATE = value; }
|
||||
public DateTime FEXPIRYDATE { get => _FEXPIRYDATE; set => _FEXPIRYDATE = value; }
|
||||
public string FIPPATH { get => _FIPPATH; set => _FIPPATH = value; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
using System.Collections;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using System.Data;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Energy.IRepositories
|
||||
{
|
||||
public interface IElectricityRepository : IRepository<BaseEntity>
|
||||
{
|
||||
Task<List<BarCodeMsg>> GetBarcodeMsg(string barcode, string orgId);
|
||||
Task<List<BarcodeCheckInfo>> GetBarcodeCheckInfoAsync(string barcode);
|
||||
Task<string> GetInfoAsync(string sql, int dtoType);
|
||||
Task<List<BD_BARCODERSENTRY>> GetBoxedBarcodeAsync(string sql);
|
||||
Task<List<SpMeBarcodeInfoDto>> GetSpMeBarcodeInfoAsync(string sql);
|
||||
Task<List<InBoxBarcodeInfoDto>> GetInBoxBarcodeInfoAsync(string sql);
|
||||
Task<DataTable> GetDataTale(string sql);
|
||||
Task<string> GetBoxRootInfoXmlStrAsync(string sql);
|
||||
Task<decimal> GetBaseUnitQtyAsync(string materialId, string unitId, string baseUnitId, decimal qty);
|
||||
Task<int> UpdateBarcodeQtyAsync(string sql);
|
||||
Task<int> ExecuteSqlNoneQueryAsync(string sql);
|
||||
Task<string> GetUnit(string sql);
|
||||
Task<int> ExecuteSqlNoneQueryAsync(List<string> sqlStrList);
|
||||
Task<string> CreateBillNo(string billInfoJson);
|
||||
Task<string> CreateBarcode(string billDataJson, string prgKey);
|
||||
Task<Hashtable> GetSystemParameters(string key);
|
||||
|
||||
/// <summary>
|
||||
/// 拆箱操作
|
||||
/// </summary>
|
||||
/// <param name="inputDto"></param>
|
||||
/// <returns></returns>
|
||||
Task SplitBox(OutBoxInputDto inputDto);
|
||||
|
||||
/// <summary>
|
||||
/// 查询DataTable
|
||||
/// </summary>
|
||||
/// <param name="sql"></param>
|
||||
/// <returns></returns>
|
||||
Task<DataSet> GetDataSet(List<string> sqlList);
|
||||
/// <summary>
|
||||
/// 获取条码相关的校验数据
|
||||
/// </summary>
|
||||
/// <param name="barcode"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<BarcodeCheckInfo>> GetBarcodeCheckInfo(string barcode, string orgId);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
|
||||
using Opsoft.NetCore.O3App.Shared;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Energy.IServices
|
||||
{
|
||||
public interface IElectricityService : IService<BaseEntity>
|
||||
{
|
||||
Task<RetMessage> getTreeList(int eType);
|
||||
Task<RetMessage> getElectricityOverView(string id);
|
||||
Task<RetMessage> getUnitByPointNbr(string PointNbr);
|
||||
Task<RetMessage> getWaterOverView(string id);
|
||||
Task<RetMessage> getGasOverView(string id);
|
||||
Task<RetMessage> getElectList(string id, string startdate, string enddate);
|
||||
Task<RetMessage> getHistoryData(string boxNbr);
|
||||
Task<RetMessage> getWaterList(string id, string startdate, string enddate);
|
||||
Task<RetMessage> getGasList(string id, string startdate, string enddate);
|
||||
}
|
||||
}
|
||||
+384
@@ -0,0 +1,384 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
public class EnergyInfoDto
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FID { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FMODELNBR { get; set; }
|
||||
/// <summary>
|
||||
/// 产线1
|
||||
/// </summary>
|
||||
public string FMODELNAME { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal FMODELTYPE { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FFULLPATH { get; set; }
|
||||
/// <summary>
|
||||
/// SASS测试区域,一楼,产线1
|
||||
/// </summary>
|
||||
public string FFULLNAME { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal FTODAYTOTALMEASURE { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal FYESTERDATTOTALMEASURE { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal FPOINTVALUEP { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FPOINTNBRP { get; set; }
|
||||
/// <summary>
|
||||
/// 电流
|
||||
/// </summary>
|
||||
public string FPOINTNAMEP { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FUNITP { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal FPOINTVALUEU { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FPOINTNBRU { get; set; }
|
||||
/// <summary>
|
||||
/// 电流
|
||||
/// </summary>
|
||||
public string FPOINTNAMEU { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FUNITU { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal FPOINTVALUEI { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FPOINTNBRI { get; set; }
|
||||
/// <summary>
|
||||
/// 电流
|
||||
/// </summary>
|
||||
public string FPOINTNAMEI { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FUNITI { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal FREALMEASURE { get; set; }
|
||||
}
|
||||
|
||||
public class RealTimePower
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FcreateBy { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FcreateTime { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FupdateBy { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FupdateTime { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Fid { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FboxId { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FpointId { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FpointValue { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FcollectTime { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Fdescription { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FpointNbr { get; set; }
|
||||
/// <summary>
|
||||
/// 功率
|
||||
/// </summary>
|
||||
public string FpointName { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Ftype { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int FdisplayType { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Funit { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FboxNbr { get; set; }
|
||||
}
|
||||
|
||||
public class RealTimeVoltage
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string createBy { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string createTime { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string updateBy { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string updateTime { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string id { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string boxId { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string pointId { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string pointValue { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string collectTime { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string description { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string pointNbr { get; set; }
|
||||
/// <summary>
|
||||
/// 电压
|
||||
/// </summary>
|
||||
public string pointName { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int type { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int displayType { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string unit { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string boxNbr { get; set; }
|
||||
}
|
||||
|
||||
public class RealTimeCurrent
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string createBy { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string createTime { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string updateBy { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string updateTime { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string id { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string boxId { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string pointId { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string pointValue { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string collectTime { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string description { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string pointNbr { get; set; }
|
||||
/// <summary>
|
||||
/// 电流
|
||||
/// </summary>
|
||||
public string pointName { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int type { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int displayType { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string unit { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string boxNbr { get; set; }
|
||||
}
|
||||
|
||||
public class DataList
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime FshowTime { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal FelectricQuantity { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal Fpower { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal Fvoltage { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal FelectricCurrent { get; set; }
|
||||
}
|
||||
|
||||
public class EnergyInfoDto2
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal FtodayTotalBattery { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal FyesterdatTotalBattery { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public RealTimePower realTimePower { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public RealTimeVoltage realTimeVoltage { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public RealTimeCurrent realTimeCurrent { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public List<DataList> dataList { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal FrealBattery { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 扫描条码条码信息实体3
|
||||
/// </summary>
|
||||
public class EnergyInfoDto3
|
||||
{
|
||||
public object this[string prop] => this.GetType().GetProperty(prop).GetValue(this);
|
||||
public string FBARCODE { get; set; }
|
||||
public int? FBARTYPE { get; set; }
|
||||
public int? FBARCODESTATUS { get; set; }
|
||||
public bool? FISBOX { get; set; }
|
||||
public bool? FISMIX { get; set; }
|
||||
public bool? FINBOX { get; set; }
|
||||
public string FLOT { get; set; }
|
||||
public string FMATERIALID { get; set; }
|
||||
public string FMATERIALNUMBER { get; set; }
|
||||
public string FMATERIALNAME { get; set; }
|
||||
public string FSPECIFICATION { get; set; }
|
||||
public decimal? FQTY { get; set; }
|
||||
public string FUNITID { get; set; }
|
||||
public string FUNITNAME { get; set; }
|
||||
public decimal? FBASEQTY { get; set; }
|
||||
public string FBASEUNITID { get; set; }
|
||||
public string FBASEUNITNAME { get; set; }
|
||||
public bool? FDELETED { get; set; }
|
||||
public string FCOMPANYID { get; set; }
|
||||
public string FDETAILID { get; set; }
|
||||
public string MIXBOXFACTOR { get; set; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.Model;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.IRepositories
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备点检
|
||||
/// </summary>
|
||||
public interface IDspotcheckRepository : IRepository<BaseEntity>
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 设备点检列表信息(FFTYYPE:1=未执行,2=已完成,3=已逾期)
|
||||
/// </summary>
|
||||
/// <param name="data" pageIndex页数 pageSize每页显示数量 searchType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GETSPOTCHECK>> SpotTaskSearch(dynamic data);
|
||||
|
||||
/// <summary>
|
||||
/// 设备点检表体检验明细
|
||||
/// </summary>
|
||||
/// <param name="data" finterid点击的点检任务内码></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GETSPOTCHECK>> SpotTaskSearchDetail(dynamic data);
|
||||
|
||||
/// <summary>
|
||||
/// 点检任务提交
|
||||
/// </summary>
|
||||
/// <param name="SData" IsCreateRepair是否产生维修单 RepairNote情况简述 SData更新的检验项目></param>
|
||||
/// <returns></returns>
|
||||
Task<Dictionary<string, object>> SpotTaskSubmit(SpotCheckType SData);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.Model;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.IRepositories
|
||||
{
|
||||
public interface IRepairOrderRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取设备信息、故障类别、故障程度、设备部位、设备供应商、备件出入库类型(basicType:1=维修,2=保养)
|
||||
/// </summary>
|
||||
/// <param name="data" basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GetEquipmentBasic>> GetEquipmentBasicData(dynamic data);
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取维修,保养工单列表(按部位显示)(basicType:1=维修,2=保养)
|
||||
/// </summary>
|
||||
/// <param name="data" pageIndex页数 pageSize每页显示数量 basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GetRpairOrder>> RepairOrder(dynamic data);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 按单据编号获取维修,保养工单详情(basicType:1=维修,2=保养)
|
||||
/// </summary>
|
||||
/// <param name="data"basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GetMaintenanceOrder>> MaintenanceOrder(dynamic data);
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 按单据表体内码获取维修,保养工单部位信息(basicType:1=维修,2=保养)
|
||||
/// </summary>
|
||||
/// <param name="data"basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<Dictionary<string, object>> MaintenanceOrderEntry(dynamic data);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 修改维修,保养工单部位信息(完工提交)
|
||||
/// </summary>
|
||||
/// <param name="data"basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<string> MaintenanceReport(UpdateMaintenanceReport SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 修改维修,保养工单部位信息(验收提交)
|
||||
/// </summary>
|
||||
/// <param name="data"basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<string> PartReportAcceptance(UpdatePartReportAcceptance SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 修改维修,保养工单信息(验收提交)
|
||||
/// </summary>
|
||||
/// <param name="data"basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<string> OrderReportAcceptance(UpdatePartReportAcceptance SData);
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 按单据表体内码删除工单部位信息
|
||||
/// </summary>
|
||||
/// <param name="data"basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<string> DelBodyAndSparePart(DeleteBill SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 按内码删除维修、保养工单
|
||||
/// </summary>
|
||||
/// <param name="data"basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<string> DelOrderService(DeleteBill SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 按内码删除维修、保养工单
|
||||
/// </summary>
|
||||
/// <param name="data"basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<string> CreateOrder(CreateOrder SData);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.Model;
|
||||
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.IRepositories
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备管理系统——备件
|
||||
/// </summary>
|
||||
public interface ISpareParRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取备件列表
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GetSparePart>> GetSparePart(dynamic data);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 备件入库提交
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> SparePartStorage(SparePartStorage SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 备件盘点提交
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> SparePartInventory(SparePartStorage SData);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.Model;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.IServices
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备点检
|
||||
/// </summary>
|
||||
public interface IDspotcheckService : IService<BaseEntity>
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 设备点检列表信息(FFTYYPE:1=未执行,2=已完成,3=已逾期)
|
||||
/// </summary>
|
||||
/// <param name="data" pageIndex页数 pageSize每页显示数量 searchType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GETSPOTCHECK>> SpotTaskSearch(dynamic data);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 设备点检表体检验明细
|
||||
/// </summary>
|
||||
/// <param name="data" finterid点击的点检任务内码></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GETSPOTCHECK>> SpotTaskSearchDetail(dynamic data);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 点检任务提交
|
||||
/// </summary>
|
||||
/// <param name="SData" IsCreateRepair是否产生维修单 RepairNote情况简述 SData更新的检验项目></param>
|
||||
/// <returns></returns>
|
||||
Task<Dictionary<string, object>> SpotTaskSubmit(SpotCheckType SData);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.Model;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.IServices
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备点检
|
||||
/// </summary>
|
||||
public interface IRepairOrderService : IService<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取设备信息、故障类别、故障程度、设备部位、设备供应商、备件出入库类型(basicType:1=维修,2=保养)
|
||||
/// </summary>
|
||||
/// <param name="data"basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GetEquipmentBasic>> GetEquipmentBasicData(dynamic data);
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取维修,保养工单列表(按部位显示)(basicType:1=维修,2=保养)
|
||||
/// </summary>
|
||||
/// <param name="data" pageIndex页数 pageSize每页显示数量 basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GetRpairOrder>> RepairOrder(dynamic data);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 按单据编号获取维修,保养工单详情(basicType:1=维修,2=保养)
|
||||
/// </summary>
|
||||
/// <param name="data"basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GetMaintenanceOrder>> MaintenanceOrder(dynamic data);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 按单据表体内码获取维修,保养工单部位信息(basicType:1=维修,2=保养)
|
||||
/// </summary>
|
||||
/// <param name="data"basicType获取列表类型></param>
|
||||
/// <returns></returns>
|
||||
Task<Dictionary<string, object>> MaintenanceOrderEntry(dynamic data);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 修改维修,保养工单部位信息(完工提交)
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> MaintenanceReport(UpdateMaintenanceReport SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 修改维修,保养工单部位信息(验收提交)
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> PartReportAcceptance(UpdatePartReportAcceptance SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 修改维修,保养工单信息(验收提交)
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> OrderReportAcceptance(UpdatePartReportAcceptance SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 按单据表体内码删除工单部位信息
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> DelBodyAndSparePart(DeleteBill SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 按内码删除维修、保养工单
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> DelOrderService(DeleteBill SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 按内码删除维修、保养工单
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> CreateOrder(CreateOrder SData);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.Model;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.IServices
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备管理系统——备件
|
||||
/// </summary>
|
||||
public interface ISpareParService : IService<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取备件列表
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<GetSparePart>> GetSparePart(dynamic data);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 备件入库提交
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> SparePartStorage(SparePartStorage SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 备件盘点提交
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> SparePartInventory(SparePartStorage SData);
|
||||
}
|
||||
}
|
||||
+261
@@ -0,0 +1,261 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取设备信息、故障类别、故障程度、设备部位、设备供应商、备件出入库类型
|
||||
/// </summary>
|
||||
public class GetEquipmentBasic
|
||||
{
|
||||
/// <summary>
|
||||
/// 内码
|
||||
/// </summary>
|
||||
public string FID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
public string FNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 组织ID
|
||||
/// </summary>
|
||||
public string FCOMPANYID { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取维修,保养工单列表
|
||||
/// </summary>
|
||||
public class GetRpairOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 工单内码内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单单号
|
||||
/// </summary>
|
||||
public string FBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单任务名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 工单是否已验收
|
||||
/// </summary>
|
||||
public bool FISFINISHED { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单维护/维修时间
|
||||
/// </summary>
|
||||
public DateTime FDATE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单状态(0=未安排;1=已安排;2=完工;3=验收)
|
||||
/// </summary>
|
||||
public string FORDERSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设备编号
|
||||
/// </summary>
|
||||
public string FMACHINENUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设备名称
|
||||
/// </summary>
|
||||
public string FMACHINENAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设备内码
|
||||
/// </summary>
|
||||
public string FITEMID { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 按单据编号获取维修,保养工单详情
|
||||
/// </summary>
|
||||
public class GetMaintenanceOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 工单内码内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单单号
|
||||
/// </summary>
|
||||
public string FBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单任务名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单来源(1=申请故障维修;2=申请事故维修;3=事后事故维修;4=事后故障维修;5=其它)
|
||||
/// </summary>
|
||||
public string FORDERFROM { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单状态(0=未安排;1=已安排;2=完工;3=验收)
|
||||
/// </summary>
|
||||
public string FORDERSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单类型(0=申请产生;1=事后产生;2=其它)
|
||||
/// </summary>
|
||||
public string FORDERTYPE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 维护后状态(0=正常;1=维修中;2=维护中;3=恶劣)
|
||||
/// </summary>
|
||||
public string FSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单申请时间
|
||||
/// </summary>
|
||||
public DateTime FDATE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否停机
|
||||
/// </summary>
|
||||
public bool FISSTOPMACHINE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实际开始时长
|
||||
/// </summary>
|
||||
public DateTime FASTARTTIME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实际结束时间
|
||||
/// </summary>
|
||||
public DateTime FAENDTIME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 停机开始时间
|
||||
/// </summary>
|
||||
public string FMACHINESTOPSTART { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 停机结束时间
|
||||
/// </summary>
|
||||
public string FMACHINESTOPEND { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 情况简述
|
||||
/// </summary>
|
||||
public string FCONDITIONRESUME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总体评分
|
||||
/// </summary>
|
||||
public decimal FTOTALSCORE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否消除
|
||||
/// </summary>
|
||||
public bool FFAULTCLEARANCE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设备编号
|
||||
/// </summary>
|
||||
public string FMACHINENUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设备名称
|
||||
/// </summary>
|
||||
public string FMACHINENAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设备内码
|
||||
/// </summary>
|
||||
public string FITEMID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 维修负责人
|
||||
/// </summary>
|
||||
public string FEMPNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///保养记录
|
||||
/// </summary>
|
||||
public object Body1 { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 备件领用
|
||||
/// </summary>
|
||||
public object Body2 { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 保养人
|
||||
/// </summary>
|
||||
public object Body3 { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 修改维修,保养工单部位信息(完工提交)
|
||||
/// </summary>
|
||||
public class UpdateMaintenanceReport
|
||||
{
|
||||
public string basicType { get; set; }//单据类型(1=维修,2=保养)
|
||||
|
||||
public List<Dictionary<string, object>> repair { get; set; }//提交的单据明细详情
|
||||
public List<Dictionary<string, object>> spareParts { get; set; }//提交的备件领用信息
|
||||
public List<Dictionary<string, object>> empData { get; set; }//提交的保养人信息
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 修改维修,保养工单部位信息(验收提交)
|
||||
/// </summary>
|
||||
public class UpdatePartReportAcceptance
|
||||
{
|
||||
public string basicType { get; set; }//单据类型(1=维修,2=保养)
|
||||
|
||||
public List<Dictionary<string, object>> SData { get; set; }//验收提交的单据明细详情
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除维修、保养工单
|
||||
/// </summary>
|
||||
public class DeleteBill
|
||||
{
|
||||
public string basicType { get; set; }//单据类型(1=维修,2=保养)
|
||||
|
||||
public string fID { get; set; }//删除的单据内码/删除的表体内码
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 创建维修、保养工单
|
||||
/// </summary>
|
||||
public class CreateOrder
|
||||
{
|
||||
public string basicType { get; set; }//单据类型(1=维修,2=保养)
|
||||
|
||||
public List<Dictionary<string, object>> repair { get; set; }//工单信息
|
||||
}
|
||||
}
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.Model
|
||||
{
|
||||
/// <summary>
|
||||
///获取备件列表
|
||||
/// </summary>
|
||||
public class GetSparePart
|
||||
{
|
||||
/// <summary>
|
||||
/// 备件内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备件编码
|
||||
/// </summary>
|
||||
public string FBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备件名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备件型号
|
||||
/// </summary>
|
||||
public string FEQMODEL { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备件数量
|
||||
/// </summary>
|
||||
public decimal FQTY { get; set; }
|
||||
}
|
||||
|
||||
public class SparePartStorage
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string basicType { get; set; }
|
||||
/// <summary>
|
||||
/// 入库信息
|
||||
/// </summary>
|
||||
public Dictionary<string, object> data { get; set; }
|
||||
/// <summary>
|
||||
/// 入库备件列表
|
||||
/// </summary>
|
||||
public List<Dictionary<string, object>> SData { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.Model
|
||||
{
|
||||
public class SpotCheckType
|
||||
{
|
||||
public bool IsCreateRepair { get; set; }//是否产生维修单
|
||||
|
||||
public string RepairNote { get; set; }//情况简述
|
||||
public List<Dictionary<string, object>> SData { get; set; }//更新的检验项目
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,200 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.Equipment.Model
|
||||
{
|
||||
public class T_ENG_SPOTCHECKTASK : BaseEntity
|
||||
{
|
||||
public T_ENG_SPOTCHECKTASK()
|
||||
{ }
|
||||
|
||||
/// <summary>
|
||||
/// 点检任务名称
|
||||
/// </summary>
|
||||
public System.String FNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设备内码
|
||||
/// </summary>
|
||||
public System.String FMACHINEID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生效日期
|
||||
/// </summary>
|
||||
public System.DateTime? FEFFECTIVEDATE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部门内码
|
||||
/// </summary>
|
||||
public System.String FDEPTID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 完成状态;0=待检;1=进行中;2=已完成
|
||||
/// </summary>
|
||||
public System.String FFTYPE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 负责人内码
|
||||
/// </summary>
|
||||
public System.String FEMPID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否委外
|
||||
/// </summary>
|
||||
public System.Boolean FREPAIROUT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单据来源 1=手工生成;2=自动生成
|
||||
/// </summary>
|
||||
public System.String FCTYPE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计划内码
|
||||
/// </summary>
|
||||
public System.String FPLANID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 班次内码
|
||||
/// </summary>
|
||||
public System.String FSHIFTID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否产生维修单
|
||||
/// </summary>
|
||||
public System.Boolean FISCREATEREPAIR { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 维修单内码
|
||||
/// </summary>
|
||||
public System.String FREPAIRID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否显示上下限值
|
||||
/// </summary>
|
||||
public System.Boolean FISSHOWLIMIT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public System.String FNOTE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 表头内码
|
||||
/// </summary>
|
||||
public System.String FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单据编号
|
||||
/// </summary>
|
||||
public System.String FBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组ID
|
||||
/// </summary>
|
||||
public System.String FGROUPID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public System.String FSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 禁用
|
||||
/// </summary>
|
||||
public System.Boolean FDELETED { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// FCOMPANYID
|
||||
/// </summary>
|
||||
public System.String FCOMPANYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制单日期
|
||||
/// </summary>
|
||||
public System.DateTime? C_YMD { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 制单人
|
||||
/// </summary>
|
||||
public System.String C_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改日期
|
||||
/// </summary>
|
||||
public System.DateTime? M_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改人
|
||||
/// </summary>
|
||||
public System.String M_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// UID
|
||||
/// </summary>
|
||||
public System.String UID { get; set; }
|
||||
}
|
||||
|
||||
public class GETSPOTCHECK
|
||||
{
|
||||
/// <summary>
|
||||
/// 内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 点检单号
|
||||
/// </summary>
|
||||
public string FBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生效日期
|
||||
/// </summary>
|
||||
public DateTime FEFFECTIVEDATE { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 异动日期
|
||||
/// </summary>
|
||||
public DateTime M_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 点检任务名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 完成状态;0=待检;1=进行中;2=已完成
|
||||
/// </summary>
|
||||
public string FFTYPE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否显示上下限值
|
||||
/// </summary>
|
||||
public bool FISSHOWLIMIT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否产生维修单
|
||||
/// </summary>
|
||||
public bool FISCREATEREPAIR { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 负责人
|
||||
/// </summary>
|
||||
public string FEXECTOR { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 部门
|
||||
/// </summary>
|
||||
public string FDEPTNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 点检表体信息检验项目
|
||||
/// </summary>
|
||||
public object SubItem { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.IRepositories
|
||||
{
|
||||
public interface IInspectionRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 工序首检列表接口(状态查询:已完成、未完成
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetFirstInspections(GetFirstInspection SData);
|
||||
/// <summary>
|
||||
/// 工序首检列表接口(状态查询:已完成、未完成
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<object>> GetFirstInspection(GetFirstInspection SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 首检数据保存
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> SaveFirstInspection(SaveFirstInspection SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 工序巡检列表接口(状态查询:已完成、未完成)
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<object>> GetProcessInspection(GetFirstInspection SData);
|
||||
|
||||
/// <summary>
|
||||
/// 工序巡检列表接口(状态查询:已完成、未完成)
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetProcessInspections(GetFirstInspection SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 巡检条码扫入验证获取数据
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> ScanProcessCode(ScanProcessCode SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 巡检数据保存
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> SaveProcessInspection(SaveProcessInspection SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 文档查看功能
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetAssignDocument(GetAssignDocument SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 安灯异常呼叫列表接口
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetAbnormalCall(GetAbnormalCall SData);
|
||||
|
||||
/// <summary>
|
||||
/// 安灯异常呼叫
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<object>> GetAbnormalCallResource(string resourceID);
|
||||
|
||||
/// <summary>
|
||||
/// 安灯异常呼叫列表接口
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetAbnormalCalls(GetAbnormalCall SData);
|
||||
|
||||
/// <summary>
|
||||
/// 安灯异常呼叫处理
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> DoAbnormalCall(DoAbnormalCall SData);
|
||||
}
|
||||
}
|
||||
+116
@@ -0,0 +1,116 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.IRepositories
|
||||
{
|
||||
/// <summary>
|
||||
/// 汇报信息检查验证服务层接口
|
||||
/// </summary>
|
||||
public interface IReportCheckRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 判断资源是否唯一登录
|
||||
/// </summary>
|
||||
/// <param name="xAPServer"></param>
|
||||
/// <param name="phoneID"></param>
|
||||
/// <param name="resourceNO"></param>
|
||||
/// <returns></returns>
|
||||
Dictionary<string, string> JudgeResourceIsUsed(string phoneID, string resourceNO);
|
||||
|
||||
/// <summary>
|
||||
/// 检查是否可以排到此资源
|
||||
/// </summary>
|
||||
/// <param name="wType">1=工序识别码,2=流转卡行内吗</param>
|
||||
/// <param name="wValue">传入值</param>
|
||||
/// <param name="fResID">资源内码</param>
|
||||
void CanResourceUse(int wType, string wValue, string fResID, string resourceNO);
|
||||
|
||||
/// <summary>
|
||||
/// 检查模具是否在流转卡中绑定
|
||||
/// </summary>
|
||||
/// <param name="moudleData"></param>
|
||||
/// <param name="reportMsg"></param>
|
||||
void CheckMouldInFlowCard(List<Basic> moudleData, ProductionAct reportMsg);
|
||||
|
||||
/// <summary>
|
||||
/// 投料信息检查
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <param name="reportMsg"></param>
|
||||
Dictionary<string, object> CheckUseMaterialInfo(JObject paramaters, ProductionAct reportMsg);
|
||||
|
||||
/// <summary>
|
||||
/// 汇报前检查首检、巡检状态
|
||||
/// </summary>
|
||||
/// <param name="reportMsg"></param>
|
||||
void CheckInspectionStatus(ProductionAct reportMsg);
|
||||
|
||||
/// <summary>
|
||||
/// 工序调机前检查首检方案是否满足条件
|
||||
/// </summary>
|
||||
/// <param name="reportMsg"></param>
|
||||
DataTable CheckInspectSolution(ProductionAct reportMsg);
|
||||
|
||||
/// <summary>
|
||||
/// 校验工序流转卡、工单中信息
|
||||
/// </summary>
|
||||
/// <param name="fCode"></param>
|
||||
DataTable CheckFlowCardInfo(string fCode, int operationType, string resourceNo, bool IsReport = false, ReportClass reportClass = null);
|
||||
|
||||
/// <summary>
|
||||
/// 工序识别码开工
|
||||
/// </summary>
|
||||
/// <param name="Fcode"></param>
|
||||
decimal CheckFcode(string Fcode, string resourceNo);
|
||||
|
||||
/// <summary>
|
||||
/// 序列号开工/汇报
|
||||
/// </summary>
|
||||
/// <param name="SNCode"></param>
|
||||
/// <param name="operateType">1=开工,2=汇报</param>
|
||||
/// <returns></returns>
|
||||
string CheckSNAndReturnFlowDetailId(string resourceID, string SNCode, int operateType, string resourceNo);
|
||||
|
||||
/// <summary>
|
||||
/// 周转码开工/汇报
|
||||
/// </summary>
|
||||
/// <param name="TCCode"></param>
|
||||
/// <param name="operateType">1=开工,2=汇报</param>
|
||||
/// <returns></returns>
|
||||
string CheckTCAndReturnFlowDetailId(string resourceID, string TCCode, int operateType, string resourceNo, out decimal reportQty);
|
||||
|
||||
/// <summary>
|
||||
/// 在制品开工
|
||||
/// </summary>
|
||||
/// <param name="WIPCode"></param>
|
||||
/// <returns></returns>
|
||||
string CheckWIPAndReturnFlowDetailId(string resourceID, string WIPCode, ProductionAct productionAct, out decimal reportQty);
|
||||
|
||||
/// <summary>
|
||||
/// 汇报前检查周转码
|
||||
/// </summary>
|
||||
/// <param name="TCCode"></param>
|
||||
/// <param name="reportQty"></param>
|
||||
DataTable DoCheckTCBeforeReport(ProductionAct productionAct, ReportClass reportClass, int workStatus);
|
||||
|
||||
/// <summary>
|
||||
/// 汇报前检查在制品
|
||||
/// </summary>
|
||||
/// <param name="TCCode"></param>
|
||||
/// <param name="reportQty"></param>
|
||||
DataTable DoCheckWipBeforeReport(ProductionAct productionAct, ReportClass reportClass, int workStatus);
|
||||
|
||||
/// <summary>
|
||||
/// 汇报前检查SN
|
||||
/// </summary>
|
||||
/// <param name="TCCode"></param>
|
||||
/// <param name="reportQty"></param>
|
||||
void CheckSnReport(ProductionAct productionAct, ReportClass reportClass, DataTable dtFlowCard, string snCode, int workStatus);
|
||||
}
|
||||
}
|
||||
+104
@@ -0,0 +1,104 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.IRepositories
|
||||
{
|
||||
/// <summary>
|
||||
/// 汇报信息查询底层接口
|
||||
/// </summary>
|
||||
public interface IReportInfoLoadRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 按工作中心代码获取资源信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<Basic>> QueryResourceByWorkCenter(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 依据班组=>员工信息/员工信息=>班组
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<Basic>> GetTeamEmpTwo(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 从数据库中加载历史汇报信息
|
||||
/// </summary>
|
||||
/// <param name="phoneID"></param>
|
||||
/// <param name="resourceID"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<ProductionAct>> GetReportDataFromDB(string phoneID, string resourceID = "");
|
||||
|
||||
/// <summary>
|
||||
/// 新增汇报资源信息
|
||||
/// </summary>
|
||||
/// <param name="phoneID"></param>
|
||||
/// <param name="resourceList"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<ProductionAct>> SubmitResouces(string phoneID, List<string> resourceList);
|
||||
|
||||
/// <summary>
|
||||
/// 删除资源信息
|
||||
/// </summary>
|
||||
/// <param name="phoneID"></param>
|
||||
/// <param name="resourceList"></param>
|
||||
/// <returns></returns>
|
||||
Task<Dictionary<string,List<string>>> DeleteResources(string phoneID, List<string> resourceList);
|
||||
|
||||
/// <summary>
|
||||
/// 查询开工码类型
|
||||
/// </summary>
|
||||
/// <param name="phoneID"></param>
|
||||
/// <returns></returns>
|
||||
Task<Dictionary<string, object>> GetBarcodeType(string barCode);
|
||||
|
||||
/// <summary>
|
||||
/// 查询系统参数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<Hashtable> InitSystemParam();
|
||||
|
||||
/// <summary>
|
||||
/// 根据物料条码得到物料信息
|
||||
/// </summary>
|
||||
/// <param name="isOtherSN"></param>
|
||||
/// <param name="barCode"></param>
|
||||
/// <returns></returns>
|
||||
Task<Dictionary<string, object>> GetMaterialInfoByBarcode(bool isOtherSN, string barCode);
|
||||
|
||||
/// <summary>
|
||||
/// 根据员工查询班组班次
|
||||
/// </summary>
|
||||
/// <param name="phoneID"></param>
|
||||
/// <returns></returns>
|
||||
Task<DataTable> GetTeamShift(string empId, DateTime dtNow);
|
||||
|
||||
/// <summary>
|
||||
/// 查询SN汇报扫描条码信息
|
||||
/// </summary>
|
||||
/// <param name="phoneID"></param>
|
||||
/// <returns></returns>
|
||||
Task<bool> CheckSNReportBarcodeInfo(string flowCardId, string barCode);
|
||||
|
||||
/// <summary>
|
||||
/// 查询周转码汇报数量
|
||||
/// </summary>
|
||||
/// <param name="phoneID"></param>
|
||||
/// <returns></returns>
|
||||
Task<decimal> GetConutByTCCode(string flowCardId, string barCode);
|
||||
|
||||
/// <summary>
|
||||
/// 根据登录人员获取生产消息
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetReportMessage(string sendEmpId, int page, int size);
|
||||
}
|
||||
}
|
||||
+152
@@ -0,0 +1,152 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Opsoft.Data;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.IRepositories
|
||||
{
|
||||
/// <summary>
|
||||
/// 汇报信息操作底层接口
|
||||
/// </summary>
|
||||
public interface IReportProduceRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 操作员工上下岗
|
||||
/// </summary>
|
||||
/// <param name="basicType"></param>
|
||||
/// <param name="employeeList"></param>
|
||||
/// <param name="production"></param>
|
||||
/// <returns></returns>
|
||||
Task EmpUpDownWork(int basicType, List<Basic> employeeList, ProductionAct production, DateTime dtNow);
|
||||
|
||||
/// <summary>
|
||||
/// 操作员工上下岗(Web)
|
||||
/// </summary>
|
||||
/// <param name="basicType"></param>
|
||||
/// <param name="employeeList"></param>
|
||||
/// <param name="production"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<Basic>> EmpUpDownWorkWeb(int basicType, List<Basic> employeeList, ProductionAct production, DateTime dtNow);
|
||||
|
||||
/// <summary>
|
||||
/// 设备绑定/解绑
|
||||
/// </summary>
|
||||
/// <param name="basicType"></param>
|
||||
/// <param name="equipmentList"></param>
|
||||
/// <param name="production"></param>
|
||||
/// <returns></returns>
|
||||
Task EmquipmentUpDownWork(int basicType, List<Basic> equipmentData, ProductionAct production);
|
||||
|
||||
/// <summary>
|
||||
/// 开工验证及操作
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task ProcessStartRepository(APPServerContext context, JObject paramaters, ProductionAct production);
|
||||
|
||||
/// <summary>
|
||||
/// 开工验证及操作(Web)
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task ProcessStartWebRepository(APPServerContext context, BatchProcessStart paramaters, ProductionAct production, string phoneID);
|
||||
|
||||
/// <summary>
|
||||
/// 上下模验证及操作
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task ProcessInputMouldRepository(bool isUp, List<Basic> mouldData, ProductionAct production);
|
||||
|
||||
/// <summary>
|
||||
/// 创建投料信息
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task ProcessInputMaterialRepository(Dictionary<string, object> receiveData, JObject paramaters, ProductionAct production);
|
||||
|
||||
/// <summary>
|
||||
/// 安灯呼唤
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task ProcessWarningCallRepository(Basic callData, ProductionAct production);
|
||||
|
||||
/// <summary>
|
||||
/// 工序换型
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task ProcessRemodelRepository(ProductionAct production);
|
||||
|
||||
/// <summary>
|
||||
/// 工序调机
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task ProcessDebugMachineRepository(DataTable dtInspection, ProductionAct production);
|
||||
|
||||
/// <summary>
|
||||
/// 工序暂停
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task ProcessPauseRepository(JObject paramaters, ProductionAct production);
|
||||
|
||||
/// <summary>
|
||||
/// 工序暂停结束
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task ProcessPauseOverRepository(ProductionAct production);
|
||||
|
||||
/// <summary>
|
||||
/// 完工注销
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task ProcessAllCancelRepository(DataTable dtFlowCard, ProductionAct production);
|
||||
|
||||
/// <summary>
|
||||
/// 工序汇报
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<bool> ProcessReportRepository(JObject paramaters, DataTable dtFlowCard, ProductionAct production);
|
||||
|
||||
/// <summary>
|
||||
/// 创建首检单
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task CreateFirstInspectionBillRepository(APPServerContext context, DataTable dtInspection, ProductionAct production, ReportClass reportClass);
|
||||
|
||||
/// <summary>
|
||||
/// 手工汇报/单件汇报
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<Dictionary<string, object>> ProcessBatchReportRepository(APPServerContext context, JObject paramaters, DataTable dtFlowCard, ProductionAct production, DataTable snQtyInfo, int workStatus);
|
||||
|
||||
/// <summary>
|
||||
/// SN汇报
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<Dictionary<string, object>> ProcessSNReportRepository(APPServerContext context, JObject paramaters, DataTable dtFlowCard, ProductionAct production, DataTable snQtyInfo, int workStatus);
|
||||
|
||||
/// <summary>
|
||||
/// 周转码汇报
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<Dictionary<string, object>> ProcessTCReportRepository(APPServerContext context, JObject paramaters, DataTable dtFlowCard, ProductionAct production, DataTable snQtyInfo, int workStatus);
|
||||
|
||||
/// <summary>
|
||||
/// 汇报后处理(通用)
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task CommonAfterReportRepository(APPServerContext context, JObject paramaters, DataTable dtFlowCard, ProductionAct production, Dictionary<string, object> reportReturn);
|
||||
|
||||
/// <summary>
|
||||
/// 自动完工注销
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<bool> AutoProcessAllCancel(APPServerContext context, DataTable dtFlowCard, ProductionAct production);
|
||||
/// <summary>
|
||||
/// 记录操作日志
|
||||
/// </summary>
|
||||
/// <param name="production"></param>
|
||||
/// <returns></returns>
|
||||
Task ProcessLogRepository(ProductionAct production, string logType, string msg, string phoneID, APPServerContext context = null);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.IServices
|
||||
{
|
||||
public interface IInspectionService : IService<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 工序首检列表接口(状态查询:已完成、未完成) 带数据总数量
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetFirstInspections(GetFirstInspection SData);
|
||||
|
||||
Task<List<object>> GetFirstInspection(GetFirstInspection SData);
|
||||
|
||||
/// <summary>
|
||||
/// 首检数据保存
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> SaveFirstInspection(SaveFirstInspection SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 工序巡检列表接口(状态查询:已完成、未完成)
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<object>> GetProcessInspection(GetFirstInspection SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 工序巡检列表接口(状态查询:已完成、未完成)
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetProcessInspections(GetFirstInspection SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 巡检条码扫入验证获取数据
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> ScanProcessCode(ScanProcessCode SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 巡检数据保存
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> SaveProcessInspection(SaveProcessInspection SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 文档查看功能
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetAssignDocument(GetAssignDocument SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 下载作业文档并查看
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> DownAssignDocument(DownAssignDocument SData);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 安灯异常呼叫列表接口
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetAbnormalCall(GetAbnormalCall SData);
|
||||
|
||||
/// <summary>
|
||||
/// 安灯异常呼叫列表接口
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetAbnormalCalls(GetAbnormalCall SData);
|
||||
|
||||
/// <summary>
|
||||
/// 安灯异常呼叫处理
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> DoAbnormalCall(DoAbnormalCall SData);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.IServices
|
||||
{
|
||||
/// <summary>
|
||||
/// 汇报信息查询服务层接口
|
||||
/// </summary>
|
||||
public interface IReportInfoLoadService : IService<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 按工作中心代码获取资源信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<Basic>> QueryResourceByWorkCenter(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 依据班组=>员工信息/员工信息=>班组
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<Basic>> GetTeamEmpTwo(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 加载历史汇报信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<ProductionAct>> ReloadReportHisReport(Dictionary<string, string> paramaters);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 加载历史汇报信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> ReloadReportHisReports(Dictionary<string, string> paramaters);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 单资源汇报信息加载
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<ProductionAct> ReloadSingeleResource(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 单资源汇报信息加载(Web)
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<ProductionAct> ReloadSingeleResourceWeb(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 提交资源信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<ProductionAct>> SubmitResouces(JObject paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 删除资源信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<string>> DeleteResources(JObject paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 查询条码类型及信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<Dictionary<string, object>> GetBarcodeInfo(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 查询SN汇报扫描条码信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<bool> CheckSNReportBarcode(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 查询周转码汇报数量
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<decimal> GetConutByTCCode(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 重置汇报系统参数
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<Dictionary<string, object>> ReLoadReportSystemParam();
|
||||
|
||||
/// <summary>
|
||||
/// 获取生产信息
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<object> GetReportMessage(Dictionary<string, string> paramaters);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.IServices
|
||||
{
|
||||
/// <summary>
|
||||
/// 汇报信息操作服务层接口
|
||||
/// </summary>
|
||||
public interface IReportProduceService : IService<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 员工上岗/下岗
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<ProductionAct> SubmitEmployee(JObject paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 员工上岗/下岗(Web)
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> SubmitEmployeeWeb(JObject paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 绑定/解绑设备
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<ProductionAct> SubmitEmquipment(JObject paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 工序开工
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<ProductionAct> ProcessStartServices(JObject paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 工序开工(Web)
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> ProcessStartServicesWeb(JObject paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 工序上下模
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<ProductionAct> ProcessInputMould(JObject paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 工序投料
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<ProductionAct> ProcessInputMaterialServices(JObject paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 安灯呼叫
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<ProductionAct> ProcessWarningCallServices(JObject paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 安灯异常呼叫处理(Web)
|
||||
/// </summary>
|
||||
/// <param name="SData"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> DoAbnormalCallWeb(DoAbnormalCall SData);
|
||||
|
||||
/// <summary>
|
||||
/// 工序汇报前验证检验状态
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> CheckInspectionStatusServices(Dictionary<string, string> paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 工序换型,工序调机,工序暂停
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<ProductionAct> ProcessChangeStateServices(JObject paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 完工注销
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<ProductionAct> ProcessAllCancelServices(JObject paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 完工注销(Web)
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> ProcessAllCancelServicesWeb(JObject paramaters);
|
||||
|
||||
/// <summary>
|
||||
/// 工序汇报
|
||||
/// </summary>
|
||||
/// <param name="paramaters"></param>
|
||||
/// <returns></returns>
|
||||
Task<ProductionAct> ProcessReportServices(JObject paramaters);
|
||||
}
|
||||
}
|
||||
+635
@@ -0,0 +1,635 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// SN条码表
|
||||
/// </summary>
|
||||
public class BarcodeSN
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
public BarcodeSN()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// SN序列号
|
||||
/// </summary>
|
||||
public System.String FSNCODE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码标签
|
||||
/// </summary>
|
||||
public System.String FBARCODE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// SN码类型
|
||||
/// </summary>
|
||||
public System.Int32 FTYPEID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 原单类型
|
||||
/// </summary>
|
||||
public System.Int32 FSOURCETRANTYPE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 原单单据内码
|
||||
/// </summary>
|
||||
public System.String FSOURCEINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 原单行内码
|
||||
/// </summary>
|
||||
public System.String FSOURCEDETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单号
|
||||
/// </summary>
|
||||
public System.String FMOBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public System.Decimal FQTY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前工序
|
||||
/// </summary>
|
||||
public System.String FCURPROCESSID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下一工序
|
||||
/// </summary>
|
||||
public System.String FNEXTPROCESSID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料内码
|
||||
/// </summary>
|
||||
public System.String FMATERIALID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 批号
|
||||
/// </summary>
|
||||
public System.String FBATCHNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位内码
|
||||
/// </summary>
|
||||
public System.String FUNITID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public System.String FNOTE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// FISREPORTED
|
||||
/// </summary>
|
||||
public System.Int32 FISREPORTED { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过程状态
|
||||
/// </summary>
|
||||
public System.Int32 FSNSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 质量状态
|
||||
/// </summary>
|
||||
public System.Int32 FQUALITYSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 汇报单内码
|
||||
/// </summary>
|
||||
public System.String FREPORTDETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 不良汇报单内码
|
||||
/// </summary>
|
||||
public System.String FBADREPORTDETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否被消耗
|
||||
/// </summary>
|
||||
public System.Int32 FISDEPLETE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否被检验
|
||||
/// </summary>
|
||||
public System.Int32 FISCHECK { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 同一时间段唯一内码
|
||||
/// </summary>
|
||||
public System.String FCJGUID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 在制品条码状态
|
||||
/// </summary>
|
||||
public System.Int32 FWIPSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源内码
|
||||
/// </summary>
|
||||
public System.String FRESOURCEID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓库
|
||||
/// </summary>
|
||||
public System.String FSTOCKID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓位
|
||||
/// </summary>
|
||||
public System.String FSTOCKLOCID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内码
|
||||
/// </summary>
|
||||
public System.String FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组
|
||||
/// </summary>
|
||||
public System.String FGROUPID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public System.Int32 FSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 禁用
|
||||
/// </summary>
|
||||
public System.Boolean FDELETED { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 组织
|
||||
/// </summary>
|
||||
public System.String FCOMPANYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制单日
|
||||
/// </summary>
|
||||
public System.DateTime? C_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制单人
|
||||
/// </summary>
|
||||
public System.String C_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新日
|
||||
/// </summary>
|
||||
public System.DateTime? M_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
public System.String M_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public System.String UID { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 周转码条码表
|
||||
/// </summary>
|
||||
public class BarcodeTC
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
public BarcodeTC()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 周转码标签
|
||||
/// </summary>
|
||||
public System.String FTCCODE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码标签
|
||||
/// </summary>
|
||||
public System.String FBARCODE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 原单类型
|
||||
/// </summary>
|
||||
public System.Int32 FSOURCETRANTYPE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 原单单据内码
|
||||
/// </summary>
|
||||
public System.String FSOURCEINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 原单行内码
|
||||
/// </summary>
|
||||
public System.String FSOURCEDETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单号
|
||||
/// </summary>
|
||||
public System.String FMOBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public System.Decimal FQTY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前工序
|
||||
/// </summary>
|
||||
public System.String FCURPROCESSID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下一工序
|
||||
/// </summary>
|
||||
public System.String FNEXTPROCESSID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料内码
|
||||
/// </summary>
|
||||
public System.String FMATERIALID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 批号
|
||||
/// </summary>
|
||||
public System.String FBATCHNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位内码
|
||||
/// </summary>
|
||||
public System.String FUNITID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 累计汇报量
|
||||
/// </summary>
|
||||
public System.Decimal FTOTQTY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 累计合格量
|
||||
/// </summary>
|
||||
public System.Decimal FTOTQUAQTY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 累计不良量
|
||||
/// </summary>
|
||||
public System.Decimal FTOTBADQTY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public System.String FNOTE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// FISREPORTED
|
||||
/// </summary>
|
||||
public System.Int32 FISREPORTED { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过程状态
|
||||
/// </summary>
|
||||
public System.Int32 FTCSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 质量状态
|
||||
/// </summary>
|
||||
public System.Int32 FQUALITYSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 汇报单内码
|
||||
/// </summary>
|
||||
public System.String FREPORTDETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 不良汇报单内码
|
||||
/// </summary>
|
||||
public System.String FBADREPORTDETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否被消耗
|
||||
/// </summary>
|
||||
public System.Int32 FISDEPLETE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否被检验
|
||||
/// </summary>
|
||||
public System.Int32 FISCHECK { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 同一时间段唯一内码
|
||||
/// </summary>
|
||||
public System.String FCJGUID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 在制品条码状态
|
||||
/// </summary>
|
||||
public System.Int32 FWIPSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源内码
|
||||
/// </summary>
|
||||
public System.String FRESOURCEID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓库
|
||||
/// </summary>
|
||||
public System.String FSTOCKID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓位
|
||||
/// </summary>
|
||||
public System.String FSTOCKLOCID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内码
|
||||
/// </summary>
|
||||
public System.String FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组
|
||||
/// </summary>
|
||||
public System.String FGROUPID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public System.Int32 FSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 禁用
|
||||
/// </summary>
|
||||
public System.Boolean FDELETED { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 组织
|
||||
/// </summary>
|
||||
public System.String FCOMPANYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制单日
|
||||
/// </summary>
|
||||
public System.DateTime? C_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制单人
|
||||
/// </summary>
|
||||
public System.String C_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新日
|
||||
/// </summary>
|
||||
public System.DateTime? M_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
public System.String M_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public System.String UID { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 在制品条码表
|
||||
/// </summary>
|
||||
public class BarcodeWIP
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
public BarcodeWIP()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 在制品序列号
|
||||
/// </summary>
|
||||
public System.String FWIPCODE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 在制品条码状态
|
||||
/// </summary>
|
||||
public System.Int32 FBARSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 采集汇报单编号
|
||||
/// </summary>
|
||||
public System.String FREPORTNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产生日期(长日期)
|
||||
/// </summary>
|
||||
public System.DateTime FDATE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序流转卡内码
|
||||
/// </summary>
|
||||
public System.String FFLOWCARDID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序流转卡工序明细内码
|
||||
/// </summary>
|
||||
public System.String FFLOWCARDDETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码类型
|
||||
/// </summary>
|
||||
public System.String FBARTYPE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生产任务内码
|
||||
/// </summary>
|
||||
public System.String FMOID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生产任务单编号
|
||||
/// </summary>
|
||||
public System.String FMOBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生产任务明细内码
|
||||
/// </summary>
|
||||
public System.String FMODETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生产任务明细行号
|
||||
/// </summary>
|
||||
public System.Int32 FMOENTRYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public System.Decimal FQTY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 不良数量
|
||||
/// </summary>
|
||||
public System.Decimal FBADQTY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作员
|
||||
/// </summary>
|
||||
public System.String FEMPID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前工序
|
||||
/// </summary>
|
||||
public System.String FPROCESSID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序识别码
|
||||
/// </summary>
|
||||
public System.String FCODE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下一工序
|
||||
/// </summary>
|
||||
public System.String FNEXTPROCESSID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下道工序识别码
|
||||
/// </summary>
|
||||
public System.String FNEXTCODE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料内码
|
||||
/// </summary>
|
||||
public System.String FMATERIALID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 批号
|
||||
/// </summary>
|
||||
public System.String FBATCHNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位内码
|
||||
/// </summary>
|
||||
public System.String FUNITID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 质量
|
||||
/// </summary>
|
||||
public System.String FQSTYPE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public System.String FNOTE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// FISREPORTED
|
||||
/// </summary>
|
||||
public System.Int32 FISREPORTED { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过程状态
|
||||
/// </summary>
|
||||
public System.Int32 FWIPSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 质量状态
|
||||
/// </summary>
|
||||
public System.Int32 FQUALITYSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 汇报单内码
|
||||
/// </summary>
|
||||
public System.String FREPORTDETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 不良汇报单内码
|
||||
/// </summary>
|
||||
public System.String FBADREPORTDETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否被消耗
|
||||
/// </summary>
|
||||
public System.Int32 FISDEPLETE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否被检验
|
||||
/// </summary>
|
||||
public System.Int32 FISCHECK { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 同一时间段唯一内码
|
||||
/// </summary>
|
||||
public System.String FCJGUID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源内码
|
||||
/// </summary>
|
||||
public System.String FRESOURCEID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓库
|
||||
/// </summary>
|
||||
public System.String FSTOCKID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓位
|
||||
/// </summary>
|
||||
public System.String FSTOCKLOCID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内码
|
||||
/// </summary>
|
||||
public System.String FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组
|
||||
/// </summary>
|
||||
public System.String FGROUPID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public System.Int32 FSTATUS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 禁用
|
||||
/// </summary>
|
||||
public System.Boolean FDELETED { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 组织
|
||||
/// </summary>
|
||||
public System.String FCOMPANYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制单日
|
||||
/// </summary>
|
||||
public System.DateTime? C_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制单人
|
||||
/// </summary>
|
||||
public System.String C_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新日
|
||||
/// </summary>
|
||||
public System.DateTime? M_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
public System.String M_USER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public System.String UID { get; set; }
|
||||
}
|
||||
}
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源信息
|
||||
/// </summary>
|
||||
public class Basic
|
||||
{
|
||||
/// <summary>
|
||||
/// 内码主键
|
||||
/// </summary>
|
||||
public string FID { get; set; }
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
public string FNO { get; set; }
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string FPROCESSNO { get; set; }
|
||||
/// <summary>
|
||||
/// 手机MAC地址
|
||||
/// </summary>
|
||||
public string FPHONEID { get; set; }
|
||||
/// <summary>
|
||||
/// 组织
|
||||
/// </summary>
|
||||
public string FCOMPANYID { get; set; }
|
||||
/// <summary>
|
||||
/// 时间:4-设备:绑定时间;
|
||||
/// </summary>
|
||||
public DateTime FTIME { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 基础资料信息
|
||||
/// </summary>
|
||||
public class SourceBasic
|
||||
{
|
||||
public string FID { get; set; }
|
||||
public string FNO { get; set; }
|
||||
public string FNAME { get; set; }
|
||||
public string FCOMPANYID { get; set; }
|
||||
}
|
||||
}
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 职员汇报信息
|
||||
/// </summary>
|
||||
public class Employee
|
||||
{
|
||||
/// <summary>
|
||||
/// 职员内码
|
||||
/// </summary>
|
||||
public string FEmpID { get; set; }
|
||||
/// <summary>
|
||||
/// 职员代码
|
||||
/// </summary>
|
||||
public string FEmpNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 职员名称
|
||||
/// </summary>
|
||||
public string FEmpName { get; set; }
|
||||
/// <summary>
|
||||
/// 职务ID
|
||||
/// </summary>
|
||||
public string FDutyID { get; set; }
|
||||
/// <summary>
|
||||
/// 人员工种
|
||||
/// </summary>
|
||||
public string FGZ { get; set; }
|
||||
/// <summary>
|
||||
/// 工种
|
||||
/// </summary>
|
||||
public string FGZName { get; set; }
|
||||
/// <summary>
|
||||
/// 是否在岗
|
||||
/// </summary>
|
||||
public bool FIsWork { get; set; }
|
||||
/// <summary>
|
||||
/// 上岗时间
|
||||
/// </summary>
|
||||
public DateTime? FStartTime { get; set; }
|
||||
/// <summary>
|
||||
/// 下岗时间
|
||||
/// </summary>
|
||||
public DateTime? FEndTime { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 上岗信息
|
||||
/// </summary>
|
||||
public class EmpDuty
|
||||
{
|
||||
/// <summary>
|
||||
/// 职员内码
|
||||
/// </summary>
|
||||
public string FEmpID { get; set; }
|
||||
/// <summary>
|
||||
/// 职员代码
|
||||
/// </summary>
|
||||
public string FEmpNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 职员名称
|
||||
/// </summary>
|
||||
public string FEmpName { get; set; }
|
||||
/// <summary>
|
||||
/// 上岗时间
|
||||
/// </summary>
|
||||
public DateTime? FStartTime { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取首检数据传参
|
||||
/// </summary>
|
||||
public class GetFirstInspection
|
||||
{
|
||||
public string Resource { get; set; }
|
||||
public string Page { get; set; }
|
||||
public string Size { get; set; }
|
||||
public string Status { get; set; }
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 首检单据保存传参
|
||||
/// </summary>
|
||||
public class SaveFirstInspection
|
||||
{
|
||||
public string FInterID { get; set; }
|
||||
public string FTestType { get; set; }
|
||||
public decimal FQty { get; set; }
|
||||
public decimal FCount { get; set; }
|
||||
public decimal FAcceptQty { get; set; }
|
||||
public decimal FUnAcceptQty { get; set; }
|
||||
public int FTestResult { get; set; }
|
||||
public List<Dictionary<string, object>> testItemData { get; set; }
|
||||
public List<Dictionary<string, object>> badReasonsData { get; set; }
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 巡检条码扫入验证获取数据传参
|
||||
/// </summary>
|
||||
public class ScanProcessCode
|
||||
{
|
||||
public string Barcode { get; set; }
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 巡检数据保存
|
||||
/// </summary>
|
||||
public class SaveProcessInspection
|
||||
{
|
||||
public string FInterID { get; set; }
|
||||
public string FResourceID { get; set; }
|
||||
public decimal FTestType { get; set; }
|
||||
public string FTestWayID { get; set; }
|
||||
public decimal FQty { get; set; }
|
||||
public decimal FCount { get; set; }
|
||||
public decimal FAcceptQty { get; set; }
|
||||
public decimal FUnAcceptQty { get; set; }
|
||||
public string FTestResult { get; set; }
|
||||
public string FUnitID { get; set; }
|
||||
public string FMaterialID { get; set; }
|
||||
public string FProcessID { get; set; }
|
||||
public string FFlowCardID { get; set; }
|
||||
public string FFlowCardDetailID { get; set; }
|
||||
public string FCode { get; set; }
|
||||
|
||||
public string FReportId { get; set; }
|
||||
public List<Dictionary<string, object>> testItemData { get; set; }
|
||||
public List<Dictionary<string, object>> badReasonsData { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 文档查看功能传参
|
||||
/// </summary>
|
||||
public class GetAssignDocument
|
||||
{
|
||||
|
||||
public string FProcessID { get; set; }
|
||||
public string FItemID { get; set; }
|
||||
public string FName { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class DownAssignDocument
|
||||
{
|
||||
public string FBillNO { get; set; }
|
||||
public string FFileName { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 安灯异常呼叫列表接口传参
|
||||
/// </summary>
|
||||
public class GetAbnormalCall
|
||||
{
|
||||
public string Resource { get; set; }
|
||||
public string Page { get; set; }
|
||||
public string Size { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class DoAbnormalCall
|
||||
{
|
||||
public string DoType { get; set; }
|
||||
public List<string> ListFInterID { get; set; }
|
||||
public string IsDule { get; set; }
|
||||
public string DuleUserID { get; set; }
|
||||
public string DuleTime { get; set; }
|
||||
|
||||
public string DuleResult { get; set; }
|
||||
public string phoneID { get; set; }
|
||||
public string resource { get; set; }
|
||||
public string reportID { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料库存
|
||||
/// </summary>
|
||||
public class MaterialInventory
|
||||
{
|
||||
/// <summary>
|
||||
/// 是否系统用料
|
||||
/// </summary>
|
||||
public bool IsSystem { get; set; }
|
||||
/// <summary>
|
||||
/// 物料内码
|
||||
/// </summary>
|
||||
public string FMaterialID { get; set; }
|
||||
/// <summary>
|
||||
/// 物料代码
|
||||
/// </summary>
|
||||
public string FNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 物料名称
|
||||
/// </summary>
|
||||
public string FName { get; set; }
|
||||
/// <summary>
|
||||
/// 批次
|
||||
/// </summary>
|
||||
public string FBatchNO { get; set; }
|
||||
/// <summary>
|
||||
/// 辅助属性
|
||||
/// </summary>
|
||||
public string FAuxPropID { get; set; }
|
||||
/// <summary>
|
||||
/// 辅助属性名称
|
||||
/// </summary>
|
||||
public string FAuxName { get; set; }
|
||||
/// <summary>
|
||||
/// 当前库存
|
||||
/// </summary>
|
||||
public decimal FQty { get; set; }
|
||||
/// <summary>
|
||||
/// 规格型号
|
||||
/// </summary>
|
||||
public string FModel { get; set; }
|
||||
/// <summary>
|
||||
/// 物料类别
|
||||
/// </summary>
|
||||
public string FTypeID { get; set; }
|
||||
/// <summary>
|
||||
/// 单位名称
|
||||
/// </summary>
|
||||
public string FUnitName { get; set; }
|
||||
/// <summary>
|
||||
/// 累计调入数量
|
||||
/// </summary>
|
||||
public decimal FInQty { get; set; }
|
||||
/// <summary>
|
||||
/// 累计消耗数量
|
||||
/// </summary>
|
||||
public decimal FOutQty { get; set; }
|
||||
/// <summary>
|
||||
/// 需求数量
|
||||
/// </summary>
|
||||
public decimal FDemandQty { get; set; }
|
||||
/// <summary>
|
||||
/// 已上料数量
|
||||
/// </summary>
|
||||
public decimal FInputQty { get; set; }
|
||||
/// <summary>
|
||||
/// 本次上料数量
|
||||
/// </summary>
|
||||
public decimal FThisQty { get; set; }
|
||||
/// <summary>
|
||||
/// 是否启用序列号
|
||||
/// </summary>
|
||||
public bool FFeedSN { get; set; }
|
||||
/// <summary>
|
||||
/// 是否第三方序列号
|
||||
/// </summary>
|
||||
public bool FOtherSN { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 剩余数量
|
||||
/// </summary>
|
||||
public decimal FMarginQty { get; set; }
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 模治具信息类
|
||||
/// </summary>
|
||||
public class MouldInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 模治具内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
/// <summary>
|
||||
/// 模治具代码
|
||||
/// </summary>
|
||||
public string FNUMBER { get; set; }
|
||||
/// <summary>
|
||||
/// 模治具名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
/// <summary>
|
||||
/// 上模时间
|
||||
/// </summary>
|
||||
public DateTime? FSTARTTIME { get; set; }
|
||||
/// <summary>
|
||||
/// 下模时间
|
||||
/// </summary>
|
||||
public DateTime? FENDTIME { get; set; }
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model
|
||||
{
|
||||
public class OperateLog
|
||||
{
|
||||
public OperateLog()
|
||||
{}
|
||||
/// <summary>
|
||||
/// 内码
|
||||
/// </summary>
|
||||
public System.String FINTERID { get; set; }
|
||||
/// <summary>
|
||||
/// Mac地址
|
||||
/// </summary>
|
||||
public string FPHONEID { get; set; }
|
||||
/// <summary>
|
||||
/// 资源内码
|
||||
/// </summary>
|
||||
public string FRESOURCEID { get; set; }
|
||||
/// <summary>
|
||||
/// 汇报内码
|
||||
/// </summary>
|
||||
public string FREPORTID { get; set; }
|
||||
/// <summary>
|
||||
/// 操作人内码
|
||||
/// </summary>
|
||||
public string FEMPID { get; set; }
|
||||
/// <summary>
|
||||
/// 操作人
|
||||
/// </summary>
|
||||
public string FEMPNAME { get; set; }
|
||||
/// <summary>
|
||||
/// 操作时间
|
||||
/// </summary>
|
||||
public DateTime? FOPERATETIME { get; set; }
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
|
||||
public string FDESCRIPTION { get; set; }
|
||||
/// <summary>
|
||||
/// 制单日
|
||||
/// </summary>
|
||||
public System.DateTime? C_YMD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制单人
|
||||
/// </summary>
|
||||
public System.String C_USER { get; set; }
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public System.String UID { get; set; }
|
||||
}
|
||||
}
|
||||
Loaded 100 of 6522 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user