|
@@ -84,7 +84,7 @@ type ReportChapterTypeEditResp struct {
|
|
|
|
|
|
// GetReportChapterTypeByCondition 获取章节类型
|
|
|
func (r *ReportChapterType) GetReportChapterTypeByCondition(condition string, pars []interface{}) (items []*ReportChapterType, err error) {
|
|
|
- err = global.MYSQL["rddp"].Model(ReportChapterType{}).Where(condition, pars...).Scan(&items).Error
|
|
|
+ err = global.MYSQL["hz_crm"].Model(ReportChapterType{}).Where(condition, pars...).Scan(&items).Error
|
|
|
return
|
|
|
}
|
|
|
|