|
@@ -3,16 +3,11 @@ package com.diagbot.web;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.diagbot.annotation.SysLogger;
|
|
import com.diagbot.annotation.SysLogger;
|
|
-import com.diagbot.dto.GetRelationInfoDetailDTO;
|
|
|
|
-import com.diagbot.dto.GetRelationInfoListDTO;
|
|
|
|
import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.dto.RulePubDTO;
|
|
import com.diagbot.dto.RulePubDTO;
|
|
import com.diagbot.facade.RulePubFacade;
|
|
import com.diagbot.facade.RulePubFacade;
|
|
-import com.diagbot.vo.AddRelationInfoVO;
|
|
|
|
-import com.diagbot.vo.GetRelationInfoDetailVO;
|
|
|
|
-import com.diagbot.vo.GetRelationInfoListVO;
|
|
|
|
-import com.diagbot.vo.RemoveRelationInfoVO;
|
|
|
|
import com.diagbot.vo.RulePubIdVO;
|
|
import com.diagbot.vo.RulePubIdVO;
|
|
|
|
+import com.diagbot.vo.RulePubPageVO;
|
|
import com.diagbot.vo.RulePubSaveVO;
|
|
import com.diagbot.vo.RulePubSaveVO;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -21,16 +16,13 @@ import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
-
|
|
|
|
-import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
-import springfox.documentation.annotations.ApiIgnore;
|
|
|
|
|
|
|
|
import javax.validation.Valid;
|
|
import javax.validation.Valid;
|
|
|
|
|
|
/**
|
|
/**
|
|
* <p>
|
|
* <p>
|
|
- * 前端控制器
|
|
|
|
|
|
+ * 前端控制器
|
|
* </p>
|
|
* </p>
|
|
*
|
|
*
|
|
* @author zhoutg
|
|
* @author zhoutg
|
|
@@ -47,8 +39,8 @@ public class RulePubController {
|
|
@ApiOperation(value = "规则维护rulePub列表[by:gaodm]")
|
|
@ApiOperation(value = "规则维护rulePub列表[by:gaodm]")
|
|
@PostMapping("/pageRulePub")
|
|
@PostMapping("/pageRulePub")
|
|
@SysLogger("pageRulePub")
|
|
@SysLogger("pageRulePub")
|
|
- public RespDTO<IPage<RulePubDTO>> pageRulePub() {
|
|
|
|
- return RespDTO.onSuc(rulePubFacade.pageRulePub());
|
|
|
|
|
|
+ public RespDTO<IPage<RulePubDTO>> pageRulePub(RulePubPageVO rulePubPageVO) {
|
|
|
|
+ return RespDTO.onSuc(rulePubFacade.pageRulePub(rulePubPageVO));
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "删除规则维护rulePub[by:rengb]")
|
|
@ApiOperation(value = "删除规则维护rulePub[by:rengb]")
|
|
@@ -62,8 +54,8 @@ public class RulePubController {
|
|
@ApiOperation(value = "获取规则维护rulePub详情[by:gaodm]")
|
|
@ApiOperation(value = "获取规则维护rulePub详情[by:gaodm]")
|
|
@PostMapping("/getRulePub")
|
|
@PostMapping("/getRulePub")
|
|
@SysLogger("geteRulePub")
|
|
@SysLogger("geteRulePub")
|
|
- public RespDTO<RulePubDTO> geteRulePub(@Valid @RequestBody RulePubIdVO rulePubIdVO) {
|
|
|
|
- return RespDTO.onSuc(rulePubFacade.geteRulePub(rulePubIdVO));
|
|
|
|
|
|
+ public RespDTO<RulePubDTO> getRulePub(@Valid @RequestBody RulePubIdVO rulePubIdVO) {
|
|
|
|
+ return RespDTO.onSuc(rulePubFacade.getRulePub(rulePubIdVO));
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "规则维护rulePub添加或者编辑[by:gaodm]")
|
|
@ApiOperation(value = "规则维护rulePub添加或者编辑[by:gaodm]")
|