|
@@ -34,7 +34,8 @@
|
|
|
'guangfo' as created_by,a.create_time as created_date,'guangfo' as last_modified_by,
|
|
|
a.update_time as last_modified_date,b.brand_wxjsguid as wxjsguid,
|
|
|
a.old_part_no as jpjbh,a.old_part_name as jpjmc,1 as jpjsl,0 as jpjdj,0 as jpjje,a.new_part_no as xpjbh,
|
|
|
- a.new_part_name as xpjmc,a.new_part_price as xpjdj,a.new_part_count as xpjsl,a.new_part_count*a.new_part_price as xpjje,
|
|
|
+ a.new_part_name as xpjmc,a.new_part_price as xpjdj,a.new_part_count as xpjsl,
|
|
|
+ ifnull(a.new_part_count,0) * ifnull(a.new_part_price,0) as xpjje,
|
|
|
a.new_part_no as pjtm,'' as jgrtm,'' as xgrtm,
|
|
|
ifnull(a.repair_item_id,'') as jpjwxxmh,a.repair_item_name as jpjwxxmhmc
|
|
|
from order_repair_detail_reason a
|