|
@@ -45,6 +45,17 @@ func GetCygxReportMappingCelueMaxDetail() (item *CygxReportMappingCelue, err err
|
|
|
return
|
|
|
}
|
|
|
|
|
|
+// 列表
|
|
|
+func GetCygxReportMappingList(condition string, pars []interface{}) (items []*CygxReportMappingCelueResp, err error) {
|
|
|
+ o := orm.NewOrm()
|
|
|
+ sql := `SELECT * FROM cygx_report_mapping WHERE 1= 1 `
|
|
|
+ if condition != "" {
|
|
|
+ sql += condition
|
|
|
+ }
|
|
|
+ _, err = o.Raw(sql, pars).QueryRows(&items)
|
|
|
+ return
|
|
|
+}
|
|
|
+
|
|
|
// 列表
|
|
|
func GetCygxReportMappingCelueList(condition string, pars []interface{}) (items []*CygxReportMappingCelueResp, err error) {
|
|
|
o := orm.NewOrm()
|