chenhaozhe
2026-02-27 9f298c3a9cfc9a4d7e56e4b6e89ec09cbe9bcb88
WebAPI/Controllers/SCGL/Sc_MESTransFerWorkBillController.cs
@@ -13,8 +13,10 @@
using System.Threading.Tasks;
using System.Web.Http;
using WebAPI.Models;
using WebAPI.Service;
using System.Threading;
using SyntacticSugar.constant;
using WebApiWithFleck;
namespace WebAPI.Controllers.SCGL
{
@@ -7407,7 +7409,6 @@
                }
                if (bResult)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "保存成功!";
@@ -7793,6 +7794,12 @@
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    // 个推方式推送数据
                    GeTuiService.PubishSingle(HInterID);
                    // webSocket方式推送数据
                    // WebSocketServer.PushOne(HInterID);
                }
                if (IsAudit == 1) //反审核提交
                {
@@ -8224,14 +8231,29 @@
        {
            try
            {
                List<object> columnNameList = new List<object>();
                string sql = "select * from OA_WorkLinkBillSub where HInterID = '" + HInterID + "'order by HDate desc";
                string sql = $@"select HSendMan 回复人, HDescription 回复内容, HDate 回复时间,
                                case HSendStatus
                                when 1 then '普通'
                                when 10 then '验证通过'
                                when 9 then '结案'
                                end as 类型
                                ,* from OA_WorkLinkBillSub where HInterID = '" + HInterID + "'order by HDate desc";
                ds = oCN.RunProcReturn(sql, "OA_WorkLinkBillSub");
                foreach (DataColumn col in ds.Tables[0].Columns)
                {
                    Type dataType = col.DataType;
                    string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}";
                    columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//获取到DataColumn列对象的列名
                }
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "Sucess!";
                objJsonResult.data = ds.Tables[0];
                objJsonResult.list = columnNameList;
                return objJsonResult;
            }
            catch (Exception e)