|
|
@@ -70,7 +70,12 @@ public class dispatch extends Controller {
|
|
|
// 物流公司档案ID
|
|
|
//sqlFactory.addParameter("sa_logiscompid", rowsinfo.get(0).getLong("sa_logiscompid"));
|
|
|
// 合作企业联系人表ID(收货信息)
|
|
|
- sqlFactory.addParameter("rec_contactsid", rowsinfo.get(0).getLong("contactsid"));
|
|
|
+ if(!rowsinfo.isEmpty()){
|
|
|
+ sqlFactory.addParameter("rec_contactsid", rowsinfo.get(0).getLong("contactsid"));
|
|
|
+ }else {
|
|
|
+ sqlFactory.addParameter("rec_contactsid",0);
|
|
|
+ }
|
|
|
+
|
|
|
//运费状态
|
|
|
sqlFactory.addParameter("freightstatus","");
|
|
|
sqlFactory.addParameter("remarks",remarks);
|