111
This commit is contained in:
@@ -341,10 +341,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
where x.JOT_JointNo.Contains("G") && x.BatchId == batchId && x.PointTypeStr == "1"
|
||||
select x).Count();
|
||||
oneGTrustCounts = oneGTrustCount.ToString();
|
||||
if (GjointCount != 0)
|
||||
{
|
||||
oneGtrustRate = (oneGTrustCount * 100.0 / oneTrustCount * 1.0).ToString("0.00") + "%";
|
||||
}
|
||||
|
||||
if (jointCount != 0)
|
||||
{
|
||||
totalCheckRate = (totalCheckCount * 100.0 / jointCount * 1.0).ToString("0.00") + "%";
|
||||
@@ -352,6 +349,11 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
chFixedJotCounts = chFixedJotCount.ToString();
|
||||
needCheckCount = Convert.ToInt32(Math.Ceiling(jointCount * Convert.ToDecimal(NDTR_Name.Replace("%", "")) / 100));
|
||||
needCheckCounts = needCheckCount.ToString();
|
||||
|
||||
if (needCheckCount != 0)
|
||||
{
|
||||
oneGtrustRate = (oneGTrustCount * 100.0 / needCheckCount * 1.0).ToString("0.00") + "%";
|
||||
}
|
||||
totalWeldCount = (from x in Funs.DB.HJGL_BO_BatchDetail
|
||||
join y in Funs.DB.HJGL_PW_JointInfo
|
||||
on x.JOT_ID equals y.JOT_ID
|
||||
|
||||
Reference in New Issue
Block a user