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@wv6Osb-g~85mMbTcm16E>Mrf(i-2(=fMmGU}ZXt
zj0;$sOqrd!O5?T(JCVukOjJXbX
zCkT&1OU=!gs}t+(5L|yd`}>Iw&oj1Y8=WQE#mW+^VY!?Sf!1n)>NcovjSqgA$#0dV
zV{2k78(MRsy}4NzOqG?1^!tC2MJGdENRe=gOv;gEQXk#(%rFF6WX3w27qjh>uS6Az-ZL_Df
zre~ee(>n9?IbEmEn%&)O{+oJt
znfW!GPnOG-xkVLtWjJm{^UHF%)qJ-vW1PvzHv$;r_(agEE#v|7KaK>AS&!+o`UgSyV{k^E;u!+vYF8gAnd~MT#9r;>Z{9KIZ8d`xo|2<*;
z>KGg>a{S>x^^~7sKnY7VzK1&WZyAajsHU-hUx6Jw9|W~yAHNMdd;XgstvXT5*I5PB
z^ATWH_WgoDpD^cus0NIFv~5pg;TCmL{^c=9ix@HqnCOmZK4ArW7*WQ2V6
z*$B5ms9fT9nVeFTuYk(D@l~V?j`>HKrok_l+nk3sxSOw#W4fHI@aYPFe7;x{e3p{O
zlW!f$oRw*};fy7R{|F~hqtVAI;BOafmWnS|_+(@|&hW7SiKIheNjgl)6Py7haoWSj
zY4Xz_IM8H0t@UW}NelDi>zPYRV<+Nks_09d0`=guh;Nb0l8{{4`g)ordK!v5TwB9+
vHAmVkhCcb8ny+YckU9yg8mi^t?VyhTS%0^x-wV5B{{Jko{=YPTod*6Fui7_=
literal 0
HcmV?d00001
diff --git a/PaintingScreen/Handler/Function.cs b/PaintingScreen/Handler/Function.cs
index 70e246b..c2be4af 100644
--- a/PaintingScreen/Handler/Function.cs
+++ b/PaintingScreen/Handler/Function.cs
@@ -56,7 +56,7 @@ namespace PaintingScreen.Handler
-- 一次合格数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #a
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE InspectTimes = '1' AND " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC
@@ -64,7 +64,7 @@ namespace PaintingScreen.Handler
-- 总合格数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #b
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC
@@ -72,7 +72,7 @@ namespace PaintingScreen.Handler
--总下线数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #c
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult in ('[合格]','[抛光]','报废') AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC
@@ -158,7 +158,7 @@ namespace PaintingScreen.Handler
-- 一次合格数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #a
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE InspectTimes = '1' AND " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC
@@ -166,7 +166,7 @@ namespace PaintingScreen.Handler
-- 总合格数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #b
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC
@@ -176,13 +176,13 @@ namespace PaintingScreen.Handler
(
SELECT num, productInfo FROM
(SELECT COUNT(DISTINCT barcode) num, productInfo
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[报废]'
AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo) a
UNION
SELECT * FROM (SELECT COUNT(DISTINCT barcode) num, productInfo
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != ''
AND stationNo = 'S10' AND inspectResult <> '[合格]'
AND SUBSTRING(productInfo,1,1) != ','
@@ -193,7 +193,7 @@ namespace PaintingScreen.Handler
--总下线数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #c
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult in ('[合格]','[抛光]','报废') AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC
@@ -307,7 +307,7 @@ namespace PaintingScreen.Handler
-- 一次合格数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #a
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE InspectTimes = '1' AND " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC;
@@ -315,7 +315,7 @@ namespace PaintingScreen.Handler
-- 总合格数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #b
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC;
@@ -323,7 +323,7 @@ namespace PaintingScreen.Handler
--总下线数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #c
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult in ('[合格]','[抛光]','[报废]') AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC;
@@ -465,7 +465,7 @@ namespace PaintingScreen.Handler
-- 总合格数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #a
- FROM [tb_InspectResult]
+ FROM [tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC;
@@ -473,7 +473,7 @@ namespace PaintingScreen.Handler
--总下线数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #b
- FROM [tb_InspectResult]
+ FROM [tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult in ('[合格]','[抛光]','[报废]') AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC;
@@ -491,7 +491,7 @@ namespace PaintingScreen.Handler
,[reason]
,[productInfo]
INTO #result
- FROM [tb_InspectResult]
+ FROM [tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @"
AND inspectResult = '[抛光]' AND reason <> '' AND reason IS NOT NULL;
@@ -620,7 +620,7 @@ namespace PaintingScreen.Handler
-- 一次合格数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #a
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE InspectTimes = '1' AND " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC
@@ -628,7 +628,7 @@ namespace PaintingScreen.Handler
-- 总合格数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #b
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC
@@ -638,13 +638,13 @@ namespace PaintingScreen.Handler
(
SELECT num, productInfo FROM
(SELECT COUNT(DISTINCT barcode) num, productInfo
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[报废]'
AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo) a
UNION
SELECT * FROM (SELECT COUNT(DISTINCT barcode) num, productInfo
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != ''
AND stationNo = 'S10' AND inspectResult <> '[合格]'
AND SUBSTRING(productInfo,1,1) != ','
@@ -655,7 +655,7 @@ namespace PaintingScreen.Handler
--总下线数
SELECT COUNT(DISTINCT barcode) num, productInfo
INTO #c
- FROM [BBMPT].[dbo].[tb_InspectResult]
+ FROM [BBMPT].[dbo].[tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult in ('[合格]','[抛光]','报废') AND SUBSTRING(productInfo,1,1) != ','
GROUP BY productInfo
ORDER BY productInfo DESC
@@ -735,7 +735,7 @@ namespace PaintingScreen.Handler
,[DefectName5]
,[defectRate5]
,ROW_NUMBER() OVER(ORDER BY color,productInfo) xh
- FROM [tb_ReportPaintingScreen_pg]
+ FROM [tb_ReportPaintingScreen_pg]
) t
WHERE t.xh between @pageSize*(@pageIndex - 1)+1 and @pageSize*@pageIndex
";
@@ -809,7 +809,7 @@ namespace PaintingScreen.Handler
,[reason]
,[productInfo]
INTO #result
- FROM [tb_InspectResult]
+ FROM [tb_InspectResult] with(nolock)
WHERE " + GetQueryTime() + @"
AND inspectResult = '[抛光]' AND reason <> '' AND reason IS NOT NULL;
diff --git a/PaintingScreen/Manage/CodeInput.html b/PaintingScreen/Manage/CodeInput.html
new file mode 100644
index 0000000..3e9ec78
--- /dev/null
+++ b/PaintingScreen/Manage/CodeInput.html
@@ -0,0 +1,123 @@
+
+
+
+
+ 模具信息
+
+
+
+
+
+
+
+
+
+ 模具信息 |
+ 注塑机吨位 | | 模具寿命 | | 供应商 | |
+ 技术参数 |
+ 项目 | 数据 | 项目 | 数据 |
+ 零件重量 | | 注塑周期 | |
+ 定位环尺寸 | | 顶出形式 | |
+ 模具重量 | | 流道形式 | |
+ 型腔数 | | 模具尺寸 | |
+ 工程更改 |
+ 更改目的 | E/Q状态E/Qstate | 状态更新时间 | 供应商 | 备注 |
+ | | | |
+ | | | |
+ | | | |
+ | | | |
+ | | | |
+ | | | |
+
+
+
+
diff --git a/PaintingScreen/Manage/PaintingResultScreen1.html b/PaintingScreen/Manage/PaintingResultScreen1.html
index d23f729..7221a9f 100644
--- a/PaintingScreen/Manage/PaintingResultScreen1.html
+++ b/PaintingScreen/Manage/PaintingResultScreen1.html
@@ -11,68 +11,67 @@
@@ -91,7 +90,7 @@
|
diff --git a/PaintingScreen/Manage/PaintingResultScreen2.html b/PaintingScreen/Manage/PaintingResultScreen2.html
index ba95d40..b6ca4b5 100644
--- a/PaintingScreen/Manage/PaintingResultScreen2.html
+++ b/PaintingScreen/Manage/PaintingResultScreen2.html
@@ -12,72 +12,89 @@
@@ -89,9 +106,9 @@
![]() | 喷涂下线合格率看板 | |
-->
-
+
- 颜色 | 型号 | 下线数 | 一次合格数 | 一次合格率 | 总合格数 | 总合格率 |
+ 颜色2 | 型号 | 下线数 | 一次合格数 | 一次合格率 | 总合格数 | 总合格率 |
|
diff --git a/PaintingScreen/Manage/PaintingScreenPaoGuang.html b/PaintingScreen/Manage/PaintingScreenPaoGuang.html
index 368643e..362670b 100644
--- a/PaintingScreen/Manage/PaintingScreenPaoGuang.html
+++ b/PaintingScreen/Manage/PaintingScreenPaoGuang.html
@@ -11,11 +11,27 @@
@@ -107,8 +107,7 @@
success: function (result) {
var res = result["result"];
- for (var i = 0; i < res.length; i++)
- {
+ for (var i = 0; i < res.length; i++) {
$("td[name='contentS" + (i + 1) + "']").text(res[i].StationNo);
$("td[name='contentM" + (i + 1) + "']").text(res[i].ModelName);
$("td[name='contentP" + (i + 1) + "']").text(res[i].ProductName);
@@ -121,8 +120,7 @@
})
}
- function Redirect()
- {
+ function Redirect() {
window.open('CodeInput.html');
}
@@ -146,7 +144,7 @@
| | | | | | |
| | | | | | |
| | | | | | |
- |
+ |
diff --git a/PaintingScreen/PaintingScreen.csproj b/PaintingScreen/PaintingScreen.csproj
index 59bdb7a..d29e6d7 100644
--- a/PaintingScreen/PaintingScreen.csproj
+++ b/PaintingScreen/PaintingScreen.csproj
@@ -16,9 +16,11 @@
v4.5
true
-
-
+ enabled
+ enabled
+
+
true
diff --git a/PaintingScreen/bin/Handler/Handler.ashx b/PaintingScreen/bin/Handler/Handler.ashx
index 13adf1b..92997da 100644
--- a/PaintingScreen/bin/Handler/Handler.ashx
+++ b/PaintingScreen/bin/Handler/Handler.ashx
@@ -19,10 +19,10 @@ public class Handler : IHttpHandler {
switch (method)
{
- case "GetTable1":
+ case "GetTable1": //PaintingResultScreen1
GetTable1();
break;
- case "GetTableSum":
+ case "GetTableSum": //PaintingResultScreen2 PaintingResultScreen1
GetTableSum();
break;
case "CreateTable":
@@ -31,21 +31,21 @@ public class Handler : IHttpHandler {
case "CreateMiddleTable":
CreateMiddleTable();
break;
- case "GetMiddleTableData":
+ case "GetMiddleTableData": //PaintingResultScreen2
string page = Request.Params["page"];
GetMiddleTableData(page);
break;
case "CreateTablePaoGuang":
CreateTablePaoGuang();
break;
- case "GetTableSumPaoGuang":
+ case "GetTableSumPaoGuang": //PaintingScreenPaoGuang
GetTableSumPaoGuang();
break;
- case "GetMiddleTablePaoGuang":
+ case "GetMiddleTablePaoGuang": //PaintingScreenPaoGuang
string pagePG = Request.Params["page"];
GetMiddleTablePaoGuang(pagePG);
break;
- case "GetSumRateTable":
+ case "GetSumRateTable"://PaintingScreenPaoGuang
GetSumRateTable();
break;
default: