Răsfoiți Sursa

施釉工和擦屁工的bug

姜永辉 10 luni în urmă
părinte
comite
8f7f5271fa
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      wwwroot/mes/rpt/rpt215/rpt.ashx
  2. 1 1
      wwwroot/mes/rpt/rpt216/rpt.ashx

+ 1 - 1
wwwroot/mes/rpt/rpt215/rpt.ashx

@@ -181,7 +181,7 @@ public class rpt : IHttpHandler, IReadOnlySessionState
                                             LEFT JOIN tp_hr_staff stf
                                             LEFT JOIN tp_hr_staff stf
                                               ON stf.staffid = cls.staffid
                                               ON stf.staffid = cls.staffid
                                             LEFT JOIN tp_mst_jobs jobs
                                             LEFT JOIN tp_mst_jobs jobs
-                                              ON jobs.jobsid = stf.jobs) pd  
+                                              ON jobs.jobsid = stf.jobs  where CLS.UJOBSID in(8,20) ) pd  
                                           )
                                           )
                                         SELECT * FROM(
                                         SELECT * FROM(
                                         SELECT
                                         SELECT

+ 1 - 1
wwwroot/mes/rpt/rpt216/rpt.ashx

@@ -182,7 +182,7 @@ public class rpt : IHttpHandler, IReadOnlySessionState
                                             LEFT JOIN tp_hr_staff stf
                                             LEFT JOIN tp_hr_staff stf
                                               ON stf.staffid = cls.staffid
                                               ON stf.staffid = cls.staffid
                                             LEFT JOIN tp_mst_jobs jobs
                                             LEFT JOIN tp_mst_jobs jobs
-                                              ON jobs.jobsid = stf.jobs) pd  
+                                              ON jobs.jobsid = stf.jobs  where     CLS.UJOBSID = 22 ) pd  
                                           )
                                           )
                                       SELECT * FROM(  
                                       SELECT * FROM(  
                                         SELECT
                                         SELECT