|
|
@@ -50,9 +50,9 @@ public class LSALogisticsHelper extends BaseClass {
|
|
|
insertSQL.setValue("siteid", controller.siteid);
|
|
|
insertSQL.setValue("status", "新建");
|
|
|
insertSQL.setValue("billno", controller.createBillCode("logisticsbill"));
|
|
|
- insertSQL.setValue("logisticno", controller.content.getString("logisticno"));
|
|
|
+ insertSQL.setValue("logisticno", controller.content.getStringValue("logisticno"));
|
|
|
insertSQL.setValue("sys_enterpriseid", controller.content.getLongValue("sys_enterpriseid"));
|
|
|
- insertSQL.setValue("sa_logiscompid", controller.content.getLong("sa_logiscompid"));
|
|
|
+ insertSQL.setValue("sa_logiscompid", controller.content.getLongValue("sa_logiscompid"));
|
|
|
insertSQL.setValue("billdate", controller.content.getString("billdate"));
|
|
|
insertSQL.setValue("remarks", controller.content.getStringValue("remarks"));
|
|
|
return insertSQL;
|
|
|
@@ -68,8 +68,8 @@ public class LSALogisticsHelper extends BaseClass {
|
|
|
*/
|
|
|
public static UpdateSQL update(Controller controller, Long sa_logisticsid) throws YosException {
|
|
|
UpdateSQL updateSQL = SQLFactory.createUpdateSQL(controller, tablename);
|
|
|
- updateSQL.setValue("logisticno", controller.content.getString("logisticno"));
|
|
|
- updateSQL.setValue("sa_logiscompid", controller.content.getLong("sa_logiscompid"));
|
|
|
+ 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("remarks", controller.content.getStringValue("remarks"));
|
|
|
updateSQL.setWhere("sa_logisticsid", sa_logisticsid);
|