|
@@ -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},'%')
|