浏览代码

修改交接时间

qinqi 2 月之前
父节点
当前提交
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 pd.goodsid =@GOODSID@
                                                                        -- and p.modeltype = '-5' 
                                                                        -- and p.modeltype = '-5' 
                                                                        -- and p.procedureid not in(126,152) 
                                                                        -- 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
                                                                         AND NOT EXISTS (SELECT s.barcode
                                                                             FROM tp_pm_logochangedrecord s
                                                                             FROM tp_pm_logochangedrecord s
                                                                             LEFT JOIN tp_pc_procedure p ON s.procedureid = p.procedureid
                                                                             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 pd.goodsid =@GOODSID@
                                                                        -- and p.modeltype = '-5' 
                                                                        -- and p.modeltype = '-5' 
                                                                        -- and p.procedureid not in(126,152) 
                                                                        -- 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
                                                                         AND NOT EXISTS (SELECT s.barcode
                                                                             FROM tp_pm_logochangedrecord s
                                                                             FROM tp_pm_logochangedrecord s
                                                                             LEFT JOIN tp_pc_procedure p ON s.procedureid = p.procedureid
                                                                             LEFT JOIN tp_pc_procedure p ON s.procedureid = p.procedureid