YL2767 6 天前
父节点
当前提交
71e42b2ea9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/main/resource/mapper/ware/OutRecordMapper.xml

+ 1
- 1
src/main/resource/mapper/ware/OutRecordMapper.xml 查看文件

@@ -435,7 +435,7 @@
435 435
     select
436 436
       sum(t.count) as total_amount
437 437
       ,sum(t.weight) as total_weight
438
-    from t_ware_out_record t,t_ware_distribution p,t_ware_in_record d LEFT JOIN t_maint_customer e on d.fk_compony_name = e.id
438
+    from t_ware_out_record t LEFT JOIN t_maint_customer e on t.fk_compony_name = e.id,t_ware_distribution p,t_ware_in_record d
439 439
     where  t.ware_name  like concat('%',#{param1,jdbcType=VARCHAR},'%')
440 440
     and t.stack_name like concat('%',#{param2,jdbcType=VARCHAR},'%')
441 441
     and t.model like concat('%',#{param3,jdbcType=INTEGER},'%')

正在加载...
取消
保存