|
|
@@ -1645,6 +1645,10 @@ public class Order extends Controller {
|
|
|
insertSQL.setValue("name", orderRow.getString("contact"));
|
|
|
insertSQL.setValue("phonenumber", orderRow.getString("phonenumber"));
|
|
|
insertSQL.setValue("address", orderRow.getString("address"));
|
|
|
+ insertSQL.setValue("province", orderRow.getString("province"));
|
|
|
+ insertSQL.setValue("city", orderRow.getString("city"));
|
|
|
+ insertSQL.setValue("county", orderRow.getString("county"));
|
|
|
+
|
|
|
|
|
|
insertSQL.setValue("tracknumber",enterprisefinancerow.getString(""));
|
|
|
insertSQL.setValue("isconfirm", 0);
|
|
|
@@ -1806,6 +1810,9 @@ public class Order extends Controller {
|
|
|
insertSQL.setValue("name", orderRow.getString("contact"));
|
|
|
insertSQL.setValue("phonenumber", orderRow.getString("phonenumber"));
|
|
|
insertSQL.setValue("address", orderRow.getString("address"));
|
|
|
+ insertSQL.setValue("province", orderRow.getString("province"));
|
|
|
+ insertSQL.setValue("city", orderRow.getString("city"));
|
|
|
+ insertSQL.setValue("county", orderRow.getString("county"));
|
|
|
insertSQL.setValue("tracknumber", "");
|
|
|
insertSQL.setValue("isconfirm", 0);
|
|
|
|
|
|
@@ -1896,7 +1903,7 @@ public class Order extends Controller {
|
|
|
JSONArray noneeddeliverys =content.getJSONArray("noneeddeliverys");
|
|
|
// String outplace=content.getString("outplace");
|
|
|
ArrayList<String> sqlList = new ArrayList<>();
|
|
|
- QuerySQL orderQuerySQL = SQLFactory.createQuerySQL(this, "sa_order","sa_orderid","sys_enterpriseid","sys_enterprise_financeid","rec_contactsid","logisticsmethod","invoicetaxno","invoicename","invoiceaddress","contact","address","phonenumber","remarks");
|
|
|
+ QuerySQL orderQuerySQL = SQLFactory.createQuerySQL(this, "sa_order","sa_orderid","sys_enterpriseid","sys_enterprise_financeid","rec_contactsid","logisticsmethod","invoicetaxno","invoicename","invoiceaddress","contact","address","phonenumber","province","city","county","remarks");
|
|
|
orderQuerySQL.setTableAlias("t1");
|
|
|
orderQuerySQL.addJoinTable(JOINTYPE.inner, "sa_orderitems", "t2", "t2.sa_orderid=t1.sa_orderid and t1.siteid=t2.siteid",
|
|
|
"sa_orderitemsid","itemid","undeliqty","defaultprice","itemno","itemname","model","price","delivery");
|
|
|
@@ -2083,6 +2090,9 @@ public class Order extends Controller {
|
|
|
insertSQL.setValue("name", orderdetailRows.get(0).getString("contact"));
|
|
|
insertSQL.setValue("phonenumber", orderdetailRows.get(0).getString("phonenumber"));
|
|
|
insertSQL.setValue("address", orderdetailRows.get(0).getString("address"));
|
|
|
+ insertSQL.setValue("province", orderdetailRows.get(0).getString("province"));
|
|
|
+ insertSQL.setValue("city", orderdetailRows.get(0).getString("city"));
|
|
|
+ insertSQL.setValue("county", orderdetailRows.get(0).getString("county"));
|
|
|
|
|
|
insertSQL.setValue("tracknumber", "");
|
|
|
insertSQL.setValue("isconfirm", 0);
|