bug
This commit is contained in:
@@ -9,6 +9,7 @@ using JNPF.FriendlyException;
|
||||
using JNPF.Systems.Interfaces.System;
|
||||
using JNPF.VisualDev;
|
||||
using JNPF.VisualDev.Entitys.Dto.VisualDevModelData;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using SqlSugar;
|
||||
using Tnb.BasicData.Entities;
|
||||
@@ -87,6 +88,7 @@ namespace Tnb.BasicData
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public async Task<dynamic> GetInfo(string id)
|
||||
{
|
||||
ISqlSugarClient db = _repository.AsSugarClient();
|
||||
@@ -120,8 +122,8 @@ namespace Tnb.BasicData
|
||||
station = process.station,
|
||||
byproduct_status = process.byproduct_status,
|
||||
production_method = process.production_method,
|
||||
inputs = inputs.Where(x => x.process_id == process.process_id).ToList(),
|
||||
outputs = outputs.Where(x => x.process_id == process.process_id).ToList(),
|
||||
inputs = inputs.Where(x => x.mbom_process_id == process.id).ToList(),
|
||||
outputs = outputs.Where(x => x.mbom_process_id == process.id).ToList(),
|
||||
no = process.no,
|
||||
last_process_no = process.last_process_no,
|
||||
next_process_no = process.next_process_no
|
||||
@@ -570,6 +572,7 @@ namespace Tnb.BasicData
|
||||
/// <param name="mbomSaveDataInput"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[AllowAnonymous]
|
||||
public async Task<string> SaveDataNew(MbomSaveDataInput mbomSaveDataInput)
|
||||
{
|
||||
ErrorCode errorCode = ErrorCode.COM1008;
|
||||
|
||||
Reference in New Issue
Block a user