├── .gitattributes
├── .gitignore
├── .nuget
├── .tfignore
├── LICENSE
├── README.md
├── docs
├── OpenSource
│ ├── AppImg
│ │ ├── API1.png
│ │ ├── API2.png
│ │ ├── API3.png
│ │ ├── PDA1.png
│ │ ├── PDA2.png
│ │ ├── PDA3.png
│ │ ├── PDA4.png
│ │ ├── PDA5.png
│ │ ├── PDA6.png
│ │ ├── PDA7.png
│ │ ├── Web1.png
│ │ ├── Web2.png
│ │ ├── Web3.png
│ │ ├── Web4.png
│ │ ├── Web5.png
│ │ └── Web6.png
│ └── QQGroup1QrCode.png
├── 初始化文件
│ ├── ZEQP_WMS.sql
│ └── 清空数据库.sql
├── 实施文档
│ └── WMS安装说明书.pdf
└── 数据库设计
│ ├── Base_Table.pdm
│ ├── Base_Table.sws
│ └── WMS仓库管理系统.pdm
└── src
├── CodeSpace.code-workspace
├── Coldairarrow.Api
├── .config
│ └── dotnet-tools.json
├── 00Filter
│ ├── BaseActionFilterAsync.cs
│ ├── JWT校验
│ │ ├── CheckJWTAttribute.cs
│ │ └── NoCheckJWTAttribute.cs
│ ├── 全局错误过滤
│ │ └── GlobalExceptionFilter.cs
│ ├── 参数校验
│ │ └── ValidFilterAttribute.cs
│ ├── 对外接口签名校验
│ │ ├── CheckSignAttribute.cs
│ │ └── IgnoreSignAttribute.cs
│ ├── 接口权限
│ │ ├── ApiPermissionAttribute.cs
│ │ └── NoApiPermissionAttribute.cs
│ ├── 接口请求日志
│ │ └── ApiLogAttribute.cs
│ └── 格式化返回结果
│ │ ├── FormatResponseAttribute.cs
│ │ └── NoFormatResponseAttribute.cs
├── 01Middleware
│ └── CorsMiddleware.cs
├── 05.Coldairarrow.Api.csproj
├── BuildCodeTemplate
│ ├── Business.txt
│ ├── Controller.txt
│ ├── EditForm.txt
│ ├── IBusiness.txt
│ └── List.txt
├── Controllers
│ ├── Base
│ │ ├── Base_EnumController.cs
│ │ ├── Base_EnumItemController.cs
│ │ ├── Base_ParameterController.cs
│ │ └── Base_UserStorController.cs
│ ├── BaseApiController.cs
│ ├── BaseController.cs
│ ├── Base_Manage
│ │ ├── Base_ActionController.cs
│ │ ├── Base_AppSecretController.cs
│ │ ├── Base_DbLinkController.cs
│ │ ├── Base_DepartmentController.cs
│ │ ├── Base_RoleController.cs
│ │ ├── Base_UserController.cs
│ │ ├── Base_UserController_partial.cs
│ │ ├── Base_UserLogController.cs
│ │ ├── BuildCodeController.cs
│ │ ├── HomeController.cs
│ │ └── UploadController.cs
│ ├── IT
│ │ ├── IT_LocalDetailController.cs
│ │ ├── IT_LocalMaterialController.cs
│ │ └── IT_RecordBookController.cs
│ ├── PB
│ │ ├── PB_AddressController.cs
│ │ ├── PB_AddressController_Partial.cs
│ │ ├── PB_AreaMaterialController.cs
│ │ ├── PB_BarCodeController.cs
│ │ ├── PB_BarCodeRuleController.cs
│ │ ├── PB_BarCodeSerialController.cs
│ │ ├── PB_BarCodeTypeController.cs
│ │ ├── PB_CustomerController.cs
│ │ ├── PB_CustomerController_Partial.cs
│ │ ├── PB_EquipmentController.cs
│ │ ├── PB_FeedPointController.cs
│ │ ├── PB_LanewayController.cs
│ │ ├── PB_LocalTrayController.cs
│ │ ├── PB_LocationController.cs
│ │ ├── PB_MaterialController.cs
│ │ ├── PB_MaterialController_Partial.cs
│ │ ├── PB_MaterialPointController.cs
│ │ ├── PB_MaterialTypeController.cs
│ │ ├── PB_MaterialTypeController_Partial.cs
│ │ ├── PB_MeasureController.cs
│ │ ├── PB_MeasureController_Partial.cs
│ │ ├── PB_RackController.cs
│ │ ├── PB_StorAreaController.cs
│ │ ├── PB_StorAreaController_Partial.cs
│ │ ├── PB_StorageController.cs
│ │ ├── PB_SupplierController.cs
│ │ ├── PB_SupplierController_Partial.cs
│ │ ├── PB_TrayController.cs
│ │ ├── PB_TrayMaterialController.cs
│ │ ├── PB_TrayTypeController.cs
│ │ └── PB_TrayZoneController.cs
│ ├── PD
│ │ └── PD_PlanController.cs
│ ├── Report
│ │ ├── IntroduceController.cs
│ │ └── MaterialSummaryController.cs
│ ├── TD
│ │ ├── TD_AllocateController.cs
│ │ ├── TD_AllocateDetailController.cs
│ │ ├── TD_BadController.cs
│ │ ├── TD_BadDetailController.cs
│ │ ├── TD_CheckAreaController.cs
│ │ ├── TD_CheckAreaController_Partial.cs
│ │ ├── TD_CheckController.cs
│ │ ├── TD_CheckController_Partial.cs
│ │ ├── TD_CheckDataController.cs
│ │ ├── TD_CheckDataController_Partial.cs
│ │ ├── TD_CheckMaterialController.cs
│ │ ├── TD_CheckMaterialController_Partial.cs
│ │ ├── TD_InStorDetailController.cs
│ │ ├── TD_InStorageController.cs
│ │ ├── TD_MoveController.cs
│ │ ├── TD_MoveDetailController.cs
│ │ ├── TD_OutStorDetailController.cs
│ │ ├── TD_OutStorageController.cs
│ │ ├── TD_RecDetailController.cs
│ │ ├── TD_ReceivingController.cs
│ │ ├── TD_SendController.cs
│ │ └── TD_SendDetailController.cs
│ └── TestController.cs
├── Deploy.ps1
├── DeployUbuntu.ps1
├── Dockerfile
├── Program.cs
├── Properties
│ ├── PublishProfiles
│ │ ├── 114.115.162.100.pubxml
│ │ ├── FolderProfile.pubxml
│ │ ├── WMSAPI.pubxml
│ │ └── zengzihan.pubxml
│ └── launchSettings.json
├── Startup.cs
├── appsettings.Development.json
├── appsettings.Production.json
├── appsettings.json
└── wwwroot
│ └── Upload
│ └── _.txt
├── Coldairarrow.Business
├── 04.Coldairarrow.Business.csproj
├── AOP
│ ├── DataAddLogAttribute.cs
│ ├── DataDeleteLogAttribute.cs
│ ├── DataEditLogAttribute.cs
│ ├── DataRepeatValidateAttribute.cs
│ └── WriteDataLogAttribute.cs
├── Base
│ ├── Base_EnumBusiness.cs
│ ├── Base_EnumItemBusiness.cs
│ ├── Base_ParameterBusiness.cs
│ └── Base_UserStorBusiness.cs
├── BaseBusiness.T.cs
├── BaseBusiness.T.partial.cs
├── Base_Manage
│ ├── Base_ActionBusiness.cs
│ ├── Base_AppSecretBusiness.cs
│ ├── Base_DbLinkBusiness.cs
│ ├── Base_DepartmentBusiness.cs
│ ├── Base_RoleBusiness.cs
│ ├── Base_UserBusiness.cs
│ ├── Base_UserBusiness_partial.cs
│ ├── Base_UserLogBusiness.cs
│ ├── BuildCodeBusiness.cs
│ ├── HomeBusiness.cs
│ └── PermissionBusiness.cs
├── Cache
│ ├── BaseCache.T.cs
│ ├── Base_UserCache.cs
│ ├── IBaseCache.T.cs
│ └── IBase_UserCache.cs
├── IT
│ ├── IT_LocalDetailBusiness.cs
│ ├── IT_LocalDetailBusiness_partial.cs
│ ├── IT_LocalMaterialBusiness.cs
│ ├── IT_LocalMaterialBusiness_Partial.cs
│ ├── IT_RecordBookBusiness.cs
│ └── IT_RecordBookBusiness_partial.cs
├── Operator.cs
├── PB
│ ├── NoCheckJWTAttribute.cs
│ ├── PB_AddressBusiness.cs
│ ├── PB_AddressBusiness_Partial.cs
│ ├── PB_AreaMaterialBusiness.cs
│ ├── PB_AreaMaterialBusiness_partial.cs
│ ├── PB_BarCodeBusiness.cs
│ ├── PB_BarCodeRuleBusiness.cs
│ ├── PB_BarCodeSerialBusiness.cs
│ ├── PB_BarCodeSerialBusiness_partial.cs
│ ├── PB_BarCodeTypeBusiness.cs
│ ├── PB_BarCodeTypeBusiness_partial.cs
│ ├── PB_CustomerBusiness.cs
│ ├── PB_CustomerBusiness_Partial.cs
│ ├── PB_EquipmentBusiness.cs
│ ├── PB_FeedPointBusiness.cs
│ ├── PB_FeedPointBusiness_partial.cs
│ ├── PB_LanewayBusiness.cs
│ ├── PB_LocalTrayBusiness.cs
│ ├── PB_LocationBusiness.cs
│ ├── PB_LocationBusiness_partial.cs
│ ├── PB_MaterialBusiness.cs
│ ├── PB_MaterialBusiness_partial.cs
│ ├── PB_MaterialPointBusiness.cs
│ ├── PB_MaterialPointBusiness_partial.cs
│ ├── PB_MaterialTypeBusiness.cs
│ ├── PB_MaterialTypeBusiness_Partial.cs
│ ├── PB_MeasureBusiness.cs
│ ├── PB_MeasureBusiness_Partial.cs
│ ├── PB_RackBusiness.cs
│ ├── PB_StorAreaBusiness.cs
│ ├── PB_StorAreaBusiness_Partial.cs
│ ├── PB_StorageBusiness.cs
│ ├── PB_SupplierBusiness.cs
│ ├── PB_SupplierBusiness_Partial.cs
│ ├── PB_TrayBusiness.cs
│ ├── PB_TrayBusiness_partial.cs
│ ├── PB_TrayMaterialBusiness.cs
│ ├── PB_TrayTypeBusiness.cs
│ ├── PB_TrayTypeBusiness_partial.cs
│ └── PB_TrayZoneBusiness.cs
├── PD
│ └── PD_PlanBusiness.cs
├── Report
│ ├── Report_IntroduceBusiness.cs
│ └── Report_MaterialSummaryBussiness.cs
└── TD
│ ├── TD_AllocateBusiness.cs
│ ├── TD_AllocateBusiness_partial.cs
│ ├── TD_AllocateDetailBusiness.cs
│ ├── TD_AllocateDetailBusiness_partial.cs
│ ├── TD_BadBusiness.cs
│ ├── TD_BadBusiness_partial.cs
│ ├── TD_BadDetailBusiness.cs
│ ├── TD_BadDetailBusiness_partial.cs
│ ├── TD_CheckAreaBusiness.cs
│ ├── TD_CheckAreaBusiness_Partial.cs
│ ├── TD_CheckBusiness.cs
│ ├── TD_CheckBusiness_Partial.cs
│ ├── TD_CheckDataBusiness.cs
│ ├── TD_CheckDataBusiness_Partial.cs
│ ├── TD_CheckMaterialBusiness.cs
│ ├── TD_CheckMaterialBusiness_Partial.cs
│ ├── TD_InStorDetailBusiness.cs
│ ├── TD_InStorDetailBusiness_partial.cs
│ ├── TD_InStorageBusiness.cs
│ ├── TD_InStorageBusiness_partial.cs
│ ├── TD_MoveBusiness.cs
│ ├── TD_MoveBusiness_partial.cs
│ ├── TD_MoveDetailBusiness.cs
│ ├── TD_MoveDetailBusiness_partial.cs
│ ├── TD_OutStorDetailBusiness.cs
│ ├── TD_OutStorDetailBusiness_partial.cs
│ ├── TD_OutStorageBusiness.cs
│ ├── TD_OutStorageBusiness_partial.cs
│ ├── TD_RecDetailBusiness.cs
│ ├── TD_RecDetailBusiness_partial.cs
│ ├── TD_ReceivingBusiness.cs
│ ├── TD_ReceivingBusiness_partial.cs
│ ├── TD_SendBusiness.cs
│ ├── TD_SendBusiness_partial.cs
│ ├── TD_SendDetailBusiness.cs
│ └── TD_SendDetailBusiness_partial.cs
├── Coldairarrow.Console
├── 06.Coldairarrow.Console.csproj
├── Program.cs
├── Properties
│ └── PublishProfiles
│ │ └── FolderProfile.pubxml
├── ServiceInstall
│ ├── install.bat
│ ├── nssm.exe
│ └── uninstall.bat
├── appsettings.Development.json
└── appsettings.json
├── Coldairarrow.Entity
├── 02.Coldairarrow.Entity.csproj
├── Base
│ ├── Base_Enum.cs
│ ├── Base_EnumItem.cs
│ ├── Base_EnumItem_partial.cs
│ ├── Base_Enum_partial.cs
│ ├── Base_Parameter.cs
│ └── Base_UserStor.cs
├── Base_Manage
│ ├── Base_Action.cs
│ ├── Base_AppSecret.cs
│ ├── Base_DbLink.cs
│ ├── Base_Department.cs
│ ├── Base_Role.cs
│ ├── Base_RoleAction.cs
│ ├── Base_User.cs
│ ├── Base_UserLog.cs
│ └── Base_UserRole.cs
├── DTO
│ ├── Base_UserDTO.cs
│ └── Base_UserDTO_partial.cs
├── Enum
│ ├── ActionType.cs
│ └── RoleTypes.cs
├── IT
│ ├── IT_LocalDetail.cs
│ ├── IT_LocalDetail_partial.cs
│ ├── IT_LocalMaterial.cs
│ ├── IT_LocalMaterial_Partial.cs
│ ├── IT_RecordBook.cs
│ └── IT_RecordBook_Partial.cs
├── PB
│ ├── PB_Address.cs
│ ├── PB_AreaMaterial.cs
│ ├── PB_AreaMaterial_partial.cs
│ ├── PB_BarCode.cs
│ ├── PB_BarCodeRule.cs
│ ├── PB_BarCodeRule_partial.cs
│ ├── PB_BarCodeSerial.cs
│ ├── PB_BarCodeSerial_partial.cs
│ ├── PB_BarCodeType.cs
│ ├── PB_BarCodeType_partial.cs
│ ├── PB_Customer.cs
│ ├── PB_Equipment.cs
│ ├── PB_FeedPoint.cs
│ ├── PB_FeedPoint_partial.cs
│ ├── PB_Laneway.cs
│ ├── PB_LocalTray.cs
│ ├── PB_LocalTray_Partial.cs
│ ├── PB_Location.cs
│ ├── PB_Location_Partial.cs
│ ├── PB_Material.cs
│ ├── PB_MaterialPoint.cs
│ ├── PB_MaterialPoint_partial.cs
│ ├── PB_MaterialType.cs
│ ├── PB_Material_Partial.cs
│ ├── PB_Measure.cs
│ ├── PB_Rack.cs
│ ├── PB_StorArea.cs
│ ├── PB_Storage.cs
│ ├── PB_Supplier.cs
│ ├── PB_Tray.cs
│ ├── PB_TrayMaterial.cs
│ ├── PB_TrayType.cs
│ └── PB_TrayZone.cs
├── PD
│ ├── PD_Plan.cs
│ └── PD_Plan_Partial.cs
└── TD
│ ├── TD_Allocate.cs
│ ├── TD_AllocateDetail.cs
│ ├── TD_AllocateDetail_partial.cs
│ ├── TD_Allocate_partial.cs
│ ├── TD_Bad.cs
│ ├── TD_BadDetail.cs
│ ├── TD_BadDetail_partial.cs
│ ├── TD_Bad_partial.cs
│ ├── TD_Check.cs
│ ├── TD_CheckArea.cs
│ ├── TD_CheckData.cs
│ ├── TD_CheckData_Parital.cs
│ ├── TD_CheckMaterial.cs
│ ├── TD_CheckMaterial_Partial.cs
│ ├── TD_Check_Parital.cs
│ ├── TD_InStorDetail.cs
│ ├── TD_InStorDetail_partial.cs
│ ├── TD_InStorage.cs
│ ├── TD_InStorage_partial.cs
│ ├── TD_Move.cs
│ ├── TD_MoveDetail.cs
│ ├── TD_MoveDetail_partial.cs
│ ├── TD_Move_partial.cs
│ ├── TD_OutStorDetail.cs
│ ├── TD_OutStorDetail_partial.cs
│ ├── TD_OutStorage.cs
│ ├── TD_OutStorage_Partial.cs
│ ├── TD_RecDetail.cs
│ ├── TD_RecDetail_partial.cs
│ ├── TD_Receiving.cs
│ ├── TD_Receiving_partial.cs
│ ├── TD_Send.cs
│ ├── TD_SendDetail.cs
│ ├── TD_SendDetail_partial.cs
│ └── TD_Send_partial.cs
├── Coldairarrow.IBusiness
├── 03.Coldairarrow.IBusiness.csproj
├── Base
│ ├── IBase_EnumBusiness.cs
│ ├── IBase_EnumItemBusiness.cs
│ ├── IBase_ParameterBusiness.cs
│ └── IBase_UserStorBusiness.cs
├── Base_Manage
│ ├── IBase_ActionBusiness.cs
│ ├── IBase_AppSecretBusiness.cs
│ ├── IBase_DbLinkBusiness.cs
│ ├── IBase_DepartmentBusiness.cs
│ ├── IBase_RoleBusiness.cs
│ ├── IBase_UserBusiness.cs
│ ├── IBase_UserBusiness_partial.cs
│ ├── IBase_UserLogBusiness.cs
│ ├── IBuildCodeBusiness.cs
│ ├── IHomeBusiness.cs
│ └── IPermissionBusiness.cs
├── DTO
│ ├── AuditDTO.cs
│ ├── AutoInStorageByTary.cs
│ ├── InAutoByTary.cs
│ ├── ManualInStorage.cs
│ ├── MaterialTypeTreeDTO.cs
│ ├── OutAutoByTary.cs
│ ├── PBAddressConditionDTO.cs
│ ├── PBAreaMateriaConditionDTO.cs
│ ├── PBCustomerCoditionDTO.cs
│ ├── PBLocalTrayConditionDTO.cs
│ ├── PBMaterialConditionDTO.cs
│ ├── PBSupplierCoditionDTO.cs
│ ├── PBTrayMateriaConditionDTO.cs
│ ├── SelectQueryDTO.cs
│ ├── TDCheckConditionDTO.cs
│ ├── TDCheckDataConditionDTO.cs
│ ├── TDCheckDataDTO.cs
│ ├── TDCheckNumModifyDTO.cs
│ ├── TDCheckQueryDTO.cs
│ └── TraySelectQueryDTO.cs
├── IOperator.cs
├── IT
│ ├── IIT_LocalDetailBusiness.cs
│ ├── IIT_LocalDetailBusiness_partial.cs
│ ├── IIT_LocalMaterialBusiness.cs
│ ├── IIT_LocalMaterialBusiness_Partial.cs
│ ├── IIT_RecordBookBusiness.cs
│ └── IIT_RecordBookBusiness_partial.cs
├── PB
│ ├── IPB_AddressBusiness.cs
│ ├── IPB_AddressBusiness_Partial.cs
│ ├── IPB_AreaMaterialBusiness.cs
│ ├── IPB_AreaMaterialBusiness_partial.cs
│ ├── IPB_BarCodeBusiness.cs
│ ├── IPB_BarCodeRuleBusiness.cs
│ ├── IPB_BarCodeSerialBusiness.cs
│ ├── IPB_BarCodeSerialBusiness_partial.cs
│ ├── IPB_BarCodeTypeBusiness.cs
│ ├── IPB_BarCodeTypeBusiness_partial.cs
│ ├── IPB_CustomerBusiness.cs
│ ├── IPB_CustomerBusiness_Partial.cs
│ ├── IPB_EquipmentBusiness.cs
│ ├── IPB_FeedPointBusiness.cs
│ ├── IPB_FeedPointBusiness_partial.cs
│ ├── IPB_LanewayBusiness.cs
│ ├── IPB_LocalTrayBusiness.cs
│ ├── IPB_LocationBusiness.cs
│ ├── IPB_LocationBusiness_partial.cs
│ ├── IPB_MaterialBusiness.cs
│ ├── IPB_MaterialBusiness_Partial.cs
│ ├── IPB_MaterialPointBusiness.cs
│ ├── IPB_MaterialPointBusiness_partial.cs
│ ├── IPB_MaterialTypeBusiness.cs
│ ├── IPB_MaterialTypeBusiness_Partial.cs
│ ├── IPB_MeasureBusiness.cs
│ ├── IPB_MeasureBusiness_Partial.cs
│ ├── IPB_RackBusiness.cs
│ ├── IPB_StorAreaBusiness.cs
│ ├── IPB_StorAreaBusiness_Partial.cs
│ ├── IPB_StorageBusiness.cs
│ ├── IPB_SupplierBusiness.cs
│ ├── IPB_SupplierBusiness_Partial.cs
│ ├── IPB_TrayBusiness.cs
│ ├── IPB_TrayBusiness_partial.cs
│ ├── IPB_TrayMaterialBusiness.cs
│ ├── IPB_TrayTypeBusiness.cs
│ ├── IPB_TrayTypeBusiness_partial.cs
│ └── IPB_TrayZoneBusiness.cs
├── PD
│ ├── IPD_PlanBusiness.cs
│ └── IPD_PlanBusiness_Partial.cs
├── Report
│ ├── IReport_IntroduceBussiness.cs
│ └── IReport_MaterialSummaryBussiness.cs
└── TD
│ ├── ITD_AllocateBusiness.cs
│ ├── ITD_AllocateBusiness_partial.cs
│ ├── ITD_AllocateDetailBusiness.cs
│ ├── ITD_AllocateDetailBusiness_partial.cs
│ ├── ITD_BadBusiness.cs
│ ├── ITD_BadBusiness_partial.cs
│ ├── ITD_BadDetailBusiness.cs
│ ├── ITD_BadDetailBusiness_partial.cs
│ ├── ITD_CheckAreaBusiness.cs
│ ├── ITD_CheckAreaBusiness_Partial.cs
│ ├── ITD_CheckBusiness.cs
│ ├── ITD_CheckBusiness_Partial.cs
│ ├── ITD_CheckDataBusiness.cs
│ ├── ITD_CheckDataBusiness_Partial.cs
│ ├── ITD_CheckMaterialBusiness.cs
│ ├── ITD_CheckMaterialBusiness_Partial.cs
│ ├── ITD_InStorDetailBusiness.cs
│ ├── ITD_InStorDetailBusiness_partial.cs
│ ├── ITD_InStorageBusiness.cs
│ ├── ITD_InStorageBusiness_partial.cs
│ ├── ITD_MoveBusiness.cs
│ ├── ITD_MoveBusiness_partial.cs
│ ├── ITD_MoveDetailBusiness.cs
│ ├── ITD_MoveDetailBusiness_partial.cs
│ ├── ITD_OutStorDetailBusiness.cs
│ ├── ITD_OutStorDetailBusiness_partial.cs
│ ├── ITD_OutStorageBusiness.cs
│ ├── ITD_OutStorageBusiness_partial.cs
│ ├── ITD_RecDetailBusiness.cs
│ ├── ITD_RecDetailBusiness_partial.cs
│ ├── ITD_ReceivingBusiness.cs
│ ├── ITD_ReceivingBusiness_partial.cs
│ ├── ITD_SendBusiness.cs
│ ├── ITD_SendBusiness_partial.cs
│ ├── ITD_SendDetailBusiness.cs
│ └── ITD_SendDetailBusiness_partial.cs
├── Coldairarrow.Pad
├── .env
├── .env.docker
├── .env.live
├── .gitignore
├── Deploy.ps1
├── README.md
├── babel.config.js
├── package-lock.json
├── package.json
├── public
│ ├── Dockerfile
│ ├── Web.config
│ ├── default.conf
│ ├── favicon.ico
│ ├── favicon.png
│ ├── index.html
│ └── loading
│ │ ├── loading.css
│ │ ├── loading.html
│ │ └── option2
│ │ ├── html_code_segment.html
│ │ ├── loading.css
│ │ └── loading.svg
└── src
│ ├── App.vue
│ ├── api
│ ├── Home
│ │ └── UserSvc.js
│ ├── PB
│ │ ├── EnumSvc.js
│ │ ├── LocalSvc.js
│ │ ├── MaterialSvc.js
│ │ ├── PlanSvc.js
│ │ ├── StorageSvc.js
│ │ └── TraySvc.js
│ ├── Report
│ │ └── LocalMaterialSvc.js
│ └── TD
│ │ ├── InStorageSvc.js
│ │ ├── OutStorageSvc.js
│ │ ├── ReceiveSvc.js
│ │ └── SendSvc.js
│ ├── assets
│ ├── logo.png
│ └── logo.svg
│ ├── components
│ ├── BarcodeReader.vue
│ ├── BaseEnumName.vue
│ ├── BaseEnumSelect.vue
│ ├── HelloWorld.vue
│ ├── InputBarcode.vue
│ ├── InputLocation.vue
│ ├── InputMaterial.vue
│ ├── InputTray.vue
│ ├── LocalChoose.vue
│ ├── MaterialChoose.vue
│ ├── StorageSwitch.vue
│ ├── TrayChoose.vue
│ └── UserMenu.vue
│ ├── config.js
│ ├── layouts
│ ├── BaseLayout.vue
│ └── UserLayout.vue
│ ├── main.js
│ ├── router.js
│ ├── utils
│ ├── TokenCache.js
│ └── axios-plugin.js
│ └── views
│ ├── Home
│ ├── Index.vue
│ ├── Login.vue
│ └── Test.vue
│ ├── InStorage
│ ├── AutoIn.vue
│ ├── Detail.vue
│ ├── InBlankTray.vue
│ ├── InManualTray.vue
│ ├── List.vue
│ ├── ManualIn.vue
│ ├── Receive.vue
│ ├── ReceiveDetail.vue
│ └── ReceiveList.vue
│ ├── OutStorage
│ ├── AutoOut.vue
│ ├── Detail.vue
│ ├── List.vue
│ ├── ManualOut.vue
│ ├── OutBlankTray.vue
│ ├── OutManualTray.vue
│ ├── Send.vue
│ ├── SendDetail.vue
│ └── SendList.vue
│ ├── PB
│ ├── LocalList.vue
│ ├── MaterialDetail.vue
│ ├── MaterialList.vue
│ ├── PlanDetail.vue
│ ├── PlanList.vue
│ └── TrayList.vue
│ └── Report
│ └── LocalMaterialReport.vue
├── Coldairarrow.UnitTests
├── 10.Coldairarrow.UnitTests.csproj
├── BaseTest.cs
├── DemoTest.cs
├── appsettings.Development.json
└── appsettings.json
├── Coldairarrow.Util
├── 01.Coldairarrow.Util.csproj
├── AOP
│ ├── Abstraction
│ │ ├── BaseAOPAttribute.cs
│ │ ├── CastleAOPContext.cs
│ │ ├── CastleInterceptor.cs
│ │ └── IAOPContext.cs
│ └── TransactionalAttribute.cs
├── ClassLibrary
│ ├── BloomFilter.cs
│ ├── ConsistentHash.cs
│ ├── MurmurHash2.cs
│ ├── ParentChildrenMapping.cs
│ ├── ShareMemory.cs
│ ├── TaskQeury.cs
│ └── UsingLock.cs
├── DI
│ ├── IScopeDependency.cs
│ ├── ISingletonDependency.cs
│ └── ITransientDependency.cs
├── DataAccess
│ ├── DbHelper.cs
│ ├── DbHelperFactory.cs
│ ├── DbProviderFactoryHelper.cs
│ ├── MySqlHelper.cs
│ ├── OracleHelper.cs
│ ├── PostgreSqlHelper.cs
│ └── SqlServerHelper.cs
├── Extention
│ ├── Extention.ActionExecutingContext.cs
│ ├── Extention.Byte.cs
│ ├── Extention.DataTable.cs
│ ├── Extention.DateTime.cs
│ ├── Extention.Delegate.cs
│ ├── Extention.Enum.cs
│ ├── Extention.ExpandoObject.cs
│ ├── Extention.Expression.cs
│ ├── Extention.Guid.cs
│ ├── Extention.HttpRequest.cs
│ ├── Extention.IEnumerable.cs
│ ├── Extention.IHostBuilder.cs
│ ├── Extention.IQueryable.cs
│ ├── Extention.IServiceCollection.cs
│ ├── Extention.Int.cs
│ ├── Extention.Json.cs
│ ├── Extention.Object.cs
│ ├── Extention.Stream.cs
│ └── Extention.String.cs
├── GlobalData.cs
├── Helper
│ ├── AsposeOfficeHelper.cs
│ ├── AsyncHelper.cs
│ ├── BaiduApiHelper.cs
│ ├── ConfigHelper.cs
│ ├── DbSearchHelper.cs
│ ├── DelegateHelper.cs
│ ├── EncodingHelper.cs
│ ├── EnumHelper.cs
│ ├── ExceptionHelper.cs
│ ├── FileHelper.cs
│ ├── FileZipHelper.cs
│ ├── GuidHelper.cs
│ ├── HttpClientHelper.cs
│ ├── HttpHelper.cs
│ ├── ImgHelper.cs
│ ├── ImgVerifyCodeHelper.cs
│ ├── IpHelper.cs
│ ├── JWTHelper.cs
│ ├── JobHelper.cs
│ ├── LinqHelper.cs
│ ├── LogHelper.cs
│ ├── LoopHelper.cs
│ ├── PathHelper.cs
│ ├── QRCodeHelper.cs
│ ├── RandomHelper.cs
│ ├── TreeHelper.cs
│ ├── TypeBuilderHelper.cs
│ └── XmlHelper.cs
├── Primitives
│ ├── AjaxResult.T.cs
│ ├── AjaxResult.cs
│ ├── BusException.cs
│ ├── CacheType.cs
│ ├── ConditionDTO.cs
│ ├── DbTableInfo.cs
│ ├── DeleteMode.cs
│ ├── DynamicModel.cs
│ ├── ErrorResult.cs
│ ├── FileEntry.cs
│ ├── IdInputDTO.cs
│ ├── JWTPayload.cs
│ ├── LogType.cs
│ ├── MapAttribute.cs
│ ├── OptionListInputDTO.cs
│ ├── PageInput.T.cs
│ ├── PageInput.cs
│ ├── PageResult.cs
│ ├── SelectOption.cs
│ ├── TableInfo.cs
│ └── TreeModel.cs
└── lib
│ └── Aspose.Cells.dll
├── Coldairarrow.Web
├── .editorconfig
├── .env
├── .env.docker
├── .env.live
├── .env.preview
├── .gitattributes
├── .gitignore
├── .prettierrc
├── .travis.yml
├── Deploy.ps1
├── LICENSE
├── babel.config.js
├── config
│ └── plugin.config.js
├── jest.config.js
├── jsconfig.json
├── package-lock.json
├── package.json
├── public
│ ├── Dockerfile
│ ├── Web.config
│ ├── avatar2.jpg
│ ├── color.less
│ ├── default.conf
│ ├── favicon.ico
│ ├── index.html
│ ├── loading
│ │ ├── loading.css
│ │ ├── loading.html
│ │ └── option2
│ │ │ ├── html_code_segment.html
│ │ │ ├── loading.css
│ │ │ └── loading.svg
│ └── logo.png
├── src
│ ├── App.vue
│ ├── assets
│ │ ├── antLogo.svg
│ │ ├── background.svg
│ │ ├── fullLogo.png
│ │ ├── icons
│ │ │ └── bx-analyse.svg
│ │ ├── logo.png
│ │ ├── logo.svg
│ │ └── zeqp.gif
│ ├── components
│ │ ├── BaseEnum
│ │ │ ├── BaseEnumName.vue
│ │ │ └── BaseEnumSelect.vue
│ │ ├── CSelect
│ │ │ └── CSelect.vue
│ │ ├── CUploadFile
│ │ │ └── CUploadFile.vue
│ │ ├── CUploadImg
│ │ │ └── CUploadImg.vue
│ │ ├── ChartCard
│ │ │ ├── ChartCard.vue
│ │ │ └── Trend.vue
│ │ ├── EditableCell
│ │ │ └── EditableCell.vue
│ │ ├── Exception
│ │ │ ├── ExceptionPage.vue
│ │ │ ├── index.js
│ │ │ └── type.js
│ │ ├── GlobalFooter
│ │ │ ├── GlobalFooter.vue
│ │ │ └── index.js
│ │ ├── GlobalHeader
│ │ │ ├── GlobalHeader.vue
│ │ │ └── index.js
│ │ ├── IT
│ │ │ ├── LocalMaterialChoose.vue
│ │ │ └── LocalMaterialSelect.vue
│ │ ├── IconSelector
│ │ │ ├── IconSelector.vue
│ │ │ ├── README.md
│ │ │ ├── icons.js
│ │ │ └── index.js
│ │ ├── Location
│ │ │ ├── LocationChoose.vue
│ │ │ ├── LocationSelect.vue
│ │ │ └── LocationSelect_Old.vue
│ │ ├── Material
│ │ │ ├── MaterialChoose.vue
│ │ │ └── MaterialSelect.vue
│ │ ├── Menu
│ │ │ ├── SideMenu.vue
│ │ │ ├── index.js
│ │ │ ├── menu.js
│ │ │ └── menu.render.js
│ │ ├── MultiTab
│ │ │ ├── MultiTab.vue
│ │ │ ├── index.js
│ │ │ └── index.less
│ │ ├── NoticeIcon
│ │ │ ├── NoticeIcon.vue
│ │ │ └── index.js
│ │ ├── PB
│ │ │ ├── CustomerChoose.vue
│ │ │ ├── CustomerSelect.vue
│ │ │ ├── LeadingShow.vue
│ │ │ ├── MaterialTypeSelect.vue
│ │ │ ├── MeasureSelect.vue
│ │ │ ├── StorAreaSelect.vue
│ │ │ ├── StorAreaShow.vue
│ │ │ ├── SupplierChoose.vue
│ │ │ └── SupplierSelect.vue
│ │ ├── PageHeader
│ │ │ ├── PageHeader.vue
│ │ │ └── index.js
│ │ ├── SettingDrawer
│ │ │ ├── SettingDrawer.vue
│ │ │ ├── SettingItem.vue
│ │ │ ├── index.js
│ │ │ ├── settingConfig.js
│ │ │ └── themeColor.js
│ │ ├── Storage
│ │ │ ├── AllStorageSelect.vue
│ │ │ ├── AreaSelect.vue
│ │ │ ├── LanewaySelect.vue
│ │ │ ├── RackSelect.vue
│ │ │ ├── StorageSelect.vue
│ │ │ └── StorageSwitch.vue
│ │ ├── Tray
│ │ │ ├── TrayChoose.vue
│ │ │ ├── TraySelect.vue
│ │ │ ├── TraySelect_Old.vue
│ │ │ └── ZoneSelect.vue
│ │ ├── User
│ │ │ └── UserSelect.vue
│ │ ├── WangEditor
│ │ │ └── WangEditor.vue
│ │ ├── _util
│ │ │ └── util.js
│ │ ├── global.less
│ │ ├── index.js
│ │ ├── index.less
│ │ └── tools
│ │ │ ├── Breadcrumb.vue
│ │ │ ├── ChangePwdForm.vue
│ │ │ ├── DetailList.vue
│ │ │ ├── HeadInfo.vue
│ │ │ ├── Logo.vue
│ │ │ ├── TwoStepCaptcha.vue
│ │ │ ├── UserMenu.vue
│ │ │ └── index.js
│ ├── config
│ │ ├── defaultSettings.js
│ │ └── router.config.js
│ ├── core
│ │ ├── bootstrap.js
│ │ ├── directives
│ │ │ └── action.js
│ │ ├── icons.js
│ │ ├── lazy_lib
│ │ │ └── components_use.js
│ │ ├── lazy_use.js
│ │ └── use.js
│ ├── layouts
│ │ ├── BasicLayout.vue
│ │ ├── BlankLayout.vue
│ │ ├── PageView.vue
│ │ ├── RouteView.vue
│ │ ├── UserLayout.vue
│ │ └── index.js
│ ├── main.js
│ ├── permission.js
│ ├── router
│ │ ├── README.md
│ │ └── index.js
│ ├── store
│ │ ├── getters.js
│ │ ├── index.js
│ │ ├── modules
│ │ │ └── app.js
│ │ └── mutation-types.js
│ ├── utils
│ │ ├── cache
│ │ │ ├── OperatorCache.js
│ │ │ ├── ParameterCache.js
│ │ │ └── TokenCache.js
│ │ ├── device.js
│ │ ├── domUtil.js
│ │ ├── filter.js
│ │ ├── helper
│ │ │ ├── ProcessHelper.js
│ │ │ ├── TreeHelper.js
│ │ │ └── TypeHelper.js
│ │ ├── mixin.js
│ │ ├── plugin
│ │ │ ├── axios-plugin.js
│ │ │ ├── operator-plugin.js
│ │ │ └── parameter-plugin.js
│ │ ├── routerUtil.js
│ │ ├── util.js
│ │ └── utils.less
│ └── views
│ │ ├── Base
│ │ ├── Base_Enum
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── Base_EnumItem
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── Base_Parameter
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ └── Base_UserStor
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── Base_Manage
│ │ ├── Base_Action
│ │ │ ├── EditForm.vue
│ │ │ ├── List.vue
│ │ │ └── PermissionList.vue
│ │ ├── Base_AppSecret
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── Base_DbLink
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── Base_Department
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── Base_Role
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── Base_User
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── Base_UserLog
│ │ │ └── List.vue
│ │ └── BuildCode
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── Develop
│ │ ├── Editor.vue
│ │ ├── IconSelectorView.vue
│ │ ├── SelectSearch.vue
│ │ ├── UploadFile.vue
│ │ └── UploadImg.vue
│ │ ├── Home
│ │ ├── Introduce.vue
│ │ ├── Login.vue
│ │ └── Statis.vue
│ │ ├── IT
│ │ ├── IT_LocalDetail
│ │ │ └── List.vue
│ │ ├── IT_LocalMaterial
│ │ │ └── List.vue
│ │ └── IT_RecordBook
│ │ │ └── List.vue
│ │ ├── PB
│ │ ├── PB_Address
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_AreaMaterial
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_BarCode
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_BarCodeRule
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_BarCodeType
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_Customer
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_Equipment
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_FeedPoint
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_Laneway
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_LocalTray
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_LocalTrayType
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_Location
│ │ │ ├── EditForm.vue
│ │ │ ├── LeadingForm.vue
│ │ │ └── List.vue
│ │ ├── PB_Material
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_MaterialPoint
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_MaterialType
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_Measure
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_Rack
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_StorArea
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_Storage
│ │ │ ├── ConfigFrom.vue
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_Supplier
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_Tray
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_TrayMaterial
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PB_TrayType
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ └── PB_TrayZone
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── PD
│ │ └── PD_Plan
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── Report
│ │ ├── InStorage
│ │ │ └── Report.vue
│ │ ├── MaterialSummary
│ │ │ └── Report.vue
│ │ └── OutStorage
│ │ │ └── Report.vue
│ │ ├── TD
│ │ ├── TD_Allocate
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── TD_AllocateDetail
│ │ │ ├── AllocateChoose.vue
│ │ │ └── List.vue
│ │ ├── TD_Bad
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── TD_BadDetail
│ │ │ ├── BadChoose.vue
│ │ │ └── List.vue
│ │ ├── TD_Check
│ │ │ ├── Audite.vue
│ │ │ ├── Check.vue
│ │ │ ├── CheckDataList.vue
│ │ │ ├── EditForm.vue
│ │ │ ├── List.vue
│ │ │ ├── MaterialList.vue
│ │ │ ├── RandomMaterial.vue
│ │ │ └── Show.vue
│ │ ├── TD_CheckArea
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── TD_CheckData
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── TD_CheckMaterial
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── TD_InStorDetail
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── TD_InStorage
│ │ │ ├── EditForm.vue
│ │ │ ├── InBlankTray.vue
│ │ │ └── List.vue
│ │ ├── TD_Move
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── TD_MoveDetail
│ │ │ ├── List.vue
│ │ │ └── MoveChoose.vue
│ │ ├── TD_OutStorDetail
│ │ │ ├── List.vue
│ │ │ └── LocalMaterialList.vue
│ │ ├── TD_OutStorage
│ │ │ ├── EditForm.vue
│ │ │ ├── List.vue
│ │ │ └── OutBlankTray.vue
│ │ ├── TD_RecDetail
│ │ │ └── List.vue
│ │ ├── TD_Receiving
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ ├── TD_Send
│ │ │ ├── EditForm.vue
│ │ │ └── List.vue
│ │ └── TD_SendDetail
│ │ │ ├── List.vue
│ │ │ └── SendMaterialList.vue
│ │ └── exception
│ │ ├── 403.vue
│ │ ├── 404.vue
│ │ └── 500.vue
├── tests
│ └── unit
│ │ └── .eslintrc.js
├── vue.config.js
├── webstorm.config.js
└── yarn.lock
├── Deploy.ps1
├── DeployIIS.ps1
├── DeployUbuntu.ps1
├── ZEQP.WMS.sln
└── clear.bat
/.nuget:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.tfignore:
--------------------------------------------------------------------------------
1 | \packages
2 | !\packages\repositories.config
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/API1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/API1.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/API2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/API2.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/API3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/API3.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/PDA1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/PDA1.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/PDA2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/PDA2.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/PDA3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/PDA3.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/PDA4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/PDA4.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/PDA5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/PDA5.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/PDA6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/PDA6.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/PDA7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/PDA7.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/Web1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/Web1.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/Web2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/Web2.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/Web3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/Web3.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/Web4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/Web4.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/Web5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/Web5.png
--------------------------------------------------------------------------------
/docs/OpenSource/AppImg/Web6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/AppImg/Web6.png
--------------------------------------------------------------------------------
/docs/OpenSource/QQGroup1QrCode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/OpenSource/QQGroup1QrCode.png
--------------------------------------------------------------------------------
/docs/实施文档/WMS安装说明书.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/docs/实施文档/WMS安装说明书.pdf
--------------------------------------------------------------------------------
/docs/数据库设计/Base_Table.sws:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/src/CodeSpace.code-workspace:
--------------------------------------------------------------------------------
1 | {
2 | "folders": [
3 | {
4 | "path": "Coldairarrow.Web"
5 | },
6 | {
7 | "path": "Coldairarrow.Pad"
8 | }
9 | ]
10 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/.config/dotnet-tools.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "isRoot": true,
4 | "tools": {
5 | "dotnet-ef": {
6 | "version": "3.1.5",
7 | "commands": [
8 | "dotnet-ef"
9 | ]
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/00Filter/JWT校验/NoCheckJWTAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace Coldairarrow.Api
2 | {
3 | ///
4 | /// 忽略JWT校验
5 | ///
6 | public class NoCheckJWTAttribute : BaseActionFilterAsync
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/00Filter/参数校验/ValidFilterAttribute.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Mvc.Filters;
2 | using System.Linq;
3 | using System.Threading.Tasks;
4 |
5 | namespace Coldairarrow.Api
6 | {
7 | public class ValidFilterAttribute : BaseActionFilterAsync
8 | {
9 | public override async Task OnActionExecuting(ActionExecutingContext context)
10 | {
11 | if (!context.ModelState.IsValid)
12 | {
13 | var msgList = context.ModelState.Values.SelectMany(x => x.Errors).Select(x => x.ErrorMessage);
14 |
15 | context.Result = Error(string.Join(",", msgList));
16 | }
17 |
18 | await Task.CompletedTask;
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/00Filter/对外接口签名校验/IgnoreSignAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace Coldairarrow.Api
2 | {
3 | ///
4 | /// 忽略接口签名校验
5 | ///
6 | public class IgnoreSignAttribute : BaseActionFilterAsync
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/00Filter/接口权限/NoApiPermissionAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace Coldairarrow.Api
2 | {
3 | ///
4 | /// 忽略接口权限校验
5 | ///
6 | public class NoApiPermissionAttribute : BaseActionFilterAsync
7 | {
8 |
9 | }
10 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/00Filter/格式化返回结果/NoFormatResponseAttribute.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Mvc.Filters;
2 | using System;
3 |
4 | namespace Coldairarrow.Api
5 | {
6 | ///
7 | /// 返回结果不进行格式化
8 | ///
9 | public class NoFormatResponseAttribute : Attribute, IActionFilter
10 | {
11 | ///
12 | /// Action执行之前执行
13 | ///
14 | /// 过滤器上下文
15 | public void OnActionExecuting(ActionExecutingContext context)
16 | {
17 |
18 | }
19 |
20 | ///
21 | /// Action执行完毕之后执行
22 | ///
23 | ///
24 | public void OnActionExecuted(ActionExecutedContext context)
25 | {
26 |
27 | }
28 | }
29 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/BuildCodeTemplate/IBusiness.txt:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.%areaName%;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.%areaName%
7 | {
8 | public partial interface I%entityName%Business
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task<%entityName%> GetTheDataAsync(string id);
12 | Task AddDataAsync(%entityName% data);
13 | Task UpdateDataAsync(%entityName% data);
14 | Task DeleteDataAsync(List ids);
15 | }
16 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Controllers/BaseApiController.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Mvc;
2 |
3 | namespace Coldairarrow.Api
4 | {
5 | ///
6 | /// Mvc对外接口基控制器
7 | ///
8 | [CheckJWT]
9 | [ApiController]
10 | [ApiLog]
11 | public class BaseApiController : BaseController
12 | {
13 |
14 | }
15 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Controllers/Base_Manage/Base_UserController_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Business.Base_Manage;
2 | using Coldairarrow.Entity.Base_Manage;
3 | using Coldairarrow.Util;
4 | using Microsoft.AspNetCore.Mvc;
5 | using System.Collections.Generic;
6 | using System.Threading.Tasks;
7 |
8 | namespace Coldairarrow.Api.Controllers.Base_Manage
9 | {
10 | public partial class Base_UserController : BaseApiController
11 | {
12 | [HttpGet]
13 | public async Task> GetSelectData(string keyword, string selected)
14 | {
15 | return await _userBus.GetSelectUser(keyword, selected);
16 | }
17 |
18 | [HttpGet]
19 | public async Task GetCurUser()
20 | {
21 | return await _userBus.GetCurUser();
22 | }
23 | }
24 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Controllers/PB/PB_AddressController_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Business.PB;
2 | using Coldairarrow.Entity.PB;
3 | using Coldairarrow.IBusiness.DTO;
4 | using Coldairarrow.Util;
5 | using Microsoft.AspNetCore.Mvc;
6 | using System.Collections.Generic;
7 | using System.Threading.Tasks;
8 |
9 | namespace Coldairarrow.Api.Controllers.PB
10 | {
11 | public partial class PB_AddressController
12 | {
13 | [HttpPost]
14 | public async Task> QueryDataList(PageInput input)
15 | {
16 | return await _pB_AddressBus.QueryDataListAsync(input);
17 | }
18 |
19 | [HttpPost]
20 | public async Task ModifyDefault(string id)
21 | {
22 | await _pB_AddressBus.ModifyDefaultAsync(id);
23 | }
24 |
25 | [HttpPost]
26 | public async Task ModifyEnable(string id)
27 | {
28 | await _pB_AddressBus.ModifyEnableAsync(id);
29 | }
30 | }
31 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Controllers/PB/PB_CustomerController_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Business.PB;
2 | using Coldairarrow.Entity.PB;
3 | using Coldairarrow.IBusiness.DTO;
4 | using Coldairarrow.Util;
5 | using Microsoft.AspNetCore.Mvc;
6 | using System.Collections.Generic;
7 | using System.Threading.Tasks;
8 |
9 | namespace Coldairarrow.Api.Controllers.PB
10 | {
11 | public partial class PB_CustomerController
12 | {
13 | [HttpPost]
14 | public async Task> QueryDataList(PageInput input)
15 | {
16 | return await _pB_CustomerBus.QueryDataListAsync(input);
17 | }
18 |
19 | [HttpPost]
20 | public async Task> QueryAllData()
21 | {
22 | return await _pB_CustomerBus.QueryAllDataAsync();
23 | }
24 |
25 | [HttpPost]
26 | public async Task> GetQueryData(SelectQueryDTO search)
27 | {
28 | return await _pB_CustomerBus.GetQueryData(search);
29 | }
30 | }
31 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Controllers/PB/PB_MaterialController_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Business.PB;
2 | using Coldairarrow.Entity.PB;
3 | using Coldairarrow.IBusiness.DTO;
4 | using Coldairarrow.Util;
5 | using Microsoft.AspNetCore.Mvc;
6 | using System.Collections.Generic;
7 | using System.Threading.Tasks;
8 |
9 | namespace Coldairarrow.Api.Controllers.PB
10 | {
11 | public partial class PB_MaterialController
12 | {
13 | [HttpPost]
14 | public async Task> QueryDataList(PageInput input)
15 | {
16 | return await _pB_MaterialBus.QueryDataListAsync(input);
17 | }
18 | [HttpGet]
19 | public async Task GetByBarcode(string barcode)
20 | {
21 | return await _pB_MaterialBus.GetByBarcode(barcode);
22 | }
23 | [HttpGet]
24 | public async Task GetByCode(string code)
25 | {
26 | return await _pB_MaterialBus.GetByCode(code);
27 | }
28 | }
29 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Controllers/PB/PB_MaterialTypeController_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Business.PB;
2 | using Coldairarrow.Entity.PB;
3 | using Coldairarrow.IBusiness.DTO;
4 | using Coldairarrow.Util;
5 | using Microsoft.AspNetCore.Mvc;
6 | using System.Collections.Generic;
7 | using System.Threading.Tasks;
8 |
9 | namespace Coldairarrow.Api.Controllers.PB
10 | {
11 | public partial class PB_MaterialTypeController
12 | {
13 | [HttpPost]
14 | public async Task> GetTreeDataList(string parentId)
15 | {
16 | return await _pB_MaterialTypeBus.GetTreeDataListAsync(parentId);
17 | }
18 | }
19 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Controllers/PB/PB_MeasureController_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Business.PB;
2 | using Coldairarrow.Entity.PB;
3 | using Coldairarrow.Util;
4 | using Microsoft.AspNetCore.Mvc;
5 | using System.Collections.Generic;
6 | using System.Threading.Tasks;
7 |
8 | namespace Coldairarrow.Api.Controllers.PB
9 | {
10 | public partial class PB_MeasureController
11 | {
12 | [HttpPost]
13 | public async Task> QueryAllData()
14 | {
15 | return await _pB_MeasureBus.QueryAllDataAsync();
16 | }
17 | }
18 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Controllers/PB/PB_StorAreaController_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Business.PB;
2 | using Coldairarrow.Entity.PB;
3 | using Coldairarrow.Util;
4 | using Microsoft.AspNetCore.Mvc;
5 | using System.Collections.Generic;
6 | using System.Linq;
7 | using System.Threading.Tasks;
8 |
9 | namespace Coldairarrow.Api.Controllers.PB
10 | {
11 | public partial class PB_StorAreaController
12 | {
13 | ///
14 | /// 查询货区
15 | ///
16 | [HttpPost]
17 | public async Task> Query()
18 | {
19 | return await _pB_StorAreaBus.QueryAsync(_Op.Property.DefaultStorageId);
20 | }
21 | }
22 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Controllers/TD/TD_CheckAreaController_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Business.TD;
2 | using Coldairarrow.Entity.TD;
3 | using Coldairarrow.Util;
4 | using Microsoft.AspNetCore.Mvc;
5 | using System.Collections.Generic;
6 | using System.Threading.Tasks;
7 |
8 | namespace Coldairarrow.Api.Controllers.TD
9 | {
10 | public partial class TD_CheckAreaController
11 | {
12 | [HttpPost]
13 | public async Task> Query(string checkId)
14 | {
15 | return await _tD_CheckAreaBus.QueryAsync(checkId);
16 | }
17 | }
18 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Controllers/TD/TD_CheckMaterialController_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Business.TD;
2 | using Coldairarrow.Entity.PB;
3 | using Coldairarrow.Entity.TD;
4 | using Coldairarrow.Util;
5 | using Microsoft.AspNetCore.Mvc;
6 | using System.Collections.Generic;
7 | using System.Threading.Tasks;
8 |
9 | namespace Coldairarrow.Api.Controllers.TD
10 | {
11 | public partial class TD_CheckMaterialController
12 | {
13 | [HttpPost]
14 | public async Task> Query(string checkId)
15 | {
16 |
17 | return await _tD_CheckMaterialBus.QueryAsync(checkId);
18 | }
19 | }
20 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM mcr.microsoft.com/dotnet/core/aspnet:3.1
2 | #RUN echo "http://mirrors.aliyun.com/alpine/v3.10/main/" > /etc/apk/repositories \
3 | #&& apk add --no-cache icu-libs \
4 | #&& apk add --no-cache --repository http://mirrors.aliyun.com/alpine/edge/testing/ libgdiplus \
5 | #&& apk add --no-cache tzdata \
6 | #&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
7 | #&& echo "Asia/Shanghai" > /etc/timezone \
8 | #&& apk del tzdata
9 | ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
10 | WORKDIR /app
11 | COPY . .
12 | EXPOSE 5000
13 | ENTRYPOINT ["dotnet","Coldairarrow.Api.dll"]
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Program.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Util;
2 | using Microsoft.AspNetCore.Hosting;
3 | using Microsoft.Extensions.Hosting;
4 |
5 | namespace Coldairarrow.Api
6 | {
7 | public class Program
8 | {
9 | public static void Main(string[] args)
10 | {
11 | Host.CreateDefaultBuilder(args)
12 | .UseIdHelper()
13 | .UseLog()
14 | .UseCache()
15 | .ConfigureWebHostDefaults(webBuilder =>
16 | {
17 | webBuilder
18 | .UseUrls("http://*:5000")
19 | .UseStartup();
20 | })
21 | .Build()
22 | .Run();
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Properties/PublishProfiles/FolderProfile.pubxml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 | FileSystem
9 | FileSystem
10 | Release
11 | Any CPU
12 |
13 | True
14 | False
15 | bea1bf0d-b063-4931-89c7-22f92973143a
16 | bin\Release\netcoreapp3.1\publish\
17 | False
18 |
19 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Properties/PublishProfiles/WMSAPI.pubxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | False
8 | False
9 | True
10 | Release
11 | Any CPU
12 | FileSystem
13 | E:\WMSDeploy\Install\WMSAPI
14 | FileSystem
15 |
16 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Properties/PublishProfiles/zengzihan.pubxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | False
8 | False
9 | True
10 | Release
11 | Any CPU
12 | FileSystem
13 | D:\ZEQPWMS\WMSAPI
14 | FileSystem
15 |
16 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/Properties/launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "profiles": {
3 | "Coldairarrow.Api": {
4 | "commandName": "Project",
5 | "launchBrowser": true,
6 | "launchUrl": "swagger",
7 | "environmentVariables": {
8 | "ASPNETCORE_ENVIRONMENT": "Development"
9 | },
10 | "applicationUrl": "http://localhost:5000"
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Information",
5 | "Microsoft": "Warning",
6 | "Microsoft.Hosting.Lifetime": "Information"
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Api/wwwroot/Upload/_.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/AOP/DataAddLogAttribute.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.IBusiness;
2 | using Coldairarrow.Util;
3 | using Microsoft.Extensions.DependencyInjection;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business
7 | {
8 | public class DataAddLogAttribute : WriteDataLogAttribute
9 | {
10 | public DataAddLogAttribute(UserLogType logType, string nameField, string dataName)
11 | : base(logType, nameField, dataName)
12 | {
13 | }
14 |
15 | public override async Task After(IAOPContext context)
16 | {
17 | var op = context.ServiceProvider.GetService();
18 | var obj = context.Arguments[0];
19 | op.WriteUserLog(_logType, $"添加{_dataName}:{obj.GetPropertyValue(_nameField)?.ToString()}");
20 |
21 | await Task.CompletedTask;
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/AOP/DataEditLogAttribute.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.IBusiness;
2 | using Coldairarrow.Util;
3 | using Microsoft.Extensions.DependencyInjection;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business
7 | {
8 | public class DataEditLogAttribute : WriteDataLogAttribute
9 | {
10 | public DataEditLogAttribute(UserLogType logType, string nameField, string dataName)
11 | : base(logType, nameField, dataName)
12 | {
13 | }
14 |
15 | public override async Task After(IAOPContext context)
16 | {
17 | var op = context.ServiceProvider.GetService();
18 | var obj = context.Arguments[0];
19 | op.WriteUserLog(_logType, $"修改{_dataName}:{obj.GetPropertyValue(_nameField)?.ToString()}");
20 |
21 | await Task.CompletedTask;
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/AOP/WriteDataLogAttribute.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Util;
2 | using System;
3 |
4 | namespace Coldairarrow.Business
5 | {
6 | public abstract class WriteDataLogAttribute : BaseAOPAttribute
7 | {
8 | public WriteDataLogAttribute(UserLogType logType, string nameField, string dataName)
9 | {
10 | _logType = logType;
11 | _dataName = dataName;
12 | _nameField = nameField;
13 | }
14 | protected UserLogType _logType { get; }
15 | protected string _dataName { get; }
16 | protected string _nameField { get; }
17 | protected Type _entityType { get; }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/BaseBusiness.T.partial.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.EntityFrameworkCore;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq.Dynamic.Core;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 |
8 | namespace Coldairarrow.Business
9 | {
10 | public abstract partial class BaseBusiness
11 | {
12 | public async Task GetByCode(string code)
13 | {
14 | return await this.Db.GetIQueryable().Where("Code == @0", code).FirstOrDefaultAsync();
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/Cache/IBaseCache.T.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Threading.Tasks;
3 |
4 | namespace Coldairarrow.Business.Cache
5 | {
6 | public interface IBaseCache where T : class
7 | {
8 | Task GetCacheAsync(string idKey);
9 | Task UpdateCacheAsync(string idKey);
10 | Task UpdateCacheAsync(List idKeys);
11 | }
12 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/Cache/IBase_UserCache.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity;
2 | using Coldairarrow.Util;
3 | using System.Threading.Tasks;
4 |
5 | namespace Coldairarrow.Business.Cache
6 | {
7 | public interface IBase_UserCache : IBaseCache
8 | {
9 | Task UpdateCacheAsync(string id, Base_UserDTO user);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/PB/NoCheckJWTAttribute.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Coldairarrow.Business.PB
4 | {
5 | internal class NoCheckJWTAttribute : Attribute
6 | {
7 | }
8 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/PB/PB_BarCodeSerialBusiness_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using EFCore.Sharding;
4 | using LinqKit;
5 | using Microsoft.EntityFrameworkCore;
6 | using System.Collections.Generic;
7 | using System.Linq;
8 | using System.Linq.Dynamic.Core;
9 | using System.Threading.Tasks;
10 |
11 | namespace Coldairarrow.Business.PB
12 | {
13 | public partial class PB_BarCodeSerialBusiness : BaseBusiness, IPB_BarCodeSerialBusiness, ITransientDependency
14 | {
15 | public async Task AddDataAsync(List list)
16 | {
17 | await InsertAsync(list);
18 | }
19 |
20 | public async Task UpdateDataAsync(List list)
21 | {
22 | await UpdateAsync(list);
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/PB/PB_MeasureBusiness_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using EFCore.Sharding;
4 | using LinqKit;
5 | using Microsoft.EntityFrameworkCore;
6 | using System.Collections.Generic;
7 | using System.Linq;
8 | using System.Linq.Dynamic.Core;
9 | using System.Threading.Tasks;
10 |
11 | namespace Coldairarrow.Business.PB
12 | {
13 | public partial class PB_MeasureBusiness
14 | {
15 | public async Task> QueryAllDataAsync()
16 | {
17 | var q = GetIQueryable();
18 | var where = LinqHelper.True();
19 |
20 |
21 | return await q.Where(where).ToListAsync();
22 | }
23 | }
24 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/PB/PB_StorAreaBusiness_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using EFCore.Sharding;
4 | using LinqKit;
5 | using Microsoft.EntityFrameworkCore;
6 | using System.Collections.Generic;
7 | using System.Linq;
8 | using System.Linq.Dynamic.Core;
9 | using System.Threading.Tasks;
10 |
11 | namespace Coldairarrow.Business.PB
12 | {
13 | public partial class PB_StorAreaBusiness
14 | {
15 | public async Task> QueryAsync(string storageId)
16 | {
17 | var q = GetIQueryable();
18 |
19 | return await q.Where(p => p.StorId == storageId).ToListAsync();
20 | }
21 |
22 | public async Task GetInnerArea(string storageId)
23 | {
24 | var q = GetIQueryable();
25 |
26 | return await q.Where(p => p.StorId == storageId && p.Type == "In").FirstOrDefaultAsync();
27 | }
28 | }
29 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/TD/TD_AllocateDetailBusiness_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.TD;
2 | using Coldairarrow.Util;
3 | using EFCore.Sharding;
4 | using LinqKit;
5 | using Microsoft.EntityFrameworkCore;
6 | using System.Collections.Generic;
7 | using System.Linq;
8 | using System.Linq.Dynamic.Core;
9 | using System.Threading.Tasks;
10 |
11 | namespace Coldairarrow.Business.TD
12 | {
13 | public partial class TD_AllocateDetailBusiness : BaseBusiness, ITD_AllocateDetailBusiness, ITransientDependency
14 | {
15 | public async Task AddDataAsync(List list)
16 | {
17 | await InsertAsync(list);
18 | }
19 |
20 | public async Task UpdateDataAsync(List list)
21 | {
22 | await UpdateAsync(list);
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/TD/TD_BadDetailBusiness_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.TD;
2 | using Coldairarrow.Util;
3 | using EFCore.Sharding;
4 | using LinqKit;
5 | using Microsoft.EntityFrameworkCore;
6 | using System.Collections.Generic;
7 | using System.Linq;
8 | using System.Linq.Dynamic.Core;
9 | using System.Threading.Tasks;
10 |
11 | namespace Coldairarrow.Business.TD
12 | {
13 | public partial class TD_BadDetailBusiness : BaseBusiness, ITD_BadDetailBusiness, ITransientDependency
14 | {
15 |
16 |
17 | public async Task AddDataAsync(List list)
18 | {
19 | await InsertAsync(list);
20 | }
21 |
22 | public async Task UpdateDataAsync(List list)
23 | {
24 | await UpdateAsync(list);
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/TD/TD_InStorageBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.TD;
2 | using Coldairarrow.Util;
3 | using EFCore.Sharding;
4 | using LinqKit;
5 | using Microsoft.EntityFrameworkCore;
6 | using System;
7 | using System.Collections.Generic;
8 | using System.Linq;
9 | using System.Linq.Dynamic.Core;
10 | using System.Threading.Tasks;
11 |
12 | namespace Coldairarrow.Business.TD
13 | {
14 | public partial class TD_InStorageBusiness : BaseBusiness, ITD_InStorageBusiness, ITransientDependency
15 | {
16 |
17 | #region 外部接口
18 |
19 |
20 |
21 | #endregion
22 |
23 | #region 私有成员
24 |
25 | #endregion
26 | }
27 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/TD/TD_MoveDetailBusiness_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.TD;
2 | using Coldairarrow.Util;
3 | using EFCore.Sharding;
4 | using LinqKit;
5 | using Microsoft.EntityFrameworkCore;
6 | using System.Collections.Generic;
7 | using System.Linq;
8 | using System.Linq.Dynamic.Core;
9 | using System.Threading.Tasks;
10 |
11 | namespace Coldairarrow.Business.TD
12 | {
13 | public partial class TD_MoveDetailBusiness : BaseBusiness, ITD_MoveDetailBusiness, ITransientDependency
14 | {
15 |
16 |
17 | public async Task AddDataAsync(List list)
18 | {
19 | await InsertAsync(list);
20 | }
21 |
22 | public async Task UpdateDataAsync(List list)
23 | {
24 | await UpdateAsync(list);
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Business/TD/TD_RecDetailBusiness_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.TD;
2 | using Coldairarrow.Util;
3 | using EFCore.Sharding;
4 | using LinqKit;
5 | using Microsoft.EntityFrameworkCore;
6 | using System.Collections.Generic;
7 | using System.Linq;
8 | using System.Linq.Dynamic.Core;
9 | using System.Threading.Tasks;
10 |
11 | namespace Coldairarrow.Business.TD
12 | {
13 | public partial class TD_RecDetailBusiness : BaseBusiness, ITD_RecDetailBusiness, ITransientDependency
14 | {
15 | public async Task AddDataAsync(List list)
16 | {
17 | await InsertAsync(list);
18 | }
19 |
20 | public async Task UpdateDataAsync(List list)
21 | {
22 | await UpdateAsync(list);
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Console/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Coldairarrow.Console1
4 | {
5 | class Program
6 | {
7 | static void Main()
8 | {
9 | Console.WriteLine("完成");
10 | Console.WriteLine();
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Console/Properties/PublishProfiles/FolderProfile.pubxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | FileSystem
8 | Release
9 | Any CPU
10 | netcoreapp3.0
11 | bin\Release\netcoreapp3.0\publish\
12 |
13 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Console/ServiceInstall/install.bat:
--------------------------------------------------------------------------------
1 | cd /d %~dp0
2 | set serviceName="AService"
3 | set exePath="SocketPassthrough.exe"
4 | nssm install %serviceName% %~dp0\%exePath%
5 | nssm start %serviceName%
--------------------------------------------------------------------------------
/src/Coldairarrow.Console/ServiceInstall/nssm.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/src/Coldairarrow.Console/ServiceInstall/nssm.exe
--------------------------------------------------------------------------------
/src/Coldairarrow.Console/ServiceInstall/uninstall.bat:
--------------------------------------------------------------------------------
1 | cd /d %~dp0
2 | set serviceName="AService"
3 | nssm stop %serviceName%
4 | nssm remove %serviceName% confirm
--------------------------------------------------------------------------------
/src/Coldairarrow.Console/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Debug",
5 | "System": "Information",
6 | "Microsoft": "Information"
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Console/appsettings.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/awesomedotnetcore/WMS/6df46eab042d25f4fa7038979c42f1a7637b808a/src/Coldairarrow.Console/appsettings.json
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/Base/Base_EnumItem_partial.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.EntityFrameworkCore;
2 | using Microsoft.EntityFrameworkCore.Metadata.Builders;
3 | using System;
4 | using System.ComponentModel.DataAnnotations;
5 | using System.ComponentModel.DataAnnotations.Schema;
6 |
7 | namespace Coldairarrow.Entity.Base
8 | {
9 | ///
10 | /// 字典值
11 | ///
12 | public partial class Base_EnumItem
13 | {
14 | [ForeignKey(nameof(EnumId))]
15 | public Base_Enum Enum { get; set; }
16 | }
17 |
18 | public class Base_EnumItemEntityTypeConfig : IEntityTypeConfiguration
19 | {
20 | public void Configure(EntityTypeBuilder builder)
21 | {
22 | builder.HasQueryFilter(w => w.Deleted == false);
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/Base/Base_Enum_partial.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.EntityFrameworkCore;
2 | using Microsoft.EntityFrameworkCore.Metadata.Builders;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.ComponentModel.DataAnnotations;
6 | using System.ComponentModel.DataAnnotations.Schema;
7 |
8 | namespace Coldairarrow.Entity.Base
9 | {
10 | ///
11 | /// 数据字典
12 | ///
13 | public partial class Base_Enum
14 | {
15 | public List EnumItems { get; set; }
16 |
17 | }
18 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/Base_Manage/Base_Role.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.ComponentModel.DataAnnotations;
3 | using System.ComponentModel.DataAnnotations.Schema;
4 |
5 | namespace Coldairarrow.Entity.Base_Manage
6 | {
7 | ///
8 | /// 系统角色表
9 | ///
10 | [Table("Base_Role")]
11 | public class Base_Role
12 | {
13 |
14 | ///
15 | /// 主键
16 | ///
17 | [Key, Column(Order = 1)]
18 | public String Id { get; set; }
19 |
20 | ///
21 | /// 创建时间
22 | ///
23 | public DateTime CreateTime { get; set; }
24 |
25 | ///
26 | /// 创建人Id
27 | ///
28 | public String CreatorId { get; set; }
29 |
30 | ///
31 | /// 否已删除
32 | ///
33 | public Boolean Deleted { get; set; }
34 |
35 | ///
36 | /// 角色名
37 | ///
38 | public String RoleName { get; set; }
39 |
40 | }
41 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/DTO/Base_UserDTO_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base_Manage;
2 | using Coldairarrow.Entity.PB;
3 | using System.Collections.Generic;
4 |
5 | namespace Coldairarrow.Entity
6 | {
7 | public partial class Base_UserDTO
8 | {
9 | ///
10 | /// 默认仓库ID
11 | ///
12 | public string DefaultStorageId { get; set; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/Enum/ActionType.cs:
--------------------------------------------------------------------------------
1 | namespace Coldairarrow.Entity
2 | {
3 | ///
4 | /// 类型,菜单=0,页面=1,权限=2
5 | ///
6 | public enum ActionType
7 | {
8 | 菜单 = 0,
9 | 页面 = 1,
10 | 权限 = 2
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/Enum/RoleTypes.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Coldairarrow.Entity
4 | {
5 | ///
6 | /// 系统角色类型
7 | ///
8 | [Flags]
9 | public enum RoleTypes
10 | {
11 | 超级管理员 = 1,
12 | 部门管理员 = 2
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/IT/IT_LocalDetail_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using System;
3 | using System.ComponentModel.DataAnnotations;
4 | using System.ComponentModel.DataAnnotations.Schema;
5 |
6 | namespace Coldairarrow.Entity.IT
7 | {
8 | ///
9 | /// 库存明细表
10 | ///
11 | public partial class IT_LocalDetail
12 | {
13 | [ForeignKey(nameof(LocalId))]
14 | public PB_Location Location { get; set; }
15 |
16 | [ForeignKey(nameof(TrayId))]
17 | public PB_Tray Tray { get; set; }
18 |
19 | [ForeignKey(nameof(ZoneId))]
20 | public PB_TrayZone TrayZone { get; set; }
21 |
22 | [ForeignKey(nameof(MaterialId))]
23 | public PB_Material Material { get; set; }
24 |
25 | [ForeignKey(nameof(MeasureId))]
26 | public PB_Measure Measure { get; set; }
27 | }
28 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/IT/IT_LocalMaterial_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using System;
3 | using System.ComponentModel.DataAnnotations;
4 | using System.ComponentModel.DataAnnotations.Schema;
5 |
6 | namespace Coldairarrow.Entity.IT
7 | {
8 | ///
9 | /// 库存表
10 | ///
11 | public partial class IT_LocalMaterial
12 | {
13 | [ForeignKey(nameof(LocalId))]
14 | public PB_Location Location { set; get; }
15 |
16 | [ForeignKey(nameof(MaterialId))]
17 | public PB_Material Material { set; get; }
18 |
19 | [ForeignKey(nameof(StorId))]
20 | public PB_Storage Storage { set; get; }
21 |
22 | [ForeignKey(nameof(ZoneId))]
23 | public PB_TrayZone TrayZone { set; get; }
24 |
25 | [ForeignKey(nameof(TrayId))]
26 | public PB_Tray Tray { set; get; }
27 |
28 | [ForeignKey(nameof(MeasureId))]
29 | public PB_Measure Measure { set; get; }
30 | }
31 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/IT/IT_RecordBook_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using System;
3 | using System.ComponentModel.DataAnnotations;
4 | using System.ComponentModel.DataAnnotations.Schema;
5 |
6 | namespace Coldairarrow.Entity.IT
7 | {
8 | ///
9 | /// 台账表
10 | ///
11 | public partial class IT_RecordBook
12 | {
13 | [ForeignKey(nameof(FromLocalId))]
14 | public PB_Location FromLocation { get; set; }
15 |
16 | [ForeignKey(nameof(ToLocalId))]
17 | public PB_Location ToLocation { get; set; }
18 |
19 | [ForeignKey(nameof(FromStorId))]
20 | public PB_Storage FromStorage { get; set; }
21 |
22 | [ForeignKey(nameof(ToStorId))]
23 | public PB_Storage ToStorage { get; set; }
24 |
25 | [ForeignKey(nameof(MaterialId))]
26 | public PB_Material Material { get; set; }
27 |
28 | [ForeignKey(nameof(MeasureId))]
29 | public PB_Measure Measure { get; set; }
30 |
31 |
32 |
33 | }
34 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/PB/PB_AreaMaterial.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.EntityFrameworkCore;
2 | using Microsoft.EntityFrameworkCore.Metadata.Builders;
3 | using System;
4 | using System.ComponentModel.DataAnnotations;
5 | using System.ComponentModel.DataAnnotations.Schema;
6 |
7 | namespace Coldairarrow.Entity.PB
8 | {
9 | ///
10 | /// 货区物料关系表
11 | ///
12 | [Table("PB_AreaMaterial")]
13 | public partial class PB_AreaMaterial
14 | {
15 |
16 | ///
17 | /// 货区ID
18 | ///
19 | [Key, Column(Order = 1)]
20 | public String AreaId { get; set; }
21 |
22 | ///
23 | /// 物料ID
24 | ///
25 | [Key, Column(Order = 2)]
26 | public String MaterialId { get; set; }
27 |
28 | }
29 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/PB/PB_BarCodeRule_partial.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.EntityFrameworkCore;
2 | using Microsoft.EntityFrameworkCore.Metadata.Builders;
3 | using System;
4 | using System.ComponentModel.DataAnnotations;
5 | using System.ComponentModel.DataAnnotations.Schema;
6 |
7 | namespace Coldairarrow.Entity.PB
8 | {
9 | ///
10 | /// 条码规则
11 | ///
12 | public partial class PB_BarCodeRule
13 | {
14 | [ForeignKey(nameof(TypeId))]
15 | public PB_BarCodeType BarCodeType { get; set; }
16 | }
17 |
18 | public class PB_BarCodeRuleEntityTypeConfig : IEntityTypeConfiguration
19 | {
20 | public void Configure(EntityTypeBuilder builder)
21 | {
22 | builder.HasQueryFilter(w => w.Deleted == false);
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/PB/PB_BarCodeSerial_partial.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.ComponentModel.DataAnnotations;
3 | using System.ComponentModel.DataAnnotations.Schema;
4 |
5 | namespace Coldairarrow.Entity.PB
6 | {
7 | ///
8 | /// 条码参数流水
9 | ///
10 | public partial class PB_BarCodeSerial
11 | {
12 | [ForeignKey(nameof(TypeId))]
13 | public PB_BarCodeType BarCodeType { get; set; }
14 | }
15 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/PB/PB_BarCodeType_partial.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.EntityFrameworkCore;
2 | using Microsoft.EntityFrameworkCore.Metadata.Builders;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.ComponentModel.DataAnnotations;
6 | using System.ComponentModel.DataAnnotations.Schema;
7 |
8 | namespace Coldairarrow.Entity.PB
9 | {
10 | ///
11 | /// 条码类型管理
12 | ///
13 | public partial class PB_BarCodeType
14 | {
15 | public List BarCodeRules { get; set; }
16 | public List BarCodeSerials { get; set; }
17 | }
18 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/PB/PB_FeedPoint_partial.cs:
--------------------------------------------------------------------------------
1 | using Dynamitey.DynamicObjects;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.ComponentModel.DataAnnotations;
5 | using System.ComponentModel.DataAnnotations.Schema;
6 |
7 | namespace Coldairarrow.Entity.PB
8 | {
9 | ///
10 | /// 进料点/出料点
11 | ///
12 | public partial class PB_FeedPoint
13 | {
14 | [ForeignKey(nameof(StorId))]
15 | public PB_Storage Storage { get; set; }
16 |
17 | [ForeignKey(nameof(LaneId))]
18 | public PB_Laneway Laneway { get; set; }
19 | public List MaterialPoints { get; set; }
20 | }
21 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/PB/PB_LocalTray_Partial.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.EntityFrameworkCore;
2 | using Microsoft.EntityFrameworkCore.Metadata.Builders;
3 | using System;
4 | using System.ComponentModel.DataAnnotations;
5 | using System.ComponentModel.DataAnnotations.Schema;
6 |
7 | namespace Coldairarrow.Entity.PB
8 | {
9 | ///
10 | /// 托盘类型与货位对应关系
11 | ///
12 | public partial class PB_LocalTray
13 | {
14 | //[ForeignKey(nameof(AreaId))]
15 | //public PB_StorArea PB_StorArea { get; set; }
16 |
17 | }
18 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/PB/PB_MaterialPoint.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.EntityFrameworkCore;
2 | using Microsoft.EntityFrameworkCore.Metadata.Builders;
3 | using System;
4 | using System.ComponentModel.DataAnnotations;
5 | using System.ComponentModel.DataAnnotations.Schema;
6 |
7 | namespace Coldairarrow.Entity.PB
8 | {
9 | ///
10 | /// 货区物料关系表
11 | ///
12 | [Table("PB_MaterialPoint")]
13 | public partial class PB_MaterialPoint
14 | {
15 |
16 | ///
17 | /// 货区ID
18 | ///
19 | [Key, Column(Order = 1)]
20 | public String PointId { get; set; }
21 |
22 | ///
23 | /// 物料ID
24 | ///
25 | [Key, Column(Order = 2)]
26 | public String MaterialId { get; set; }
27 |
28 | }
29 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/PD/PD_Plan_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using System.ComponentModel.DataAnnotations.Schema;
3 |
4 | namespace Coldairarrow.Entity.PD
5 | {
6 | public partial class PD_Plan
7 | {
8 | [ForeignKey(nameof(MaterialId))]
9 | public PB_Material Material { get; set; }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/TD/TD_Allocate_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base_Manage;
2 | using Coldairarrow.Entity.PB;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.ComponentModel.DataAnnotations;
6 | using System.ComponentModel.DataAnnotations.Schema;
7 |
8 | namespace Coldairarrow.Entity.TD
9 | {
10 | ///
11 | /// 调拨表
12 | ///
13 | public partial class TD_Allocate
14 | {
15 | [ForeignKey(nameof(ToStorId))]
16 | public PB_Storage ToStorage { get; set; }
17 | [ForeignKey(nameof(CreatorId))]
18 | public Base_User CreateUser { get; set; }
19 |
20 | [ForeignKey(nameof(AuditUserId))]
21 | public Base_User AuditUser { get; set; }
22 |
23 | public List AllocateDetails { get; set; }
24 | }
25 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/TD/TD_Bad_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base_Manage;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.ComponentModel.DataAnnotations;
5 | using System.ComponentModel.DataAnnotations.Schema;
6 |
7 | namespace Coldairarrow.Entity.TD
8 | {
9 | ///
10 | /// 报损表
11 | ///
12 | public partial class TD_Bad
13 | {
14 | [ForeignKey(nameof(CreatorId))]
15 | public Base_User CreateUser { get; set; }
16 |
17 | [ForeignKey(nameof(AuditUserId))]
18 | public Base_User AuditUser { get; set; }
19 |
20 | public List BadDetails { get; set; }
21 | }
22 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/TD/TD_CheckData_Parital.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using System;
3 | using System.ComponentModel.DataAnnotations;
4 | using System.ComponentModel.DataAnnotations.Schema;
5 |
6 | namespace Coldairarrow.Entity.TD
7 | {
8 | ///
9 | /// 盘差表
10 | ///
11 | public partial class TD_CheckData
12 | {
13 | [ForeignKey(nameof(StorId))]
14 | public PB_Storage Storage { set; get; }
15 |
16 | [ForeignKey(nameof(localId))]
17 | public PB_Location Location { set; get; }
18 |
19 | [ForeignKey(nameof(MaterialId))]
20 | public PB_Material Material { set; get; }
21 |
22 | [ForeignKey(nameof(ZoneId))]
23 | public PB_TrayZone Zone { set; get; }
24 |
25 | [ForeignKey(nameof(TrayId))]
26 | public PB_Tray Tray { set; get; }
27 | }
28 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/TD/TD_CheckMaterial.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.EntityFrameworkCore;
2 | using Microsoft.EntityFrameworkCore.Metadata.Builders;
3 | using System;
4 | using System.ComponentModel.DataAnnotations;
5 | using System.ComponentModel.DataAnnotations.Schema;
6 |
7 | namespace Coldairarrow.Entity.TD
8 | {
9 | ///
10 | /// 盘点信息表
11 | ///
12 | [Table("TD_CheckMaterial")]
13 | public partial class TD_CheckMaterial
14 | {
15 |
16 | ///
17 | /// 盘点ID
18 | ///
19 | [Key, Column(Order = 1)]
20 | public String CheckId { get; set; }
21 |
22 | ///
23 | /// 物料ID
24 | ///
25 | [Key, Column(Order = 2)]
26 | public String MaterialId { get; set; }
27 |
28 | }
29 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/TD/TD_CheckMaterial_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Microsoft.EntityFrameworkCore;
3 | using Microsoft.EntityFrameworkCore.Metadata.Builders;
4 | using System;
5 | using System.ComponentModel.DataAnnotations;
6 | using System.ComponentModel.DataAnnotations.Schema;
7 |
8 | namespace Coldairarrow.Entity.TD
9 | {
10 | ///
11 | /// 盘点信息表
12 | ///
13 | public partial class TD_CheckMaterial
14 | {
15 | [ForeignKey(nameof(MaterialId))]
16 | public PB_Material Material { set; get; }
17 | }
18 |
19 | public class TD_CheckMaterialEntityTypeConfig : IEntityTypeConfiguration
20 | {
21 | public void Configure(EntityTypeBuilder builder)
22 | {
23 | builder
24 | .HasKey(t => new { t.MaterialId, t.CheckId });
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/TD/TD_Check_Parital.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.ComponentModel.DataAnnotations;
3 | using System.ComponentModel.DataAnnotations.Schema;
4 | using Coldairarrow.Entity.Base_Manage;
5 |
6 | namespace Coldairarrow.Entity.TD
7 | {
8 | public partial class TD_Check
9 | {
10 | [ForeignKey(nameof(AuditUserId))]
11 | public Base_User AuditUser { get; set; }
12 | }
13 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/TD/TD_InStorage_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base_Manage;
2 | using Coldairarrow.Entity.PB;
3 | using Dynamitey.DynamicObjects;
4 | using System;
5 | using System.Collections.Generic;
6 | using System.ComponentModel.DataAnnotations;
7 | using System.ComponentModel.DataAnnotations.Schema;
8 |
9 | namespace Coldairarrow.Entity.TD
10 | {
11 | ///
12 | /// 入库表
13 | ///
14 | public partial class TD_InStorage
15 | {
16 | public List InStorDetails { get; set; }
17 |
18 | [ForeignKey(nameof(SupId))]
19 | public PB_Supplier Supplier { get; set; }
20 |
21 | [ForeignKey(nameof(CreatorId))]
22 | public Base_User CreateUser { get; set; }
23 |
24 | [ForeignKey(nameof(AuditUserId))]
25 | public Base_User AuditUser { get; set; }
26 | }
27 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/TD/TD_Move_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base_Manage;
2 | using Coldairarrow.Entity.PB;
3 | using Dynamitey.DynamicObjects;
4 | using System;
5 | using System.Collections.Generic;
6 | using System.ComponentModel.DataAnnotations;
7 | using System.ComponentModel.DataAnnotations.Schema;
8 |
9 | namespace Coldairarrow.Entity.TD
10 | {
11 | ///
12 | /// 移库表
13 | ///
14 | public partial class TD_Move
15 | {
16 | [ForeignKey(nameof(CreatorId))]
17 | public Base_User CreateUser { get; set; }
18 |
19 | [ForeignKey(nameof(AuditUserId))]
20 | public Base_User AuditUser { get; set; }
21 |
22 | public List MoveDetails { get; set; }
23 | }
24 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/TD/TD_OutStorage_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base_Manage;
2 | using Coldairarrow.Entity.IT;
3 | using Coldairarrow.Entity.PB;
4 | using System;
5 | using System.Collections.Generic;
6 | using System.ComponentModel.DataAnnotations;
7 | using System.ComponentModel.DataAnnotations.Schema;
8 |
9 | namespace Coldairarrow.Entity.TD
10 | {
11 | ///
12 | /// 出库表
13 | ///
14 | public partial class TD_OutStorage
15 | {
16 | public List OutStorDetails { get; set; }
17 |
18 | //public List LocalMaterias { get; set; }
19 |
20 | [ForeignKey(nameof(CusId))]
21 | public PB_Customer Customer { get; set; }
22 |
23 | [ForeignKey(nameof(AddrId))]
24 | public PB_Address Address { get; set; }
25 |
26 | [ForeignKey(nameof(CreatorId))]
27 | public Base_User CreateUser { get; set; }
28 |
29 | [ForeignKey(nameof(AuditUserId))]
30 | public Base_User AuditUser { get; set; }
31 | }
32 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/TD/TD_RecDetail_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Microsoft.EntityFrameworkCore;
3 | using Microsoft.EntityFrameworkCore.Metadata.Builders;
4 | using System;
5 | using System.ComponentModel.DataAnnotations;
6 | using System.ComponentModel.DataAnnotations.Schema;
7 |
8 | namespace Coldairarrow.Entity.TD
9 | {
10 | ///
11 | /// 收货明细
12 | ///
13 | public partial class TD_RecDetail
14 | {
15 | [ForeignKey(nameof(RecId))]
16 | public TD_Receiving Receiving { get; set; }
17 |
18 | [ForeignKey(nameof(MaterialId))]
19 | public PB_Material Material { get; set; }
20 |
21 | [ForeignKey(nameof(MeasureId))]
22 | public PB_Measure Measure { get; set; }
23 | }
24 |
25 | public class TD_RecDetailEntityTypeConfig : IEntityTypeConfiguration
26 | {
27 | public void Configure(EntityTypeBuilder builder)
28 | {
29 | builder.HasQueryFilter(w => w.Deleted == false);
30 | }
31 | }
32 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/TD/TD_Receiving_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Dynamitey.DynamicObjects;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.ComponentModel.DataAnnotations;
6 | using System.ComponentModel.DataAnnotations.Schema;
7 |
8 | namespace Coldairarrow.Entity.TD
9 | {
10 | ///
11 | /// 收货表
12 | ///
13 | public partial class TD_Receiving
14 | {
15 | [ForeignKey(nameof(SupId))]
16 | public PB_Supplier Supplier { get; set; }
17 |
18 | public List RecDetails { get; set; }
19 | }
20 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.Entity/TD/TD_Send_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base_Manage;
2 | using Coldairarrow.Entity.PB;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.ComponentModel.DataAnnotations;
6 | using System.ComponentModel.DataAnnotations.Schema;
7 |
8 | namespace Coldairarrow.Entity.TD
9 | {
10 | ///
11 | /// 发货表
12 | ///
13 | public partial class TD_Send
14 | {
15 | public List SendDetails { get; set; }
16 |
17 | [ForeignKey(nameof(CusId))]
18 | public PB_Customer Customer { get; set; }
19 |
20 | [ForeignKey(nameof(AddrId))]
21 | public PB_Address Address { get; set; }
22 |
23 | [ForeignKey(nameof(CreatorId))]
24 | public Base_User CreateUser { get; set; }
25 |
26 | [ForeignKey(nameof(AuditUserId))]
27 | public Base_User AuditUser { get; set; }
28 | }
29 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/Base/IBase_EnumBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.Base
7 | {
8 | public interface IBase_EnumBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task GetByCodeAsync(string code);
13 | Task AddDataAsync(Base_Enum data);
14 | Task UpdateDataAsync(Base_Enum data);
15 | Task DeleteDataAsync(List ids);
16 | }
17 |
18 | public class Base_EnumQM
19 | {
20 | public string Keyword { get; set; }
21 | }
22 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/Base/IBase_EnumItemBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.Base
7 | {
8 | public interface IBase_EnumItemBusiness
9 | {
10 | Task> GetDataListAsync(Base_EnumItemPageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(Base_EnumItem data);
13 | Task UpdateDataAsync(Base_EnumItem data);
14 | Task DeleteDataAsync(List ids);
15 | Task> GetDataListAsync(string enumCode);
16 | }
17 |
18 | public class Base_EnumItemQM
19 | {
20 | public string Keyword { get; set; }
21 | }
22 | public class Base_EnumItemPageInput : PageInput
23 | {
24 | public string EnumId { get; set; }
25 | }
26 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/Base/IBase_ParameterBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.Base
7 | {
8 | public interface IBase_ParameterBusiness
9 | {
10 | Task> GetDataListAsync(PB_ParameterPageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task> GetConfig();
13 | Task AddDataAsync(Base_Parameter data);
14 | Task UpdateDataAsync(Base_Parameter data);
15 | Task DeleteDataAsync(List ids);
16 | }
17 | public class PB_ParameterQM
18 | {
19 | public string Keyword { get; set; }
20 | }
21 | public class PB_ParameterPageInput : PageInput
22 | {
23 | public string Id { get; set; }
24 | }
25 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/Base_Manage/IBase_AppSecretBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base_Manage;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.Base_Manage
7 | {
8 | public interface IBase_AppSecretBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task GetAppSecretAsync(string appId);
13 | Task AddDataAsync(Base_AppSecret newData);
14 | Task UpdateDataAsync(Base_AppSecret theData);
15 | Task DeleteDataAsync(List ids);
16 | }
17 |
18 | public class AppSecretsInputDTO
19 | {
20 | public string keyword { get; set; }
21 | }
22 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/Base_Manage/IBase_DbLinkBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base_Manage;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.Base_Manage
7 | {
8 | public interface IBase_DbLinkBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(Base_DbLink newData);
13 | Task UpdateDataAsync(Base_DbLink theData);
14 | Task DeleteDataAsync(List ids);
15 | }
16 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/Base_Manage/IBase_UserBusiness_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base_Manage;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.Base_Manage
7 | {
8 | public partial interface IBase_UserBusiness
9 | {
10 | Task> GetSelectUser(string keyword, string selected);
11 | Task GetCurUser();
12 | }
13 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/Base_Manage/IBase_UserLogBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base_Manage;
2 | using Coldairarrow.Util;
3 | using System;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.Base_Manage
7 | {
8 | public interface IBase_UserLogBusiness
9 | {
10 | Task> GetLogListAsync(PageInput input);
11 | }
12 |
13 | public class UserLogsInputDTO
14 | {
15 | public string logContent { get; set; }
16 | public string logType { get; set; }
17 | public string opUserName { get; set; }
18 | public DateTime? startTime { get; set; }
19 | public DateTime? endTime { get; set; }
20 | }
21 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/Base_Manage/IBuildCodeBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.Base_Manage;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 |
5 | namespace Coldairarrow.Business.Base_Manage
6 | {
7 | public interface IBuildCodeBusiness
8 | {
9 | List GetAllDbLink();
10 |
11 | List GetDbTableList(string linkId);
12 |
13 | void Build(BuildInputDTO input);
14 | }
15 |
16 | public class DbTablesInputDTO
17 | {
18 | public string linkId { get; set; }
19 | }
20 |
21 | public class BuildInputDTO
22 | {
23 | public string linkId { get; set; }
24 | public string areaName { get; set; }
25 | public List tables { get; set; }
26 | public List buildTypes { get; set; }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/Base_Manage/IHomeBusiness.cs:
--------------------------------------------------------------------------------
1 | using System.ComponentModel.DataAnnotations;
2 | using System.Threading.Tasks;
3 |
4 | namespace Coldairarrow.Business.Base_Manage
5 | {
6 | public interface IHomeBusiness
7 | {
8 | Task SubmitLoginAsync(LoginInputDTO input);
9 | Task ChangePwdAsync(ChangePwdInputDTO input);
10 | }
11 |
12 | public class LoginInputDTO
13 | {
14 | [Required]
15 | public string userName { get; set; }
16 |
17 | [Required]
18 | public string password { get; set; }
19 | }
20 |
21 | public class ChangePwdInputDTO
22 | {
23 | [Required]
24 | public string oldPwd { get; set; }
25 |
26 | [Required]
27 | public string newPwd { get; set; }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/Base_Manage/IPermissionBusiness.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Threading.Tasks;
3 |
4 | namespace Coldairarrow.Business.Base_Manage
5 | {
6 | public interface IPermissionBusiness
7 | {
8 | Task> GetUserPermissionValuesAsync(string userId);
9 | Task> GetUserMenuListAsync(string userId);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/AutoInStorageByTary.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Coldairarrow.IBusiness.DTO
6 | {
7 | ///
8 | /// 自动入库Pad传入数据
9 | ///
10 | public class AutoInStorageByTary
11 | {
12 | /////
13 | ///// 生产线Id
14 | ///// 在控制台写固定值
15 | /////
16 | //public string SupId { get; set; }
17 | /////
18 | ///// 下料点ID
19 | ///// 在控制台写固定值
20 | /////
21 | //public string AddrId { get; set; }
22 |
23 |
24 | //public string PlanCode { get; set; }
25 | ///
26 | /// 收货ID
27 | ///
28 | public string RecId { get; set; }
29 | public string MaterialCode { get; set; }
30 | public string BatchNo { get; set; }
31 | public string TrayCode { get; set; }
32 | public double Num { get; set; }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/InAutoByTary.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Coldairarrow.IBusiness.DTO
6 | {
7 | ///
8 | /// 自动入库Pad传入数据
9 | ///
10 | public class InAutoByTary
11 | {
12 | public string TrayCode { get; set; }
13 | public string LocalCode { get; set; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/MaterialTypeTreeDTO.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Util;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Coldairarrow.IBusiness.DTO
7 | {
8 | public class MaterialTypeTreeDTO : TreeModel
9 | {
10 | public object children { get => Children; }
11 | public string title { get => Text; }
12 | public string value { get => Id; }
13 | public string key { get => Id; }
14 | public string Code { get; set; }
15 | public string Remark { get; set; }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/OutAutoByTary.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Coldairarrow.IBusiness.DTO
6 | {
7 | ///
8 | /// 自动出库Pad传入数据
9 | ///
10 | public class OutAutoByTary
11 | {
12 | public string TrayTypeId { get; set; }
13 | public string TrayCode { get; set; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/PBAddressConditionDTO.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Coldairarrow.IBusiness.DTO
6 | {
7 | public class PBAddressConditionDTO
8 | {
9 | public string SupId { set; get; }
10 |
11 | public string CusId { set; get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/PBAreaMateriaConditionDTO.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.TD;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Coldairarrow.IBusiness.DTO
7 | {
8 | public class PBAreaMateriaConditionDTO
9 | {
10 | public string id { set; get; }
11 |
12 | public List keys { set; get; }
13 | }
14 |
15 | public class PBMaterialPointConditionDTO
16 | {
17 | public string id { set; get; }
18 |
19 | public List keys { set; get; }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/PBCustomerCoditionDTO.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Coldairarrow.IBusiness.DTO
6 | {
7 | public class PBCustomerCoditionDTO
8 | {
9 | public string Type { set; get; }
10 |
11 | public string KeyWord { set; get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/PBLocalTrayConditionDTO.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.TD;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Coldairarrow.IBusiness.DTO
7 | {
8 | public class PBLocalTrayConditionDTO
9 | {
10 | public string id { set; get; }
11 |
12 | public List keys { set; get; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/PBMaterialConditionDTO.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Coldairarrow.IBusiness.DTO
6 | {
7 | public class PBMaterialConditionDTO
8 | {
9 | public string TypeId { set; get; }
10 |
11 | public string ContactName { set; get; }
12 |
13 | public string Keyword { set; get; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/PBSupplierCoditionDTO.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Coldairarrow.IBusiness.DTO
6 | {
7 | public class PBSupplierCoditionDTO
8 | {
9 | public string Type { set; get; }
10 |
11 | public string KeyWord { set; get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/PBTrayMateriaConditionDTO.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.TD;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Coldairarrow.IBusiness.DTO
7 | {
8 | public class PBTrayMateriaConditionDTO
9 | {
10 | public string id { set; get; }
11 |
12 | public List keys { set; get; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/SelectQueryDTO.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Coldairarrow.IBusiness.DTO
6 | {
7 | public class SelectQueryDTO
8 | {
9 | public string Id { get; set; }
10 | public string Keyword { get; set; }
11 | public int Take { get; set; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/TDCheckConditionDTO.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.TD;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Coldairarrow.IBusiness.DTO
7 | {
8 | public class TDCheckConditionDTO
9 | {
10 | public TD_Check Data { set; get; }
11 |
12 | public List AreaIdList { set; get; }
13 |
14 | public List MaterialIdList { set; get; }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/TDCheckDataConditionDTO.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Coldairarrow.IBusiness.DTO
6 | {
7 | public class TDCheckDataConditionDTO
8 | {
9 | ///
10 | /// 盘差编号
11 | ///
12 | public string CheckId { set; get; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/TDCheckNumModifyDTO.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Coldairarrow.IBusiness.DTO
6 | {
7 | public class TDCheckNumModifyDTO
8 | {
9 | ///
10 | /// 盘点明细编号
11 | ///
12 | public string Id { set; get; }
13 |
14 | ///
15 | /// 盘点数量
16 | ///
17 | public Double? CheckNum { get; set; }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/TDCheckQueryDTO.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Coldairarrow.IBusiness.DTO
6 | {
7 | public class TDCheckQueryDTO
8 | {
9 | public TDCheckQueryDTO()
10 | {
11 | IsComplete = -1;
12 | Status = -1;
13 | }
14 |
15 | public string Type { set; get; }
16 |
17 | public int IsComplete { set; get; }
18 |
19 | public int Status { set; get; }
20 |
21 | public string RefCode { set; get; }
22 |
23 | public string[] RangeDate { set; get; }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/DTO/TraySelectQueryDTO.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Coldairarrow.IBusiness.DTO
6 | {
7 | public class TraySelectQueryDTO : SelectQueryDTO
8 | {
9 | public string MaterialId { get; set; }
10 | public string LocationId { get; set; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/IOperator.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity;
2 | using Coldairarrow.Util;
3 |
4 | namespace Coldairarrow.IBusiness
5 | {
6 | ///
7 | /// 操作者
8 | ///
9 | public interface IOperator
10 | {
11 | ///
12 | /// 当前操作者UserId
13 | ///
14 | string UserId { get; }
15 |
16 | Base_UserDTO Property { get; }
17 |
18 | #region 操作方法
19 |
20 | ///
21 | /// 判断是否为超级管理员
22 | ///
23 | ///
24 | bool IsAdmin();
25 |
26 | ///
27 | /// 记录操作日志
28 | ///
29 | /// 用户日志类型
30 | /// 内容
31 | void WriteUserLog(UserLogType userLogType, string msg);
32 |
33 | #endregion
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/IT/IIT_LocalDetailBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.IT;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.IT
7 | {
8 | public partial interface IIT_LocalDetailBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(IT_LocalDetail data);
13 | Task UpdateDataAsync(IT_LocalDetail data);
14 | Task DeleteDataAsync(List ids);
15 | //Task UpdateDetailAsync(IT_LocalDetail data);
16 | }
17 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/IT/IIT_LocalMaterialBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.IT;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.IT
7 | {
8 | public partial interface IIT_LocalMaterialBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task> GetDataListByMaterialId(PageInput input);
12 | Task GetTheDataAsync(string id);
13 | Task AddDataAsync(IT_LocalMaterial data);
14 | Task UpdateDataAsync(IT_LocalMaterial data);
15 | Task DeleteDataAsync(List ids);
16 | Task GetByLocalMaterial(string local);
17 | }
18 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/IT/IIT_RecordBookBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.IT;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.IT
7 | {
8 | public partial interface IIT_RecordBookBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(IT_RecordBook data);
13 | Task UpdateDataAsync(IT_RecordBook data);
14 | Task DeleteDataAsync(List ids);
15 | }
16 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/IT/IIT_RecordBookBusiness_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.IT;
2 | using Coldairarrow.Util;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Threading.Tasks;
6 |
7 | namespace Coldairarrow.Business.IT
8 | {
9 | public partial interface IIT_RecordBookBusiness
10 | {
11 | Task AddDataAsync(List list);
12 | Task UpdateDataAsync(List list);
13 |
14 | Task> GetDataListAsync(IT_RecordBookPageInput input);
15 | }
16 |
17 | public class IT_RecordBookQM
18 | {
19 | public string LocalName { get; set; }
20 | public string MaterialName { get; set; }
21 | public string RefCode { get; set; }
22 | public string Type { get; set; }
23 | public string BarCodeBatchNo { get; set; }
24 | }
25 | public class IT_RecordBookPageInput : PageInput
26 | {
27 | //public string StorId { get; set; }
28 | }
29 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_AddressBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public partial interface IPB_AddressBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(PB_Address data);
13 | Task UpdateDataAsync(PB_Address data);
14 | Task DeleteDataAsync(List ids);
15 | }
16 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_AddressBusiness_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.IBusiness.DTO;
3 | using Coldairarrow.Util;
4 | using System.Collections.Generic;
5 | using System.Threading.Tasks;
6 |
7 | namespace Coldairarrow.Business.PB
8 | {
9 | public partial interface IPB_AddressBusiness
10 | {
11 | Task> QueryDataListAsync(PageInput input);
12 |
13 | Task ModifyDefaultAsync(string Id);
14 |
15 | Task ModifyEnableAsync(string Id);
16 | }
17 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_AreaMaterialBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.IBusiness.DTO;
3 | using Coldairarrow.Util;
4 | using System.Collections.Generic;
5 | using System.Threading.Tasks;
6 |
7 | namespace Coldairarrow.Business.PB
8 | {
9 | public partial interface IPB_AreaMaterialBusiness
10 | {
11 | Task> GetDataListAsync(PageInput input);
12 | Task> GetDataListAsync(string areaId);
13 | Task GetTheDataAsync(string id);
14 | Task AddDataAsync(PB_AreaMaterial data);
15 | Task AddDataAsync(PBAreaMateriaConditionDTO data);
16 | Task UpdateDataAsync(PB_AreaMaterial data);
17 |
18 | Task AddDataAsync(List datas);
19 | Task UpdateDataAsync(List datas);
20 | Task DeleteDataAsync(string AreaId, List materialIds);
21 | }
22 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_AreaMaterialBusiness_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public partial interface IPB_AreaMaterialBusiness
9 | {
10 | Task> GetDataListAsync(PB_AreaMaterialPageInput input);
11 | }
12 | public class PB_AreaMaterialQM
13 | {
14 | public string MaterialName { get; set; }
15 | }
16 | public class PB_AreaMaterialPageInput : PageInput
17 | {
18 | public string AreaId { get; set; }
19 | }
20 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_BarCodeBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public interface IPB_BarCodeBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(PB_BarCode data);
13 | Task UpdateDataAsync(PB_BarCode data);
14 | Task DeleteDataAsync(List ids);
15 | }
16 | public class PB_BarCodeQM
17 | {
18 | public string BarCode { get; set; }
19 | public string BarCodeTypeName { get; set; }
20 | }
21 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_BarCodeRuleBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public interface IPB_BarCodeRuleBusiness
9 | {
10 | Task> GetDataListAsync(PB_BarCodeRulePageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(PB_BarCodeRule data);
13 | Task UpdateDataAsync(PB_BarCodeRule data);
14 | Task DeleteDataAsync(List ids);
15 | }
16 | public class PB_BarCodeRuleQM
17 | {
18 | public string Type { get; set; }
19 | public string Keyword { get; set; }
20 | }
21 | public class PB_BarCodeRulePageInput : PageInput
22 | {
23 | public string TypeId { get; set; }
24 | }
25 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_BarCodeSerialBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public partial interface IPB_BarCodeSerialBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(PB_BarCodeSerial data);
13 | Task UpdateDataAsync(PB_BarCodeSerial data);
14 | Task DeleteDataAsync(List ids);
15 | }
16 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_BarCodeSerialBusiness_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public partial interface IPB_BarCodeSerialBusiness
9 | {
10 | Task AddDataAsync(List list);
11 | Task UpdateDataAsync(List list);
12 | }
13 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_BarCodeTypeBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public partial interface IPB_BarCodeTypeBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(PB_BarCodeType data);
13 | Task UpdateDataAsync(PB_BarCodeType data);
14 | Task DeleteDataAsync(List ids);
15 |
16 | }
17 |
18 | public class PB_BarCodeTypeQM
19 | {
20 | public string Keyword { get; set; }
21 | }
22 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_BarCodeTypeBusiness_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Reflection.Metadata;
5 | using System.Threading.Tasks;
6 |
7 | namespace Coldairarrow.Business.PB
8 | {
9 | public partial interface IPB_BarCodeTypeBusiness
10 | {
11 | ///
12 | /// 生成条码
13 | ///
14 | /// 条码类型
15 | /// 参数
16 | ///
17 | Task Generate(string typeCode, Dictionary para = null);
18 | Task> GetAllData();
19 | }
20 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_CustomerBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public partial interface IPB_CustomerBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(PB_Customer data);
13 | Task UpdateDataAsync(PB_Customer data);
14 | Task DeleteDataAsync(List ids);
15 | Task AddDataExlAsync(List list);
16 | }
17 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_CustomerBusiness_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.IBusiness.DTO;
3 | using Coldairarrow.Util;
4 | using System.Collections.Generic;
5 | using System.Threading.Tasks;
6 |
7 | namespace Coldairarrow.Business.PB
8 | {
9 | public partial interface IPB_CustomerBusiness
10 | {
11 | Task> QueryDataListAsync(PageInput input);
12 |
13 | Task> QueryAllDataAsync();
14 |
15 | Task> GetQueryData(SelectQueryDTO search);
16 | Task GetByCode(string code);
17 | }
18 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_EquipmentBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public interface IPB_EquipmentBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(PB_Equipment data);
13 | Task UpdateDataAsync(PB_Equipment data);
14 | Task DeleteDataAsync(List ids);
15 | }
16 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_FeedPointBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public partial interface IPB_FeedPointBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(PB_FeedPoint data);
13 | Task UpdateDataAsync(PB_FeedPoint data);
14 | Task DeleteDataAsync(List ids);
15 | Task AddDataExlAsync(List list);
16 | }
17 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_FeedPointBusiness_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Threading.Tasks;
6 |
7 | namespace Coldairarrow.Business.PB
8 | {
9 | public partial interface IPB_FeedPointBusiness
10 | {
11 | Task> GetDataListAsync(PageInput input);
12 | Task Enable(string id, bool enable);
13 | IQueryable GetQueryable() where T : class, new();
14 | }
15 | public class PB_FeedPointQM
16 | {
17 | public string Keyword { get; set; }
18 | public string StorId { get; set; }
19 | public string Type { get; set; }
20 | }
21 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_LanewayBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public interface IPB_LanewayBusiness
9 | {
10 | Task> GetDataListAsync(PB_LanewayPageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task> GetDataListAsync(string storId);
13 | Task> QueryLanewayDataAsync();
14 | Task AddDataAsync(PB_Laneway data);
15 | Task UpdateDataAsync(PB_Laneway data);
16 | Task DeleteDataAsync(List ids);
17 | }
18 | public class PB_LanewayQM
19 | {
20 | //public string Name { get; set; }
21 | //public string Code { get; set; }
22 | public string Keyword { get; set; }
23 |
24 | }
25 | public class PB_LanewayPageInput : PageInput
26 | {
27 | public string StorId { get; set; }
28 | }
29 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_LocalTrayBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.IBusiness.DTO;
3 | using Coldairarrow.Util;
4 | using System.Collections.Generic;
5 | using System.Threading.Tasks;
6 |
7 | namespace Coldairarrow.Business.PB
8 | {
9 | public partial interface IPB_LocalTrayBusiness
10 | {
11 | Task> GetDataListAsync(PageInput input);
12 | Task> GetDataListAsync(string typeId);
13 | Task GetTheDataAsync(string id);
14 | Task AddDataAsync(PB_LocalTray data);
15 | Task AddDataAsync(PBLocalTrayConditionDTO data);
16 | Task UpdateDataAsync(PB_LocalTray data);
17 |
18 | Task AddDataAsync(List datas);
19 | Task UpdateDataAsync(List datas);
20 | Task DeleteDataAsync(string typeId, List localIds);
21 | }
22 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_LocationBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using Microsoft.AspNetCore.Mvc;
4 | using System;
5 | using System.Collections.Generic;
6 | using System.ComponentModel.DataAnnotations;
7 | using System.ComponentModel.DataAnnotations.Schema;
8 | using System.Linq;
9 | using System.Threading.Tasks;
10 |
11 | namespace Coldairarrow.Business.PB
12 | {
13 | public partial interface IPB_LocationBusiness
14 | {
15 |
16 | Task> GetDataListAsync();
17 | Task GetTheDataAsync(string id);
18 | Task AddDataAsync(PB_Location data);
19 | Task UpdateDataAsync(PB_Location data);
20 | Task DeleteDataAsync(List ids);
21 | //Task ModifyEnableAsync(string Id);
22 | Task AddDataExlAsync(List list);
23 | // FileResult ExportToExcelWeb(List data, string head, string sheetName);
24 |
25 | }
26 |
27 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_MaterialBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public partial interface IPB_MaterialBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task> GetDataListAsync();
12 | Task GetTheDataAsync(string id);
13 | Task AddDataAsync(PB_Material data);
14 | Task UpdateDataAsync(PB_Material data);
15 | Task DeleteDataAsync(List ids);
16 | Task AddDataExlAsync(List list);
17 |
18 |
19 | }
20 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_MaterialBusiness_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.IBusiness.DTO;
3 | using Coldairarrow.Util;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 |
8 | namespace Coldairarrow.Business.PB
9 | {
10 | public partial interface IPB_MaterialBusiness
11 | {
12 | Task> GetQueryData(SelectQueryDTO search);
13 |
14 | Task> QueryDataListAsync(PageInput input);
15 |
16 | Task GetByCode(string code);
17 | Task GetByBarcode(string code);
18 |
19 | IQueryable GetQueryable() where T : class, new();
20 | }
21 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_MaterialPointBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 | using Coldairarrow.IBusiness.DTO;
6 |
7 | namespace Coldairarrow.Business.PB
8 | {
9 | public partial interface IPB_MaterialPointBusiness
10 | {
11 | Task> GetDataListAsync(PageInput input);
12 | Task> GetDataListAsync(string pointId);
13 | Task GetTheDataAsync(string id);
14 | Task AddDataAsync(PB_MaterialPoint data);
15 | Task AddDataAsync(PBMaterialPointConditionDTO data);
16 | Task UpdateDataAsync(PB_MaterialPoint data);
17 |
18 | Task AddDataAsync(List datas);
19 | Task UpdateDataAsync(List datas);
20 | Task DeleteDataAsync(string PointId, List materialIds);
21 | }
22 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_MaterialPointBusiness_partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public partial interface IPB_MaterialPointBusiness
9 | {
10 | Task> GetDataListAsync(PB_MaterialPointPageInput input);
11 | }
12 | public class PB_MaterialPointQM
13 | {
14 | public string MaterialName { get; set; }
15 | }
16 | public class PB_MaterialPointPageInput : PageInput
17 | {
18 | public string PointId { get; set; }
19 | }
20 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_MaterialTypeBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public partial interface IPB_MaterialTypeBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(PB_MaterialType data);
13 | Task UpdateDataAsync(PB_MaterialType data);
14 | Task DeleteDataAsync(List ids);
15 | Task AddDataExlAsync(List list);
16 | }
17 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_MaterialTypeBusiness_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.IBusiness.DTO;
3 | using Coldairarrow.Util;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 |
8 | namespace Coldairarrow.Business.PB
9 | {
10 | public partial interface IPB_MaterialTypeBusiness
11 | {
12 | Task> GetTreeDataListAsync(string parentId = null);
13 |
14 | Task> GetChildrenIdsAsync(string typeId);
15 |
16 | IQueryable GetQueryable() where T : class, new();
17 | }
18 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_MeasureBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public partial interface IPB_MeasureBusiness
9 | {
10 | Task> GetDataListAsync(PageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task AddDataAsync(PB_Measure data);
13 | Task UpdateDataAsync(PB_Measure data);
14 | Task DeleteDataAsync(List ids);
15 | Task AddDataExlAsync(List list);
16 | }
17 | public class PB_MeasureQM
18 | {
19 | public string Keyword { get; set; }
20 | }
21 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_MeasureBusiness_Partial.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public partial interface IPB_MeasureBusiness
9 | {
10 | Task> QueryAllDataAsync();
11 | }
12 | }
--------------------------------------------------------------------------------
/src/Coldairarrow.IBusiness/PB/IPB_RackBusiness.cs:
--------------------------------------------------------------------------------
1 | using Coldairarrow.Entity.PB;
2 | using Coldairarrow.Util;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 |
6 | namespace Coldairarrow.Business.PB
7 | {
8 | public interface IPB_RackBusiness
9 | {
10 | Task> GetDataListAsync(PB_RackPageInput input);
11 | Task GetTheDataAsync(string id);
12 | Task> GetDataListAsync(string storId);
13 | Task> QueryRackDataAsync();
14 | Task AddDataAsync(PB_Rack data);
15 | Task UpdateDataAsync(PB_Rack data);
16 | Task DeleteDataAsync(List