Explorar o código

物流管理和物流单优化调整(新增物流地址)

eganwu hai 1 ano
pai
achega
e39849b43b

+ 8 - 0
src/custom/restcontroller/webmanage/sale/logistics/LSALogisticsHelper.java

@@ -54,6 +54,10 @@ public class LSALogisticsHelper extends BaseClass {
         insertSQL.setValue("sys_enterpriseid", controller.content.getLongValue("sys_enterpriseid"));
         insertSQL.setValue("sa_logiscompid", controller.content.getLongValue("sa_logiscompid"));
         insertSQL.setValue("billdate", controller.content.getString("billdate"));
+        insertSQL.setValue("province", controller.content.getStringValue("province"));
+        insertSQL.setValue("city", controller.content.getStringValue("city"));
+        insertSQL.setValue("county", controller.content.getStringValue("county"));
+        insertSQL.setValue("address", controller.content.getStringValue("address"));
         insertSQL.setValue("remarks", controller.content.getStringValue("remarks"));
         return insertSQL;
     }
@@ -71,6 +75,10 @@ public class LSALogisticsHelper extends BaseClass {
         updateSQL.setValue("logisticno", controller.content.getStringValue("logisticno"));
         updateSQL.setValue("sa_logiscompid", controller.content.getLongValue("sa_logiscompid"));
         updateSQL.setValue("billdate", controller.content.getString("billdate"));
+        updateSQL.setValue("province", controller.content.getStringValue("province"));
+        updateSQL.setValue("city", controller.content.getStringValue("city"));
+        updateSQL.setValue("county", controller.content.getStringValue("county"));
+        updateSQL.setValue("address", controller.content.getStringValue("address"));
         updateSQL.setValue("remarks", controller.content.getStringValue("remarks"));
         updateSQL.setWhere("sa_logisticsid", sa_logisticsid);
         updateSQL.setWhere("siteid", controller.siteid);