注释质量
This commit is contained in:
@@ -36,6 +36,8 @@
|
|||||||
|
|
||||||
public string result { get; set; }
|
public string result { get; set; }
|
||||||
|
|
||||||
|
public string reason { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
public class MaintainItemResult
|
public class MaintainItemResult
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -49,4 +49,6 @@ public partial class ToolMoldMaintainItemRecord : BaseEntity<string>
|
|||||||
|
|
||||||
public string result { get; set; }
|
public string result { get; set; }
|
||||||
|
|
||||||
|
public string reason { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -481,7 +481,8 @@ namespace Tnb.EquipMgr
|
|||||||
item_group_id = item.item_group_id,
|
item_group_id = item.item_group_id,
|
||||||
item_id = item.item_id,
|
item_id = item.item_id,
|
||||||
status = 1,
|
status = 1,
|
||||||
result = item.result
|
result = item.result,
|
||||||
|
reason = item.reason,
|
||||||
};
|
};
|
||||||
records.Add(record);
|
records.Add(record);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1800,18 +1800,18 @@ namespace Tnb.ProductionMgr
|
|||||||
|
|
||||||
#region 质检模块
|
#region 质检模块
|
||||||
//质检模块
|
//质检模块
|
||||||
TriggerPlanEntity entity = new()
|
// TriggerPlanEntity entity = new()
|
||||||
{
|
// {
|
||||||
materialid = prdMoTask.material_id,
|
// materialid = prdMoTask.material_id,
|
||||||
processid = prdMoTask.process_id,
|
// processid = prdMoTask.process_id,
|
||||||
workid = prdMoTask.workstation_id
|
// workid = prdMoTask.workstation_id
|
||||||
};
|
// };
|
||||||
int? reported = prdMoTask.reported_work_qty == null ? 0 : prdMoTask.reported_work_qty;
|
// int? reported = prdMoTask.reported_work_qty == null ? 0 : prdMoTask.reported_work_qty;
|
||||||
int? scrap = prdMoTask.scrap_qty == null ? 0 : prdMoTask.scrap_qty;
|
// int? scrap = prdMoTask.scrap_qty == null ? 0 : prdMoTask.scrap_qty;
|
||||||
entity.oldpronum = reported + scrap;
|
// entity.oldpronum = reported + scrap;
|
||||||
entity.newpronum = input.reported_qty;
|
// entity.newpronum = input.reported_qty;
|
||||||
entity.triggerevent = EnumTriggerEvent.生产检定量;
|
// entity.triggerevent = EnumTriggerEvent.生产检定量;
|
||||||
await _qcCheckPlanService.CreateTask(entity);
|
// await _qcCheckPlanService.CreateTask(entity);
|
||||||
#endregion
|
#endregion
|
||||||
_ = prdMoTask.reported_work_qty == null
|
_ = prdMoTask.reported_work_qty == null
|
||||||
? await db.Updateable<PrdMoTask>()
|
? await db.Updateable<PrdMoTask>()
|
||||||
|
|||||||
@@ -399,7 +399,7 @@ namespace Tnb.WarehouseMgr
|
|||||||
thirdWebapiRecord.name = "采购入库";
|
thirdWebapiRecord.name = "采购入库";
|
||||||
thirdWebapiRecord.method = "POST";
|
thirdWebapiRecord.method = "POST";
|
||||||
thirdWebapiRecord.url = WmsWareHouseConst.BIP_DOMAIN+"uapws/rest/purchaseIn/save";
|
thirdWebapiRecord.url = WmsWareHouseConst.BIP_DOMAIN+"uapws/rest/purchaseIn/save";
|
||||||
thirdWebapiRecord.request_data = JsonConvert.SerializeObject(erpRequestData);
|
thirdWebapiRecord.request_data = JsonConvert.SerializeObject(requestData);
|
||||||
thirdWebapiRecord.create_time = DateTime.Now;
|
thirdWebapiRecord.create_time = DateTime.Now;
|
||||||
|
|
||||||
await _db.Insertable(thirdWebapiRecord).ExecuteCommandAsync();
|
await _db.Insertable(thirdWebapiRecord).ExecuteCommandAsync();
|
||||||
|
|||||||
Reference in New Issue
Block a user