cnf
2025-09-10 aebd2d642e19ce9ccb253c671b239e7ed9fc91c6
WebApi/Gs.Wom/Service/FanGongManager.cs
@@ -1,15 +1,15 @@
using System.Data;
using System.Data.SqlClient;
using System.Dynamic;
using Gs.Toolbox.ApiCore.Common.Mvc;
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.Data;
using System.Dynamic;
using Gs.Toolbox.ApiCore.Abstract.Mvc;
using System.Data.SqlClient;
using Gs.Toolbox.ApiCore.Group;
namespace Gs.Wom.Service;
namespace Gs.Wom.Service
{
[ApiGroup(ApiGroupNames.QC)]
public class FanGongManager : IRomteService
{
@@ -79,7 +79,6 @@
        {
            LogHelper.Debug(ToString(), ex.Message);
        }
        return ReturnDto<PageList<dynamic>>.QuickReturn(_pglist,
            ReturnCode.Success, "读取成功");
    }
@@ -104,8 +103,7 @@
            new("@inP1", ""),
            new("@inP2", ""),
            new("@inP3", ""),
            new("@inP4", "")
        };
            new("@inP4", "")};
        var dset = new DataSet();
        try
        {
@@ -127,10 +125,8 @@
        {
            LogHelper.Debug(ToString(), ex.Message);
        }
        if (m != null)
            return ReturnDto<dynamic>.QuickReturn(m, ReturnCode.Success,
                "读取成功!");
                return ReturnDto<dynamic>.QuickReturn(m, ReturnCode.Success, "读取成功!");
        return ReturnDto<dynamic>.QuickReturn(m, ReturnCode.Default, "读取失败!");
    }
@@ -159,11 +155,8 @@
                    {
                        new("@outMsg", SqlDbType.NVarChar, 300),
                        new("@outSum", SqlDbType.Int),
                        new("@inOrderGuid",
                            UtilityHelper.CheckGuid(guid)
                                ? guid
                                : DBNull.Value),
                        new("@inEdtUserGuid", _userGuid)
                        new("@inOrderGuid", UtilityHelper.CheckGuid(guid)? guid : DBNull.Value),
                        new("@inEdtUserGuid", _userGuid),
                    };
                    parameters[0].Direction = ParameterDirection.Output;
                    parameters[1].Direction = ParameterDirection.Output;
@@ -186,10 +179,10 @@
                }
            }
        }
        if (_outSum <= 0)
            return ReturnDto<int>.QuickReturn(rtnInt, ReturnCode.Exception,
                _outMsg);
                return ReturnDto<int>.QuickReturn(rtnInt, ReturnCode.Exception,_outMsg);
        return ReturnDto<int>.QuickReturn(rtnInt, ReturnCode.Success, _outMsg);
    }
    }
}