|
@@ -684,6 +684,8 @@ func (this *MySteelChemicalController) GetIndexCountByFrequency() {
|
|
|
pars = append(pars, req.EndDate)
|
|
|
}
|
|
|
|
|
|
+ condition += ` AND is_stop = 0 `
|
|
|
+
|
|
|
indexObj := new(models.BaseFromMysteelChemicalIndex)
|
|
|
// 获取未合并的指标总数量
|
|
|
indexTotal, err := indexObj.GetIndexCountByFrequency(condition, pars)
|
|
@@ -760,6 +762,8 @@ func (this *MySteelChemicalController) GetIndexPageByFrequency() {
|
|
|
pars = append(pars, req.EndDate)
|
|
|
}
|
|
|
|
|
|
+ condition += ` AND is_stop = 0 `
|
|
|
+
|
|
|
indexObj := new(models.BaseFromMysteelChemicalIndex)
|
|
|
// 获取未合并的指标总数量
|
|
|
indexTotal, err := indexObj.GetIndexPageByFrequency(condition, pars, req.StartSize, req.PageSize)
|