YL2767 6 days ago
parent
commit
71e42b2ea9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/resource/mapper/ware/OutRecordMapper.xml

+ 1
- 1
src/main/resource/mapper/ware/OutRecordMapper.xml View File

435
     select
435
     select
436
       sum(t.count) as total_amount
436
       sum(t.count) as total_amount
437
       ,sum(t.weight) as total_weight
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
     where  t.ware_name  like concat('%',#{param1,jdbcType=VARCHAR},'%')
439
     where  t.ware_name  like concat('%',#{param1,jdbcType=VARCHAR},'%')
440
     and t.stack_name like concat('%',#{param2,jdbcType=VARCHAR},'%')
440
     and t.stack_name like concat('%',#{param2,jdbcType=VARCHAR},'%')
441
     and t.model like concat('%',#{param3,jdbcType=INTEGER},'%')
441
     and t.model like concat('%',#{param3,jdbcType=INTEGER},'%')

Loading…
Cancel
Save