最终解决办法:查询结果在输出之前要转换成文本或字符串类型。如果使用SQL写的表输入步骤,可以在SQL里做字段类型转换。如我的修改为:
需要将日期进行字符串转换 date_format(FROM_UNIXTIME(last_modify),‘%Y-%m-%d %H:%i:%s‘),这样就可以正确输出了。
同时,我这边使用where (stock_id)%(${Internal.Step.Unique.Count}) = ${Internal.Step.Unique.Number} and FROM_UNIXTIME(last_modify)<‘2020-05-24‘ 多线程处理,
导出速度更快了。
原文:https://www.cnblogs.com/purple5252/p/12955760.html