|
@@ -222,7 +222,7 @@ func DeleteIndustrialManagement(industrialManagementId int) (err error) {
|
|
|
// 获取产业数量
|
|
|
func GetIndustrialManagementInfo(industrialManagementId int) (item *CygxIndustrialManagement, err error) {
|
|
|
sqlCount := ` SELECT * FROM cygx_industrial_management WHERE industrial_management_id= ? `
|
|
|
- o := orm.NewOrm()
|
|
|
+ o := orm.NewOrmUsingDB("hz_cygx")
|
|
|
err = o.Raw(sqlCount, industrialManagementId).QueryRow(&item)
|
|
|
return
|
|
|
}
|