正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -106,7 +106,7 @@ func ChangeDepartmentCharge(companyId int64, departmentId int64, userCompanyid [ | @@ -106,7 +106,7 @@ func ChangeDepartmentCharge(companyId int64, departmentId int64, userCompanyid [ | ||
106 | Filter("department_id", departmentId). | 106 | Filter("department_id", departmentId). |
107 | Filter("user_company_id__in", delIds). | 107 | Filter("user_company_id__in", delIds). |
108 | Update(orm.Params{ | 108 | Update(orm.Params{ |
109 | - "enable": DEPARTMENT_CHARGE_ENABLE_NO, | 109 | + "enabled": DEPARTMENT_CHARGE_ENABLE_NO, |
110 | }) | 110 | }) |
111 | if err != nil { | 111 | if err != nil { |
112 | return fmt.Errorf("更新department_charge数据失败,err:%s", err) | 112 | return fmt.Errorf("更新department_charge数据失败,err:%s", err) |
-
请 注册 或 登录 后发表评论