|
@@ -946,7 +946,7 @@ func (this *TargetController) ExportDataList() {
|
|
keyWord := this.GetString("KeyWord")
|
|
keyWord := this.GetString("KeyWord")
|
|
startDate := this.GetString("StartDate")
|
|
startDate := this.GetString("StartDate")
|
|
endDate := this.GetString("EndDate")
|
|
endDate := this.GetString("EndDate")
|
|
- //frequency := this.GetString("Frequency")
|
|
|
|
|
|
+ frequency := this.GetString("Frequency")
|
|
classifyId, _ := this.GetInt("ClassifyId") //分类
|
|
classifyId, _ := this.GetInt("ClassifyId") //分类
|
|
mobile := this.GetString("Mobile") //分类
|
|
mobile := this.GetString("Mobile") //分类
|
|
tradeCode := this.GetString("TradeCode") //指标唯一编码
|
|
tradeCode := this.GetString("TradeCode") //指标唯一编码
|
|
@@ -971,10 +971,10 @@ func (this *TargetController) ExportDataList() {
|
|
condition += ` AND c.DT <= ? `
|
|
condition += ` AND c.DT <= ? `
|
|
pars = append(pars, endDate)
|
|
pars = append(pars, endDate)
|
|
}
|
|
}
|
|
- //if frequency != "" {
|
|
|
|
- // condition += ` AND a.frequency = ? `
|
|
|
|
- // pars = append(pars, frequency)
|
|
|
|
- //}
|
|
|
|
|
|
+ if frequency != "" {
|
|
|
|
+ condition += ` AND a.frequency = ? `
|
|
|
|
+ pars = append(pars, frequency)
|
|
|
|
+ }
|
|
permissionUserId := sysUser.AdminId
|
|
permissionUserId := sysUser.AdminId
|
|
if sysUser.RoleTypeCode == utils.ROLE_TYPE_CODE_ADMIN {
|
|
if sysUser.RoleTypeCode == utils.ROLE_TYPE_CODE_ADMIN {
|
|
permissionUserId = 0
|
|
permissionUserId = 0
|