Commit 62b1ae50 by 泽锋 李

fix

parent 10f6fdcb
...@@ -1784,7 +1784,6 @@ left join dc_lms_order_transfer_current_node as t8 on t1.dataid = t8.data_id and ...@@ -1784,7 +1784,6 @@ left join dc_lms_order_transfer_current_node as t8 on t1.dataid = t8.data_id and
sql += " where t1.stateid !=5 and t2.deliverycount > t2.storagecount and t1.isdeleted=0 and t1.isexception=0 "; sql += " where t1.stateid !=5 and t2.deliverycount > t2.storagecount and t1.isdeleted=0 and t1.isexception=0 ";
} }
var countSql = @" var countSql = @"
select select
1 1
...@@ -1958,8 +1957,8 @@ left join dc_lms_order_transfer_current_node as t8 on t1.dataid = t8.data_id and ...@@ -1958,8 +1957,8 @@ left join dc_lms_order_transfer_current_node as t8 on t1.dataid = t8.data_id and
} }
else else
{ {
sql += " group by t2.sku,t8.transfer_no "; sql += " group by t1.`code`,t2.sku,t8.transfer_no ";
countSql += " group by t2.sku,t8.transfer_no "; countSql += " group by t1.`code`,t2.sku,t8.transfer_no ";
if (search_data.limit > 1000) if (search_data.limit > 1000)
{ {
total = 0; total = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment