|
@@ -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)
|
|
|
{
|