Commit 0c9fb4a7 by 泽锋 李

抓取调拨订单,bailunskus 字段超长

parent 2b7f6745
......@@ -871,7 +871,8 @@ where t1.gmt_create>=@btime and t1.gmt_create<=@etime ";
while (true)
{
var now = DateTime.Now;
var sql = @"select * from (
var sql = @"SET SESSION group_concat_max_len = 102400000;
select * from (
select t2.creationtime,t2.logisticscode,t2.isdeleted,t1.transfer_order_id,t1.box_id,GROUP_CONCAT(t1.bailun_sku,':',t3.weight) as 'bailun_skus',t1.warehouse_code,cost_first as 'sum_cost_first' from dc_base_cost_first as t1
left join dc_base_transfer_info as t2 on t1.transfer_order_id = t2.`code`
left join dc_base_sku as t3 on t1.bailun_sku = t3.bailun_sku
......
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