Ver código fonte

后端: 恢复上一个提交 目录申请

baichengfei 4 anos atrás
pai
commit
418aa28b9b

+ 0 - 2
src/dashoo.cn/backend/api/controllers/oilsupplier/oilcatalog.go

@@ -105,8 +105,6 @@ func (this *OilCatalogController) AddEntity() {
 	model.CreateOn = time.Now()
 	model.CreateBy = this.User.Realname
 	model.CreateUserId, _ = utils.StrTo(this.User.Id).Int()
-	// 二级单位目录申请模块绑定的是RecordScope的值, 企管管理员列表及添加页面绑定的是Business, 暂时赋值处理
-	model.Business = model.RecordScope
 
 	_, err := svc.InsertEntityBytbl(OilCatalogName, &model)