From 5a7936034ead831cdf69cdae3e46f8170516efc6 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期一, 22 十二月 2025 18:13:06 +0800
Subject: [PATCH] 1.组织架构增加是否末道工序报工字段:islastreport 2.报工调整增加工序编码查询字段:stepcode 3.报工调整增加批量改价接口 4.SOP上传增加文件大小校验
---
VueWebCoreApi/Quartz/HttpResultfulJob.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/VueWebCoreApi/Quartz/HttpResultfulJob.cs b/VueWebCoreApi/Quartz/HttpResultfulJob.cs
index c3aa4e5..55e05aa 100644
--- a/VueWebCoreApi/Quartz/HttpResultfulJob.cs
+++ b/VueWebCoreApi/Quartz/HttpResultfulJob.cs
@@ -67,14 +67,14 @@
try
{
- string logContent = $"{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}_{dateTime.ToString("yyyy-MM-dd HH:mm:ss")}_{(string.IsNullOrEmpty(httpMessage) ? "OK" : httpMessage)}\r\n";
+ string logContent = $"鎵撳嵃锛歿DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}_{dateTime.ToString("yyyy-MM-dd HH:mm:ss")}_{(string.IsNullOrEmpty(httpMessage) ? "OK" : httpMessage)}\r\n";
FileHelper.WriteFile(FileQuartz.LogPath + taskOptions.GroupName + "\\", $"{taskOptions.TaskName}.txt", logContent, true);
//await _hubContext.Clients.All.SendAsync("SendMessage绯荤粺閫氱煡:"+$"鏈�鏂版秷鎭瘂DateTime.Now}");
//await _hubContext.Clients.All.SendAll(logContent);
//鏌ユ壘绯荤粺鐢ㄦ埛
var sql = @"select usercode as code,username as name
from TUser
- where is_delete='0' and enable='Y' and password='123'";
+ where status='Y' and password='123'";
var data = DapperHelper.selecttable(sql);
var departmentIDs = data.AsEnumerable().Select(x => x.Field<string>("code")).ToList();//鑾峰彇鎺ㄩ�佷汉鍛樼紪鐮�
var FindPublicBaseDic = UserIdsStore.Ids.Where(d => departmentIDs.Contains(d.Value)).Select(x => x.Key).ToList(); //鍖归厤宸茬粡鐧诲綍鐨勬帹閫佷汉鍛榗onnectionIds
--
Gitblit v1.9.3