作者 tangxvhui

bug 修复

@@ -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)