|
@@ -1421,12 +1421,12 @@ func GetMoveEdbChartCount(userId, countType int) (sourceMap map[int]int, err err
|
|
|
|
|
|
switch countType {
|
|
|
case 2:
|
|
|
- condition += ` AND source in (2,3,4,5) `
|
|
|
- // 平衡表
|
|
|
- condition += " AND (parent_id = 0 AND balance_type = 0)"
|
|
|
+ condition += ` AND source in (2,3,5) `
|
|
|
default:
|
|
|
- condition += ` AND source in (2,3,4) `
|
|
|
+ condition += ` AND source in (2,3,4,5) `
|
|
|
}
|
|
|
+ // 平衡表
|
|
|
+ condition += " AND (parent_id = 0 AND balance_type = 0)"
|
|
|
|
|
|
total, tmpErr := excel.GetExcelInfoCountByCondition(condition, pars)
|
|
|
if tmpErr != nil {
|