yinbentan
2024-08-02 3032034d254fc15f06a1d4260f35c49f0ef1e12f
router/router.go
@@ -65,10 +65,11 @@
      finenessApi.POST("register", FinenessController.RegisterAdd)          // 新增纤度登记
      finenessApi.GET("register/:id", FinenessController.RegisterInfo)      // 获取纤度登记详情
      finenessApi.GET("check", FinenessController.CheckList)          // 获取纤度检验列表
      finenessApi.DELETE("check/:id", FinenessController.CheckDelete) // 删除纤度检验
      finenessApi.PUT("check", FinenessController.CheckEdit)          // 修改纤度检验
      finenessApi.GET("check/:id", FinenessController.CheckInfo)      // 获取纤度检验详情
      finenessApi.GET("check", FinenessController.CheckList)                           // 获取纤度检验列表
      finenessApi.DELETE("check/:id", FinenessController.CheckDelete)                  // 删除纤度检验
      finenessApi.PUT("check", FinenessController.CheckEdit)                           // 修改纤度检验
      finenessApi.GET("check/:id", FinenessController.CheckInfo)                       // 获取纤度检验详情
      finenessApi.GET("checkFinenessID/:id", FinenessController.CheckInfoByFinenessID) // 根据纤度登记ID获取纤度检验详情
      finenessApi.POST("saveYieldRegister", yieldController.SaveYieldRegister)               // 保存产量登记表
      finenessApi.POST("getYieldRegisterList", yieldController.GetYieldRegisterList)         // 获取产量登记表
@@ -95,11 +96,16 @@
   salaryApi := r.Group(urlPrefix + "/salary")
   salaryPlanController := new(controllers.SalaryPlanController)
   {
      salaryApi.POST("saveSalaryPlan", salaryPlanController.SaveSalaryPlan)                   //保存薪酬方案
      salaryApi.POST("getSalaryPlanList", salaryPlanController.GetSalaryPlanList)             //获取薪酬方案列表
      salaryApi.DELETE("deleteSalaryPlanInfo/:id", salaryPlanController.DeleteSalaryPlanInfo) //删除薪酬方案
      salaryApi.GET("getSalaryTypeList/:type", salaryPlanController.GetSalaryTypeList)        //获取薪资类型列表
      salaryApi.POST("saveSalaryType", salaryPlanController.SaveSalaryType)                   //保存薪资类型
      salaryApi.POST("saveSalaryPlan", salaryPlanController.SaveSalaryPlan)                              //保存薪酬方案
      salaryApi.POST("getSalaryPlanList", salaryPlanController.GetSalaryPlanList)                        //获取薪酬方案列表
      salaryApi.DELETE("deleteSalaryPlanInfo/:id", salaryPlanController.DeleteSalaryPlanInfo)            //删除薪酬方案
      salaryApi.GET("getSalaryTypeList/:type", salaryPlanController.GetSalaryTypeList)                   //获取薪资类型列表
      salaryApi.POST("saveSalaryType", salaryPlanController.SaveSalaryType)                              //保存薪资类型
      salaryApi.GET("getPayrollProductionCarList", salaryPlanController.GetPayrollProductionCarList)     //获取车台每天的产量列表
      salaryApi.GET("getPayrollProductionGroupList", salaryPlanController.GetPayrollProductionGroupList) //获取小组每天的产量列表
      salaryApi.GET("getPayrollSalaryPlanList", salaryPlanController.GetPayrollSalaryPlanList)           //获取人员每月的薪资列表
      salaryApi.POST("savePayrollConstitute", salaryPlanController.SavePayrollConstitute)                //薪酬数额调整
      salaryApi.GET("getPayrollConstituteList", salaryPlanController.GetPayrollConstituteList)           //获取人员每月的薪资列表
   }
   //考勤管理