Browse Source

mongo不需要的实体移除

Murphy 3 years ago
parent
commit
c62a4bf371
72 changed files with 54 additions and 4892 deletions
  1. 0 1
      MicroServices/Business/Business.Application.Contracts/ResourceExamineManagement/Dto/GenerateMorderDto.cs
  2. 4 142
      MicroServices/Business/Business.Application/BusinessApplicationAutoMapperProfile.cs
  3. 0 1
      MicroServices/Business/Business.Application/ResourceExamineManagement/CalcBomViewAppService.cs
  4. 0 1
      MicroServices/Business/Business.Application/ResourceExamineManagement/MorderAppService.cs
  5. 0 14
      MicroServices/Business/Business.Application/ResourceExamineManagement/ProductExamineAppService.cs
  6. 15 52
      MicroServices/Business/Business.Application/ResourceExamineManagement/ResourceExamineAppService.cs
  7. 20 57
      MicroServices/Business/Business.Application/SyncDataManagement/SyncMySQLDataAppService.cs
  8. 5 0
      MicroServices/Business/Bussiness.MongoModel/Bussiness.MongoModel.csproj
  9. 0 62
      MicroServices/Business/Bussiness.MongoModel/MES/IC/mo_ic_item_ie.cs
  10. 0 100
      MicroServices/Business/Bussiness.MongoModel/MES/IC/mo_ic_item_inventory.cs
  11. 1 1
      MicroServices/Business/Bussiness.MongoModel/MES/IC/mo_ic_item_stock.cs
  12. 1 1
      MicroServices/Business/Bussiness.MongoModel/MES/IC/mo_ic_item_stockoccupy.cs
  13. 0 76
      MicroServices/Business/Bussiness.MongoModel/MES/IC/mo_ic_metering_unit.cs
  14. 1 1
      MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_moentry.cs
  15. 1 1
      MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_mooccupy.cs
  16. 1 1
      MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_morder.cs
  17. 0 136
      MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_morder_loss_time.cs
  18. 1 1
      MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_oorder.cs
  19. 0 71
      MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_schedule_occupy.cs
  20. 0 125
      MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_stockoccupy.cs
  21. 0 94
      MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_loss_time_record.cs
  22. 0 63
      MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_meaction.cs
  23. 0 66
      MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_mebycard.cs
  24. 0 51
      MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_merecheck.cs
  25. 0 65
      MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_mereport.cs
  26. 0 127
      MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_prd_sendmat.cs
  27. 0 168
      MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_prd_sendmat_list.cs
  28. 0 66
      MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_prdlog.cs
  29. 0 50
      MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_product_work_time.cs
  30. 0 74
      MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_stock_enter.cs
  31. 0 110
      MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_stock_out.cs
  32. 0 78
      MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_swipe_card.cs
  33. 0 56
      MicroServices/Business/Bussiness.MongoModel/SIM/mo_sim_base.cs
  34. 0 64
      MicroServices/Business/Bussiness.MongoModel/SIM/mo_sim_issue_type.cs
  35. 0 30
      MicroServices/Business/Bussiness.MongoModel/SIM/mo_sim_plant.cs
  36. 0 36
      MicroServices/Business/Bussiness.MongoModel/SIM/mo_sim_user_relation.cs
  37. 1 1
      MicroServices/Business/Bussiness.MongoModel/SRM/mo_srm_po_list.cs
  38. 1 1
      MicroServices/Business/Bussiness.MongoModel/SRM/mo_srm_po_main.cs
  39. 1 1
      MicroServices/Business/Bussiness.MongoModel/SRM/mo_srm_po_occupy.cs
  40. 1 1
      MicroServices/Business/Bussiness.MongoModel/SRM/mo_srm_pr_main.cs
  41. 0 96
      MicroServices/Business/Bussiness.MongoModel/SRM/mo_srm_purchase.cs
  42. 0 230
      MicroServices/Business/Bussiness.MongoModel/Sale/mo_crm_seorder.cs
  43. 0 346
      MicroServices/Business/Bussiness.MongoModel/Sale/mo_crm_seorderentry.cs
  44. 0 93
      MicroServices/Business/Bussiness.MongoModel/Sale/mo_crm_seorderprog.cs
  45. 0 144
      MicroServices/Business/Bussiness.MongoModel/Sale/mo_crm_seorderreview.cs
  46. 0 51
      MicroServices/Business/Bussiness.MongoModel/Sale/mo_wms_prdprogress.cs
  47. 0 67
      MicroServices/Business/Bussiness.MongoModel/Sale/mo_wms_shipnotice.cs
  48. 0 107
      MicroServices/Business/Bussiness.MongoModel/Sale/mo_wms_shipnoticelist.cs
  49. 0 43
      MicroServices/Business/Bussiness.MongoModel/Sale/mo_wms_shipplan.cs
  50. 0 120
      MicroServices/Business/Bussiness.MongoModel/Sale/mo_wms_shipplanlist.cs
  51. 0 219
      MicroServices/Business/Bussiness.MongoModel/SystemData/mo_crm_customer.cs
  52. 0 68
      MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_code.cs
  53. 0 60
      MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_code_pre.cs
  54. 0 55
      MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_config.cs
  55. 0 59
      MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_measure_unit.cs
  56. 0 83
      MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_post.cs
  57. 0 35
      MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_post_staff.cs
  58. 0 82
      MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_schedule.cs
  59. 0 65
      MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_shift.cs
  60. 0 42
      MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_shift_invalid_time.cs
  61. 0 37
      MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_shift_schedule.cs
  62. 0 163
      MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_staff.cs
  63. 0 55
      MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_upload.cs
  64. 0 52
      MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_tech_proc_accessory.cs
  65. 0 44
      MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_tech_proc_document.cs
  66. 0 50
      MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_tech_proc_equipment.cs
  67. 0 44
      MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_tech_proc_icitem.cs
  68. 0 44
      MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_tech_proc_workshop_staff.cs
  69. 0 117
      MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_work_calendar.cs
  70. 0 54
      MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_work_calendar_list.cs
  71. 0 71
      MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_workshop.cs
  72. 0 50
      MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_workshop_shelf.cs

+ 0 - 1
MicroServices/Business/Business.Application.Contracts/ResourceExamineManagement/Dto/GenerateMorderDto.cs

@@ -1,7 +1,6 @@
 using Bussiness.Model.MES.IC;
 using Bussiness.Model.Sale;
 using Bussiness.MongoModel.MES.IC;
-using Bussiness.MongoModel.Sale;
 using System;
 using System.Collections.Generic;
 using System.Linq;

+ 4 - 142
MicroServices/Business/Business.Application/BusinessApplicationAutoMapperProfile.cs

@@ -3,19 +3,15 @@ using Business.ResourceExamineManagement.Dto;
 using Bussiness.Model.MES.IC;
 using Bussiness.Model.Production;
 using Bussiness.Model.ProductionProcess;
-using Bussiness.MongoModel.MES.IC;
-using Bussiness.Model.Tech;
-using Bussiness.MongoModel.Production;
-using Bussiness.MongoModel.ProductionProcess;
-using Bussiness.MongoModel.Tech;
 using Bussiness.Model.Sale;
-using Bussiness.Model.SIM;
 using Bussiness.Model.SRM;
 using Bussiness.Model.SystemData;
-using Bussiness.MongoModel.Sale;
-using Bussiness.MongoModel.SIM;
+using Bussiness.Model.Tech;
+using Bussiness.MongoModel.MES.IC;
+using Bussiness.MongoModel.Production;
 using Bussiness.MongoModel.SRM;
 using Bussiness.MongoModel.SystemData;
+using Bussiness.MongoModel.Tech;
 
 namespace Business
 {
@@ -30,42 +26,15 @@ namespace Business
             CreateMap<mes_process, mo_mes_process>()
                 .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
 
-            CreateMap<mes_tech_proc_accessory, mo_mes_tech_proc_accessory>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_tech_proc_document, mo_mes_tech_proc_document>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_tech_proc_equipment, mo_mes_tech_proc_equipment>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_tech_proc_icitem, mo_mes_tech_proc_icitem>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
             CreateMap<mes_tech_proc_workshop, mo_mes_tech_proc_workshop>()
                 .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
 
-            CreateMap<mes_tech_proc_workshop_staff, mo_mes_tech_proc_workshop_staff>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
 
             CreateMap<mes_tech_process, mo_mes_tech_process>()
                 .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
 
             CreateMap<mes_technique, mo_mes_technique>()
                 .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_work_calendar, mo_mes_work_calendar>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_work_calendar_list, mo_mes_work_calendar_list>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_workshop, mo_mes_workshop>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_workshop_shelf, mo_mes_workshop_shelf>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
             #endregion
 
             #region MES
@@ -79,18 +48,12 @@ namespace Business
                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
             CreateMap<ic_item, mo_ic_item>()
                 .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<ic_item_ie, mo_ic_item_ie>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<ic_item_inventory, mo_ic_item_inventory>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
             CreateMap<ic_item_pur, mo_ic_item_pur>()
               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
             CreateMap<ic_item_stock, mo_ic_item_stock>()
                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
             CreateMap<ic_item_stockoccupy, mo_ic_item_stockoccupy>()
                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<ic_metering_unit, mo_ic_metering_unit>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
             CreateMap<ic_plan, mo_ic_plan>()
                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
             CreateMap<ic_substitute, mo_ic_substitute>()
@@ -102,34 +65,6 @@ namespace Business
             #endregion
 
             #region Sale
-            CreateMap<crm_seorder, mo_crm_seorder>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<crm_seorderentry, mo_crm_seorderentry>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<crm_seorderprog, mo_crm_seorderprog>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<crm_seorderreview, mo_crm_seorderreview>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<wms_prdprogress, mo_wms_prdprogress>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<wms_shipnotice, mo_wms_shipnotice>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<wms_shipnoticelist, mo_wms_shipnoticelist>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<wms_shipplan, mo_wms_shipplan>()
-              .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<wms_shipplanlist, mo_wms_shipplanlist>();
-            #endregion
-
-            #region SIM
-            CreateMap<sim_base, mo_sim_base>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sim_issue_type, mo_sim_issue_type>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sim_plant, mo_sim_plant>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sim_user_relation, mo_sim_user_relation>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
             #endregion
 
 
@@ -142,40 +77,12 @@ namespace Business
                 .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
             CreateMap<srm_pr_main, mo_srm_pr_main>()
                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<srm_purchase, mo_srm_purchase>()
-              .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
             #endregion
 
 
             #region SystemData
-            CreateMap<crm_customer, mo_crm_customer>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
             CreateMap<srm_supplier, mo_srm_supplier>()
                 .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sys_code, mo_sys_code>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sys_code_pre, mo_sys_code_pre>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sys_config, mo_sys_config>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sys_measure_unit, mo_sys_measure_unit>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sys_post, mo_sys_post>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sys_post_staff, mo_sys_post_staff>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sys_schedule, mo_sys_schedule>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sys_shift, mo_sys_shift>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sys_shift_invalid_time, mo_sys_shift_invalid_time>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sys_shift_schedule, mo_sys_shift_schedule>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sys_staff, mo_sys_staff>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-            CreateMap<sys_upload, mo_sys_upload>()
-                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
             #endregion
 
             #region 生产模块
@@ -188,53 +95,8 @@ namespace Business
             CreateMap<mes_morder, mo_mes_morder>()
                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
 
-            CreateMap<mes_morder_loss_time, mo_mes_morder_loss_time>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
             CreateMap<mes_oorder, mo_mes_oorder>()
                .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_schedule_occupy, mo_mes_schedule_occupy>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_stockoccupy, mo_mes_stockoccupy>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_loss_time_record, mo_mes_loss_time_record>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_meaction, mo_mes_meaction>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_mebycard, mo_mes_mebycard>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_merecheck, mo_mes_merecheck>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_mereport, mo_mes_mereport>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_prd_sendmat, mo_mes_prd_sendmat>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_prd_sendmat_list, mo_mes_prd_sendmat_list>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_prdlog, mo_mes_prdlog>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_product_work_time, mo_mes_product_work_time>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_stock_enter, mo_mes_stock_enter>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_stock_out, mo_mes_stock_out>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
-
-            CreateMap<mes_swipe_card, mo_mes_swipe_card>()
-               .ForMember(d => d.mysql_id, map => map.MapFrom(o => o.Id));
             #endregion
         }
     }

+ 0 - 1
MicroServices/Business/Business.Application/ResourceExamineManagement/CalcBomViewAppService.cs

@@ -6,7 +6,6 @@ using Bussiness.Model.Sale;
 using Bussiness.Model.SRM;
 using Bussiness.MongoModel.MES.IC;
 using Bussiness.MongoModel.Production;
-using Bussiness.MongoModel.Sale;
 using Bussiness.MongoModel.SRM;
 using System;
 using System.Collections.Generic;

+ 0 - 1
MicroServices/Business/Business.Application/ResourceExamineManagement/MorderAppService.cs

@@ -9,7 +9,6 @@ using Bussiness.Model.SRM;
 using Bussiness.Model.Tech;
 using Bussiness.MongoModel.MES.IC;
 using Bussiness.MongoModel.Production;
-using Bussiness.MongoModel.Sale;
 using System;
 using System.Collections.Generic;
 using System.Linq;

+ 0 - 14
MicroServices/Business/Business.Application/ResourceExamineManagement/ProductExamineAppService.cs

@@ -35,25 +35,11 @@ namespace Business.ResourceExamineManagement
         /// </summary>
         private readonly IMongoDB<mo_mes_tech_process> _mes_tech_process;
 
-        /// <summary>
-        /// 工作日历
-        /// </summary>
-        private readonly IMongoDB<mo_mes_work_calendar> _mes_work_calendar;
-
-        /// <summary>
-        /// 工作日历明细
-        /// </summary>
-        private readonly IMongoDB<mo_mes_work_calendar_list> _mes_work_calendar_list;
 
         /// <summary>
         /// 工艺工序关联工位
         /// </summary>
         private readonly IMongoDB<mo_mes_tech_proc_workshop> _mes_tech_proc_workshop;
-
-        /// <summary>
-        /// 排程占用记录
-        /// </summary>
-        private readonly IMongoDB<mo_mes_schedule_occupy> _mes_schedule_occupy;
         #endregion
 
         /// <summary>

+ 15 - 52
MicroServices/Business/Business.Application/ResourceExamineManagement/ResourceExamineAppService.cs

@@ -1,62 +1,25 @@
-using Microsoft.EntityFrameworkCore;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Linq.Dynamic.Core;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Domain.Repositories;
-using Business.Models;
-using Microsoft.AspNetCore.Authorization;
-using Business.Permissions;
-using XCZ;
+using Business.Core.MongoDBHelper;
+using Business.Core.Utilities;
 using Business.ResourceExamineManagement.Dto;
 using Bussiness.Model.MES.IC;
-using AutoMapper.Internal.Mappers;
-using Bussiness.Model.Tech;
 using Bussiness.Model.Production;
-using Business.Core.MongoDBHelper;
-using Business.Core.Utilities;
-using Hangfire.Storage.Monitoring;
-using Business.BookManagement.Dto;
-using Volo.Abp.ObjectMapping;
-using Volo.Abp.Application.Services;
-using ZstdSharp.Unsafe;
-using System.Transactions;
-using NUglify.JavaScript.Syntax;
-using System.Linq.Expressions;
-using XCZ.Extensions;
-using System.ComponentModel;
-using System.Reflection.Emit;
-using NUglify.Helpers;
-using Microsoft.AspNetCore.SignalR.Protocol;
-using System.ComponentModel.Design;
-using Volo.Abp.Validation.StringValues;
-using System.Runtime.CompilerServices;
-using MongoDB.Driver;
-using Volo.Abp.Validation.Localization;
-using Hangfire.Annotations;
-using System.Globalization;
-using MongoDB.Driver.Linq;
-using Bussiness.Model.SRM;
-using System.ComponentModel.DataAnnotations;
 using Bussiness.Model.Sale;
-using Amazon.Runtime.Internal.Transform;
-using System.IO.Compression;
-using System.Collections;
-using System.Data.SqlTypes;
-using Microsoft.EntityFrameworkCore.Diagnostics;
-using Hangfire.Server;
-using WkHtmlToPdfDotNet;
-using Microsoft.EntityFrameworkCore.Migrations.Operations;
-using Microsoft.AspNetCore.SignalR;
-using System.Diagnostics;
-using Newtonsoft.Json;
+using Bussiness.Model.SRM;
+using Bussiness.Model.Tech;
 using Bussiness.MongoModel.MES.IC;
 using Bussiness.MongoModel.Production;
 using Bussiness.MongoModel.SRM;
-using Bussiness.MongoModel.Tech;
-using Bussiness.MongoModel.Sale;
+using Microsoft.EntityFrameworkCore;
+using MongoDB.Driver;
+using MongoDB.Driver.Linq;
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Linq.Dynamic.Core;
+using System.Threading.Tasks;
+using Volo.Abp.Application.Services;
+using Volo.Abp.Domain.Repositories;
 
 namespace Business.ResourceExamineManagement
 {

+ 20 - 57
MicroServices/Business/Business.Application/SyncDataManagement/SyncMySQLDataAppService.cs

@@ -1,55 +1,15 @@
-using Microsoft.EntityFrameworkCore;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Linq.Dynamic.Core;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Domain.Repositories;
-using Business.Models;
-using Microsoft.AspNetCore.Authorization;
-using Business.Permissions;
-using XCZ;
-using Business.ResourceExamineManagement.Dto;
-using Bussiness.Model.MES.IC;
-using AutoMapper.Internal.Mappers;
-using Bussiness.Model.Tech;
-using Bussiness.Model.Production;
 using Business.Core.MongoDBHelper;
 using Business.Core.Utilities;
-using Hangfire.Storage.Monitoring;
-using Business.BookManagement.Dto;
-using Volo.Abp.ObjectMapping;
-using Volo.Abp.Application.Services;
-using ZstdSharp.Unsafe;
-using System.Transactions;
-using NUglify.JavaScript.Syntax;
-using System.Linq.Expressions;
-using XCZ.Extensions;
-using System.ComponentModel;
-using System.Reflection.Emit;
-using NUglify.Helpers;
-using Microsoft.AspNetCore.SignalR.Protocol;
-using System.ComponentModel.Design;
-using Volo.Abp.Validation.StringValues;
-using System.Runtime.CompilerServices;
-using MongoDB.Driver;
-using Volo.Abp.Validation.Localization;
-using Hangfire.Annotations;
-using System.Globalization;
-using MongoDB.Driver.Linq;
-using Bussiness.Model.SRM;
-using System.ComponentModel.DataAnnotations;
-using Bussiness.Model.Sale;
-using Amazon.Runtime.Internal.Transform;
-using System.IO.Compression;
-using System.Collections;
-using System.Data.SqlTypes;
+using Bussiness.Model.MES.IC;
 using Bussiness.Model.SystemData;
+using Bussiness.Model.Tech;
 using Bussiness.MongoModel.MES.IC;
 using Bussiness.MongoModel.SystemData;
 using Bussiness.MongoModel.Tech;
-using Bussiness.Model.SIM;
+using System;
+using System.Collections.Generic;
+using Volo.Abp.Application.Services;
+using Volo.Abp.Domain.Repositories;
 
 namespace Business.SyncDataManagement
 {
@@ -149,6 +109,7 @@ namespace Business.SyncDataManagement
         public SyncMySQLDataAppService(
             IMongoDB<mo_ic_bom> ic_bom,
             IMongoDB<mo_ic_bom_child> ic_bom_child,
+            IMongoDB<mo_ic_check> ic_check,
             IMongoDB<mo_ic_item> ic_item,
             IMongoDB<mo_ic_substitute> ic_substitute,
             IMongoDB<mo_ic_substitute_all> ic_substitute_all,
@@ -162,6 +123,7 @@ namespace Business.SyncDataManagement
             IMongoDB<mo_ic_plan> ic_plan,
             IRepository<ic_bom, long> mysql_ic_bom,
             IRepository<ic_bom_child, long> mysql_ic_bom_child,
+            IRepository<ic_check, long> mysql_ic_check,
             IRepository<ic_item, long> mysql_ic_item,
             IRepository<ic_substitute, long> mysql_ic_substitute,
             IRepository<ic_substitute_all, long> mysql_ic_substitute_all,
@@ -234,6 +196,17 @@ namespace Business.SyncDataManagement
                 _ic_bom_child.InsertMany(moIcbom_childs);
             }
 
+            //工厂物料明细表
+            var ic_factory_details = _mysql_ic_factory_details.GetListAsync().Result;
+            if (ic_factory_details.Count > 0)
+            {
+                //先清空表数据
+                _ic_factory_details.Delete(p => p.mysql_id != -1);
+                var moIc_factory_details = ObjectMapper.Map<List<ic_factory_details>, List<mo_ic_factory_details>>(ic_factory_details);
+                moIc_factory_details.ForEach(s => s.id = help.NextId());
+                _ic_factory_details.InsertMany(moIc_factory_details);
+            }
+
             //同步物料数据
             var icItems =  _mysql_ic_item.GetListAsync().Result;
             if (icItems.Count > 0)
@@ -330,17 +303,7 @@ namespace Business.SyncDataManagement
                 _mes_tech_process.InsertMany(moTech_procs);
             }
 
-            //工厂物料明细表
-            var ic_factory_details = _mysql_ic_factory_details.GetListAsync().Result;
-            if (ic_factory_details.Count > 0)
-            {
-                //先清空表数据
-                _ic_factory_details.Delete(p => p.mysql_id != -1);
-                var moIc_factory_details = ObjectMapper.Map<List<ic_factory_details>, List<mo_ic_factory_details>>(ic_factory_details);
-                moIc_factory_details.ForEach(s => s.id = help.NextId());
-                _ic_factory_details.InsertMany(moIc_factory_details);
-            }
-
+ 
             //物料采购计划表
             var ic_plan = _mysql_ic_plan.GetListAsync().Result;
             if (ic_plan.Count > 0)

+ 5 - 0
MicroServices/Business/Bussiness.MongoModel/Bussiness.MongoModel.csproj

@@ -15,4 +15,9 @@
     <ProjectReference Include="..\Business.Core\Business.Core.csproj" />
   </ItemGroup>
 
+  <ItemGroup>
+    <Folder Include="ProductionProcess\" />
+    <Folder Include="Sale\" />
+  </ItemGroup>
+
 </Project>

+ 0 - 62
MicroServices/Business/Bussiness.MongoModel/MES/IC/mo_ic_item_ie.cs

@@ -1,62 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Bussiness.MongoModel.MES.IC
-{
-    /// <summary>
-    /// 物料ie信息表
-    /// </summary>
-    [CollectionName("dopbase", "mo_ic_item_ie")]
-    [Comment("物料ie信息表")]
-    public class mo_ic_item_ie:MoBaseEntity
-    {
-        /// <summary>
-        /// 物料id
-        /// </summary>
-        [Required]
-        [Comment("物料id")]
-        public long icitem_id { get; set; }
-        /// <summary>
-        /// 是否倒冲
-        /// </summary>
-        [Comment("是否倒冲")]
-        public int isbackflush { get; set; }
-        /// <summary>
-        /// 生产负责人
-        /// </summary>
-        [StringLength(80)]
-        [Comment("生产负责人")]
-        public string? product_principal { get; set; }
-        /// <summary>
-        /// 倒冲仓库
-        /// </summary>
-        [StringLength(80)]
-        [Comment("倒冲仓库")]
-        public string? back_flush_stock { get; set; }
-        /// <summary>
-        /// 倒冲仓位
-        /// </summary>
-        [StringLength(80)]
-        [Comment("倒冲仓位")]
-        public string? back_flush_sp { get; set; }
-        /// <summary>
-        /// 投料自动取整
-        /// </summary>
-        [Comment("投料自动取整")]
-        public int put_integer { get; set; }
-        /// <summary>
-        /// ie备注
-        /// </summary>
-        [StringLength(1000)]
-        [Comment("ie备注")]
-        public string? ir_note { get; set; }
-    }
-}

+ 0 - 100
MicroServices/Business/Bussiness.MongoModel/MES/IC/mo_ic_item_inventory.cs

@@ -1,100 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.MES.IC
-{
-    /// <summary>
-    /// 物料库存明细表
-    /// </summary>
-    [CollectionName("dopbase", "mo_ic_item_inventory")]
-    [Comment("物料库存明细表")]
-    public class mo_ic_item_inventory:MoBaseEntity
-    {
-        /// <summary>
-        /// 物料库存主键
-        /// </summary>
-        [Required]
-        [Comment("物料库存主键")]
-        public long icitem_stock_id { get; set; }
-        /// <summary>
-        /// 仓库id
-        /// </summary>
-        [Required]
-        [Comment("仓库id")]
-        public long stock_id { get; set; }
-        /// <summary>
-        /// 仓库名称
-        /// </summary>
-        [StringLength(80)]
-        [Comment("仓库名称")]
-        public string? stock_name { get; set; }
-        /// <summary>
-        /// 库位id
-        /// </summary>
-        [Required]
-        [Comment("库位id")]
-        public long stock_place_id { get; set; }
-        /// <summary>
-        /// 库位编码
-        /// </summary>
-        [StringLength(80)]
-        [Comment("库位编码")]
-        public string? stock_place_code { get; set; }
-        /// <summary>
-        /// 批次号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("批次号")]
-        public string? batch_no { get; set; }
-        /// <summary>
-        /// 数量
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("数量")]
-        public decimal? qty { get; set; }
-        /// <summary>
-        /// 金额
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("金额")]
-        public decimal? bal { get; set; }
-        /// <summary>
-        /// 保质期时长
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("保质期时长")]
-        public decimal? kf_period { get; set; }
-        /// <summary>
-        /// 保质期时间
-        /// </summary>
-        [Comment("保质期时间")]
-        public DateTime? kf_date { get; set; }
-        /// <summary>
-        /// 锁定库存
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("锁定库存")]
-        public decimal? qty_lock { get; set; }
-        /// <summary>
-        /// 安全库存
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("安全库存")]
-        public decimal? sec_qty { get; set; }
-        /// <summary>
-        /// 单位
-        /// </summary>
-        [StringLength(80)]
-        [Comment("单位")]
-        public string? unit { get; set; }
-        /// <summary>
-        /// 日期
-        /// </summary>
-        [Comment("日期")]
-        public DateTime? rq { get; set; }
-
-    }
-}

+ 1 - 1
MicroServices/Business/Bussiness.MongoModel/MES/IC/mo_ic_item_stock.cs

@@ -11,7 +11,7 @@ namespace Bussiness.MongoModel.MES.IC
     /// <summary>
     /// 物料库存表
     /// </summary>
-    [CollectionName("dopbase", "mo_ic_item_stock")]
+    [CollectionName("dopbang", "mo_ic_item_stock")]
     [Comment("物料库存表")]
     public class mo_ic_item_stock : MoBaseEntity
     {

+ 1 - 1
MicroServices/Business/Bussiness.MongoModel/MES/IC/mo_ic_item_stockoccupy.cs

@@ -15,7 +15,7 @@ namespace Bussiness.MongoModel.MES.IC
     /// <summary>
     /// 资源检查物料占用明细表
     /// </summary>
-    [CollectionName("dopbase", "mo_ic_item_stockoccupy")]
+    [CollectionName("dopbang", "mo_ic_item_stockoccupy")]
     [Comment("资源检查物料占用明细表")]
     public class mo_ic_item_stockoccupy:MoBaseEntity
     {

+ 0 - 76
MicroServices/Business/Bussiness.MongoModel/MES/IC/mo_ic_metering_unit.cs

@@ -1,76 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Bussiness.MongoModel.MES.IC
-{
-    /// <summary>
-    /// 物料计量表
-    /// </summary>
-    [CollectionName("dopbase", "mo_ic_metering_unit")]
-    [Comment("物料计量表")]
-    public class mo_ic_metering_unit : MoBaseEntity
-    {
-        /// <summary>
-        /// 物料id
-        /// </summary>
-        [Required]
-        [Comment("物料id")]
-        public long icitem_id { get; set; }
-        /// <summary>
-        /// 物料名称
-        /// </summary>
-        [StringLength(80)]
-        [Comment("物料名称")]
-        public string? icitem_name { get; set; }
-        /// <summary>
-        /// 计量单位组
-        /// </summary>
-        [StringLength(80)]
-        [Comment("计量单位组")]
-        public string? unit_group { get; set; }
-        /// <summary>
-        /// 基本计量单位
-        /// </summary>
-        [StringLength(80)]
-        [Comment("基本计量单位")]
-        public string? unit { get; set; }
-        /// <summary>
-        /// 采购计量单位
-        /// </summary>
-        [StringLength(80)]
-        [Comment("采购计量单位")]
-        public string? order_unit { get; set; }
-        /// <summary>
-        /// 销售计量单位
-        /// </summary>
-        [StringLength(80)]
-        [Comment("销售计量单位")]
-        public string? sale_unit { get; set; }
-        /// <summary>
-        /// 生产计量单位
-        /// </summary>
-        [StringLength(80)]
-        [Comment("生产计量单位")]
-        public string? product_unit { get; set; }
-        /// <summary>
-        /// 库存计量单位
-        /// </summary>
-        [StringLength(80)]
-        [Comment("库存计量单位")]
-        public string? store_unit { get; set; }
-        /// <summary>
-        /// 数量精度
-        /// </summary>
-        [Comment("数量精度")]
-        public int qty_decimal { get; set; }
-
-    }
-}

+ 1 - 1
MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_moentry.cs

@@ -15,7 +15,7 @@ namespace Bussiness.MongoModel.Production
     /// <summary>
     /// 生成工单子表
     /// </summary>
-    [CollectionName("dopbase", "mo_mes_moentry")]
+    [CollectionName("dopbang", "mo_mes_moentry")]
     [Comment("生成工单子表")]
     public class mo_mes_moentry : MoBaseEntity
     {

+ 1 - 1
MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_mooccupy.cs

@@ -15,7 +15,7 @@ namespace Bussiness.MongoModel.Production
     /// <summary>
     /// 在制工单占用记录表
     /// </summary>
-    [CollectionName("dopbase", "mo_mes_mooccupy")]
+    [CollectionName("dopbang", "mo_mes_mooccupy")]
     [Comment("在制工单占用记录表")]
     public class mo_mes_mooccupy : MoBaseEntity
     {

+ 1 - 1
MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_morder.cs

@@ -16,7 +16,7 @@ namespace Bussiness.MongoModel.Production
     /// <summary>
     /// 工单主表
     /// </summary>
-    [CollectionName("dopbase", "mo_mes_morder")]
+    [CollectionName("dopbang", "mo_mes_morder")]
     [Comment("工单主表")]
     public class mo_mes_morder : MoBaseEntity
     {

+ 0 - 136
MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_morder_loss_time.cs

@@ -1,136 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Bussiness.MongoModel.Production
-{
-    /// <summary>
-    /// 工单损失时间表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_morder_loss_time")]
-    [Comment("工单损失时间表")]
-    public class mo_mes_morder_loss_time : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键
-        ///// </summary>
-        //[Key]
-        //[Comment("工单损失时间主键")]
-        //public long id { get; set; }
-        /// <summary>
-        /// 生产工单id
-        /// </summary>
-        [Comment("生产工单id")]
-        public long morder_id { get; set; }
-        /// <summary>
-        /// 生产工单编号
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("生产工单编号")]
-        public string? morder_no { get; set; }
-        /// <summary>
-        /// 生产工单行号
-        /// </summary>
-        [Required]
-        [Comment("生产工单编号")]
-        public int morder_no_row { get; set; }
-        /// <summary>
-        /// 损失开始时间
-        /// </summary>
-        [Comment("损失开始时间")]
-        public DateTime start_time { get; set; }
-        /// <summary>
-        /// 损失结束时间
-        /// </summary>
-        [Comment("损失结束时间")]
-        public DateTime end_time { get; set; }
-        /// <summary>
-        /// 记录人id
-        /// </summary>
-        [Comment("记录人id")]
-        public long recorder_id { get; set; }
-        /// <summary>
-        /// 记录人名称
-        /// </summary>
-        [Required]
-        [StringLength(255)]
-        [Comment("记录人名称")]
-        public string? recorder_name { get; set; }
-        /// <summary>
-        /// 人员数量
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("人员数量")]
-        public decimal staff_qty { get; set; }
-        /// <summary>
-        /// 损失时间(用户输入)
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("损失时间(用户输入)")]
-        public decimal loss_work_hours { get; set; }
-        /// <summary>
-        /// 系统计算损失时间
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("系统计算损失时间")]
-        public decimal sys_loss_time { get; set; }
-        /// <summary>
-        /// 工作中心id
-        /// </summary>
-        [Comment("工作中心id")]
-        public long workc_id { get; set; }
-        /// <summary>
-        /// 工作中心名称
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("工作中心名称")]
-        public string? workc_name { get; set; }
-        /// <summary>
-        /// 责任单位id
-        /// </summary>
-        [Comment("责任单位id")]
-        public long dept_id { get; set; }
-        /// <summary>
-        /// 责任单位名称
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("责任单位名称")]
-        public string? dept_name { get; set; }
-        /// <summary>
-        /// 损失时间原因
-        /// </summary>
-        [Required]
-        [StringLength(255)]
-        [Comment("损失时间原因")]
-        public string? reason { get; set; }
-        /// <summary>
-        /// 描述
-        /// </summary>
-        [StringLength(255)]
-        [Comment("描述")]
-        public string? description { get; set; }
-        /// <summary>
-        /// 是否停产(0未停产,1停产)
-        /// </summary>
-        [DefaultValue(0)]
-        [Comment("是否停产(0未停产,1停产)")]
-        public int is_stop_production { get; set; }
-        /// <summary>
-        /// 用工卡号
-        /// </summary>
-        [StringLength(50)]
-        [Comment("用工卡号")]
-        public string? card_no { get; set; }
-        
-    }
-}

+ 1 - 1
MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_oorder.cs

@@ -15,7 +15,7 @@ namespace Bussiness.MongoModel.Production
     /// <summary>
     /// 委外订单表
     /// </summary>
-    [CollectionName("dopbase", "mo_mes_oorder")]
+    [CollectionName("dopbang", "mo_mes_oorder")]
     [Comment("委外订单表")]
     public class mo_mes_oorder : MoBaseEntity
     {

+ 0 - 71
MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_schedule_occupy.cs

@@ -1,71 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Bussiness.MongoModel.Production
-{
-    /// <summary>
-    /// 排程时间占用记录表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_schedule_occupy")]
-    [Comment("排程时间占用记录表")]
-    public class mo_mes_schedule_occupy : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 排程时间占用记录id
-        ///// </summary>
-        //[Key]
-        //[Comment("排程时间占用记录id")]
-        //public long id { get; set; }
-        /// <summary>
-        /// 开始时间
-        /// </summary>
-        [Comment("开始时间")]
-        public DateTime? start_time { get; set; }
-        /// <summary>
-        /// 结束时间
-        /// </summary>
-        [Comment("结束时间")]
-        public DateTime? end_time { get; set; }
-        /// <summary>
-        /// 工作时长(h)
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("工作时长(h)")]
-        public decimal? working_minute { get; set; }
-        /// <summary>
-        /// 状态 0-待使用,1-已使用
-        /// </summary>
-        [DefaultValue(0)]
-        [Comment("状态 0-待使用,1-已使用")]
-        public int? status { get; set; }
-        /// <summary>
-        /// 是否锁定 0-正常,1-锁定
-        /// </summary>
-        [DefaultValue(0)]
-        [Comment("是否锁定 0-正常,1-锁定")]
-        public int? is_Locked { get; set; }
-        /// <summary>
-        /// 生产组织id
-        /// </summary>
-        [Comment("生产组织id")]
-        public long? prd_org_id { get; set; }
-        /// <summary>
-        /// 工作中心id:工位id
-        /// </summary>
-        [Comment("工作中心id")]
-        public long? work_center_id { get; set; }
-        /// <summary>
-        /// 工作日历id
-        /// </summary>
-        [Comment("工作日历id")]
-        public long? work_calendar_id { get; set; }
-    }
-}

+ 0 - 125
MicroServices/Business/Bussiness.MongoModel/Production/mo_mes_stockoccupy.cs

@@ -1,125 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Bussiness.MongoModel.Production
-{
-    /// <summary>
-    /// 成品库存占用表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_stockoccupy")]
-    [Comment("成品库存占用表")]
-    public class mo_mes_stockoccupy : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 成品库存占用id
-        ///// </summary>
-        //[Key]
-        //[Comment("成品库存占用id")]
-        //public long soccupy_id { get; set; }
-        /// <summary>
-        /// 类型
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("类型")]
-        public string soccupy_type { get; set; }
-        /// <summary>
-        /// 订单行id
-        /// </summary>
-        [Comment("订单行id")]
-        public long? soentry_id { get; set; }
-        /// <summary>
-        /// 订单行号
-        /// </summary>
-        [Comment("订单行号")]
-        public long? fentry_id { get; set; }
-        /// <summary>
-        /// 订单编号
-        /// </summary>
-        [StringLength(50)]
-        [Comment("订单编号")]
-        public string? fbill_no { get; set; }
-        /// <summary>
-        /// 物料编码
-        /// </summary>
-        [StringLength(50)]
-        [Comment("物料编码")]
-        public string? fitem_number { get; set; }
-        /// <summary>
-        /// 物料名称
-        /// </summary>
-        [StringLength(200)]
-        [Comment("物料名称")]
-        public string? fitem_name { get; set; }
-        /// <summary>
-        /// 规格型号
-        /// </summary>
-        [StringLength(200)]
-        [Comment("规格型号")]
-        public string? fmodel { get; set; }
-        /// <summary>
-        /// 仓库id
-        /// </summary>
-        [Comment("仓库id")]
-        public long warehouse_id { get; set; }
-        /// <summary>
-        /// 仓库名称
-        /// </summary>
-        [StringLength(80)]
-        [Comment("仓库名称")]
-        public string? warehouse_name { get; set; }
-        /// <summary>
-        /// 仓库类型
-        /// </summary>
-        [StringLength(50)]
-        [Comment("仓库类型")]
-        public string? warehouse_type { get; set; }
-        /// <summary>
-        /// 占用量
-        /// </summary>
-        [Precision(20, 2)]
-        [Comment("占用量")]
-        public decimal? occupyqty { get; set; }
-        /// <summary>
-        /// 开始时间
-        /// </summary>
-        [Comment("开始时间")]
-        public DateTime? soccupy_stime { get; set; }
-        /// <summary>
-        /// 结束时间
-        /// </summary>
-        [Comment("结束时间")]
-        public DateTime? soccupy_etime { get; set; }
-        /// <summary>
-        /// 占用状态
-        /// </summary>
-        [StringLength(50)]
-        [Comment("占用状态")]
-        public string? soccupy_state { get; set; }
-        /// <summary>
-        /// 变更人
-        /// </summary>
-        [StringLength(50)]
-        [Comment("变更人")]
-        public string? soccupy_cby { get; set; }
-        /// <summary>
-        /// 变更时间
-        /// </summary>
-        [Comment("变更时间")]
-        public DateTime? soccupy_ctime { get; set; }
-        /// <summary>
-        /// 变更原因
-        /// </summary>
-        [StringLength(255)]
-        [Comment("变更原因")]
-        public string? soccupy_creason { get; set; } 
-    }
-}

+ 0 - 94
MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_loss_time_record.cs

@@ -1,94 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.ProductionProcess
-{
-    /// <summary>
-    /// 损失时间记录表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_loss_time_record")]
-    [Comment("损失时间记录表")]
-    public class mo_mes_loss_time_record : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键ID
-        ///// </summary>
-        //[Key]
-        //[Comment("主键ID")]
-        //public long loss_time_record_id { get; set; }
-        /// <summary>
-        /// 工单id
-        /// </summary>
-        [Comment("工单id")]
-
-        public long morder_id { get; set; }
-        /// <summary>
-        /// 工单编号
-        /// </summary>    
-        [Required]
-        [StringLength(50)]
-        [Comment("工单编号")]
-
-        public string? morder_no { get; set; }
-        /// <summary>
-        /// 损失开始时间
-        /// </summary>
-        [Comment("损失开始时间")]
-
-        public DateTime? start_time { get; set; }
-        /// <summary>
-        /// 损失结束时间
-        /// </summary>
-        [Comment("损失结束时间")]
-
-        public DateTime? end_time { get; set; }
-        /// <summary>
-        /// 生产车间
-        /// </summary>
-        [Comment("生产车间")]
-
-        public long product_org { get; set; }
-        /// <summary>
-        /// 生产产线
-        /// </summary>
-        [Comment("生产产线")]
-
-        public long product_line { get; set; }
-        /// <summary>
-        /// 记录时间
-        /// </summary>
-        [Comment("记录时间")]
-        public DateTime record_time { get; set; }
-        /// <summary>
-        /// 记录人id
-        /// </summary>
-        [Comment("记录人id")]
-        public long record_id { get; set; }
-        /// <summary>
-        /// 记录人工号
-        /// </summary>
-        [Comment("记录人工号")]
-        public string? record_no { get; set; }
-        /// <summary>
-        /// 是否停线
-        /// </summary>
-        [DefaultValue(0)]
-        [Comment("是否停线")]
-        public int isstop { get; set; }
-        /// <summary>
-        /// 原因
-        /// </summary>
-        [StringLength(500)]
-        [Comment("原因")]
-        public string? cause { get; set; }
-        /// <summary>
-        /// 问题描述
-        /// </summary>
-        [StringLength(500)]
-        [Comment("问题描述")]
-        public string? desc { get; set; }
-    }
-}

+ 0 - 63
MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_meaction.cs

@@ -1,63 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.ProductionProcess
-{
-    /// <summary>
-    /// 生产动作表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_meaction")]
-    [Comment("生产动作表")]
-    public class mo_mes_meaction : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键Id
-        ///// </summary>
-        //[Key]
-        //[Comment("生产动作Id")]
-        //public long meaction_id { get; set; }
-        /// <summary>
-        /// 生产工单id
-        /// </summary>
-        [Comment("生产工单id")]
-        public long morder_id { get; set; }
-        /// <summary>
-        /// 生产工单号
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("生产工单号")]
-        public string? morder_no { get; set; }
-        /// <summary>
-        /// 操作时间
-        /// </summary>
-        [Comment("操作时间")]
-        public DateTime? oprtime { get; set; }
-        /// <summary>
-        /// 操作类型
-        /// </summary>
-        [StringLength(50)]
-        [Comment("操作类型")]
-        public string? oprtype { get; set; }
-        /// <summary>
-        /// 操作人id
-        /// </summary>
-        [Comment("操作人id")]
-        public long? oprby { get; set; }
-        /// <summary>
-        /// 操作人名称
-        /// </summary>
-        [StringLength(50)]
-        [Comment("操作人名称")]
-        public string? oprbyname { get; set; }
-        /// <summary>
-        /// 操作人工号
-        /// </summary>
-        [StringLength(100)]
-        [Comment("操作人工号")]
-        public string? oprbyno { get; set; }
-    }
-}

+ 0 - 66
MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_mebycard.cs

@@ -1,66 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.ProductionProcess
-{
-    /// <summary>
-    /// 产线刷卡记录
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_mebycard")]
-    [Comment("产线刷卡记录")]
-    public class mo_mes_mebycard : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 刷卡id
-        ///// </summary>
-        //[Key]
-        //[Comment("刷卡id")]
-        //public long mebycard_id { get; set; }
-        /// <summary>
-        /// 生产工单号id
-        /// </summary>
-        [Comment("生产工单号id")]
-        public long mebycard_moid { get; set; }
-        /// <summary>
-        /// 生产工单号
-        /// </summary>    
-        [Required]
-        [StringLength(50)]
-        [Comment("生产工单号")]
-        public string? mebycard_mono { get; set; }
-        /// <summary>
-        /// 工序id
-        /// </summary>
-        [Comment("工序id")]
-        public long mebycard_pid { get; set; }
-        /// <summary>
-        /// 工序编码
-        /// </summary>
-        [Required]
-        [StringLength(100)]
-        [Comment("工序编码")]
-        public string? mebycard_pno { get; set; }
-        /// <summary>
-        /// 工序名称
-        /// </summary>   
-        [Required]
-        [StringLength(100)]
-        [Comment("工序名称")]
-        public string? mebycard_pname { get; set; }
-        /// <summary>
-        /// 刷卡人员卡号
-        /// </summary>      
-        [Required]
-        [StringLength(100)]
-        [Comment("刷卡人员卡号")]
-        public string? mebycard_byno { get; set; }
-        /// <summary>
-        /// 刷卡时间
-        /// </summary>   
-        [Comment("刷卡时间")]
-        public DateTime mebycard_time { get; set; }
-    }
-}

+ 0 - 51
MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_merecheck.cs

@@ -1,51 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.ProductionProcess
-{
-    /// <summary>
-    /// 生产报检记录表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_merecheck")]
-    [Comment("生产报检记录表")]
-    public class mo_mes_merecheck : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键Id
-        ///// </summary>
-        //[Key]
-        //[Comment("生产报检记录Id")]
-        //public long merecheck_id { get; set; }
-        /// <summary>
-        /// 生产工单id
-        /// </summary>
-        [Comment("生产工单id")]
-        public long morder_id { get; set; }
-        /// <summary>
-        /// 生产工单号
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("生产工单号")]
-        public string? morder_no { get; set; }
-        /// <summary>
-        /// 报检数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("报检数量")]
-        public decimal qty { get; set; }
-        /// <summary>
-        /// 报检时间
-        /// </summary>
-        [Comment("报检时间")]
-        public DateTime oprtime { get; set; }
-        /// <summary>
-        /// 报检人id
-        /// </summary>
-        [Comment("报检人id")]
-        public long oprby { get; set; }
-    }
-}

+ 0 - 65
MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_mereport.cs

@@ -1,65 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.ProductionProcess
-{
-    /// <summary>
-    /// 生产报工记录表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_mereport")]
-    [Comment("生产报工记录表")]
-    public class mo_mes_mereport :MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键ID
-        ///// </summary>
-        //[Key]
-        //[Comment("生产报工记录Id")]
-        //public long mereport_id { get; set; }
-        /// <summary>
-        /// 生产工单id
-        /// </summary>
-        [Comment("生产工单id")]
-        public long morder_id { get; set; }
-        /// <summary>
-        /// 生产工单号
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("生产工单号")]
-        public string morder_no { get; set; }
-        /// <summary>
-        /// 报工数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("报工数量")]
-        public decimal qty { get; set; }
-        /// <summary>
-        /// 报工时间
-        /// </summary>
-        [Comment("报工时间")]
-        public DateTime report_time { get; set; }
-        /// <summary>
-        /// 报工人id
-        /// </summary>
-        [Comment("报工人id")]
-        public long report_by { get; set; }
-        /// <summary>
-        /// 报工人工号
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("报工人工号")]
-        public string report_byno { get; set; }
-        /// <summary>
-        /// 已报数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("报工数量")]
-        public decimal instock_qty { get; set; }
-
-    }
-}

+ 0 - 127
MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_prd_sendmat.cs

@@ -1,127 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.ProductionProcess
-{
-    /// <summary>
-    /// 发料单
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_prd_sendmat")]
-    [Comment("发料单")]
-    public class mo_mes_prd_sendmat :MoBaseEntity
-    {
-        ///// <summary>
-        ///// 发料单id
-        ///// </summary>
-        //[Key]
-        //[Comment("发料单id")]
-        //public long prdsm_id { get; set; }
-        /// <summary>
-        /// 单据类型 (发料、叫料、补料、退料)
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("单据类型 (发料、叫料、补料、退料)")]
-        public string prdsm_type { get; set; }
-        /// <summary>
-        /// 单据编号
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("单据编号")]
-        public string prdsm_no { get; set; }
-        /// <summary>
-        /// 单据日期
-        /// </summary>
-        [Comment("单据日期")]
-        public DateTime prdsm_date { get; set; }
-        /// <summary>
-        /// 生产组织id
-        /// </summary>
-        [Comment("生产组织id")]
-        public long prdsm_prdid { get; set; }
-        /// <summary>
-        /// 工作中心id
-        /// </summary>
-        [Comment("工作中心id")]
-        public long prdsm_workcid { get; set; }
-        /// <summary>
-        /// 生产工单id
-        /// </summary>
-        [Comment("生产工单id")]
-        public long prdsm_moid { get; set; }
-        /// <summary>
-        /// 生产工单号
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("生产工单号")]
-        public string prdsm_mono { get; set; }
-        /// <summary>
-        /// 制单人
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("制单人")]
-        public string prdsm_by { get; set; }
-        /// <summary>
-        /// 备注
-        /// </summary>
-        [StringLength(500)]
-        [Comment("备注")]
-        public string? prdsm_note { get; set; }
-        /// <summary>
-        /// 状态
-        /// </summary>
-        [DefaultValue(0)]
-        [Comment("状态")]
-        public int? prdsm_state { get; set; }
-        /// <summary>
-        /// 补料理由
-        /// </summary>
-        [StringLength(500)]
-        [Comment("补料理由")]
-        public string? prdsm_reason { get; set; }
-        /// <summary>
-        /// 退料原因
-        /// </summary>
-        //public string prdsm_breason { get; set; }
-        /// <summary>
-        /// 叫料数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("叫料数量")]
-        public decimal prdsm_qty { get; set; }
-        /// <summary>
-        /// 配送日期
-        /// </summary>
-        [Comment("配送日期")]
-        public DateTime? prdsm_ddate { get; set; }
-        /// <summary>
-        /// 关联委外po单号
-        /// </summary>
-        [StringLength(100)]
-        [Comment("关联委外po单号")]
-        public string? prdsm_po_no { get; set; }
-        /// <summary>
-        /// 关联委外po行号
-        /// </summary>
-        [Comment("关联委外po行号")]
-        public int? prdsm_po_row { get; set; }
-        /// <summary>
-        /// 原单类型  0 生产工单  1 委外工单
-        /// </summary>
-        [DefaultValue(0)]
-        [Comment("原单类型")]
-        public int srcbill_type { get; set; }
-        /// <summary>
-        /// 源单状态  0 初始   1 下达 2 开始往金蝶推
-        /// </summary>
-        [DefaultValue(0)]
-        [Comment("源单状态")]
-        public int srcbill_state { get; set; }
-    }
-}

+ 0 - 168
MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_prd_sendmat_list.cs

@@ -1,168 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.ProductionProcess
-{
-    /// <summary>
-    /// 发料单详情
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_prd_sendmat_list")]
-    [Comment("发料单详情")]
-    public class mo_mes_prd_sendmat_list : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 发料单详情id
-        ///// </summary>
-        //[Key]
-        //[Comment("发料单详情id")]
-        //public long prdsml_id { get; set; }
-        /// <summary>
-        /// 发料单id
-        /// </summary>
-        [Comment("发料单id")]
-        public long prdsm_id { get; set; }
-        /// <summary>
-        /// 工序编码
-        /// </summary>
-        [StringLength(50)]
-        [Comment("工序编码")]
-        public string? prdsml_procno { get; set; }
-        /// <summary>
-        /// 工序名称
-        /// </summary>
-        [StringLength(80)]
-        [Comment("工序名称")]
-        public string? prdsml_procname { get; set; }
-        /// <summary>
-        /// 物料编码
-        /// </summary>
-        [StringLength(100)]
-        [Comment("物料编码")]
-        public string? fitem_number { get; set; }
-        /// <summary>
-        /// 物料名称
-        /// </summary>
-        [StringLength(100)]
-        [Comment("物料编码")]
-        public string? fitem_name { get; set; }
-        /// <summary>
-        /// 规格型号
-        /// </summary>
-        [StringLength(100)]
-        [Comment("物料编码")]
-        public string? fmodel { get; set; }
-        /// <summary>
-        /// 单位数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("单位数量")]
-        public decimal? prdsml_qtyper { get; set; }
-        /// <summary>
-        /// 确认单位数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("确认单位数量")]
-        public decimal? prdsml_cqtyper { get; set; }
-        /// <summary>
-        /// 计量单位
-        /// </summary>
-        [StringLength(50)]
-        [Comment("计量单位")]
-        public string? prdsml_unit { get; set; }
-        /// <summary>
-        /// 应发数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("应发数量")]
-        public decimal? prdsml_qtyto { get; set; }
-        /// <summary>
-        /// 计划数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("计划数量")]
-        public decimal? prdsml_qtyplan { get; set; }
-        /// <summary>
-        /// 已发数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("已发数量")]
-        public decimal prdsml_qtyissued { get; set; }
-        /// <summary>
-        /// 发料仓库id
-        /// </summary>
-        [Comment("发料仓库id")]
-        public long prdsml_whid { get; set; }
-        /// <summary>
-        /// 发料仓库编码
-        /// </summary>
-        [StringLength(50)]
-        [Comment("发料仓库编码")]
-        public string? prdsml_whno { get; set; }
-        /// <summary>
-        /// 发料仓库名称
-        /// </summary>
-        [StringLength(500)]
-        [Comment("发料仓库名称")]
-        public string? prdsml_whname { get; set; }
-        /// <summary>
-        /// 退料原因
-        /// </summary>
-        [StringLength(500)]
-        [Comment("退料原因")]
-        public string? prdsm_breason { get; set; }
-        /// <summary>
-        /// 是否倒冲 (0-否,1-是)
-        /// </summary>
-        [Comment("是否倒冲")]
-        public int? fbackflush { get; set; }
-        /// <summary>
-        /// 行号
-        /// </summary>
-        [Comment("行号")]
-        public int? prsml_row { get; set; }
-        /// <summary>
-        /// 子项属性
-        /// </summary>
-        [StringLength(255)]
-        [Comment("子项属性")]
-        public string? fmateriel_type { get; set; }
-        /// <summary>
-        /// 关键件
-        /// </summary>
-        [StringLength(255)]
-        [Comment("子项属性")]
-        public string? fisKey_item { get; set; }
-        /// <summary>
-        /// 计划发料日期
-        /// </summary>
-        [Comment("计划发料日期")]
-        public DateTime? send_date { get; set; }
-        /// <summary>
-        /// 工位
-        /// </summary>
-        [StringLength(255)]
-        [Comment("工位")]
-        public string station { get; set; }
-        /// <summary>
-        /// 报废数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("报废数量")]
-        public decimal? fdiscard_aux_qty { get; set; }
-        /// <summary>
-        /// 补料数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("补料数量")]
-        public decimal? fqty_supply { get; set; }
-        /// <summary>
-        /// 退料数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("退料数量")]
-        public decimal? fqty_send_back { get; set; }
-    }
-}

+ 0 - 66
MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_prdlog.cs

@@ -1,66 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.ProductionProcess
-{
-    /// <summary>
-    /// 生产操作日志
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_prdlog")]
-    [Comment("生产操作日志")]
-    public class mo_mes_prdlog :MoBaseEntity
-    {
-        ///// <summary>
-        ///// 生产操作日志id
-        ///// </summary>
-        //[Key]
-        //[Comment("生产操作日志id")]
-        //public long prdlog_id { get; set; }
-
-        /// <summary>
-        /// 业务类型
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("业务类型")]
-        public string prdlog_type { get; set; }
-        /// <summary>
-        /// 关联单号
-        /// </summary> 
-        [Required]
-        [StringLength(80)]
-        [Comment("业务类型")]
-        public string prdlog_no { get; set; }
-        /// <summary>
-        /// 行号
-        /// </summary>
-        [Comment("行号")]
-        public int prdlog_entryid { get; set; }
-        /// <summary>
-        /// 执行时间
-        /// </summary>
-        [Comment("执行时间")]
-        public DateTime? prdlog_time { get; set; }
-        /// <summary>
-        /// 执行人id
-        /// </summary>
-        [Comment("执行人id")]
-        public long? prdlog_by_id { get; set; }
-        /// <summary>
-        /// 执行人姓名
-        /// </summary>
-        [StringLength(80)]
-        [Comment("执行人姓名")]
-        public string? prdlog_by_name { get; set; }
-        /// <summary>
-        /// 内容
-        /// </summary>
-        [StringLength(255)]
-        [Comment("内容")]
-        public string? prdlog_note { get; set; }
-     
-    }
-}

+ 0 - 50
MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_product_work_time.cs

@@ -1,50 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.ProductionProcess
-{
-    /// <summary>
-    /// mo的生产时间记录
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_product_work_time")]
-    [Comment("mo的生产时间记录")]
-    public class mo_mes_product_work_time : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 生产时间记录id
-        ///// </summary>
-        //[Key]
-        //[Comment("生产时间记录id")]
-        //public long id { get; set; }
-        /// <summary>
-        /// 日期
-        /// </summary>
-        [Comment("生产时间记录id")]
-        public DateTime? work_date { get; set; }
-        /// <summary>
-        /// 开始时间
-        /// </summary>
-        [Comment("开始时间")]
-        public DateTime? start { get; set; }
-        /// <summary>
-        /// 结束时间
-        /// </summary>
-        [Comment("结束时间")]
-        public DateTime? stop { get; set; }
-        /// <summary>
-        /// 卡号
-        /// </summary>
-        [StringLength(255)]
-        [Comment("卡号")]
-        public string? card_no { get; set; }
-        /// <summary>
-        /// 产线
-        /// </summary>
-        [StringLength(255)]
-        [Comment("产线")]
-        public string? product_line { get; set; }
-    }
-}

+ 0 - 74
MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_stock_enter.cs

@@ -1,74 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.ProductionProcess
-{
-    /// <summary>
-    /// 入库单
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_stock_enter")]
-    [Comment("入库单")]
-    public class mo_mes_stock_enter : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("入库单id")]
-        //public long id { get; set; }
-        /// <summary>
-        /// 物料编码
-        /// </summary>
-        [StringLength(255)]
-        [Comment("物料编码")]
-        public string? fitem_number { get; set; }
-        /// <summary>
-        /// 物料名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("物料名称")]
-        public string? fitem_name { get; set; }
-        /// <summary>
-        /// 全名
-        /// </summary>
-        [StringLength(255)]
-        [Comment("全名")]
-        public string? ffull_name { get; set; }
-        /// <summary>
-        /// 规格型号
-        /// </summary>
-        [StringLength(255)]
-        [Comment("规格型号")]
-        public string? fmodel { get; set; }
-        /// <summary>
-        /// 工单号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("工单号")]
-        public string? order_no { get; set; }
-        /// <summary>
-        /// 入库日期
-        /// </summary>
-        [Comment("入库日期")]
-        public DateTime edate { get; set; }
-        /// <summary>
-        /// 入库数量
-        /// </summary>
-        [Comment("入库数量")]
-        public int eqty { get; set; }
-        /// <summary>
-        /// 入库人id
-        /// </summary>
-        [Comment("入库人id")]
-        public long eby { get; set; }
-        /// <summary>
-        /// 入库人姓名
-        /// </summary>
-        [StringLength(80)]
-        [Comment("入库人姓名")]
-        public string? ebyname { get; set; }
-    }
-}

+ 0 - 110
MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_stock_out.cs

@@ -1,110 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.ProductionProcess
-{
-    /// <summary>
-    /// 出库单
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_stock_out")]
-    [Comment("出库单")]
-    public class mo_mes_stock_out : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键Id
-        ///// </summary>
-        //[Key]
-        //[Comment("出库单Id")]
-        //public long id { get; set; }
-
-        /// <summary>
-        /// 出库单号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("出库单号")]
-        public string? out_no { get; set; }
-        /// <summary>
-        /// 仓库名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("仓库名称")]
-        public string? stock_name { get; set; }
-        /// <summary>
-        /// 仓库编码
-        /// </summary>
-        [StringLength(255)]
-        [Comment("仓库编码")]
-        public string? stock_no { get; set; }
-        /// <summary>
-        /// 物料编码
-        /// </summary>
-        [StringLength(80)]
-        [Comment("物料编码")]
-        public string? fitem_number { get; set; }
-        /// <summary>
-        /// 物料名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("物料名称")]
-        public string? fitem_name { get; set; }
-        /// <summary>
-        /// 全名
-        /// </summary>
-        [StringLength(255)]
-        [Comment("全名")]
-        public string? ffull_name { get; set; }
-        /// <summary>
-        /// 规格型号
-        /// </summary>
-        [StringLength(255)]
-        [Comment("规格型号")]
-        public string? fmodel { get; set; }
-        /// <summary>
-        /// 销售订单号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("销售订单号")]
-        public string? order_no { get; set; }
-        /// <summary>
-        /// 订单行号
-        /// </summary>
-        [Comment("订单行号")]
-        public int? order_number { get; set; }
-        /// <summary>
-        /// 发运通知单号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("发运通知单号")]
-        public string? shipn_no { get; set; }
-        /// <summary>
-        /// 出库日期
-        /// </summary>
-        [Comment("出库日期")]
-        public DateTime edate { get; set; }
-        /// <summary>
-        /// 出库数量
-        /// </summary>
-        [Comment("出库数量")]
-        public int eqty { get; set; }
-        /// <summary>
-        /// 计量单位
-        /// </summary>
-        [StringLength(80)]
-        [Comment("计量单位")]
-        public string? unit { get; set; }
-        /// <summary>
-        /// 出库人id
-        /// </summary>
-        [Comment("出库人id")]
-        public long? eby { get; set; }
-        /// <summary>
-        /// 出库人姓名
-        /// </summary>
-        [StringLength(80)]
-        [Comment("出库人姓名")]
-        public string? eby_name { get; set; }
-    }
-}

+ 0 - 78
MicroServices/Business/Bussiness.MongoModel/ProductionProcess/mo_mes_swipe_card.cs

@@ -1,78 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.ProductionProcess
-{
-    /// <summary>
-    /// mes打卡记录表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_swipe_card")]
-    [Comment("mes打卡记录表")]
-    public class mo_mes_swipe_card : MoBaseEntity
-    {
-        ///// <summary>
-        ///// mes打卡记录id
-        ///// </summary>
-        //[Key]
-        //[Comment("mes打卡记录id")]
-        //public long id { get; set; }
-        /// <summary>
-        /// 生产车间
-        /// </summary>
-        [Required]
-        [StringLength(255)]
-        [Comment("生产车间")]
-
-        public string? product_org { get; set; }
-        /// <summary>
-        /// 生产产线
-        /// </summary>
-        [Required]
-        [StringLength(255)]
-        [Comment("生产产线")]
-
-        public string? product_line { get; set; }
-        /// <summary>
-        /// 卡号
-        /// </summary>
-        [Required]
-        [StringLength(80)]
-        [Comment("卡号")]
-
-        public string? card_no { get; set; }
-        /// <summary>
-        /// 工单编号
-        /// </summary>
-        [StringLength(50)]
-        [Comment("工单编号")]
-
-        public string? order_no { get; set; }
-        /// <summary>
-        /// 上线时间
-        /// </summary>
-        [Comment("上线时间")]
-
-        public DateTime? up_line_time { get; set; }
-        /// <summary>
-        /// 下线时间
-        /// </summary>
-        [Comment("下线时间")]
-
-        public DateTime? off_line_time { get; set; }
-        /// <summary>
-        /// 刷卡类型  1 白班 ,2 晚班
-        /// </summary>
-        [Comment("刷卡类型")]
-
-        public int type { get; set; }
-        /// <summary>
-        /// 刷卡日期
-        /// </summary>
-        [Comment("刷卡日期")]
-
-        public DateTime swipe_date { get; set; }
-    }
-}

+ 0 - 56
MicroServices/Business/Bussiness.MongoModel/SIM/mo_sim_base.cs

@@ -1,56 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.SIM
-{
-    /// <summary>
-    /// sim基本表
-    /// </summary>
-    [Comment("sim基本表")]
-    [CollectionName("dopbase", "mo_sim_base")]
-    public class mo_sim_base:MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("主键id")]
-        //public long sim_id { get; set; }
-
-        /// <summary>
-        /// sim等级
-        /// </summary>
-        [StringLength(255)]
-        [Comment("sim等级")]
-        public string? sim_grade { get; set; }
-
-        /// <summary>
-        /// sim层级顺序
-        /// </summary>
-        [Comment("sim层级顺序")]
-        public int? sim_level { get; set; }
-
-        /// <summary>
-        /// 上升周期
-        /// </summary>
-        [Precision(10,0)]
-        [Comment("上升周期")]
-        public decimal? rise_cycle { get; set; }
-
-        /// <summary>
-        /// 间隔天数
-        /// </summary>
-        [Precision(10, 0)]
-        [Comment("间隔天数")]
-        public decimal? interval_days { get; set; }
-
-        /// <summary>
-        /// 上升时间
-        /// </summary>
-        [Comment("上升时间")]
-        public DateTime? rise_time { get; set; }
-    }
-}

+ 0 - 64
MicroServices/Business/Bussiness.MongoModel/SIM/mo_sim_issue_type.cs

@@ -1,64 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.SIM
-{
-    /// <summary>
-    /// sim事项类别表
-    /// </summary>
-    [Comment("上升时间")]
-    [CollectionName("dopbase", "mo_sim_issue_type")]
-    public class mo_sim_issue_type: MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("上升时间")]
-        //public long issue_type_id { get; set; }
-
-        /// <summary>
-        /// 类别代码
-        /// </summary>
-        [StringLength(255)]
-        [Comment("类别代码")]
-        public string? type_code { get; set; }
-
-        /// <summary>
-        /// 类别名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("类别名称")]
-        public string? type_name { get; set; }
-
-        /// <summary>
-        /// 应用场景
-        /// </summary>
-        [StringLength(255)]
-        [Comment("应用场景")]
-        public string? app_scenario { get; set; }
-
-        /// <summary>
-        /// 问题等级
-        /// </summary>
-        [StringLength(255)]
-        [Comment("问题等级")]
-        public string? issue_grade { get; set; }
-
-        /// <summary>
-        /// 责任人
-        /// </summary>
-        [StringLength(255)]
-        [Comment("责任人")]
-        public string? duty_person { get; set; }
-
-        /// <summary>
-        /// 责任部门id
-        /// </summary>
-        [Comment("责任部门id")]
-        public long? duty_dept { get; set; }
-    }
-}

+ 0 - 30
MicroServices/Business/Bussiness.MongoModel/SIM/mo_sim_plant.cs

@@ -1,30 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.SIM
-{
-    /// <summary>
-    /// sim事项表
-    /// </summary>
-    [Comment("sim事项表")]
-    [CollectionName("dopbase", "mo_sim_plant")]
-    public class mo_sim_plant:MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("主键id")]
-        //public long plant_id { get; set; }
-
-        /// <summary>
-        /// 事项名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("事项名称")]
-        public string? plant_name { get; set; }
-    }
-}

+ 0 - 36
MicroServices/Business/Bussiness.MongoModel/SIM/mo_sim_user_relation.cs

@@ -1,36 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.SIM
-{
-    /// <summary>
-    /// sim用户关联表
-    /// </summary>
-    [Comment("sim用户关联表")]
-    [CollectionName("dopbase", "mo_sim_user_relation")]
-    public class mo_sim_user_relation: MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("主键id")]
-        //public long id { get; set; }
-
-        /// <summary>
-        /// base_sim表ID
-        /// </summary>
-        [Comment("base_sim表ID")]
-        public long sim_id { get; set; }
-
-        /// <summary>
-        /// 用户id
-        /// </summary>
-        [Comment("用户id")]
-        public long user_id { get; set; }
-
-    }
-}

+ 1 - 1
MicroServices/Business/Bussiness.MongoModel/SRM/mo_srm_po_list.cs

@@ -10,7 +10,7 @@ namespace Bussiness.MongoModel.SRM
     /// <summary>
     /// 采购订单明细详情
     /// </summary>
-    [CollectionName("dopbase", "mo_srm_po_list")]
+    [CollectionName("dopbang", "mo_srm_po_list")]
     [Comment("采购订单明细详情")]
     public class mo_srm_po_list : MoBaseEntity
     {

+ 1 - 1
MicroServices/Business/Bussiness.MongoModel/SRM/mo_srm_po_main.cs

@@ -10,7 +10,7 @@ namespace Bussiness.MongoModel.SRM
     /// <summary>
     /// 采购订单
     /// </summary>
-    [CollectionName("dopbase", "mo_srm_po_main")]
+    [CollectionName("dopbang", "mo_srm_po_main")]
     [Comment("采购订单")]
     public class mo_srm_po_main : MoBaseEntity
     {

+ 1 - 1
MicroServices/Business/Bussiness.MongoModel/SRM/mo_srm_po_occupy.cs

@@ -10,7 +10,7 @@ namespace Bussiness.MongoModel.SRM
     /// <summary>
     /// 采购订单占用详情
     /// </summary>
-    [CollectionName("dopbase", "mo_srm_po_occupy")]
+    [CollectionName("dopbang", "mo_srm_po_occupy")]
     [Comment("采购订单占用详情")]
     public class mo_srm_po_occupy : MoBaseEntity
     {

+ 1 - 1
MicroServices/Business/Bussiness.MongoModel/SRM/mo_srm_pr_main.cs

@@ -10,7 +10,7 @@ namespace Bussiness.MongoModel.SRM
     /// <summary>
     /// 采购申请单
     /// </summary>
-    [CollectionName("dopbase", "mo_srm_pr_main")]
+    [CollectionName("dopbang", "mo_srm_pr_main")]
     [Comment("采购申请单")]
     public class mo_srm_pr_main : MoBaseEntity
     {

+ 0 - 96
MicroServices/Business/Bussiness.MongoModel/SRM/mo_srm_purchase.cs

@@ -1,96 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.SRM
-{
-    /// <summary>
-    /// 物料采购信息表
-    /// </summary>
-    [CollectionName("dopbase", "mo_srm_purchase")]
-    [Comment("物料采购信息表")]
-    public class mo_srm_purchase : MoBaseEntity
-    {
-        /// <summary>
-        /// 物料id
-        /// </summary>
-        [Required]
-        [Comment("物料id")]
-        public long icitem_id { get; set; }
-        /// <summary>
-        /// 物料名称
-        /// </summary>
-        [StringLength(80)]
-        [Comment("物料名称")]
-        public string? icitem_name { get; set; }
-        /// <summary>
-        /// 计划id
-        /// </summary>
-        [Required]
-        [Comment("计划id")]
-        public long? ic_plan_id { get; set; }
-        /// <summary>
-        /// 采购负责人
-        /// </summary>
-        [StringLength(80)]
-        [Comment("采购负责人")]
-        public string? order_rector_name { get; set; }
-        /// <summary>
-        /// 采购负责人_工号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("采购负责人_工号")]
-        public string? order_rector_num { get; set; }
-        /// <summary>
-        /// 工厂编码
-        /// </summary>
-        [StringLength(80)]
-        [Comment("工厂编码")]
-        public string? factory_code { get; set; }
-        /// <summary>
-        /// 采购部门
-        /// </summary>
-        [StringLength(80)]
-        [Comment("采购部门")]
-        public string? order_dept { get; set; }
-        /// <summary>
-        /// 采购单价
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("采购单价")]
-        public decimal? order_price { get; set; }
-        /// <summary>
-        /// 销售单价
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("销售单价")]
-        public decimal? sale_price { get; set; }
-        /// <summary>
-        /// 最小订货量
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("最小订货量")]
-        public decimal? qty_min { get; set; }
-        /// <summary>
-        /// 批量增量
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("批量增量")]
-        public decimal? batch_append_qty { get; set; }
-        /// <summary>
-        /// 采购订单差异科目代码
-        /// </summary>
-        [Required]
-        [Comment("采购订单差异科目代码")]
-        public long? pov_acct { get; set; }
-        /// <summary>
-        /// 采购发票差异科目代码
-        /// </summary>
-        [Required]
-        [Comment("采购发票差异科目代码")]
-        public long? piv_acct { get; set; }
-
-    }
-}

+ 0 - 230
MicroServices/Business/Bussiness.MongoModel/Sale/mo_crm_seorder.cs

@@ -1,230 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-using System.ComponentModel.DataAnnotations.Schema;
-
-namespace Bussiness.MongoModel.Sale
-{
-    /// <summary>
-    ///销售订单表
-    /// </summary>
-    [Comment("销售订单表")]
-    [CollectionName("dopbase", "mo_crm_seorder")]
-    public class mo_crm_seorder : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 销售订单id
-        ///// </summary>
-        //[Key]
-        //[Comment("销售订单id")]
-        //public long seorder_id { get; set; }
-
-        /// <summary>
-        /// 订单编号
-        /// </summary>
-        [StringLength(50)]
-        [Comment("订单编号")]
-        public string? bill_no { get; set; }
-
-        /// <summary>
-        /// 订单类别(销售、计划)
-        /// </summary>
-        [Comment("订单类别(销售、计划)")]
-        public int? order_type { get; set; }
-
-        /// <summary>
-        /// 贸易类型
-        /// </summary>
-        [Comment("贸易类型")]
-        public int? trade_type { get; set; }
-
-        /// <summary>
-        /// 销售订单类型
-        /// </summary>
-        /// </summary>
-        [Comment("销售订单类型")]
-        public int? sale_style { get; set; }
-
-        /// <summary>
-        /// 销售订单类型编码
-        /// </summary>
-        [StringLength(80)]
-        [Comment("销售订单类型编码")]
-        public string? sale_style_no { get; set; }
-
-        /// <summary>
-        /// 客户id
-        /// </summary>
-        [Comment("客户id")]
-        public int? custom_id { get; set; }
-
-        /// <summary>
-        /// 客户名称
-        /// </summary>
-        [Comment("客户名称")]
-        [StringLength(80)]
-        public string? custom_name { get; set; }
-
-        /// <summary>
-        /// 客户编码
-        /// </summary>
-        [StringLength(80)]
-        [Comment("客户编码")]
-        public string? custom_no { get; set; }
-
-        /// <summary>
-        /// 客户级别
-        /// </summary>
-        [StringLength(80)]
-        [Comment("客户级别")]
-        public string? custom_level { get; set; }
-
-        /// <summary>
-        /// 签订日期
-        /// </summary>
-        [Comment("签订日期")]
-        public DateTime? date { get; set; }
-
-        /// <summary>
-        /// 采购下单日期
-        /// </summary>
-        [Comment("采购下单日期")]
-        public DateTime? rdate { get; set; }
-
-        /// <summary>
-        /// 加急级别
-        /// </summary>
-        [Comment("加急级别")]
-        public int? urgent { get; set; }
-
-        /// <summary>
-        /// 币种
-        /// </summary>
-        [StringLength(50)]
-        [Comment("币种")]
-        public int? currency { get; set; }
-
-        /// <summary>
-        /// 汇率
-        /// </summary>
-        [Precision(20,8)]
-        [Comment("汇率")]
-        public decimal? exchange_rate { get; set; }
-
-
-        /// <summary>
-        /// 制单人
-        /// </summary>
-        [StringLength(50)]
-        [Comment("制单人")]
-        public string? biller { get; set; }
-
-        /// <summary>
-        /// 业务员工号
-        /// </summary>
-        [StringLength(50)]
-        [Comment("业务员工号")]
-        public string? emp_no { get; set; }
-
-        /// <summary>
-        /// 业务员名称
-        /// </summary>
-        [StringLength(50)]
-        [Comment("业务员名称")]
-        public string? emp_name { get; set; }
-
-        /// <summary>
-        /// 审核人
-        /// </summary>
-        [StringLength(50)]
-        [Comment("审核人")]
-        public string? auditor { get; set; }
-
-        /// <summary>
-        /// 审核日期
-        /// </summary>
-        [Comment("审核日期")]
-        public DateTime? audit_date { get; set; }
-
-        /// <summary>
-        /// 订单状态
-        /// </summary>
-        [Comment("订单状态")]
-        public int? status { get; set; }
-
-        /// <summary>
-        /// 是否关闭1关闭0未关闭
-        /// </summary>
-        [DefaultValue(false)]
-        [Comment("是否关闭1关闭0未关闭")]
-        public bool closed { get; set; }
-
-        /// <summary>
-        /// 操作时间
-        /// </summary>
-        [Comment("操作时间")]
-        public DateTime? op_time { get; set; }
-
-        /// <summary>
-        /// 订单来源
-        /// </summary>
-        [StringLength(255)]
-        [Comment("订单来源")]
-        public string? bill_from { get; set; }
-
-        /// <summary>
-        /// 项目名称
-        /// </summary>
-        [Comment("项目名称")]
-        [StringLength(255)]
-        public string? project_name { get; set; }
-
-        /// <summary>
-        /// 项目编号
-        /// </summary>
-        [StringLength(255)]
-        [Comment("项目编号")]
-        public string? project_code { get; set; }
-
-        /// <summary>
-        /// 销售出库类型
-        /// </summary>
-        [Comment("销售出库类型")]
-        public int? out_stock_type { get; set; }
-
-        /// <summary>
-        /// 销售部门id
-        /// </summary>
-        [Comment("销售部门id")]
-        public long? sale_dept_id { get; set; }
-
-        /// <summary>
-        /// 销售部门名称
-        /// </summary>
-        [StringLength(80)]
-        [Comment("销售部门名称")]
-        public string? sale_dept_name { get; set; }
-
-        /// <summary>
-        /// 销售部门编号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("销售部门编号")]
-        public string? sale_dept_code { get; set; }
-
-        /// <summary>
-        /// 创建部门id
-        /// </summary>
-        [Comment("创建部门id")]
-        public long? create_dept { get; set; }
-
-        /// <summary>
-        /// 计算ID
-        /// </summary>
-        [Comment("计算id")]
-        [NotMapped]
-        public long? bang_id { get; set; }
-    }
-}

+ 0 - 346
MicroServices/Business/Bussiness.MongoModel/Sale/mo_crm_seorderentry.cs

@@ -1,346 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-using System.ComponentModel.DataAnnotations.Schema;
-
-namespace Bussiness.MongoModel.Sale
-{
-    /// <summary>
-    ///销售订单明细表
-    /// </summary>
-    [Comment("销售订单明细表")]
-    [CollectionName("dopbase", "mo_crm_seorderentry")]
-    public class mo_crm_seorderentry : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 销售订单明细表id
-        ///// </summary>
-        //[Key]
-        //[Comment("销售订单明细表id")]
-        //public long seorderentry_id { get; set; }
-
-        /// <summary>
-        /// 销售订单id
-        /// </summary>
-        [Comment("销售订单id")]
-        public long? seorder_id { get; set; }
-
-        /// <summary>
-        /// 销售订单编号
-        /// </summary>
-        [StringLength(50)]
-        [Comment("销售订单编号")]
-        public string? bill_no { get; set; }
-
-        /// <summary>
-        /// 行号
-        /// </summary>
-        [Comment("行号")]
-        public int? entry_seq { get; set; }
-
-        /// <summary>
-        /// 对应代码
-        /// </summary>
-        [StringLength(255)]
-        [Comment("对应代码")]
-        public string? map_number { get; set; }
-
-        /// <summary>
-        /// 代码名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("代码名称")]
-        public string? map_name { get; set; }
-
-        /// <summary>
-        /// 产品代码
-        /// </summary>
-        [StringLength(255)]
-        [Comment("产品代码")]
-        public string? item_number { get; set; }
-
-        /// <summary>
-        /// FMS旧料号
-        /// </summary>
-        [StringLength(255)]
-        [Comment("FMS旧料号")]
-        public string? fms_number { get; set; }
-
-        /// <summary>
-        /// 产品名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("产品名称")]
-        public string? item_name { get; set; }
-
-        /// <summary>
-        /// 规格型号
-        /// </summary>
-        [StringLength(255)]
-        [Comment("规格型号")]
-        public string? specification { get; set; }
-
-        /// <summary>
-        /// 加急级别
-        /// </summary>
-        [Comment("加急级别")]
-        public int? urgent { get; set; }
-
-        /// <summary>
-        /// BOM编号
-        /// </summary>
-        [StringLength(255)]
-        [Comment("BOM编号")]
-        public string? bom_number { get; set; }
-
-        /// <summary>
-        /// 单位
-        /// </summary>
-        [StringLength(50)]
-        [Comment("单位")]
-        public string? unit { get; set; }
-
-        /// <summary>
-        /// 订单数量
-        /// </summary>
-        [Precision(20,8)]
-        [Comment("订单数量")]
-        public decimal? qty { get; set; }
-
-        /// <summary>
-        /// 单价
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("单价")]
-        public decimal? price { get; set; }
-
-        /// <summary>
-        /// 含税单价
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("含税单价")]
-        public decimal? tax_price { get; set; }
-
-        /// <summary>
-        /// 金额
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("金额")]
-        public decimal? amount { get; set; }
-
-        /// <summary>
-        /// 税率
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("税率")]
-        public decimal? tax_rate { get; set; }
-
-        /// <summary>
-        /// 折扣率
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("折扣率")]
-        public decimal? discount_rate { get; set; }
-
-        /// <summary>
-        /// 折扣额
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("折扣额")]
-        public decimal? discount_amount { get; set; }
-
-        /// <summary>
-        /// 实际含税单价
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("实际含税单价")]
-        public decimal? aux_price_discount { get; set; }
-
-        /// <summary>
-        /// 销项税额
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("销项税额")]
-        public decimal? tax_amtount { get; set; }
-
-        /// <summary>
-        /// 价税合计
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("价税合计")]
-        public decimal? total_amount { get; set; }
-
-        /// <summary>
-        /// 客户要求交期
-        /// </summary>
-        [Comment("客户要求交期")]
-        public DateTime? plan_date { get; set; }
-
-        /// <summary>
-        /// 最终交货日期
-        /// </summary>
-        [Comment("最终交货日期")]
-        public DateTime? date { get; set; }
-
-        /// <summary>
-        /// 计划员
-        /// </summary>
-        [StringLength(50)]
-        [Comment("计划员")]
-        public string? planner_name { get; set; }
-
-        /// <summary>
-        /// 计划员_工号
-        /// </summary>
-        [StringLength(50)]
-        [Comment("计划员_工号")]
-        public string? planner_no { get; set; }
-
-        /// <summary>
-        /// 备注
-        /// </summary>
-        [StringLength(255)]
-        [Comment("备注")]
-        public string? remark { get; set; }
-
-        /// <summary>
-        /// 源单编号
-        /// </summary>
-        [StringLength(50)]
-        [Comment("源单编号")]
-        public string? soure_bill_no { get; set; }
-
-        /// <summary>
-        /// 客户订单号
-        /// </summary>
-        [StringLength(50)]
-        [Comment("客户订单号")]
-        public string? custom_order_bill_no { get; set; }
-
-        /// <summary>
-        /// 客户订单行号
-        /// </summary>
-        [Comment("客户订单行号")]
-        public int? custom_order_entryid { get; set; }
-
-        /// <summary>
-        /// 系统建议交期(产能)
-        /// </summary>
-        [Comment("系统建议交期(产能)")]
-        public DateTime? sys_capacity_date { get; set; }
-
-        /// <summary>
-        ///调整建议交期
-        /// </summary>
-        [Comment("调整建议交期")]
-        public DateTime? adjust_date { get; set; }
-
-        /// <summary>
-        ///调整建议交期
-        /// </summary>
-        [Comment("mrp关闭")]
-        [DefaultValue(false)]
-        public bool? mrp_closed { get; set; }
-
-        /// <summary>
-        /// 操作时间
-        /// </summary>
-        [Comment("操作时间")]
-        public DateTime? op_time { get; set; }
-
-        /// <summary>
-        /// 客户料号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("客户料号")]
-        public string? custom_order_itemno { get; set; }
-
-        /// <summary>
-        /// 数据状态标识 0停用 1启用
-        /// </summary>
-        [Comment("数据状态标识 0停用 1启用")]
-        [DefaultValue(true)]
-        public bool state { get; set; }
-
-        /// <summary>
-        /// 评审状态
-        /// </summary>
-        [Comment("评审状态")]
-        public int? rstate { get; set; }
-
-        /// <summary>
-        /// 评审次数
-        /// </summary>
-        [Comment("评审次数")]
-        public int? rnumber { get; set; }
-
-        /// <summary>
-        /// 订单进度
-        /// </summary>
-        [StringLength(255)]
-        [Comment("订单进度")]
-        public string? progress { get; set; }
-
-        /// <summary>
-        /// 发货通知单数量
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("发货通知单数量")]
-        public decimal? deliver_notice_count { get; set; }
-
-        /// <summary>
-        /// 发货数量(已出库数量)
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("发货数量(已出库数量)")]
-        public decimal? deliver_count { get; set; }
-
-        /// <summary>
-        /// 业务员工号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("业务员工号")]
-        public string? se_reject_reason { get; set; }
-
-        /// <summary>
-        /// 出库类型
-        /// </summary>
-        [StringLength(50)]
-        [Comment("出库类型")]
-        public string? out_stock_type { get; set; }
-
-        /// <summary>
-        /// 是否完成检测,0未完成,1完成
-        /// </summary>
-        [Comment("是否完成检测,0未完成,1完成")]
-        public bool? is_checked { get; set; }
-
-        /// <summary>
-        /// 系统建议交期(物料)
-        /// </summary>
-        [Comment("系统建议交期(物料)")]
-        public DateTime? sys_material_date { get; set; }
-
-        /// <summary>
-        /// 合同编号
-        /// </summary>
-        [Comment("合同编号")]
-        [StringLength(50)]
-        public string? contract_no { get; set; }
-
-        /// <summary>
-        /// 创建部门id
-        /// </summary>
-        [Comment("创建部门id")]
-        public long? create_dept { get; set; }
-
-        /// <summary>
-        /// 计算ID
-        /// </summary>
-        [Comment("计算id")]
-        [NotMapped]
-        public long? bang_id { get; set; }
-    }
-}

+ 0 - 93
MicroServices/Business/Bussiness.MongoModel/Sale/mo_crm_seorderprog.cs

@@ -1,93 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Sale
-{
-    /// <summary>
-    ///销售订单进度表
-    /// </summary>
-    [Comment("销售订单进度表")]
-    [CollectionName("dopbase", "mo_crm_seorderprog")]
-    public class mo_crm_seorderprog : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 销售订单进度id
-        ///// </summary>
-        //[Key]
-        //[Comment("销售订单进度表")]
-        //public long seorderprog_id { get; set; }
-
-        /// <summary>
-        /// 销售订单id
-        /// </summary>
-        [Required]
-        [Comment("销售订单id")]
-        public long? seorder_id { get; set; }
-
-        /// <summary>
-        /// 销售订单编号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("销售订单编号")]
-        public string? bill_no { get; set; }
-
-        /// <summary>
-        /// 销售订单行号
-        /// </summary>
-        [Comment("销售订单行号")]
-        public int? entry_seq { get; set; }
-
-        /// <summary>
-        /// 进度类型
-        /// </summary>
-        [Comment("进度类型")]
-        public int? seprog_type { get; set; }
-
-        /// <summary>
-        /// 进度阶段
-        /// </summary>
-        [StringLength(50)]
-        [Comment("进度阶段")]
-        public string? seprog_stage { get; set; }
-
-        /// <summary>
-        /// 进度阶段id
-        /// </summary>
-        [Comment("进度阶段id")]
-        public long? seprog_stage_id { get; set; }
-
-        /// <summary>
-        /// 开始时间
-        /// </summary>
-        [Comment("开始时间")]
-        public DateTime? seprog_stime { get; set; }
-
-        /// <summary>
-        /// 完成时间
-        /// </summary>
-        [Comment("完成时间")]
-        public DateTime? seprog_etime { get; set; }
-
-        /// <summary>
-        /// 提交人id
-        /// </summary>
-        [Comment("提交人id")]
-        public long? seprog_by_id { get; set; }
-
-        /// <summary>
-        /// 提交人姓名
-        /// </summary>
-        [StringLength(80)]
-        [Comment("提交人姓名")]
-        public string? seprog_by_name { get; set; }
-
-        /// <summary>
-        /// 创建部门id
-        /// </summary>
-        [Comment("创建部门id")]
-        public long? create_dept { get; set; }
-    }
-}

+ 0 - 144
MicroServices/Business/Bussiness.MongoModel/Sale/mo_crm_seorderreview.cs

@@ -1,144 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Sale
-{
-    /// <summary>
-    ///销售订单评审表
-    /// </summary>
-    [Comment("销售订单评审表")]
-    [CollectionName("dopbase", "mo_crm_seorderreview")]
-    public class mo_crm_seorderreview : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 销售订单评审id
-        ///// </summary>
-        //[Key]
-        //[Comment("销售订单评审id")]
-        //public long review_id { get; set; }
-
-        /// <summary>
-        /// 销售订单id
-        /// </summary>
-        [Required]
-        [Comment("销售订单id")]
-        public long? seorder_id { get; set; }
-
-        /// <summary>
-        /// 业务类型
-        /// </summary>
-        [Required]
-        [Comment("业务类型")]
-        public string? review_type { get; set; }
-
-        /// <summary>
-        /// 销售订单编号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("销售订单编号")]
-        public string? bill_no { get; set; }
-
-        /// <summary>
-        /// 销售订单行号
-        /// </summary>
-        [Comment("销售订单行号")]
-        public int? entry_seq { get; set; }
-
-        /// <summary>
-        /// 提交时间
-        /// </summary>
-        [Comment("提交时间")]
-        public DateTime? review_stime { get; set; }
-
-        /// <summary>
-        /// 提交人id
-        /// </summary>
-        [Comment("提交人id")]
-        public long? review_by_id { get; set; }
-
-        /// <summary>
-        /// 提交人姓名
-        /// </summary>
-        [StringLength(80)]
-        [Comment("提交人姓名")]
-        public string? review_by_name { get; set; }
-
-
-        /// <summary>
-        /// 评审时间
-        /// </summary>
-        [Comment("评审时间")]
-        public DateTime? review_time { get; set; }
-
-        /// <summary>
-        /// 评审人id
-        /// </summary>
-        [Comment("评审人id")]
-        public long? reviewer_id { get; set; }
-
-        /// <summary>
-        /// 评审人姓名
-        /// </summary>
-        [StringLength(80)]
-        [Comment("评审人姓名")]
-        public string? reviewer_name { get; set; }
-
-        /// <summary>
-        /// 评审结果
-        /// </summary>
-        [StringLength(255)]
-        [Comment("评审结果")]
-        public string? review_result { get; set; }
-
-        /// <summary>
-        /// 拒绝原因
-        /// </summary>
-        [StringLength(255)]
-        [Comment("拒绝原因")]
-        public string? reject_reason { get; set; }
-
-        /// <summary>
-        /// 拒绝等级
-        /// </summary>
-        [StringLength(255)]
-        [Comment("拒绝等级")]
-        public string? review_reject_level { get; set; }
-
-        /// <summary>
-        /// 拒绝备注
-        /// </summary>
-        [StringLength(255)]
-        [Comment("拒绝备注")]
-        public string? review_reject_remark { get; set; }
-
-        /// <summary>
-        /// 可接受交期
-        /// </summary>
-        [StringLength(255)]
-        [Comment("可接受交期")]
-        public DateTime? review_adjust_time { get; set; }
-
-        /// <summary>
-        /// 标题
-        /// </summary>
-        [StringLength(255)]
-        [Comment("标题")]
-        public string? review_title { get; set; }
-
-        /// <summary>
-        /// 当前审批步骤id
-        /// </summary>
-        [Comment("当前审批步骤id")]
-        public long? audit_procedure_id { get; set; }
-
-        /// <summary>
-        /// 当前审批步骤名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("当前审批步骤名称")]
-        public string? audit_procedure_name { get; set; }     
-    }
-}

+ 0 - 51
MicroServices/Business/Bussiness.MongoModel/Sale/mo_wms_prdprogress.cs

@@ -1,51 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Sale
-{
-    /// <summary>
-    ///进度字典
-    /// </summary>
-    [Comment("进度字典表")]
-    [CollectionName("dopbase", "mo_wms_prdprogress")]
-    public class mo_wms_prdprogress: MoBaseEntity
-    {
-        ///// <summary>
-        ///// 进度字典id
-        ///// </summary>
-        //[Key]
-        //[Comment("进度字典主键id")]
-        //public long progress_id { get; set; }
-
-        /// <summary>
-        /// 进度类型
-        /// </summary>
-        [StringLength(255)]
-        [Comment("进度类型")]
-        public string? prdprog_type { get; set; }
-
-        /// <summary>
-        /// 进度名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("进度名称")]
-        public string? prdprog_name { get; set; }
-
-        /// <summary>
-        /// 进度顺序
-        /// </summary>
-        [Required]
-        [Comment("进度顺序")]
-        public int? prdprog_seq { get; set; }
-
-        /// <summary>
-        /// 进度状态1启用0停用
-        /// </summary>
-        [Comment("进度状态1启用0停用")]
-        [DefaultValue(true)]
-        public bool state { get; set; }
-    }
-}

+ 0 - 67
MicroServices/Business/Bussiness.MongoModel/Sale/mo_wms_shipnotice.cs

@@ -1,67 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Sale
-{
-    /// <summary>
-    /// 发运通知单
-    /// </summary>
-    [Comment("发运通知单")]
-    [CollectionName("dopbase", "mo_wms_shipnotice")]
-    public class mo_wms_shipnotice : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 发运通知单主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("发运通知单主键id")]
-        //public long shipnotice_id { get; set; }
-
-        /// <summary>
-        /// 发运通知单号
-        /// </summary>
-        [StringLength(80)]
-        [Required]
-        [Comment("发运通知单号")]
-        public string? shipnotice_no { get; set; }
-
-        /// <summary>
-        /// 发货计划id
-        /// </summary>
-        [Required]
-        [Comment("发货计划id")]
-        public long? shipplan_id { get; set; }
-
-        /// <summary>
-        /// 发货计划号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("发货计划号")]
-        public string? shipplan_no { get; set; }
-
-        /// <summary>
-        /// 发运时间
-        /// </summary>
-        [Required]
-        [Comment("发运时间")]
-        public DateTime shipnotice_date { get; set; }
-
-        /// <summary>
-        /// 状态
-        /// </summary>
-        [Required]
-        [StringLength(80)]
-        [Comment("状态")]
-        public string? state { get; set; }
-
-        /// <summary>
-        /// 发运地址
-        /// </summary>
-        [StringLength(255)]
-        [Comment("发运地址")]
-        public string? address { get; set; }
-    }
-}

+ 0 - 107
MicroServices/Business/Bussiness.MongoModel/Sale/mo_wms_shipnoticelist.cs

@@ -1,107 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Sale
-{
-    /// <summary>
-    /// 发运通知单详情清单
-    /// </summary>
-    [Comment("发运通知单详情清单")]
-    [CollectionName("dopbase", "mo_wms_shipnoticelist")]
-    public class mo_wms_shipnoticelist : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 发运通知单详情id
-        ///// </summary>
-        //[Key]
-        //[Comment("发运通知单详情id")]
-        //public long shipnoticelist_id { get; set; }
-
-        /// <summary>
-        /// 发运通知单id
-        /// </summary>
-        [StringLength(80)]
-        [Comment("发货计划号")]
-        public long? shipnotice_id { get; set; }
-
-        /// <summary>
-        /// 发货详情id
-        /// </summary>
-        [Comment("发货详情id")]
-        public long? shipplanlist_id { get; set; }
-
-
-        /// <summary>
-        /// 销售单id
-        /// </summary>
-        [Comment("销售单id")]
-        public long? shipplanl_soid { get; set; }
-
-
-        /// <summary>
-        /// 销售单号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("销售单号")]
-        public string? shipplanl_sono { get; set; }
-
-        /// <summary>
-        /// 销售单行号
-        /// </summary>
-        [Comment("销售单行号")]
-        public int? shipplanl_soeid { get; set; }
-
-        /// <summary>
-        /// 客户id
-        /// </summary>
-        [Comment("客户id")]
-        public long? shipnotice_custid { get; set; }
-
-        /// <summary>
-        /// 客户编号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("客户编号")]
-        public string? shipnotice_custno { get; set; }
-
-        /// <summary>
-        /// 客户名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("客户名称")]
-        public string? shipnotice_custname { get; set; }
-
-        /// <summary>
-        /// 计划发货数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("计划发货数量")]
-        public decimal? shipplanl_iqty { get; set; }
-
-        /// <summary>
-        /// 实际发货数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("实际发货数量")]
-        public decimal? shipplanl_fqty { get; set; }
-
-        /// <summary>
-        /// 状态
-        /// </summary>
-        [Required]
-        [StringLength(80)]
-        [Comment("状态")]
-        public string? state { get; set; }
-
-        /// <summary>
-        /// 发运地址
-        /// </summary>
-        [StringLength(255)]
-        [Comment("发运地址")]
-        public string? address { get; set; }
-
-    }
-}

+ 0 - 43
MicroServices/Business/Bussiness.MongoModel/Sale/mo_wms_shipplan.cs

@@ -1,43 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Sale
-{
-    /// <summary>
-    /// 发货计划表
-    /// </summary>
-    [Comment("发货计划表")]
-    [CollectionName("dopbase", "mo_wms_shipplan")]
-    public class mo_wms_shipplan : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 发货计划表主键
-        ///// </summary>
-        //[Key]
-        //[Comment("发货计划表主键")]
-        //public long shipplan_id { get; set; }
-
-        /// <summary>
-        /// 发货计划编号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("发货计划编号")]
-        public string? shipplan_no { get; set; }
-
-        /// <summary>
-        /// 发货计划时间
-        /// </summary>
-        [Comment("发货计划时间")]
-        public DateTime? shipplan_date { get; set; }
-
-        /// <summary>
-        /// 状态
-        /// </summary>
-        [Comment("状态")]
-        [StringLength(80)]
-        public string? state { get; set; }
-    }
-}

+ 0 - 120
MicroServices/Business/Bussiness.MongoModel/Sale/mo_wms_shipplanlist.cs

@@ -1,120 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Sale
-{
-    /// <summary>
-    /// 发货计划详情清单
-    /// </summary>
-    [Comment("发货计划详情清单")]
-    [CollectionName("dopbase", "mo_wms_shipplanlist")]
-    public class mo_wms_shipplanlist : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 发货详情主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("发货详情主键id")]
-        //public long shipplanlist_id { get; set; }
-
-        /// <summary>
-        /// 发货计划id
-        /// </summary>
-        [Required]
-        [Comment("发货计划id")]
-        public long shipplan_id { get; set; }
-
-        /// <summary>
-        /// 发货计划时间
-        /// </summary>
-        [Comment("发货计划时间")]
-        public DateTime? shipplan_date { get; set; }
-
-        /// <summary>
-        /// 销售单id
-        /// </summary>
-        [Required]
-        [Comment("销售单id")]
-        public long shipplanl_soid { get; set; }
-
-
-        /// <summary>
-        /// 销售单号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("销售单号")]
-        public string? shipplanl_sono { get; set; }
-
-        /// <summary>
-        /// 行号
-        /// </summary>
-        [Comment("行号")]
-        public int? shipplanl_soeid { get; set; }
-
-        /// <summary>
-        /// 物料id
-        /// </summary>
-        [Comment("物料id")]
-        public long? icitem_id { get; set; }
-
-        /// <summary>
-        /// 物料编码
-        /// </summary>
-        [StringLength(80)]
-        [Comment("物料编码")]
-        public string? item_number { get; set; }
-
-        /// <summary>
-        /// 物料名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("物料名称")]
-        public string? item_name { get; set; }
-
-        /// <summary>
-        /// 发货数量
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("发货数量")]
-        public decimal? shipplanl_iqty { get; set; }
-
-
-        /// <summary>
-        /// 发货日期
-        /// </summary>
-        [Precision(20, 10)]
-        [Comment("发货日期")]
-        public DateTime? shipplanl_sdate { get; set; }
-
-
-        /// <summary>
-        /// 客户id
-        /// </summary>
-        [Comment("客户id")]
-        public long? shipnotice_custid { get; set; }
-
-        /// <summary>
-        /// 客户编号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("客户编号")]
-        public string? shipnotice_custno { get; set; }
-
-        /// <summary>
-        /// 客户名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("客户名称")]
-        public string? shipnotice_custname { get; set; }
-
-        /// <summary>
-        /// 状态
-        /// </summary>
-        [StringLength(80)]
-        [Comment("状态")]
-        public string? state { get; set; }
-    }
-}

+ 0 - 219
MicroServices/Business/Bussiness.MongoModel/SystemData/mo_crm_customer.cs

@@ -1,219 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.SystemData
-{
-    /// <summary>
-    /// 客户
-    /// </summary>
-    [Comment("客户")]
-    [CollectionName("dopbase", "mo_crm_customer")]
-    public class mo_crm_customer:MoBaseEntity
-    {
-        ///// <summary>
-        ///// 客户主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("客户主键id")]
-        //public long customer_id { get; set; }
-
-        /// <summary>
-        /// 客户编号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("客户编号")]
-        public string? customer_no { get; set; }
-
-        /// <summary>
-        /// 客户名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("客户名称")]
-        public string? customer_name { get; set; }
-
-        /// <summary>
-        /// 客户级别
-        /// </summary>
-        [StringLength(255)]
-        [Comment("客户级别")]
-        public string? customer_level { get; set; }
-
-        /// <summary>
-        /// 手机号码
-        /// </summary>
-        [StringLength(80)]
-        [Comment("手机号码")]
-        public string? mobile { get; set; }
-
-        /// <summary>
-        /// 电话号码
-        /// </summary>
-        [StringLength(80)]
-        [Comment("电话号码")]
-        public string? telephone { get; set; }
-
-        /// <summary>
-        /// 邮件地址
-        /// </summary>
-        [StringLength(80)]
-        [Comment("邮件地址")]
-        public string? email { get; set; }
-
-        /// <summary>
-        /// 联系人
-        /// </summary>
-        [StringLength(80)]
-        [Comment("联系人")]
-        public string? contact { get; set; }
-
-        /// <summary>
-        /// 邮政编码
-        /// </summary>
-        [StringLength(80)]
-        [Comment("邮政编码")]
-        public string? post_code { get; set; }
-
-        /// <summary>
-        /// 国别地区
-        /// </summary>
-        [StringLength(255)]
-        [Comment("国别地区")]
-        public string? country { get; set; }
-
-        /// <summary>
-        /// 省份
-        /// </summary>
-        [StringLength(255)]
-        [Comment("省份")]
-        public string? province { get; set; }
-
-
-        /// <summary>
-        /// 城市
-        /// </summary>
-        [StringLength(255)]
-        [Comment("城市")]
-        public string? city { get; set; }
-
-        /// <summary>
-        /// 区
-        /// </summary>
-        [StringLength(255)]
-        [Comment("区")]
-        public string? region { get; set; }
-
-        /// <summary>
-        /// 地址
-        /// </summary>
-        [StringLength(255)]
-        [Comment("地址")]
-        public string? address { get; set; }
-
-        /// <summary>
-        /// 销售模式
-        /// </summary>
-        [StringLength(255)]
-        [Comment("销售模式")]
-        public string? sale_mode { get; set; }
-
-        /// <summary>
-        /// 客户简称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("客户简称")]
-        public string? short_name { get; set; }
-
-        /// <summary>
-        /// 客户简码
-        /// </summary>
-        [StringLength(255)]
-        [Comment("客户简码")]
-        public string? short_number { get; set; }
-
-        /// <summary>
-        /// 状态
-        /// </summary>
-        [StringLength(80)]
-        [Comment("状态")]
-        public string? state { get; set; }
-
-        /// <summary>
-        /// 增值税率
-        /// </summary>
-        [Precision(18,10)]
-        [Comment("增值税率")]
-        public decimal? value_add_rate { get; set; }
-
-        /// <summary>
-        /// 默认运输提前期_天
-        /// </summary>
-        [Required]
-        [Comment("默认运输提前期_天")]
-        public int? carrying_aos { get; set; }
-
-        /// <summary>
-        /// 法人代表
-        /// </summary>
-        [StringLength(255)]
-        [Comment("法人代表")]
-        public string? corperate { get; set; }
-
-        /// <summary>
-        /// 结算币种
-        /// </summary>
-        [StringLength(80)]
-        [Comment("结算币种")]
-        public string? currency { get; set; }
-
-        /// <summary>
-        /// 专营业务员
-        /// </summary>
-        [StringLength(80)]
-        [Comment("专营业务员")]
-        public string? employee_name { get; set; }
-
-        /// <summary>
-        /// 专营业务员_工号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("专营业务员_工号")]
-        public string? employee_no { get; set; }
-
-        /// <summary>
-        /// 操作时间
-        /// </summary>
-        [Comment("操作时间")]
-        public DateTime? op_time { get; set; }
-
-        /// <summary>
-        /// 客户类别编码
-        /// </summary>
-        [StringLength(255)]
-        [Comment("客户类别编码")]
-        public string? cust_type_number { get; set; }
-
-        /// <summary>
-        /// 客户类别
-        /// </summary>
-        [StringLength(255)]
-        [Comment("客户类别")]
-        public string? cust_type { get; set; }
-
-        /// <summary>
-        /// 客户分组编号
-        /// </summary>
-        [StringLength(255)]
-        [Comment("客户分组编号")]
-        public string? cust_group_number { get; set; }
-
-        /// <summary>
-        /// 客户分组名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("客户分组名称")]
-        public string? cust_group_name { get; set; }
-    }
-}

+ 0 - 68
MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_code.cs

@@ -1,68 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-using System.ComponentModel.DataAnnotations.Schema;
-using Volo.Abp.Domain.Entities;
-
-namespace Bussiness.MongoModel.SystemData
-{
-    /// <summary>
-    /// 系统编码表
-    /// </summary>
-    [Comment("系统编码表")]
-    [CollectionName("dopbase", "mo_sys_code")]
-    public class mo_sys_code:Entity<long>
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("主键id")]
-        //public long sys_code_id { get; set; }
-
-        /// <summary>
-        /// 编码生成名称
-        /// </summary>
-        [StringLength(50)]
-        [Required]
-        [Comment("编码生成名称")]
-        public string? code_name { get; set; }
-
-        /// <summary>
-        /// 编码生成规则
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("编码生成规则")]
-        public string? code_rule { get; set; }
-
-        /// <summary>
-        /// 编码生成时间
-        /// </summary>
-        [Required]
-        [Comment("编码生成时间")]
-        public DateTime? code_date { get; set; }
-
-        /// <summary>
-        /// 编码生成当前值
-        /// </summary>
-        [Required]
-        [Comment("编码生成当前值")]
-        public long? code_value { get; set; }
-
-        /// <summary>
-        /// 中文注释
-        /// </summary>
-        [StringLength(255)]
-        [Comment("中文注释")]
-        public string? chinese_name { get; set; }
-
-        /// <summary>
-        /// mysql表id
-        /// </summary>
-        [Comment("mysql表id")]
-        public virtual long? mysql_id { get; set; }
-    }
-}

+ 0 - 60
MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_code_pre.cs

@@ -1,60 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-using Volo.Abp.Domain.Entities;
-
-namespace Bussiness.MongoModel.SystemData
-{
-    /// <summary>
-    /// 系统编码前置表
-    /// </summary>
-    [Comment("系统编码前置表")]
-    [CollectionName("dopbase", "mo_sys_code_pre")]
-    public class mo_sys_code_pre:Entity<long>
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("主键id")]
-        //public long id { get; set; }
-
-        /// <summary>
-        /// 编码生成名称
-        /// </summary>
-        [StringLength(50)]
-        [Required]
-        [Comment("编码生成名称")]
-        public string? code_name { get; set; }
-
-        /// <summary>
-        /// 编码生成前置名称
-        /// </summary>
-        [Required]
-        [StringLength(50)]
-        [Comment("编码生成前置名称")]
-        public string? pre_name { get; set; }
-
-        /// <summary>
-        /// 编码生成时间
-        /// </summary>
-        [Required]
-        [Comment("编码生成时间")]
-        public DateTime code_date { get; set; }
-
-        /// <summary>
-        /// 编码生成当前值
-        /// </summary>
-        [Required]
-        [Comment("编码生成当前值")]
-        public long? code_value { get; set; }
-
-        /// <summary>
-        /// mysql表id
-        /// </summary>
-        [Comment("mysql表id")]
-        public virtual long? mysql_id { get; set; }
-    }
-}

+ 0 - 55
MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_config.cs

@@ -1,55 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-using Volo.Abp.Domain.Entities;
-
-namespace Bussiness.MongoModel.SystemData
-{
-    /// <summary>
-    /// 系统配置表
-    /// </summary>
-    [Comment("系统配置表")]
-    [CollectionName("dopbase", "mo_sys_config")]
-    public class mo_sys_config:Entity<long>
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("主键id")]
-        //public long config_id { get; set; }
-
-        /// <summary>
-        /// 配置类型
-        /// </summary>
-        [Comment("配置类型")]
-        [StringLength(50)]
-        public string? type { get; set; }
-
-        /// <summary>
-        /// 账务状态(0-关帐,1-开帐)
-        [Comment("账务状态(0-关帐,1-开帐)")]
-        [DefaultValue(true)]
-        public bool financeis_close { get; set; }
-
-        /// <summary>
-        /// 下一个开帐日期
-        /// </summary>
-        [Comment("下一个开帐日期")]
-        public DateTime? next_open_date { get; set; }
-
-        /// <summary>
-        /// 是否显示(0不显示、1显示)
-        [Comment("是否显示(0不显示、1显示)")]
-        [DefaultValue(true)]
-        public bool is_show { get; set; }
-
-        /// <summary>
-        /// mysql表id
-        /// </summary>
-        [Comment("mysql表id")]
-        public virtual long? mysql_id { get; set; }
-    }
-}

+ 0 - 59
MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_measure_unit.cs

@@ -1,59 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-using Volo.Abp.Domain.Entities;
-
-namespace Bussiness.MongoModel.SystemData
-{
-    /// <summary>
-    /// 计量单位信息表
-    /// </summary>
-    [Comment("计量单位信息表")]
-    [CollectionName("dopbase", "mo_sys_measure_unit")]
-    public class mo_sys_measure_unit:Entity<long>
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("主键id")]
-        //public long unit_id { get; set; }
-
-        /// <summary>
-        /// 单位名称
-        /// </summary>
-        [StringLength(50)]
-        [Comment("单位名称")]
-        public string? unit_name { get; set; }
-
-        /// <summary>
-        /// 单位编码
-        /// </summary>
-        [StringLength(50)]
-        [Comment("单位编码")]
-        public string? unit_code { get; set; }
-
-        /// <summary>
-        /// 是否是标准单位0-否,1是
-        /// </summary>
-        [Comment("是否是标准单位0-否,1是")]
-        [DefaultValue(true)]
-        public bool is_standard { get; set; }
-
-        /// <summary>
-        /// 状态:0-无效,1-有效
-        /// </summary>
-        [Comment("状态:0-无效,1-有效")]
-        [DefaultValue(true)]
-        public bool status { get; set; }
-
-        /// <summary>
-        /// mysql表id
-        /// </summary>
-        [Comment("mysql表id")]
-        public virtual long? mysql_id { get; set; }
-
-    }
-}

+ 0 - 83
MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_post.cs

@@ -1,83 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.SystemData
-{
-    /// <summary>
-    /// 岗位表
-    /// </summary>
-    [Comment("岗位表")]
-    [CollectionName("dopbase", "mo_sys_post")]
-    public class mo_sys_post: MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("主键id")]
-        //public long post_id { get; set; }
-
-        /// <summary>
-        /// 岗位编码
-        /// </summary>
-        [StringLength(50)]
-        [Comment("岗位编码")]
-        public string? post_code { get; set; }
-
-        /// <summary>
-        /// 岗位名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("岗位名称")]
-        public string? post_name { get; set; }
-
-        /// <summary>
-        /// 岗位备注
-        /// </summary>
-        [StringLength(255)]
-        [Comment("岗位备注")]
-        public string? post_remark { get; set; }
-
-        /// <summary>
-        /// 岗位级别
-        /// </summary>
-        [Comment("岗位级别")]
-        public int? post_level { get; set; }
-
-        /// <summary>
-        /// 岗位路径
-        /// </summary>
-        [StringLength(255)]
-        [Comment("岗位路径")]
-        public string? post_path { get; set; }
-
-        /// <summary>
-        /// 岗位排序
-        /// </summary>
-        [Comment("岗位排序")]
-        public int? post_sort { get; set; }
-
-        /// <summary>
-        /// 上级岗位
-        /// </summary>
-        [Comment("上级岗位")]
-        public long? parent_id { get; set; }
-
-        /// <summary>
-        /// 部门id
-        /// </summary>
-        [Comment("部门id")]
-        public long? dept_id { get; set; }
-
-        /// <summary>
-        /// 数据状态标识 1启用 0停用
-        /// </summary>
-        [StringLength(255)]
-        [Comment("数据状态标识 1启用 -1停用")]
-        [DefaultValue(true)]
-        public bool state { get; set; }
-    }
-}

+ 0 - 35
MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_post_staff.cs

@@ -1,35 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.SystemData
-{
-    /// <summary>
-    /// 员工岗位关联表
-    /// </summary>
-    [Comment("员工岗位关联表")]
-    [CollectionName("dopbase", "mo_sys_post_staff")]
-    public class mo_sys_post_staff: MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("主键id")]
-        //public long id { get; set; }
-
-        /// <summary>
-        /// 员工id
-        /// </summary>
-        [Comment("员工id")]
-        public long? staff_id { get; set; }
-
-        /// <summary>
-        /// 岗位id
-        /// </summary>
-        [Comment("岗位id")]
-        public long? post_id { get; set; }
-    }
-}

+ 0 - 82
MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_schedule.cs

@@ -1,82 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.SystemData
-{
-    /// <summary>
-    /// 班次表
-    /// </summary>
-    [Comment("班次表")]
-    [CollectionName("dopbase", "mo_sys_schedule")]
-    public class mo_sys_schedule: MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("班次主键id")]
-        //public long schedule_id { get; set; }
-
-        /// <summary>
-        /// 班次编码
-        /// </summary>
-        [StringLength(50)]
-        [Comment("班次编码")]
-        public string? schedule_no { get; set; }
-
-        /// <summary>
-        /// 班次名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("班次名称")]
-        public string? schedule_name { get; set; }
-
-        /// <summary>
-        /// 起始工作时间
-        /// </summary>
-        [Comment("起始工作时间")]
-        public DateTime? schedule_start_time { get; set; }
-
-        /// <summary>
-        /// 结束工作时间
-        /// </summary>
-        [Comment("结束工作时间")]
-        public DateTime? schedule_end_time { get; set; }
-
-        /// <summary>
-        /// 是否跨天 1是 0否
-        /// </summary>
-        [Comment("是否跨天 1是 0否")]
-        [DefaultValue(false)]
-        public bool is_across { get; set; }
-
-        /// <summary>
-        /// 备注
-        /// </summary>
-        [StringLength(255)]
-        [Comment("备注")]
-        public string? remark { get; set; }
-
-        /// <summary>
-        /// 有效时长
-        /// </summary>
-        [Comment("有效时长")]
-        public int? validate_hours { get; set; }
-
-        /// <summary>
-        /// 工作时长
-        /// </summary>
-        [Comment("工作时长")]
-        public int? work_hours { get; set; }
-
-        /// <summary>
-        /// 数据状态标识 1启用 0停用
-        /// </summary>
-        [Comment("数据状态标识 1启用 0停用")]
-        [DefaultValue(true)]
-        public bool state { get; set; }
-    }
-}

+ 0 - 65
MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_shift.cs

@@ -1,65 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.SystemData
-{
-    /// <summary>
-    /// 班制表
-    /// </summary>
-    [Comment("班制表")]
-    [CollectionName("dopbase", "mo_sys_shift")]
-    public class mo_sys_shift: MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("主键id")]
-        //public long shift_id { get; set; }
-
-        /// <summary>
-        /// 班制编码
-        /// </summary>
-        [StringLength(50)]
-        [Comment("班制编码")]
-        public string? shift_no { get; set; }
-
-        /// <summary>
-        /// 班制名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("班制名称")]
-        public string? shift_name { get; set; }
-
-        /// <summary>
-        /// 是否跨天 1是 0否
-        /// </summary>
-        [Comment("岗位id")]
-        [DefaultValue(false)]
-        public bool is_across { get; set; }
-
-        /// <summary>
-        /// 备注
-        /// </summary>
-        [StringLength(255)]
-        [Comment("备注")]
-        public string? remark { get; set; }
-
-        /// <summary>
-        /// 有效时长
-        /// </summary>
-        [Comment("有效时长")]
-        public int? validate_hours { get; set; }
-
-        /// <summary>
-        /// 数据状态标识 1启用 0停用
-        /// </summary>
-        [Comment("数据状态标识 1启用 0停用")]
-        [DefaultValue(true)]
-        public bool state { get; set; }
-
-    }
-}

+ 0 - 42
MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_shift_invalid_time.cs

@@ -1,42 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.SystemData
-{
-    /// <summary>
-    /// 班次无效时间表
-    /// </summary>
-    [Comment("班次无效时间表")]
-    [CollectionName("dopbase", "mo_sys_shift_invalid_time")]
-    public class mo_sys_shift_invalid_time:MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("数据状态标识 1启用 0停用")]
-        //public long invalid_time_id { get; set; }
-
-        /// <summary>
-        /// 班次id
-        /// </summary>
-        [Comment("班次id")]
-        public long? schedule_id { get; set; }
-
-
-        /// <summary>
-        /// 开始时间
-        /// </summary>
-        [Comment("开始时间")]
-        public DateTime start_time { get; set; }
-
-        /// <summary>
-        /// 结束时间
-        /// </summary>
-        [Comment("结束时间")]
-        public DateTime end_time { get; set; }
-    }
-}

+ 0 - 37
MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_shift_schedule.cs

@@ -1,37 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.SystemData
-{
-    /// <summary>
-    /// 班制班次关联表
-    /// </summary>
-    [Comment("班制班次关联表")]
-    [CollectionName("dopbase", "mo_sys_shift_schedule")]
-    public class mo_sys_shift_schedule:MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("主键id")]
-        //public long id { get; set; }
-
-        /// <summary>
-        /// 班制id
-        /// </summary>
-        [StringLength(50)]
-        [Comment("班制id")]
-        public long? shift_id { get; set; }
-
-        /// <summary>
-        /// 班次id
-        /// </summary>
-        [StringLength(255)]
-        [Comment("班次id")]
-        public long? schedule_id { get; set; }
-    }
-}

+ 0 - 163
MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_staff.cs

@@ -1,163 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.SystemData
-{
-    /// <summary>
-    /// 员工表
-    /// </summary>
-    [Comment("员工表")]
-    [CollectionName("dopbase", "mo_sys_staff")]
-    public class mo_sys_staff:MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("主键id")]
-        //public long staff_id { get; set; }
-
-        /// <summary>
-        /// 员工编码
-        /// </summary>
-        [StringLength(50)]
-        [Comment("员工编码")]
-        public string? staff_no { get; set; }
-
-        /// <summary>
-        /// 用户id
-        /// </summary>
-        [Comment("用户id")]
-        public long? user_id { get; set; }
-
-        /// <summary>
-        /// 用户名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("用户名称")]
-        public string? user_name { get; set; }
-
-        /// <summary>
-        /// 中文名
-        /// </summary>
-        [StringLength(255)]
-        [Comment("中文名")]
-        public string? chinese_name { get; set; }
-
-        /// <summary>
-        /// 电话
-        /// </summary>
-        [StringLength(80)]
-        [Comment("电话")]
-        public string? phone { get; set; }
-
-        /// <summary>
-        /// 照片
-        /// </summary>
-        [StringLength(255)]
-        [Comment("照片")]
-        public string? photo { get; set; }
-
-        /// <summary>
-        /// 组织名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("组织名称")]
-        public string? org_name { get; set; }
-
-        /// <summary>
-        /// 生日
-        /// </summary>
-        [Comment("生日")]
-        public DateOnly? birthday { get; set; }
-
-        /// <summary>
-        /// 邮箱
-        /// </summary>
-        [StringLength(255)]
-        [Comment("邮箱")]
-        public string? email { get; set; }
-
-        /// <summary>
-        /// 性别 1 男 2 女
-        /// </summary>
-        [StringLength(1)]
-        [Comment("性别 1 男 2 女")]
-        public string? sex { get; set; }
-
-
-        /// <summary>
-        /// 卡号
-        /// </summary>
-        [StringLength(50)]
-        [Comment("卡号")]
-        public string? card_no { get; set; }
-
-        /// <summary>
-        /// 工号
-        /// </summary>
-        [StringLength(50)]
-        [Comment("工号")]
-        public string? emp_no { get; set; }
-
-        /// <summary>
-        /// 身份证号
-        /// </summary>
-        [StringLength(50)]
-        [Comment("身份证号")]
-        public string? id_no { get; set; }
-
-        /// <summary>
-        /// 移动电话
-        /// </summary>
-        [StringLength(50)]
-        [Comment("移动电话")]
-        public string? mobile { get; set; }
-
-        /// <summary>
-        /// 政治面貌
-        /// </summary>
-        [StringLength(50)]
-        [Comment("政治面貌")]
-        public string? politics { get; set; }
-
-        /// <summary>
-        /// 备注
-        /// </summary>
-        [StringLength(255)]
-        [Comment("备注")]
-        public string? staff_remark { get; set; }
-
-        /// <summary>
-        /// 部门id
-        /// </summary>
-        [Comment("部门id")]
-        public long? dept_id { get; set; }
-
-        /// <summary>
-        /// 部门编号
-        /// </summary>
-        [StringLength(50)]
-        [Comment("部门编号")]
-        public string? dept_no { get; set; }
-
-
-        /// <summary>
-        /// 部门名称
-        /// </summary>
-        [StringLength(255)]
-        [Comment("部门名称")]
-        public string? dept_name { get; set; }
-
-        /// <summary>
-        /// 数据状态标识 1启用 0停用
-        /// </summary>
-        [StringLength(255)]
-        [Comment("数据状态标识 1启用 0停用")]
-        [DefaultValue(true)]
-        public bool state { get; set; }
-    }
-}

+ 0 - 55
MicroServices/Business/Bussiness.MongoModel/SystemData/mo_sys_upload.cs

@@ -1,55 +0,0 @@
-using Business.Core.Attributes;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-using Volo.Abp.Domain.Entities;
-
-namespace Bussiness.MongoModel.SystemData
-{
-    /// <summary>
-    /// 文件上传表
-    /// </summary>
-    [Comment("文件上传表")]
-    [CollectionName("dopbase", "mo_sys_upload")]
-    public class mo_sys_upload:Entity<long>
-    {
-        ///// <summary>
-        ///// 主键id
-        ///// </summary>
-        //[Key]
-        //[Comment("主键id")]
-        //public long upload_id { get; set; }
-
-        /// <summary>
-        /// 文件存储路径
-        /// </summary>
-        [StringLength(255)]
-        [Comment("文件存储路径")]
-        public string? file_url { get; set; }
-
-        /// <summary>
-        /// 文件数据类型
-        [StringLength(255)]
-        [Comment("文件数据类型")]
-        public string? data_type { get; set; }
-
-        /// <summary>
-        /// 文件后缀
-        /// </summary>
-        [StringLength(255)]
-        [Comment("文件后缀")]
-        public string? file_type { get; set; }
-
-        /// <summary>
-        /// 源文件名称
-        [StringLength(255)]
-        [Comment("源文件名称")]
-        public string? original_file_name { get; set; }
-
-        /// <summary>
-        /// mysql表id
-        /// </summary>
-        [Comment("mysql表id")]
-        public virtual long? mysql_id { get; set; }
-    }
-}

+ 0 - 52
MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_tech_proc_accessory.cs

@@ -1,52 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Tech
-{
-    /// <summary>
-    /// 治具表(工装表)
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_tech_proc_accessory")]
-    [Comment("治具表(工装表)")]
-    public class mo_mes_tech_proc_accessory : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 治具主键
-        ///// </summary>
-        //[Key]
-        //[Comment("治具主键")]
-        //public long tech_proc_acc_id { get; set; }
-
-        /// <summary>
-        /// 工艺工序主键
-        /// </summary>
-        [Required]
-        [Comment("工艺工序主键")]
-        public long? tech_proc_id { get; set; }
-
-        /// <summary>
-        /// 工装id
-        /// </summary>
-        [Required]
-        [Comment("工装id")]
-        public long? equip_id { get; set; }
-
-        /// <summary>
-        /// 工装编号
-        /// </summary>
-        [Required]
-        [StringLength(100)]
-        [Comment("工装编号")]
-        public string? equip_no { get; set; }
-
-        /// <summary>
-        /// 数量
-        /// </summary>
-        [Required]
-        [Comment("数量")]
-        public int? qty { get; set; }
-    }
-}

+ 0 - 44
MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_tech_proc_document.cs

@@ -1,44 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Tech
-{
-    /// <summary>
-    /// 工序作业指导书表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_tech_proc_document")]
-    [Comment("工序作业指导书表")]
-    public class mo_mes_tech_proc_document : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 工序作业指导书主键
-        ///// </summary>
-        //[Key]
-        //[Comment("工序作业指导书主键")]
-        //public long tech_proc_doc_id { get; set; }
-
-        /// <summary>
-        /// 工艺工序主键
-        /// </summary>
-        [Required]
-        [Comment("工艺工序主键")]
-        public long? tech_proc_id { get; set; }
-
-        /// <summary>
-        /// 作业指导书主键
-        /// </summary>
-        [Required]
-        [Comment("作业指导书主键")]
-        public long? upload_id { get; set; }
-
-        /// <summary>
-        /// 作业指导书名称
-        /// </summary>
-        [StringLength(100)]
-        [Comment("作业指导书名称")]
-        public string? name { get; set; }
-    }
-}

+ 0 - 50
MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_tech_proc_equipment.cs

@@ -1,50 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Tech
-{
-    /// <summary>
-    /// 工序关联设备表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_tech_proc_equipment")]
-    [Comment("工序关联设备表")]
-    public class mo_mes_tech_proc_equipment : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键
-        ///// </summary>
-        //[Key]
-        //[Comment("主键")]
-        //public long tech_proc_equip_id { get; set; }
-
-        /// <summary>
-        /// 设备id
-        /// </summary>
-        [Required]
-        [Comment("设备id")]
-        public long? equip_id { get; set; }
-
-        /// <summary>
-        /// 设备名称
-        /// </summary>
-        [StringLength(100)]
-        [Comment("设备名称")]
-        public string? equip_name { get; set; }
-
-        /// <summary>
-        /// 工艺工序id
-        /// </summary>
-        [Required]
-        [Comment("工艺工序id")]
-        public long? tech_proc_id { get; set; }
-
-        /// <summary>
-        /// 工作日历id
-        /// </summary>
-        [Comment("工作日历id")]
-        public long? work_calendar_id { get; set; }
-    }
-}

+ 0 - 44
MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_tech_proc_icitem.cs

@@ -1,44 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Tech
-{
-    /// <summary>
-    /// 发料到工序表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_tech_proc_icitem")]
-    [Comment("发料到工序表")]
-    public class mo_mes_tech_proc_icitem : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键
-        ///// </summary>
-        ////[Key]
-        ////[Comment("主键")]
-        ////public long tech_proc_icitem_id { get; set; }
-
-        /// <summary>
-        /// 工艺工序id
-        /// </summary>
-        [Required]
-        [Comment("工艺工序id")]
-        public long? tech_proc_id { get; set; }
-
-        /// <summary>
-        /// 物料id
-        /// </summary>
-        [Required]
-        [Comment("物料id")]
-        public long? icitem_id { get; set; }
-
-        /// <summary>
-        /// 数量
-        /// </summary>
-        [Required]
-        [Comment("数量")]
-        public int? qty { get; set; }
-    }
-}

+ 0 - 44
MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_tech_proc_workshop_staff.cs

@@ -1,44 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Tech
-{
-    /// <summary>
-    /// 工序工位员工信息表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_tech_proc_workshop_staff")]
-    [Comment("工序工位员工信息表")]
-    public class mo_mes_tech_proc_workshop_staff : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键
-        ///// </summary>
-        //[Key]
-        //[Comment("主键")]
-        //public long tech_proc_workshop_equip_id { get; set; }
-
-        /// <summary>
-        /// 工艺工位id
-        /// </summary>
-        [Required]
-        [Comment("工艺工位id")]
-        public long? tech_proc_workshop_id { get; set; }
-
-        /// <summary>
-        /// 员工id
-        /// </summary>
-        [Required]
-        [Comment("员工id")]
-        public long? staff_id { get; set; }
-
-        /// <summary>
-        /// 员工姓名
-        /// </summary>
-        [StringLength(100)]
-        [Comment("员工姓名")]
-        public string? staff_name { get; set; }
-    }
-}

+ 0 - 117
MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_work_calendar.cs

@@ -1,117 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Tech
-{
-    /// <summary>
-    /// 工作日历
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_work_calendar")]
-    [Comment("工作日历")]
-    public class mo_mes_work_calendar : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 工作日历主键
-        ///// </summary>
-        //[Key]
-        //[Comment("工作日历主键")]
-        //public long work_calendar_id { get; set; }
-
-        /// <summary>
-        /// 工作日历编码
-        /// </summary>
-        [StringLength(100)]
-        [Comment("工作日历编码")]
-        public string? work_calendar_no { get; set; }
-
-        /// <summary>
-        /// 工作日历名称
-        /// </summary>
-        [StringLength(100)]
-        [Comment("工作日历名称")]
-        public string? work_calendar_name { get; set; }
-
-        /// <summary>
-        /// 班制id
-        /// </summary>
-        [Comment("班制id")]
-        public long? shift_id { get; set; }
-
-        /// <summary>
-        /// 开始时间
-        /// </summary>
-        [Comment("开始时间")]
-        public DateTime? start_time { get; set; }
-
-        /// <summary>
-        /// 结束时间
-        /// </summary>
-        [Comment("结束时间")]
-        public DateTime? end_time { get; set; }
-
-        /// <summary>
-        /// 标准周期
-        /// </summary>
-        [Comment("标准周期")]
-        public int? standard_period { get; set; }
-
-        /// <summary>
-        /// 工作周期
-        /// </summary>
-        [Comment("工作周期")]
-        public int? work_period { get; set; }
-
-        /// <summary>
-        /// 休息周期
-        /// </summary>
-        [Comment("休息周期")]
-        public int? rest_period { get; set; }
-
-        /// <summary>
-        /// 周1
-        /// </summary>
-        [Comment("周1")]
-        public int? calendar1 { get; set; }
-
-        /// <summary>
-        /// 周2
-        /// </summary>
-        [Comment("周2")]
-        public int? calendar2 { get; set; }
-
-        /// <summary>
-        /// 周3
-        /// </summary>
-        [Comment("周3")]
-        public int? calendar3 { get; set; }
-
-        /// <summary>
-        /// 周4
-        /// </summary>
-        [Comment("周4")]
-        public int? calendar4 { get; set; }
-
-        /// <summary>
-        /// 周5
-        /// </summary>
-        [Comment("周5")]
-        public int? calendar5 { get; set; }
-
-        /// <summary>
-        /// 周6
-        /// </summary>
-        [Comment("周6")]
-        public int? calendar6 { get; set; }
-
-        /// <summary>
-        /// 周7
-        /// </summary>
-        [Comment("周7")]
-        public int? calendar7 { get; set; }
-
-
-    }
-}

+ 0 - 54
MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_work_calendar_list.cs

@@ -1,54 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Tech
-{
-    /// <summary>
-    /// 工作日历明细表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_work_calendar_list")]
-    [Comment("工作日历明细表")]
-    public class mo_mes_work_calendar_list : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 工作日历明细主键
-        ///// </summary>
-        //[Key]
-        //[Comment("工作日历明细主键")]
-        //public long work_cal_list_id { get; set; }
-
-        /// <summary>
-        /// 工作日历id
-        /// </summary>
-        [Required]
-        [Comment("工作日历id")]
-        public long? work_calendar_id { get; set; }
-
-        /// <summary>
-        /// 日期
-        /// </summary>
-        [Comment("日期")]
-        public DateTime? work_cal_list_date { get; set; }
-
-        /// <summary>
-        /// 类型:1-工作日;0-休息日
-        /// </summary>
-        [Comment("类型:1-工作日;0-休息日")]
-        public int? work_cal_list_type { get; set; }
-
-        /// <summary>
-        /// 工作时长(分钟)
-        /// </summary>
-        [Comment("工作时长(分钟)")]
-        public int? work_cal_list_times { get; set; }
-
-        /// <summary>
-        /// 班次数
-        /// </summary>
-        [Comment("班次数")]
-        public int? work_cal_list_num { get; set; }
-    }
-}

+ 0 - 71
MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_workshop.cs

@@ -1,71 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Tech
-{
-    /// <summary>
-    /// 工位表(工作中心)
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_workshop")]
-    [Comment("工位表(工作中心)")]
-    public class mo_mes_workshop : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 工位表主键
-        ///// </summary>
-        //[Key]
-        //[Comment("工位表主键")]
-        //public long workshop_id { get; set; }
-
-        /// <summary>
-        /// 工位名称
-        /// </summary>
-        [StringLength(100)]
-        [Comment("工位名称")]
-        public string? name { get; set; }
-
-        /// <summary>
-        /// 组合工位ids
-        /// </summary>
-        [StringLength(2000)]
-        [Comment("组合工位ids")]
-        public string? subids { get; set; }
-
-        /// <summary>
-        /// 坐标
-        /// </summary>
-        [StringLength(100)]
-        [Comment("坐标")]
-        public string? geoinfo { get; set; }
-
-        /// <summary>
-        /// 楼栋
-        /// </summary>
-        [StringLength(100)]
-        [Comment("楼栋")]
-        public string? building { get; set; }
-
-        /// <summary>
-        /// 楼层
-        /// </summary>
-        [StringLength(100)]
-        [Comment("楼层")]
-        public string? floor { get; set; }
-
-        /// <summary>
-        /// 区域
-        /// </summary>
-        [StringLength(100)]
-        [Comment("区域")]
-        public string? zone { get; set; }
-
-        /// <summary>
-        /// 工作日历id
-        /// </summary>
-        [Comment("工作日历id")]
-        public long? work_calendar_id { get; set; }
-    }
-}

+ 0 - 50
MicroServices/Business/Bussiness.MongoModel/Tech/mo_mes_workshop_shelf.cs

@@ -1,50 +0,0 @@
-using Business.Core.Attributes;
-using Bussiness.MongoModel;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.MongoModel.Tech
-{
-    /// <summary>
-    /// 工位关联线边仓表
-    /// </summary>
-    [CollectionName("dopbase", "mo_mes_workshop_shelf")]
-    [Comment("工位关联线边仓表")]
-    public class mo_mes_workshop_shelf : MoBaseEntity
-    {
-        ///// <summary>
-        ///// 主键
-        ///// </summary>
-        //[Key]
-        //[Comment("主键")]
-        //public long workshop_shelf_id { get; set; }
-
-        /// <summary>
-        /// 工位id
-        /// </summary>
-        [Required]
-        [Comment("工位id")]
-        public long? workshop_id { get; set; }
-
-        /// <summary>
-        /// 线边仓序列号
-        /// </summary>
-        [Comment("线边仓序列号")]
-        public int? serialno { get; set; }
-
-        /// <summary>
-        /// 仓库编号
-        /// </summary>
-        [StringLength(100)]
-        [Comment("仓库编号")]
-        public string? sheifno { get; set; }
-
-        /// <summary>
-        /// 坐标
-        /// </summary>
-        [StringLength(100)]
-        [Comment("坐标")]
-        public string? geoinfo { get; set; }
-    }
-}