完善关键零部件型号库申请流程

This commit is contained in:
梁琦涛
2024-09-30 16:45:11 +08:00
parent 411cc512cd
commit d4c0f18c38
@@ -1,6 +1,5 @@
package com.jero.modules.activiti.process.part.controller; package com.jero.modules.activiti.process.part.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.jero.common.api.vo.Result; import com.jero.common.api.vo.Result;
import com.jero.common.api.vo.ResultCommon; import com.jero.common.api.vo.ResultCommon;
@@ -8,9 +7,6 @@ import com.jero.common.aspect.annotation.AutoLog;
import com.jero.common.aspect.annotation.Translation; import com.jero.common.aspect.annotation.Translation;
import com.jero.modules.activiti.process.part.entity.ProcessPartTypeApplyRecord; import com.jero.modules.activiti.process.part.entity.ProcessPartTypeApplyRecord;
import com.jero.modules.activiti.process.part.service.IProcessPartTypeApplyRecordService; import com.jero.modules.activiti.process.part.service.IProcessPartTypeApplyRecordService;
import com.jero.modules.laws.part.entity.LawsPartRelevance;
import com.jero.modules.laws.part.entity.LawsPartType;
import com.jero.modules.laws.part.service.ILawsPartTypeService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
@@ -18,7 +14,6 @@ import org.apache.commons.lang3.StringUtils;
import org.apache.poi.ss.formula.functions.T; import org.apache.poi.ss.formula.functions.T;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;
import javax.annotation.Resource; import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
@@ -39,13 +34,11 @@ public class ProcessPartTypeApplyRecordController {
/** /**
* 分页列表查询 * 分页列表查询
* *
* @param lawsPartType * @param processPartTypeApplyRecord
* @param pageNo
* @param pageSize
* @return * @return
*/ */
@AutoLog(value = "业务支持-关键零部件型号库-分页列表查询") @AutoLog(value = "业务支持-关键零部件型号库-列表查询")
@ApiOperation(value = "业务支持-关键零部件型号库-分页列表查询", notes = "业务支持-关键零部件型号库-分页列表查询") @ApiOperation(value = "业务支持-关键零部件型号库-列表查询", notes = "业务支持-关键零部件型号库-列表查询")
@GetMapping(value = "/page") @GetMapping(value = "/page")
@ApiOperationSupport(order = 1) @ApiOperationSupport(order = 1)
// @RequiresPermissions("keyPartBindingManage:search") // @RequiresPermissions("keyPartBindingManage:search")
@@ -58,7 +51,7 @@ public class ProcessPartTypeApplyRecordController {
/** /**
* 详情 * 详情
* *
* @param lawsPartType * @param processPartTypeApplyRecord
* @return * @return
*/ */
@AutoLog(value = "业务支持-关键零部件型号库-详情") @AutoLog(value = "业务支持-关键零部件型号库-详情")
@@ -112,7 +105,7 @@ public class ProcessPartTypeApplyRecordController {
/** /**
* 新增 * 新增
* *
* @param lawsPartType * @param processPartTypeApplyRecord
* @return * @return
*/ */
@AutoLog(value = "业务支持-关键零部件型号库-新增") @AutoLog(value = "业务支持-关键零部件型号库-新增")
@@ -128,7 +121,7 @@ public class ProcessPartTypeApplyRecordController {
/** /**
* 编辑 * 编辑
* *
* @param lawsPartType * @param processPartTypeApplyRecord
* @return * @return
*/ */
@AutoLog(value = "业务支持-关键零部件型号库-编辑") @AutoLog(value = "业务支持-关键零部件型号库-编辑")