zhangqian
2024-04-26 cd057a6eb60902fc380e4de16ece38a2ae83d5a0
controllers/salary_plan_controller.go
@@ -71,7 +71,7 @@
      util.ResponseFormat(c, code.RequestParamError, "参数解析失败,数据类型错误")
      return
   }
   find, total, err := models.NewSalaryPlanSearch().SetPage(params.Page, params.PageSize).Find()
   find, total, err := models.NewSalaryPlanSearch().SetPage(params.Page, params.PageSize).SetPreload(true).Find()
   if err != nil {
      util.ResponseFormat(c, code.RequestParamError, "查找失败")
      return
@@ -84,7 +84,7 @@
//   @Tags      员工薪资/薪酬方案
//   @Summary   删除薪酬方案
//   @Produce   application/json
//   @Param      number   path      string         true   "id"
//   @Param      id   path      string         true   "id"
//   @Param        Authorization   header string true "token"
//   @Success   200      {object}   util.Response      "成功"
//   @Router      /api-jl/v1/salary/deleteSalaryPlanInfo/{id} [delete]