|
@@ -674,14 +674,14 @@ func (this *TradeCommonController) HisugarExporthisugarList() {
|
|
|
}
|
|
|
if req.IsSelectedAll {
|
|
|
if len(req.IndexCode) > 0 {
|
|
|
- //condition += ` AND index_code NOT IN (` + utils.GetOrmInReplace(len(req.IndexCode)) + `)`
|
|
|
- condition += ` AND index_code NOT IN ? `
|
|
|
+ condition += ` AND index_code NOT IN (` + utils.GetOrmInReplace(len(req.IndexCode)) + `)`
|
|
|
+ //condition += ` AND index_code NOT IN ? `
|
|
|
pars = append(pars, req.IndexCode)
|
|
|
}
|
|
|
} else {
|
|
|
if len(req.IndexCode) > 0 {
|
|
|
- //condition += ` AND index_code IN (` + utils.GetOrmInReplace(len(req.IndexCode)) + `)`
|
|
|
- condition += ` AND index_code IN ?`
|
|
|
+ condition += ` AND index_code IN (` + utils.GetOrmInReplace(len(req.IndexCode)) + `)`
|
|
|
+ //condition += ` AND index_code IN ?`
|
|
|
pars = append(pars, req.IndexCode)
|
|
|
}
|
|
|
}
|
|
@@ -694,7 +694,7 @@ func (this *TradeCommonController) HisugarExporthisugarList() {
|
|
|
}
|
|
|
if classifyIds != "" {
|
|
|
//condition += ` AND classify_id IN (` + classifyIds + `)`
|
|
|
- condition += ` AND classify_id IN ?`
|
|
|
+ condition += ` AND classify_id IN (?)`
|
|
|
pars = append(pars, classifyIds)
|
|
|
}
|
|
|
}
|