فهرست منبع

发货单经销商查询添加企业id

hu 2 سال پیش
والد
کامیت
5f807963da
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/custom/restcontroller/webmanage/sale/dispatch/dispatch.java

+ 1 - 1
src/custom/restcontroller/webmanage/sale/dispatch/dispatch.java

@@ -307,7 +307,7 @@ public class dispatch extends Controller {
         }
         }
 
 
         //SQLFactory sqlFactory = new SQLFactory(this, "经销商合作企业查询", pageSize, pageNumber, pageSorting);
         //SQLFactory sqlFactory = new SQLFactory(this, "经销商合作企业查询", pageSize, pageNumber, pageSorting);
-        QuerySQL querySQL = SQLFactory.createQuerySQL(this, "sa_order");
+        QuerySQL querySQL = SQLFactory.createQuerySQL(this, "sa_order","sys_enterpriseid");
         querySQL.setTableAlias("t1");
         querySQL.setTableAlias("t1");
         querySQL.addJoinTable(JOINTYPE.inner, "sys_enterprise", "t3", "t3.sys_enterpriseid = t1.sys_enterpriseid and t3.siteid = t1.siteid",
         querySQL.addJoinTable(JOINTYPE.inner, "sys_enterprise", "t3", "t3.sys_enterpriseid = t1.sys_enterpriseid and t3.siteid = t1.siteid",
                 "enterprisename", "contact","address","province","city","phonenumber","county");
                 "enterprisename", "contact","address","province","city","phonenumber","county");