作者 Your Name

调整

... ... @@ -162,6 +162,7 @@ type RewardSummaryMonth struct {
AccidentNum2 string `json:"accidentNum2"` //安全事故 次数
YieldAvg string `json:"yieldAvg"` //平均产效
YieldMax string `json:"yieldMax"` //产效历史最佳
UpToStandard string `json:"upToStandard"` //合格率
AmountFine string `json:"amountFine"` //惩,的金额
AmountReward string `json:"amountReward"` //奖,的金额
AmountFinal string `json:"amountFinal"` //最终的 奖惩结果
... ... @@ -184,7 +185,8 @@ count(accident_amount2) as accident_amount2,
'13' as yield_max,
'-39' as amount_fine,
'25' as amount_reward,
'-14' as amount_final
'-14' as amount_final,
'12' as up_to_standard,
FROM manufacture.reward_summary
WHERE company_id=?
and org_id=?
... ...