|
@ -1152,7 +1152,7 @@ func (impl *CustOrderServiceImplement) SelectTeamTemPo(user *global.User, dayMod |
|
|
TeamTemPoNumber = utils.Decimal(float64(packTimes)/float64(countPack), 2) |
|
|
TeamTemPoNumber = utils.Decimal(float64(packTimes)/float64(countPack), 2) |
|
|
packHours := float64(packTimes) / float64(3600) |
|
|
packHours := float64(packTimes) / float64(3600) |
|
|
if packHours > 0 { |
|
|
if packHours > 0 { |
|
|
PerTeamTemPoNumber = utils.Decimal(float64(countPack)*jPHPercent/float64(num)/float64(packHours), 3) |
|
|
|
|
|
|
|
|
PerTeamTemPoNumber = utils.Decimal(float64(countPack)/float64(num)/float64(packHours), 3) |
|
|
} else { |
|
|
} else { |
|
|
PerTeamTemPoNumber = 0 |
|
|
PerTeamTemPoNumber = 0 |
|
|
} |
|
|
} |
|
|