|
|
@ -17,8 +17,8 @@ import (
|
|
|
|
// @Description json:"`consume_systemid`" xorm:"not null comment('数据使用系统编码') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
|
|
|
|
// @Description json:"`consume_systemid`" xorm:"not null comment('数据使用系统编码') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
|
|
|
|
// @Description json:"query_flag" xorm:"not null default 1 comment('可查【1:是,-1:否】') INT(11)" example:"1"
|
|
|
|
// @Description json:"query_flag" xorm:"not null default 1 comment('可查【1:是,-1:否】') INT(11)" example:"1"
|
|
|
|
// @Description json:"set_flag" xorm:"not null default -1 comment('可修改【1:是,-1:否】') INT(11)" example:"1"
|
|
|
|
// @Description json:"set_flag" xorm:"not null default -1 comment('可修改【1:是,-1:否】') INT(11)" example:"1"
|
|
|
|
// @Description json:"consume_type" xorm:"not null comment('使用数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)" example:"-1"
|
|
|
|
// @Description `*`json:"consume_type" xorm:"not null comment('使用数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)" example:"-1"
|
|
|
|
// @Description json:"`consume_orgid`" xorm:"not null comment('使用数据机构编码【-1:不限制】') index VARCHAR(36)" example:"-1"
|
|
|
|
// @Description `*`json:"consume_orgid" xorm:"not null comment('使用数据机构ID【-1:不限制】') index VARCHAR(36)" example:"-1"
|
|
|
|
// @Description json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
@ -72,14 +72,14 @@ func ReadDataaccess(c *gin.Context) {
|
|
|
|
|
|
|
|
|
|
|
|
// 创建数据订阅 godoc
|
|
|
|
// 创建数据订阅 godoc
|
|
|
|
// @Summary 创建数据订阅
|
|
|
|
// @Summary 创建数据订阅
|
|
|
|
// @Description json:"datasource_id" xorm:"not null comment('数据源ID') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
|
|
|
|
// @Description `*`json:"datasource_id" xorm:"not null comment('数据源ID') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
|
|
|
|
// @Description json:"datasource_code" xorm:"comment('数据源编码') default 'NULL' VARCHAR(255)"
|
|
|
|
// @Description `*`json:"datasource_code" xorm:"comment('数据源编码') default 'NULL' VARCHAR(255)"
|
|
|
|
// @Description json:"`source_systemid`" xorm:"not null comment('源系统编码') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
|
|
|
|
// @Description `*`json:"`source_systemid`" xorm:"not null comment('源系统编码') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
|
|
|
|
// @Description json:"`consume_systemid`" xorm:"not null comment('数据使用系统编码') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
|
|
|
|
// @Description `*`json:"`consume_systemid`" xorm:"not null comment('数据使用系统编码') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
|
|
|
|
// @Description json:"query_flag" xorm:"not null default 1 comment('可查【1:是,-1:否】') INT(11)" example:"1"
|
|
|
|
// @Description json:"query_flag" xorm:"not null default 1 comment('可查【1:是,-1:否】') INT(11)" example:"1"
|
|
|
|
// @Description json:"set_flag" xorm:"not null default -1 comment('可修改【1:是,-1:否】') INT(11)" example:"1"
|
|
|
|
// @Description json:"set_flag" xorm:"not null default -1 comment('可修改【1:是,-1:否】') INT(11)" example:"1"
|
|
|
|
// @Description json:"consume_type" xorm:"not null comment('使用数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)" example:"-1"
|
|
|
|
// @Description `*`json:"consume_type" xorm:"not null comment('使用数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)" example:"-1"
|
|
|
|
// @Description json:"`consume_orgid`" xorm:"not null comment('使用数据机构编码【-1:不限制】') index VARCHAR(36)" example:"-1"
|
|
|
|
// @Description `*`json:"consume_orgid" xorm:"not null comment('使用数据机构ID【-1:不限制】') index VARCHAR(36)" example:"-1"
|
|
|
|
// @Description json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
@ -133,7 +133,7 @@ func CreateDataaccess(c *gin.Context) {
|
|
|
|
// @Description json:"query_flag" xorm:"not null default 1 comment('可查【1:是,-1:否】') INT(11)" example:"1"
|
|
|
|
// @Description json:"query_flag" xorm:"not null default 1 comment('可查【1:是,-1:否】') INT(11)" example:"1"
|
|
|
|
// @Description json:"set_flag" xorm:"not null default -1 comment('可修改【1:是,-1:否】') INT(11)" example:"1"
|
|
|
|
// @Description json:"set_flag" xorm:"not null default -1 comment('可修改【1:是,-1:否】') INT(11)" example:"1"
|
|
|
|
// @Description json:"consume_type" xorm:"not null comment('使用数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)" example:"-1"
|
|
|
|
// @Description json:"consume_type" xorm:"not null comment('使用数据范围【1:本机构,2:本机构以及下属机构,-1:不限制】') INT(11)" example:"-1"
|
|
|
|
// @Description json:"`consume_orgid`" xorm:"not null comment('使用数据机构编码【-1:不限制】') index VARCHAR(36)" example:"-1"
|
|
|
|
// @Description json:"consume_orgid" xorm:"not null comment('使用数据机构ID【-1:不限制】') index VARCHAR(36)" example:"-1"
|
|
|
|
// @Description json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
|
// @Description json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-22 17:26:53"
|
|
|
@ -183,7 +183,7 @@ func UpdateDataaccess(c *gin.Context) {
|
|
|
|
|
|
|
|
|
|
|
|
// 删除数据订阅 godoc
|
|
|
|
// 删除数据订阅 godoc
|
|
|
|
// @Summary 删除数据订阅
|
|
|
|
// @Summary 删除数据订阅
|
|
|
|
// @Description json:"id" xorm:"not null pk comment('ID') VARCHAR(36)"
|
|
|
|
// @Description `*`json:"id" xorm:"not null pk comment('ID') VARCHAR(36)"
|
|
|
|
// @Tags dataaccess
|
|
|
|
// @Tags dataaccess
|
|
|
|
// @ID deleteDataaccess
|
|
|
|
// @ID deleteDataaccess
|
|
|
|
// @Accept json
|
|
|
|
// @Accept json
|
|
|
|