qinqi 2 месяцев назад
Родитель
Сommit
858ad8a84e
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      wwwroot/main/Assemble/api/GetLogoData.ashx

+ 4 - 4
wwwroot/main/Assemble/api/GetLogoData.ashx

@@ -212,8 +212,8 @@ public class GetLogoData : IHttpHandler, IReadOnlySessionState
                                                                         and pd.goodsid =@GOODSID@
                                                                        -- and p.modeltype = '-5' 
                                                                        -- and p.procedureid not in(126,152) 
-                                                                         and pd.createtime >= trunc(plans1.begintime)
-                                                                        and pd.createtime < trunc(plans1.endtime)
+                                                                         and pd.FHTIME >= trunc(plans1.begintime)
+                                                                        and pd.FHTIME < trunc(plans1.endtime)
                                                                         AND NOT EXISTS (SELECT s.barcode
                                                                             FROM tp_pm_logochangedrecord s
                                                                             LEFT JOIN tp_pc_procedure p ON s.procedureid = p.procedureid
@@ -324,8 +324,8 @@ public class GetLogoData : IHttpHandler, IReadOnlySessionState
                                                                         and pd.goodsid =@GOODSID@
                                                                        -- and p.modeltype = '-5' 
                                                                        -- and p.procedureid not in(126,152) 
-                                                                         and pd.createtime >= trunc(plans1.begintime)
-                                                                        and pd.createtime < trunc(plans1.endtime)
+                                                                         and pd.FHTIME >= trunc(plans1.begintime)
+                                                                        and pd.FHTIME < trunc(plans1.endtime)
                                                                         AND NOT EXISTS (SELECT s.barcode
                                                                             FROM tp_pm_logochangedrecord s
                                                                             LEFT JOIN tp_pc_procedure p ON s.procedureid = p.procedureid