cnf
6 天以前 1b3db8f5683373dd8e179b006e7314783dd1f9db
WebApi/GS.QC/Service/RkqcManager.cs
@@ -1,32 +1,29 @@
using System.Data;
using System.Data.SqlClient;
using System.Dynamic;
using Gs.Toolbox;
using Gs.Toolbox.ApiCore.Abstract.Mvc;
using Gs.Toolbox.ApiCore.Common.Mvc;
using Gs.Toolbox.ApiCore.Group;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Dynamic;
using static Gs.Toolbox.UtilityHelper;
namespace GS.QC.Service;
namespace GS.QC.Service
{
/// <summary>
///     其它入库检验
/// </summary>
[ApiGroup(ApiGroupNames.QC)]
public class RkqcManager : IRomteService
{
    private readonly IHttpContextAccessor _http;
    private readonly string _userCode, _userGuid, _orgFids;
    public RkqcManager(IHttpContextAccessor httpContextAccessor)
    {
        _http = httpContextAccessor;
        (_userCode, _userGuid, _orgFids) =
            GetUserGuidAndOrgGuid(_http);
                UtilityHelper.GetUserGuidAndOrgGuid(_http);
    }
    #region CRUD
@@ -114,8 +111,7 @@
        var dset = new DataSet();
        try
        {
            dset = DbHelperSQL.RunProcedure("[rkqc_detect01_get]", parameters,
                "0");
                dset = DbHelperSQL.RunProcedure("[rkqc_detect01_get]", parameters, "0");
            if (dset != null && dset.Tables.Count > 0 &&
                dset.Tables[0].Rows.Count > 0)
            {
@@ -124,7 +120,7 @@
                var _tb = dset.Tables[1].TableToDynamicList();
                m.list5 = _tb;
                //打印信息
                var row = dset.Tables[2].Rows[0];
                    DataRow row = dset.Tables[2].Rows[0];
                m.kdy = row["kdy"].ToString();
                m.ydy = row["ydy"].ToString();
                var _tb8 = dset.Tables[3].TableToDynamicList();
@@ -144,3 +140,4 @@
    #endregion
}
}