|
@@ -6,12 +6,16 @@ import com.diagbot.annotation.SysLogger;
|
|
|
import com.diagbot.dto.KlRuleByIdParDTO;
|
|
|
import com.diagbot.dto.KlRuleInfoDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
+import com.diagbot.dto.RuleDTO;
|
|
|
+import com.diagbot.dto.RuleQueryDTO;
|
|
|
import com.diagbot.facade.KlRuleFacade;
|
|
|
import com.diagbot.vo.KlRuleByIdVO;
|
|
|
import com.diagbot.vo.KlRuleInfoClearVO;
|
|
|
import com.diagbot.vo.KlRuleInfoSaveVO;
|
|
|
import com.diagbot.vo.KlRuleInfoVO;
|
|
|
import com.diagbot.vo.KlRuleSatartOrdisaVO;
|
|
|
+import com.diagbot.vo.RuleQueryKeyVO;
|
|
|
+import com.diagbot.vo.RuleQueryVO;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -84,4 +88,29 @@ public class KlRuleController {
|
|
|
return RespDTO.onSuc(klRuleFacade.startRuleInfos(klRuleSatartOrdisaVO));
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "查询所有有效的规则[by:gaodm]",
|
|
|
+ notes = "libName: 医学标准术语<br>" +
|
|
|
+ "libType: 术语类型<br>" +
|
|
|
+ "ruleType: 规则类型<br>" +
|
|
|
+ "description: 规则名称<br>" +
|
|
|
+ "baseLibName: 基础医学标准术语<br>" +
|
|
|
+ "baseLibType: 基础规则术语类型")
|
|
|
+ @PostMapping("/getRulePage")
|
|
|
+ @SysLogger("getRulePage")
|
|
|
+ public RespDTO<Page<RuleQueryDTO>> getRulePage(@RequestBody RuleQueryVO ruleQueryVO) {
|
|
|
+ return RespDTO.onSuc(klRuleFacade.getRulePage(ruleQueryVO));
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "根据录入内容查询有效规则的明细[by:zhoutg]",
|
|
|
+ notes = "libName: 医学标准术语<br>" +
|
|
|
+ "libType: 术语类型<br>" +
|
|
|
+ "ruleType: 规则类型<br>" +
|
|
|
+ "description: 规则名称<br>" +
|
|
|
+ "baseLibName: 基础医学标准术语<br>" +
|
|
|
+ "baseLibType: 基础规则术语类型")
|
|
|
+ @PostMapping("/getRuleDetail")
|
|
|
+ @SysLogger("getRuleDetail")
|
|
|
+ public RespDTO<RuleDTO> getRuleDetail(@RequestBody @Valid RuleQueryKeyVO ruleQueryKeyVO) {
|
|
|
+ return RespDTO.onSuc(klRuleFacade.getRuleDetail(ruleQueryKeyVO));
|
|
|
+ }
|
|
|
}
|