| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.alibaba.fastjson2.JSON; |
| | | import com.github.pagehelper.util.StringUtil; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | |
| | | @ApiOperation("查询模板详情根据条件") |
| | | @PostMapping("/selectInfoByCondition") |
| | | public AjaxResult selectInfoByCondition(@RequestBody IvrLibaTemplateVO ivrLibaTemplateVO) { |
| | | if (ObjectUtils.isEmpty(ivrLibaTemplateVO)) { |
| | | throw new BaseException("查询模板详情入参为空,请检查入参"); |
| | | if (ivrLibaTemplateVO.getID() == null) { |
| | | return success(); |
| | | } |
| | | return success(ivrLibaTemplateService.selectInfoByCondition(ivrLibaTemplateVO)); |
| | | } |