wangbao_clue表数据有12w+,导出结果就40条,配置如图:
关联类型改为left
改了left后提示 ltrim(): Passing null to parameter #1 ($string) of type string is deprecated。我就把导出字段仅选择了id,和关联表的source字段(source没有空值和空格)。
值不能为null,这是一个bug,在ltrim前排除null就可以了
条件查询不对
设置id=1可以导出一条,设置id>1,提示:ltrim(): Passing null to parameter #1 ($string) of type string is deprecated
关联类型改为left
改了left后提示 ltrim(): Passing null to parameter #1 ($string) of type string is deprecated。我就把导出字段仅选择了id,和关联表的source字段(source没有空值和空格)。


值不能为null,这是一个bug,在ltrim前排除null就可以了
条件查询不对
设置id=1可以导出一条,设置id>1,提示:ltrim(): Passing null to parameter #1 ($string) of type string is deprecated
- 1
前往