|
|
@@ -87,16 +87,16 @@ func (s *ServiceOldDataShow) ParseInfoList2Excel(infoList []*dataStatistics.OldD
|
|
|
completeLc = 0
|
|
|
}
|
|
|
imcompleteNew := one.TargetNew - one.CompleteNew
|
|
|
- if targetLc < 0 {
|
|
|
- targetLc = 0
|
|
|
+ if imcompleteNew < 0 {
|
|
|
+ imcompleteNew = 0
|
|
|
}
|
|
|
imcompleteLc := targetLc - (one.CompleteActive - one.CompleteNew)
|
|
|
- if targetLc < 0 {
|
|
|
- targetLc = 0
|
|
|
+ if imcompleteLc < 0 {
|
|
|
+ imcompleteLc = 0
|
|
|
}
|
|
|
imcompletePay := one.TargetPay - one.CompletePay
|
|
|
- if targetLc < 0 {
|
|
|
- targetLc = 0
|
|
|
+ if imcompletePay < 0 {
|
|
|
+ imcompletePay = 0
|
|
|
}
|
|
|
err = excel.SetSheetRow("Sheet1", axis, &[]interface{}{
|
|
|
one.NewDate,
|