|
@@ -457,8 +457,8 @@
|
|
|
<select id="getListWhereStartEnd" resultType="org.jeecg.modules.fbsWorkshopDispatchList.entity.FbsWorkshopDispatchList">
|
|
|
SELECT
|
|
|
*,
|
|
|
- CONVERT ( IFNULL( (latest_completed_quantity), 0 )*IFNULL( (standard_working_hours_z), 0 ) / IFNULL( ( man_hours_completed ), 0 ), DECIMAL ( 15, 2 ) ) * 100 as productionEfficiency,
|
|
|
- CONVERT ( IFNULL( (latest_completed_quantity), 0 ) / IFNULL( ( number_of_tasks ), 0 ), DECIMAL ( 15, 2 ) ) * 100 as achievementRate
|
|
|
+ CONVERT ( IFNULL( (latest_completed_quantity), 0 )*IFNULL( (standard_working_hours_z), 0 ) / IFNULL( ( man_hours_completed ), 0 ), DECIMAL ( 15, 0 ) ) * 100 as productionEfficiency,
|
|
|
+ CONVERT ( IFNULL( (latest_completed_quantity), 0 ) / IFNULL( ( number_of_tasks ), 0 ), DECIMAL ( 15, 0 ) ) * 100 as achievementRate
|
|
|
,(number_of_tasks-latest_completed_quantity) as remainingQuantity
|
|
|
FROM
|
|
|
fbs_workshop_dispatch_list
|