yandaniu 4 days ago
parent
commit
dc9aaf8628
21 changed files with 9 additions and 8 deletions
  1. 1 1
      .env
  2. BIN
      .vs/Ropin.Inspection.Api/DesignTimeBuild/.dtbcache.v2
  3. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/1a5156c2-4afa-4642-b9b2-dbe4d980f2ea.vsidx
  4. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/1bf02664-43d7-47db-94b9-070a2932b085.vsidx
  5. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/2f51b3f4-463b-46ce-ad5f-be8d834cffc4.vsidx
  6. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/416a925b-44cd-48ac-89f9-d25341f10b91.vsidx
  7. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/4ab0ac03-d198-4839-8c06-8e72357047c9.vsidx
  8. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/7d41eef4-37d1-4f06-baa4-9e47dfc685a2.vsidx
  9. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/7f02d622-7ee6-4c49-9019-84ec6e560b51.vsidx
  10. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/8746401a-d6c0-4645-b14e-5f76724f0e5e.vsidx
  11. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/8e4604b7-be7c-47b4-a304-7cc550529bc6.vsidx
  12. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/9eaf3ec7-a104-4f9e-bc1e-3ed7760dc957.vsidx
  13. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/a68678a8-2980-42ab-aa28-4e73cca27cc0.vsidx
  14. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/bd7015a5-9762-4f6e-8105-68dd54ae8250.vsidx
  15. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/cc18723c-21d1-4f38-8e60-47a9bc6e40ed.vsidx
  16. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/cc8818e7-a58f-4e64-ba0f-cb1046f1e0ae.vsidx
  17. BIN
      .vs/Ropin.Inspection.Api/FileContentIndex/ce49806f-793f-49e4-86d5-67a131d04890.vsidx
  18. 1 1
      Ropin.Inspection.Api/Controllers/SYS/TsysMessageController.cs
  19. 2 2
      Ropin.Inspection.Api/TmtnRepairOrderController.cs
  20. 4 3
      Ropin.Inspection.Api/TmtnRepairOrderItemController.cs
  21. 1 1
      Ropin.Inspection.Common/DataDictionaryHelper.cs

+ 1 - 1
.env

@@ -2,4 +2,4 @@
 #Development
 #Staging
 DEV_ENVIRONMENT=Development 
-version=1.3.11
+version=1.3.12

BIN
.vs/Ropin.Inspection.Api/DesignTimeBuild/.dtbcache.v2


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/7e613506-ab52-425a-8f8f-ef641eace347.vsidx → .vs/Ropin.Inspection.Api/FileContentIndex/1a5156c2-4afa-4642-b9b2-dbe4d980f2ea.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/72fe1397-a48f-463d-a33b-44dc1b4a8849.vsidx → .vs/Ropin.Inspection.Api/FileContentIndex/1bf02664-43d7-47db-94b9-070a2932b085.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/ec7aa74c-5cd2-499b-8dc8-59fcb7af56c8.vsidx → .vs/Ropin.Inspection.Api/FileContentIndex/2f51b3f4-463b-46ce-ad5f-be8d834cffc4.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/5d50e9e9-bc2f-43d9-a701-14bb1588746d.vsidx → .vs/Ropin.Inspection.Api/FileContentIndex/416a925b-44cd-48ac-89f9-d25341f10b91.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/182cbdfa-6684-4b66-996e-7d6a59e0e7a9.vsidx → .vs/Ropin.Inspection.Api/FileContentIndex/4ab0ac03-d198-4839-8c06-8e72357047c9.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/ead4cd8a-18f6-4323-9e01-b4be5c20ea5b.vsidx → .vs/Ropin.Inspection.Api/FileContentIndex/7d41eef4-37d1-4f06-baa4-9e47dfc685a2.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/7f02d622-7ee6-4c49-9019-84ec6e560b51.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/8746401a-d6c0-4645-b14e-5f76724f0e5e.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/8e196ca2-4869-4ea9-bc98-944548ba1137.vsidx → .vs/Ropin.Inspection.Api/FileContentIndex/8e4604b7-be7c-47b4-a304-7cc550529bc6.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/9eaf3ec7-a104-4f9e-bc1e-3ed7760dc957.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/a68678a8-2980-42ab-aa28-4e73cca27cc0.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/bd7015a5-9762-4f6e-8105-68dd54ae8250.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/c813da2f-255e-47b0-a004-135f5b1805d1.vsidx → .vs/Ropin.Inspection.Api/FileContentIndex/cc18723c-21d1-4f38-8e60-47a9bc6e40ed.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/5ef02804-9299-4152-9ead-155016bcc1e0.vsidx → .vs/Ropin.Inspection.Api/FileContentIndex/cc8818e7-a58f-4e64-ba0f-cb1046f1e0ae.vsidx


BIN
.vs/Ropin.Inspection.Api/FileContentIndex/0354955f-d894-4211-a0bd-ee09bd279936.vsidx → .vs/Ropin.Inspection.Api/FileContentIndex/ce49806f-793f-49e4-86d5-67a131d04890.vsidx


+ 1 - 1
Ropin.Inspection.Api/Controllers/SYS/TsysMessageController.cs

@@ -244,7 +244,7 @@ namespace Ropin.Inspection.Api.Controllers
 
                 IWorkbook workbook = new XSSFWorkbook();
                 ISheet sheet = workbook.CreateSheet("sheet1");
-                sheet.AddMergedRegion(new NPOI.SS.Util.CellRangeAddress(0, 0, 0, 6));
+                sheet.AddMergedRegion(new NPOI.SS.Util.CellRangeAddress(0, 0, 0, 5));
                 var titleRow = sheet.CreateRow(0);
                 titleRow.Height = 20 * 25;
                 ICell titleCell = titleRow.CreateCell(0);

+ 2 - 2
Ropin.Inspection.Api/TmtnRepairOrderController.cs

@@ -283,7 +283,7 @@ namespace Ropin.Inspection.Api
                     DevName = "",
                     GenerationType = 2,
                     msgStatus = 0,
-                },"设备维修",null, results?.C_ID,"1");
+                },"设备维修",null, results?.C_ID,"1", content.C_Name);
             }
             catch (Exception ex)
             {
@@ -358,7 +358,7 @@ namespace Ropin.Inspection.Api
                     DevName = "",
                     GenerationType = 2,
                     msgStatus = 0,
-                }, "设备维修",null, id,updateModel.C_Status);
+                }, "设备维修",null, id,updateModel.C_Status, updateModel.C_Name);
             }
             catch (Exception ex)
             {

+ 4 - 3
Ropin.Inspection.Api/TmtnRepairOrderItemController.cs

@@ -251,9 +251,10 @@ namespace Ropin.Inspection.Api
             }
             try
             {
-                //await _tmtnRepairOrderService.UpdateAsync(content.C_RepairRecord, TmtnRepairOrderItemUpdateModel updateModel);
                 await _TmtnRepairOrderItemService.CreateRepairOrderItemAsync(content);
-                //await _pushMsgService.PushAlarmMsgAsync(new TpushMsgModel { C_DevStoreCode = devStoreCode, C_MsgTypeCode = "MSG_TYPE_008", Msg = content.C_RepairRecord });
+                var orderDta = await _tmtnRepairOrderService.GetByIdAsync(content.C_RepairCode);
+                string title = "";
+                if (orderDta != null) { title = orderDta.C_Name; }
                 await _pushMsgService.PushAlarmMsgAsync(new TpushMsgModel
                 {
                     C_DevStoreCode = devStoreCode,
@@ -282,7 +283,7 @@ namespace Ropin.Inspection.Api
                     DevName = "",
                     GenerationType = 2,
                     msgStatus = 0,
-                },"设备维修",null, content.C_RepairCode, content.C_Status);
+                },"设备维修",null, content.C_RepairCode, content.C_Status, title);
             }
             catch (Exception ex)
             {

+ 1 - 1
Ropin.Inspection.Common/DataDictionaryHelper.cs

@@ -122,7 +122,7 @@ namespace Ropin.Inspection.Common
                     case "MSG_TYPE_014": //val = "正在维修"; break;
                     case "MSG_TYPE_015": //val = "维修返工"; break;
                     case "MSG_TYPE_016": //val = "维修完成确认"; break;
-                        val = WXConstModel.XCXPublicPage + "?MessId=" + messId + "&msgType=" + type + "&Code=" + dataId + "&StoreCode=" + StoreCode;
+                        val = WXConstModel.XCXPublicPage + "?MessId=" + messId + "&msgType=" + type + "&Code=" + dataId + "&StoreCode=" + StoreCode + "&Title=" + title;
                         break;
                     case "MSG_TYPE_002": //val = "通知运维"; break;
                     case "MSG_TYPE_009": //val = "运维审核"; break;