ZhiYeJianKang_PeiXun/Song.Site/App_Data/log/DataBase_20240205.txt
2025-02-20 15:41:53 +08:00

312 lines
23 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

V5.9.1.1 Record On : 2024-02-05 14:43:09 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&ddlPay=-1&ddlZW=-1&ddlScore=-1&ddlCounty=-1&tbQyName=德州能奥石油科技有限公司&tbAccName=&tbName=贾延斌 &tbMobile=&btnSear=&index=1 - 127.0.0.1
Referer : http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&ddlPay=-1&ddlZW=-1&ddlScore=-1&ddlCounty=-1&tbQyName=德州能奥石油科技有限公司&tbAccName=&tbName=&tbMobile=&btnSear=&index=1
MsSql Call Function::ExeDataReader():列名 'Ac_Name' 不明确。
MsSql.examweisha_dezhou.SQL:
select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id ,Ac_Name, max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id ,Ac_Name)
t2 on a.ac_id = t2.Ac_ID where 1=1 and AC_QyName like '%德州能奥石油科技有限公司%' and Ac_Name like '%贾延斌%'
ExeDataReader():列名 'Ac_Name' 不明确。
---------------------------------------
V5.9.1.1 Record On : 2024-02-05 14:43:14 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&ddlPay=-1&ddlZW=-1&ddlScore=-1&ddlCounty=-1&tbQyName=&tbAccName=&tbName=贾延斌&tbMobile=&btnSear=&index=1 - 127.0.0.1
Referer : http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&ddlPay=-1&ddlZW=-1&ddlScore=-1&ddlCounty=-1&tbQyName=德州能奥石油科技有限公司&tbAccName=&tbName=贾延斌&tbMobile=&btnSear=&index=1
MsSql Call Function::ExeDataReader():列名 'Ac_Name' 不明确。
MsSql.examweisha_dezhou.SQL:
select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id ,Ac_Name, max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id ,Ac_Name)
t2 on a.ac_id = t2.Ac_ID where 1=1 and Ac_Name like '%贾延斌%'
ExeDataReader():列名 'Ac_Name' 不明确。
---------------------------------------
V5.9.1.1 Record On : 2024-02-05 14:46:19 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&ddlPay=-1&ddlZW=-1&ddlScore=-1&ddlCounty=-1&tbQyName=德州能奥石油科技有限公司 &tbAccName=&tbName=董震 &tbMobile=&btnSear=&index=1 - 127.0.0.1
Referer : http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&ddlPay=-1&ddlZW=-1&ddlScore=-1&ddlCounty=-1&tbQyName=德州能奥石油科技有限公司 &tbAccName=&tbName=&tbMobile=&btnSear=&index=1
MsSql Call Function::ExeScalar():无法绑定由多个部分组成的标识符 "a.Ac_Name"。
MsSql.examweisha_dezhou.SQL:
select count(*) from (select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id ,Ac_Name, max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id ,Ac_Name)
t2 on a.ac_id = t2.Ac_ID) v where 1=1 and AC_QyName like '%德州能奥石油科技有限公司%' and a.Ac_Name like '%董震%'
ExeScalar():无法绑定由多个部分组成的标识符 "a.Ac_Name"。
---------------------------------------
V5.9.1.1 Record On : 2024-02-05 14:46:26 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&ddlPay=-1&ddlZW=-1&ddlScore=-1&ddlCounty=-1&tbQyName=&tbAccName=&tbName=董震&tbMobile=&btnSear=&index=1 - 127.0.0.1
Referer : http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&ddlPay=-1&ddlZW=-1&ddlScore=-1&ddlCounty=-1&tbQyName=德州能奥石油科技有限公司 &tbAccName=&tbName=董震&tbMobile=&btnSear=&index=1
MsSql Call Function::ExeScalar():无法绑定由多个部分组成的标识符 "a.Ac_Name"。
MsSql.examweisha_dezhou.SQL:
select count(*) from (select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id ,Ac_Name, max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id ,Ac_Name)
t2 on a.ac_id = t2.Ac_ID) v where 1=1 and a.Ac_Name like '%董震%'
ExeScalar():无法绑定由多个部分组成的标识符 "a.Ac_Name"。
---------------------------------------
V5.9.1.1 Record On : 2024-02-05 14:46:39 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&ddlPay=-1&ddlZW=-1&ddlScore=-1&ddlCounty=-1&tbQyName= &tbAccName=&tbName=迟健&tbMobile=&btnSear=&index=1 - 127.0.0.1
Referer : http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&ddlPay=-1&ddlZW=-1&ddlScore=-1&ddlCounty=-1&tbQyName=德州能奥石油科技有限公司 &tbAccName=&tbName=&tbMobile=&btnSear=&index=1
MsSql Call Function::ExeScalar():无法绑定由多个部分组成的标识符 "a.Ac_Name"。
MsSql.examweisha_dezhou.SQL:
select count(*) from (select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id ,Ac_Name, max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id ,Ac_Name)
t2 on a.ac_id = t2.Ac_ID) v where 1=1 and a.Ac_Name like '%迟健%'
ExeScalar():无法绑定由多个部分组成的标识符 "a.Ac_Name"。
---------------------------------------
V5.9.1.1 Record On : 2024-02-05 14:46:58 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&ddlPay=-1&ddlZW=-1&ddlScore=-1&ddlCounty=-1&tbQyName= &tbAccName=&tbName=迟健&tbMobile=&btnSear=&index=1 - 127.0.0.1
MsSql Call Function::ExeScalar():无法绑定由多个部分组成的标识符 "a.Ac_Name"。
MsSql.examweisha_dezhou.SQL:
select count(*) from (select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id ,Ac_Name, max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id ,Ac_Name)
t2 on a.ac_id = t2.Ac_ID) v where 1=1 and a.Ac_Name like '%迟健%'
ExeScalar():无法绑定由多个部分组成的标识符 "a.Ac_Name"。
---------------------------------------
V5.9.1.1 Record On : 2024-02-05 15:12:10 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&index=335 - 127.0.0.1
Referer : http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&index=338
MySql Call Function::MySql.OpenCon():Unable to connect to any of the specified MySQL hosts.
---------------------------------------
V5.9.1.1 Record On : 2024-02-05 15:16:33 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&index=1&ddlPay=-1&ddlZW=-1&ddlScore=-1&ddlCounty=-1&tbQyName=&tbAccName=&tbName=迟健&tbMobile=&btnSear= - 127.0.0.1
Referer : http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&index=4
MsSql Call Function::ExeScalar():无法绑定由多个部分组成的标识符 "a.Ac_Name"。
MsSql.examweisha_dezhou.SQL:
select count(*) from (select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id ,Ac_Name, max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id ,Ac_Name)
t2 on a.ac_id = t2.Ac_ID) v where 1=1 and a.Ac_Name like '%迟健%'
ExeScalar():无法绑定由多个部分组成的标识符 "a.Ac_Name"。
---------------------------------------
V5.9.1.1 Record On : 2024-02-05 15:19:34 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544&index=1&ddlPay=-1&ddlZW=-1&ddlScore=-1&ddlCounty=-1&tbQyName=&tbAccName=&tbName=迟健&tbMobile=&btnSear= - 127.0.0.1
MsSql Call Function::ExeScalar():无法绑定由多个部分组成的标识符 "a.Ac_Name"。
MsSql.examweisha_dezhou.SQL:
select count(*) from (select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id , max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id )
t2 on a.ac_id = t2.Ac_ID) v where 1=1 and a.Ac_Name like '%迟健%'
ExeScalar():无法绑定由多个部分组成的标识符 "a.Ac_Name"。
---------------------------------------
V5.9.1.1 Record On : 2024-02-05 15:26:47 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544 - 127.0.0.1
Referer : http://localhost:55555/Admin/panel.ashx?mmid=701
MsSql Call Function::ExeDataReader():列名 'ac_id' 无效。
MsSql.examweisha_dezhou.SQL:
select top 20 * from (select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id , max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id )
t2 on a.ac_id = t2.Ac_ID) v where 1=1 order by ac_id asc
MsSql.examweisha_dezhou.SQL:
select count(*) from (select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id , max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id )
t2 on a.ac_id = t2.Ac_ID) v
execute time is: 2.471 (ms)<hr />ExeDataReader():列名 'ac_id' 无效。
---------------------------------------
V5.9.1.1 Record On : 2024-02-05 15:28:22 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544 - 127.0.0.1
Referer : http://localhost:55555/Admin/panel.ashx?mmid=701
[Exception]:列名 'ac_id' 不明确。:
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
在 CYQ.Data.SQL.TableSchema.GetViewColumns(String sqlText, DalBase& helper) 位置 E:\0.CodeCode\1.ZhiYeJianKang\PeiXun\cyqdata-master\SQL\Schema\TableSchema.cs:行号 480
在 CYQ.Data.SQL.TableSchema.GetColumns(String tableName, String conn, Boolean isIgnoreCache) 位置 E:\0.CodeCode\1.ZhiYeJianKang\PeiXun\cyqdata-master\SQL\Schema\TableSchema.cs:行号 135
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
在 CYQ.Data.SQL.TableSchema.GetViewColumns(String sqlText, DalBase& helper) 位置 E:\0.CodeCode\1.ZhiYeJianKang\PeiXun\cyqdata-master\SQL\Schema\TableSchema.cs:行号 480
在 CYQ.Data.SQL.TableSchema.GetColumns(String tableName, String conn, Boolean isIgnoreCache) 位置 E:\0.CodeCode\1.ZhiYeJianKang\PeiXun\cyqdata-master\SQL\Schema\TableSchema.cs:行号 135
---------------------------------------
V5.9.1.1 Record On : 2024-02-05 15:39:13 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544 - 127.0.0.1
Referer : http://localhost:55555/Admin/panel.ashx?mmid=701
MsSql Call Function::ExeDataReader():无法绑定由多个部分组成的标识符 "a.ac_id"。
MsSql.examweisha_dezhou.SQL:
select top 20 * from (select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id , max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id )
t2 on a.ac_id = t2.Ac_ID) v where 1=1 order by a.ac_id asc
MsSql.examweisha_dezhou.SQL:
select count(*) from (select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id , max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id )
t2 on a.ac_id = t2.Ac_ID) v
execute time is: 2.2459 (ms)<hr />ExeDataReader():无法绑定由多个部分组成的标识符 "a.ac_id"。
---------------------------------------
V5.9.1.1 Record On : 2024-02-05 15:41:11 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544 - 127.0.0.1
Referer : http://localhost:55555/Admin/panel.ashx?mmid=701
MsSql Call Function::ExeScalar():除非另外还指定了 TOP、OFFSET 或 FOR XML否则ORDER BY 子句在视图、内联函数、派生表、子查询和公用表表达式中无效。
MsSql.examweisha_dezhou.SQL:
select count(*) from (select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id , max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id )
t2 on a.ac_id = t2.Ac_ID order by a.ac_id) v where 1=1
ExeScalar():除非另外还指定了 TOP、OFFSET 或 FOR XML否则ORDER BY 子句在视图、内联函数、派生表、子查询和公用表表达式中无效。
---------------------------------------
V5.9.1.1 Record On : 2024-02-05 15:51:03 : GET http://localhost:55555/manage/ext/peixuntongji.aspx?sharekeyid=18544 - 127.0.0.1
Referer : http://localhost:55555/Admin/panel.ashx?mmid=701
MsSql Call Function::ExeScalar():除非另外还指定了 TOP、OFFSET 或 FOR XML否则ORDER BY 子句在视图、内联函数、派生表、子查询和公用表表达式中无效。
MsSql.examweisha_dezhou.SQL:
select count(*) from (select a.Ac_Name,a.Ac_AccName,Ac_MobiTel1,AC_QYID,AC_QyName,County_Name as QX,Street_Name as JZ,County_Code,
case when AC_Type='main' then '主要负责人'
when ac_type='manager' then '职业卫生管理人'
when ac_type='worker' then '劳动者' else '无' end as ZW,
case when ac_pay=0 then '未缴费' else '已缴费' end as pay,
isnull(t2.sc,0) as scc,ac_type,ac_pay
from Accounts a
left join
(select ac_id , max(exr_scorefinal) as sc from ExamResults where DATEDIFF(year, Exr_SubmitTime,getdate())=0 group by ac_id )
t2 on a.ac_id = t2.Ac_ID order by a.ac_id) v where 1=1
ExeScalar():除非另外还指定了 TOP、OFFSET 或 FOR XML否则ORDER BY 子句在视图、内联函数、派生表、子查询和公用表表达式中无效。
---------------------------------------