فهرست منبع

销售订单同步 时间报错问题

liuchaohui 2 سال پیش
والد
کامیت
706b06cf24
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/quartz/job/AddOrderJob.java

+ 2 - 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/quartz/job/AddOrderJob.java

@@ -501,7 +501,7 @@ public class AddOrderJob implements Job,ApplicationContextAware {
 //                    " left join Vendor v on p.supplierCode=v.cVenCode"+
 //                    " where s.iRowNo ="+syOrderDataVO.getPoIrowno() +" and ss.cSOCode='"+syOrderDataVO.getOmpoCode()+"'";
             String sql2 = "SELECT  " +
-                    "    ompoCode,ompoIdItem,ompoId,supplierCode,v.cVenAbbName as supplier,iTaxPrice,dArriveDate,guangpeiGateWidth " +account[2]+" as ompoAccount"+
+                    "    ompoCode,ompoIdItem,ompoId,supplierCode,v.cVenAbbName as supplier,iTaxPrice,dArriveDate,guangpeiGateWidth, " +account[2]+" as ompoAccount"+
                     "     FROM  " +
                     "     so_somain ss   " +
                     "     join SO_SODetails s on s.id=ss.id  " +
@@ -517,7 +517,7 @@ public class AddOrderJob implements Job,ApplicationContextAware {
                     " where s.iRowNo ="+syOrderDataVO.getPoIrowno() +" and ss.cSOCode='"+syOrderDataVO.getOmpoCode()+"'"+
                     "     union all  " +
                     "     SELECT  " +
-                    "    ompoCode,ompoIdItem,ompoId,supplierCode,v.cVenAbbName as supplier,iTaxPrice,dArriveDate,guangpeiGateWidth " +account[2]+" as ompoAccount"+
+                    "    ompoCode,ompoIdItem,ompoId,supplierCode,v.cVenAbbName as supplier,iTaxPrice,dArriveDate,guangpeiGateWidth, " +account[2]+" as ompoAccount"+
                     "     FROM  " +
                     "     so_somain ss   " +
                     "     join SO_SODetails s on s.id=ss.id  " +