已添加73个文件
已删除16个文件
已修改62个文件
已重命名1个文件
| | |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * 宣æåç±»Controller |
| | | * 宣æåç±»(表没äºï¼ä½åº)Controller |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | @Api("宣æåç±»(宣æç±»å«)") |
| | | @Api("宣æåç±»(ä½åº)") |
| | | @RestController |
| | | @RequestMapping("/smartor/hecategory") |
| | | public class HeCategoryController extends BaseController { |
| | |
| | | @ApiOperation("æ¥è¯¢å®£æåç±»å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:hecategory:list')") |
| | | @PostMapping("/selectHeCategoryList") |
| | | public TableDataInfo selectHeCategorylist(@RequestBody HeCategory heCategory) { |
| | | startPage(); |
| | | public TableDataInfo selectHeCategorylist(@RequestBody HeCategory heCategory) { |
| | | // startPage(); |
| | | List<HeCategoryVO> list = heCategoryService.selectHeCategoryList(heCategory); |
| | | return getDataTable(list); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.smartor.domain.HeLibraryAssort; |
| | | import com.smartor.domain.HeLibraryAssortVO; |
| | | import com.smartor.service.IHeLibraryAssortService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * 宣æåç±»Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Api(description = "宣æåç±»") |
| | | @RestController |
| | | @RequestMapping("/smartor/heLibraryAssort") |
| | | public class HeLibraryAssortController extends BaseController { |
| | | @Autowired |
| | | private IHeLibraryAssortService heLibraryAssortService; |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåç±»å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢å®£æåç±»å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:list')") |
| | | @PostMapping("/selectHeLibraryAssortList") |
| | | public TableDataInfo list(@RequestBody HeLibraryAssort heLibraryAssort) { |
| | | startPage(); |
| | | List<HeLibraryAssortVO> list = heLibraryAssortService.selectHeLibraryAssortList(heLibraryAssort); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºå®£æåç±»å表 |
| | | */ |
| | | @ApiOperation("导åºå®£æåç±»å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:export')") |
| | | @Log(title = "宣æåç±»", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, HeLibraryAssort heLibraryAssort) { |
| | | List<HeLibraryAssortVO> list = heLibraryAssortService.selectHeLibraryAssortList(heLibraryAssort); |
| | | ExcelUtil<HeLibraryAssortVO> util = new ExcelUtil<HeLibraryAssortVO>(HeLibraryAssortVO.class); |
| | | util.exportExcel(response, list, "宣æåç±»æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·å宣æå类详ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·å宣æå类详ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(heLibraryAssortService.selectHeLibraryAssortById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢å®£æåç±» |
| | | */ |
| | | @ApiOperation("æ°å¢å®£æåç±»") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:add')") |
| | | @Log(title = "宣æåç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody HeLibraryAssort heLibraryAssort) { |
| | | return toAjax(heLibraryAssortService.insertHeLibraryAssort(heLibraryAssort)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢å®£æå类详æ
æ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:add')") |
| | | @Log(title = "宣æåç±»", businessType = BusinessType.INSERT) |
| | | @ApiOperation("æ°å¢å®£æå类详æ
æ ") |
| | | @PostMapping("/addtree") |
| | | public AjaxResult addtree(@RequestBody HeLibraryAssortVO heLibraryAssortVO) { |
| | | return toAjax(heLibraryAssortService.insertHeLibraryAssortTree(heLibraryAssortVO)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æåç±» |
| | | */ |
| | | @ApiOperation("ä¿®æ¹å®£æåç±»") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:edit')") |
| | | @Log(title = "宣æåç±»", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody HeLibraryAssort heLibraryAssort) { |
| | | return toAjax(heLibraryAssortService.updateHeLibraryAssort(heLibraryAssort)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤å®£æåç±» |
| | | */ |
| | | @ApiOperation("å é¤å®£æåç±»") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:remove')") |
| | | @Log(title = "宣æåç±»", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(heLibraryAssortService.deleteHeLibraryAssortByIds(ids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.smartor.domain.HeLibrary; |
| | | import com.smartor.domain.HeLibraryVO; |
| | | import com.smartor.domain.IvrLibaTemplateVO; |
| | | import com.smartor.service.IHeLibraryService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * 宣æèµæåºController |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Api(description = "宣æèµæåº") |
| | | @RestController |
| | | @RequestMapping("/smartor/library") |
| | | public class HeLibraryController extends BaseController { |
| | | @Autowired |
| | | private IHeLibraryService heLibraryService; |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æèµæåºå表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢å®£æèµæåºå表") |
| | | @PreAuthorize("@ss.hasPermi('system:library:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody HeLibrary heLibrary) { |
| | | startPage(); |
| | | List<HeLibrary> list = heLibraryService.selectHeLibraryList(heLibrary); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºå®£æèµæåºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:library:export')") |
| | | @Log(title = "宣æèµæåº", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, HeLibrary heLibrary) { |
| | | List<HeLibrary> list = heLibraryService.selectHeLibraryList(heLibrary); |
| | | ExcelUtil<HeLibrary> util = new ExcelUtil<HeLibrary>(HeLibrary.class); |
| | | util.exportExcel(response, list, "宣æèµæåºæ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·å宣æèµæåºè¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:library:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(heLibraryService.selectHeLibraryById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢å®£æèµæåº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:library:add')") |
| | | @Log(title = "宣æèµæåº", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody HeLibrary heLibrary) { |
| | | return toAjax(heLibraryService.insertHeLibrary(heLibrary)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æèµæåº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:library:edit')") |
| | | @Log(title = "宣æèµæåº", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody HeLibrary heLibrary) { |
| | | return toAjax(heLibraryService.updateHeLibrary(heLibrary)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤å®£æèµæåº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:library:remove')") |
| | | @Log(title = "宣æèµæåº", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(heLibraryService.deleteHeLibraryByIds(ids)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æä¿®æ¹å®£æè¯¦æ
|
| | | */ |
| | | @ApiOperation("æ°å¢æä¿®æ¹å®£æè¯¦æ
") |
| | | @PreAuthorize("@ss.hasPermi('system:script:list')") |
| | | @PostMapping("/saveOrUpdateScript") |
| | | public AjaxResult saveOrUpdateScript(@RequestBody HeLibraryVO heLibraryVO) { |
| | | if (ObjectUtils.isEmpty(heLibraryVO)) { |
| | | throw new BaseException("å
¥å为空ï¼è¯·æ£æ¥å
¥å"); |
| | | } |
| | | return success(heLibraryService.saveOrUpdateScript(heLibraryVO)); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿è¯¦æ
æ ¹æ®æ¡ä»¶ |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ¨¡æ¿è¯¦æ
æ ¹æ®æ¡ä»¶") |
| | | @PostMapping("/selectInfoByCondition") |
| | | public AjaxResult selectInfoByCondition(@RequestBody HeLibrary heLibrary) { |
| | | if (ObjectUtils.isEmpty(heLibrary)) { |
| | | throw new BaseException("æ¥è¯¢æ¨¡æ¿è¯¦æ
å
¥å为空ï¼è¯·æ£æ¥å
¥å"); |
| | | } |
| | | return success(heLibraryService.selectInfoByCondition(heLibrary)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.smartor.domain.HeLibraryTag; |
| | | import com.smartor.service.IHeLibraryTagService; |
| | | import io.swagger.annotations.Api; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * ææ æ ç¾Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Api(description = "ææ æ ç¾") |
| | | @RestController |
| | | @RequestMapping("/smartor/heLibraryTag") |
| | | public class HeLibraryTagController extends BaseController { |
| | | @Autowired |
| | | private IHeLibraryTagService heLibraryTagService; |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ æ ç¾å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:tag:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(HeLibraryTag heLibraryTag) { |
| | | startPage(); |
| | | List<HeLibraryTag> list = heLibraryTagService.selectHeLibraryTagList(heLibraryTag); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºææ æ ç¾å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:tag:export')") |
| | | @Log(title = "ææ æ ç¾", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, HeLibraryTag heLibraryTag) { |
| | | List<HeLibraryTag> list = heLibraryTagService.selectHeLibraryTagList(heLibraryTag); |
| | | ExcelUtil<HeLibraryTag> util = new ExcelUtil<HeLibraryTag>(HeLibraryTag.class); |
| | | util.exportExcel(response, list, "ææ æ ç¾æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åææ æ ç¾è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:tag:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(heLibraryTagService.selectHeLibraryTagById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ææ æ ç¾ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:tag:add')") |
| | | @Log(title = "ææ æ ç¾", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody HeLibraryTag heLibraryTag) { |
| | | return toAjax(heLibraryTagService.insertHeLibraryTag(heLibraryTag)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ æ ç¾ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:tag:edit')") |
| | | @Log(title = "ææ æ ç¾", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody HeLibraryTag heLibraryTag) { |
| | | return toAjax(heLibraryTagService.updateHeLibraryTag(heLibraryTag)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤ææ æ ç¾ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:tag:remove')") |
| | | @Log(title = "ææ æ ç¾", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(heLibraryTagService.deleteHeLibraryTagByIds(ids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrLibaExtemplateCategory; |
| | | import com.smartor.service.IIvrLibaExtemplateCategoryService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * éç¨æ¨¡æ¿åç±»Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Api(description = "éç¨æ¨¡æ¿åç±»") |
| | | @RestController |
| | | @RequestMapping("/smartor/category") |
| | | public class IvrLibaExtemplateCategoryController extends BaseController { |
| | | @Autowired |
| | | private IIvrLibaExtemplateCategoryService ivrLibaExtemplateCategoryService; |
| | | |
| | | /** |
| | | * æ¥è¯¢éç¨æ¨¡æ¿åç±»å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢éç¨æ¨¡æ¿åç±»å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaExtemplateCategory ivrLibaExtemplateCategory) { |
| | | startPage(); |
| | | List<IvrLibaExtemplateCategory> list = ivrLibaExtemplateCategoryService.selectIvrLibaExtemplateCategoryList(ivrLibaExtemplateCategory); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºéç¨æ¨¡æ¿åç±»å表 |
| | | */ |
| | | @ApiOperation("导åºéç¨æ¨¡æ¿åç±»å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:export')") |
| | | @Log(title = "éç¨æ¨¡æ¿åç±»", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaExtemplateCategory ivrLibaExtemplateCategory) { |
| | | List<IvrLibaExtemplateCategory> list = ivrLibaExtemplateCategoryService.selectIvrLibaExtemplateCategoryList(ivrLibaExtemplateCategory); |
| | | ExcelUtil<IvrLibaExtemplateCategory> util = new ExcelUtil<IvrLibaExtemplateCategory>(IvrLibaExtemplateCategory.class); |
| | | util.exportExcel(response, list, "éç¨æ¨¡æ¿åç±»æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åéç¨æ¨¡æ¿å类详ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åéç¨æ¨¡æ¿å类详ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:query')") |
| | | @GetMapping(value = "/getInfo/{intertcatid}") |
| | | public AjaxResult getInfo(@PathVariable("intertcatid") Long intertcatid) { |
| | | return success(ivrLibaExtemplateCategoryService.selectIvrLibaExtemplateCategoryByIntertcatid(intertcatid)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢éç¨æ¨¡æ¿åç±» |
| | | */ |
| | | @ApiOperation("æ°å¢éç¨æ¨¡æ¿åç±»") |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:add')") |
| | | @Log(title = "éç¨æ¨¡æ¿åç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaExtemplateCategory ivrLibaExtemplateCategory) { |
| | | return toAjax(ivrLibaExtemplateCategoryService.insertIvrLibaExtemplateCategory(ivrLibaExtemplateCategory)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹éç¨æ¨¡æ¿åç±» |
| | | */ |
| | | @ApiOperation("ä¿®æ¹éç¨æ¨¡æ¿åç±»") |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:edit')") |
| | | @Log(title = "éç¨æ¨¡æ¿åç±»", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaExtemplateCategory ivrLibaExtemplateCategory) { |
| | | return toAjax(ivrLibaExtemplateCategoryService.updateIvrLibaExtemplateCategory(ivrLibaExtemplateCategory)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤éç¨æ¨¡æ¿åç±» |
| | | */ |
| | | @ApiOperation("å é¤éç¨æ¨¡æ¿åç±»") |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:remove')") |
| | | @Log(title = "éç¨æ¨¡æ¿åç±»", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{intertcatids}") |
| | | public AjaxResult remove(@PathVariable Long[] intertcatids) { |
| | | return toAjax(ivrLibaExtemplateCategoryService.deleteIvrLibaExtemplateCategoryByIntertcatids(intertcatids)); |
| | | } |
| | | } |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrLibaExtemplate; |
| | | import com.smartor.service.IIvrLibaExtemplateService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ©å±è¯æ¯æ¨¡æ¿åºController |
| | | * éè¿æ¨¡æ¿Controller |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Api(description = "éè¿æ¨¡æ¿") |
| | | @RestController |
| | | @RequestMapping("/smartor/ivrextemplate") |
| | | @RequestMapping("/smartor/extemplate") |
| | | public class IvrLibaExtemplateController extends BaseController { |
| | | @Autowired |
| | | private IIvrLibaExtemplateService ivrLibaExtemplateService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åºå表 |
| | | * æ¥è¯¢éè¿æ¨¡æ¿å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplate:list')") |
| | | @ApiOperation("æ¥è¯¢éè¿æ¨¡æ¿å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplate:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaExtemplate ivrLibaExtemplate) { |
| | | startPage(); |
| | |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ©å±è¯æ¯æ¨¡æ¿åºå表 |
| | | * 导åºéè¿æ¨¡æ¿å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplate:export')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.EXPORT) |
| | | @ApiOperation("导åºéè¿æ¨¡æ¿å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplate:export')") |
| | | @Log(title = "éè¿æ¨¡æ¿", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaExtemplate ivrLibaExtemplate) { |
| | | List<IvrLibaExtemplate> list = ivrLibaExtemplateService.selectIvrLibaExtemplateList(ivrLibaExtemplate); |
| | | ExcelUtil<IvrLibaExtemplate> util = new ExcelUtil<IvrLibaExtemplate>(IvrLibaExtemplate.class); |
| | | util.exportExcel(response, list, "æ©å±è¯æ¯æ¨¡æ¿åºæ°æ®"); |
| | | util.exportExcel(response, list, "éè¿æ¨¡æ¿æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åæ©å±è¯æ¯æ¨¡æ¿åºè¯¦ç»ä¿¡æ¯ |
| | | * è·åéè¿æ¨¡æ¿è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplate:query')") |
| | | @GetMapping(value = "/{subModuleID}") |
| | | public AjaxResult getInfo(@PathVariable("subModuleID") String subModuleID) { |
| | | return success(ivrLibaExtemplateService.selectIvrLibaExtemplateBySubModuleID(subModuleID)); |
| | | @ApiOperation("è·åéè¿æ¨¡æ¿è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplate:query')") |
| | | @GetMapping(value = "/{ID}") |
| | | public AjaxResult getInfo(@PathVariable("ID") String ID) { |
| | | return success(ivrLibaExtemplateService.selectIvrLibaExtemplateByID(ID)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * æ°å¢éè¿æ¨¡æ¿ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplate:add')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.INSERT) |
| | | @ApiOperation("æ°å¢éè¿æ¨¡æ¿") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplate:add')") |
| | | @Log(title = "éè¿æ¨¡æ¿", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaExtemplate ivrLibaExtemplate) { |
| | | return toAjax(ivrLibaExtemplateService.insertIvrLibaExtemplate(ivrLibaExtemplate)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * ä¿®æ¹éè¿æ¨¡æ¿ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplate:edit')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.UPDATE) |
| | | @ApiOperation("ä¿®æ¹éè¿æ¨¡æ¿") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplate:edit')") |
| | | @Log(title = "éè¿æ¨¡æ¿", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaExtemplate ivrLibaExtemplate) { |
| | | return toAjax(ivrLibaExtemplateService.updateIvrLibaExtemplate(ivrLibaExtemplate)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿©å±è¯æ¯æ¨¡æ¿åº |
| | | * å é¤éè¿æ¨¡æ¿ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplate:remove')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{subModuleIDs}") |
| | | public AjaxResult remove(@PathVariable String[] subModuleIDs) { |
| | | return toAjax(ivrLibaExtemplateService.deleteIvrLibaExtemplateBySubModuleIDs(subModuleIDs)); |
| | | @ApiOperation("å é¤éè¿æ¨¡æ¿") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplate:remove')") |
| | | @Log(title = "éè¿æ¨¡æ¿", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{IDs}") |
| | | public AjaxResult remove(@PathVariable String[] IDs) { |
| | | return toAjax(ivrLibaExtemplateService.deleteIvrLibaExtemplateByIDs(IDs)); |
| | | } |
| | | } |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrLibaExtemplatescript; |
| | | import com.smartor.service.IIvrLibaExtemplatescriptService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯Controller |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * éç¨æ¨¡æ¿è¯æ¯Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Api(description = "éç¨æ¨¡æ¿è¯æ¯") |
| | | @RestController |
| | | @RequestMapping("/smartor/ivrextemplatescript") |
| | | public class IvrLibaExtemplatescriptController extends BaseController |
| | | { |
| | | @RequestMapping("/smartor/extemplatescript") |
| | | public class IvrLibaExtemplatescriptController extends BaseController { |
| | | @Autowired |
| | | private IIvrLibaExtemplatescriptService ivrLibaExtemplatescriptService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯å表 |
| | | * æ¥è¯¢éç¨æ¨¡æ¿è¯æ¯å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplatescript:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaExtemplatescript ivrLibaExtemplatescript) |
| | | { |
| | | @ApiOperation("æ¥è¯¢éç¨æ¨¡æ¿è¯æ¯å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplatescript:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaExtemplatescript ivrLibaExtemplatescript) { |
| | | startPage(); |
| | | List<IvrLibaExtemplatescript> list = ivrLibaExtemplatescriptService.selectIvrLibaExtemplatescriptList(ivrLibaExtemplatescript); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯å表 |
| | | * 导åºéç¨æ¨¡æ¿è¯æ¯å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplatescript:export')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯", businessType = BusinessType.EXPORT) |
| | | @ApiOperation("导åºéç¨æ¨¡æ¿è¯æ¯å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplatescript:export')") |
| | | @Log(title = "éç¨æ¨¡æ¿è¯æ¯", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaExtemplatescript ivrLibaExtemplatescript) |
| | | { |
| | | public void export(HttpServletResponse response, IvrLibaExtemplatescript ivrLibaExtemplatescript) { |
| | | List<IvrLibaExtemplatescript> list = ivrLibaExtemplatescriptService.selectIvrLibaExtemplatescriptList(ivrLibaExtemplatescript); |
| | | ExcelUtil<IvrLibaExtemplatescript> util = new ExcelUtil<IvrLibaExtemplatescript>(IvrLibaExtemplatescript.class); |
| | | util.exportExcel(response, list, "æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯æ°æ®"); |
| | | util.exportExcel(response, list, "éç¨æ¨¡æ¿è¯æ¯æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åæ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯è¯¦ç»ä¿¡æ¯ |
| | | * è·åéç¨æ¨¡æ¿è¯æ¯è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplatescript:query')") |
| | | @GetMapping(value = "/{DetailID}") |
| | | public AjaxResult getInfo(@PathVariable("DetailID") String DetailID) |
| | | { |
| | | return success(ivrLibaExtemplatescriptService.selectIvrLibaExtemplatescriptByDetailID(DetailID)); |
| | | @ApiOperation("è·åéç¨æ¨¡æ¿è¯æ¯è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplatescript:query')") |
| | | @GetMapping(value = "/getInfo/{ID}") |
| | | public AjaxResult getInfo(@PathVariable("ID") String ID) { |
| | | return success(ivrLibaExtemplatescriptService.selectIvrLibaExtemplatescriptByID(ID)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * æ°å¢éç¨æ¨¡æ¿è¯æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplatescript:add')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯", businessType = BusinessType.INSERT) |
| | | @ApiOperation("æ°å¢éç¨æ¨¡æ¿è¯æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplatescript:add')") |
| | | @Log(title = "éç¨æ¨¡æ¿è¯æ¯", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaExtemplatescript ivrLibaExtemplatescript) |
| | | { |
| | | public AjaxResult add(@RequestBody IvrLibaExtemplatescript ivrLibaExtemplatescript) { |
| | | return toAjax(ivrLibaExtemplatescriptService.insertIvrLibaExtemplatescript(ivrLibaExtemplatescript)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * ä¿®æ¹éç¨æ¨¡æ¿è¯æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplatescript:edit')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯", businessType = BusinessType.UPDATE) |
| | | @ApiOperation("ä¿®æ¹éç¨æ¨¡æ¿è¯æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplatescript:edit')") |
| | | @Log(title = "éç¨æ¨¡æ¿è¯æ¯", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaExtemplatescript ivrLibaExtemplatescript) |
| | | { |
| | | public AjaxResult edit(@RequestBody IvrLibaExtemplatescript ivrLibaExtemplatescript) { |
| | | return toAjax(ivrLibaExtemplatescriptService.updateIvrLibaExtemplatescript(ivrLibaExtemplatescript)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * å é¤éç¨æ¨¡æ¿è¯æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplatescript:remove')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{DetailIDs}") |
| | | public AjaxResult remove(@PathVariable String[] DetailIDs) |
| | | { |
| | | return toAjax(ivrLibaExtemplatescriptService.deleteIvrLibaExtemplatescriptByDetailIDs(DetailIDs)); |
| | | @ApiOperation("å é¤éç¨æ¨¡æ¿è¯æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:extemplatescript:remove')") |
| | | @Log(title = "éç¨æ¨¡æ¿è¯æ¯", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{IDs}") |
| | | public AjaxResult remove(@PathVariable String[] IDs) { |
| | | return toAjax(ivrLibaExtemplatescriptService.deleteIvrLibaExtemplatescriptByIDs(IDs)); |
| | | } |
| | | } |
| | |
| | | import com.smartor.domain.IvrLibaScriptAssort; |
| | | import com.smartor.domain.IvrLibaScriptAssortVO; |
| | | import com.smartor.service.IIvrLibaScriptAssortService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | * @author ruoyi |
| | | * @date 2023-12-21 |
| | | */ |
| | | @Api(description = "é®é¢è¯æ¯åç±»åº") |
| | | @RestController |
| | | @RequestMapping("/smartor/scriptassort") |
| | | public class IvrLibaScriptAssortController extends BaseController { |
| | |
| | | * æ¥è¯¢é®é¢è¯æ¯åç±»åº(æ ç¶) |
| | | * å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢é®é¢è¯æ¯åç±»åº(æ ç¶)") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:list')") |
| | | @PostMapping("/selectIvrLibaScriptAssortList") |
| | | public TableDataInfo list(@RequestBody IvrLibaScriptAssort ivrLibaScriptAssort) { |
| | |
| | | * 导åºé®é¢è¯æ¯åç±»åº |
| | | * å表 |
| | | */ |
| | | @ApiOperation("导åºé®é¢è¯æ¯åç±»åº") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:export')") |
| | | @Log(title = "é®é¢è¯æ¯åç±»åº", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | |
| | | * è·åé®é¢è¯æ¯åç±»åº |
| | | * 详ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åé®é¢è¯æ¯åç±»åº") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | |
| | | /** |
| | | * æ°å¢é®é¢è¯æ¯åç±»åº |
| | | */ |
| | | @ApiOperation("æ°å¢é®é¢è¯æ¯åç±»åº") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | @Log(title = "é®é¢è¯æ¯åç±»åº", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®é¢è¯æ¯åç±»æ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | @Log(title = "é®é¢è¯æ¯åç±»åº", businessType = BusinessType.INSERT) |
| | | @ApiOperation("æ°å¢é®é¢è¯æ¯åç±»æ ") |
| | | @PostMapping("/addtree") |
| | | public AjaxResult addtree(@RequestBody IvrLibaScriptAssortVO ivrLibaScriptAssortVO) { |
| | | return toAjax(ivrLibaScriptAssortService.insertIvrLibaScriptAssortTree(ivrLibaScriptAssortVO)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®é¢è¯æ¯åç±»åº |
| | | */ |
| | | @ApiOperation("ä¿®æ¹é®é¢è¯æ¯åç±»åº") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:edit')") |
| | | @Log(title = "é®é¢è¯æ¯åç±»åº", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | |
| | | /** |
| | | * å é¤é®é¢è¯æ¯åç±»åº |
| | | */ |
| | | @ApiOperation("å é¤é®é¢è¯æ¯åç±»åº") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:remove')") |
| | | @Log(title = "é®é¢è¯æ¯åç±»åº", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrLibaScriptAssortVO; |
| | | import com.smartor.domain.IvrLibaTargetAssort; |
| | | import com.smartor.domain.IvrLibaTargetAssortVO; |
| | | import com.smartor.service.IIvrLibaTargetAssortService; |
| | |
| | | |
| | | /** |
| | | * ææ åç±»Controller |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Api(description = "ææ åç±»") |
| | | @RestController |
| | | @RequestMapping("/smartor/assort") |
| | | public class IvrLibaTargetAssortController extends BaseController |
| | | { |
| | | public class IvrLibaTargetAssortController extends BaseController { |
| | | @Autowired |
| | | private IIvrLibaTargetAssortService ivrLibaTargetAssortService; |
| | | |
| | |
| | | @ApiOperation("æ¥è¯¢ææ åç±»å表") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:list')") |
| | | @PostMapping("/selectIvrLibaTargetAssortList") |
| | | public TableDataInfo list(@RequestBody IvrLibaTargetAssort ivrLibaTargetAssort) |
| | | { |
| | | PageUtils.startPageByPost(ivrLibaTargetAssort.getPageNum(),ivrLibaTargetAssort.getPageSize()); |
| | | public TableDataInfo list(@RequestBody IvrLibaTargetAssort ivrLibaTargetAssort) { |
| | | // PageUtils.startPageByPost(ivrLibaTargetAssort.getPageNum(), ivrLibaTargetAssort.getPageSize()); |
| | | List<IvrLibaTargetAssortVO> ivrLibaTargetAssortVOS = ivrLibaTargetAssortService.selectIvrLibaTargetAssortList(ivrLibaTargetAssort); |
| | | return getDataTable(ivrLibaTargetAssortVOS); |
| | | } |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:assort:export')") |
| | | @Log(title = "ææ åç±»", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTargetAssort ivrLibaTargetAssort) |
| | | { |
| | | public void export(HttpServletResponse response, IvrLibaTargetAssort ivrLibaTargetAssort) { |
| | | List<IvrLibaTargetAssortVO> list = ivrLibaTargetAssortService.selectIvrLibaTargetAssortList(ivrLibaTargetAssort); |
| | | ExcelUtil<IvrLibaTargetAssortVO> util = new ExcelUtil<IvrLibaTargetAssortVO>(IvrLibaTargetAssortVO.class); |
| | | util.exportExcel(response, list, "ææ åç±»æ°æ®"); |
| | |
| | | @ApiOperation("è·åææ å类详ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(ivrLibaTargetAssortService.selectIvrLibaTargetAssortById(id)); |
| | | } |
| | | |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | @Log(title = "ææ åç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTargetAssort ivrLibaTargetAssort) |
| | | { |
| | | public AjaxResult add(@RequestBody IvrLibaTargetAssort ivrLibaTargetAssort) { |
| | | return toAjax(ivrLibaTargetAssortService.insertIvrLibaTargetAssort(ivrLibaTargetAssort)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ææ åç±»æ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | @Log(title = "ææ åç±»", businessType = BusinessType.INSERT) |
| | | @ApiOperation("æ°å¢ææ åç±»æ ") |
| | | @PostMapping("/addtree") |
| | | public AjaxResult addtree(@RequestBody IvrLibaTargetAssortVO ivrLibaTargetAssortVO) { |
| | | return toAjax(ivrLibaTargetAssortService.insertIvrLibaTargetAssortTree(ivrLibaTargetAssortVO)); |
| | | } |
| | | |
| | | /** |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:assort:edit')") |
| | | @Log(title = "ææ åç±»", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTargetAssort ivrLibaTargetAssort) |
| | | { |
| | | public AjaxResult edit(@RequestBody IvrLibaTargetAssort ivrLibaTargetAssort) { |
| | | return toAjax(ivrLibaTargetAssortService.updateIvrLibaTargetAssort(ivrLibaTargetAssort)); |
| | | } |
| | | |
| | |
| | | @ApiOperation("å 餿æ åç±»") |
| | | @PreAuthorize("@ss.hasPermi('system:assort:remove')") |
| | | @Log(title = "ææ åç±»", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(ivrLibaTargetAssortService.deleteIvrLibaTargetAssortByIds(ids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.HeLibraryAssortVO; |
| | | import com.smartor.domain.IvrLibaTemplateAssort; |
| | | import com.smartor.domain.IvrLibaTemplateAssortVO; |
| | | import com.smartor.service.IIvrLibaTemplateAssortService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模æ¿åç±»Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Api(description = "模æ¿åç±»") |
| | | @RestController |
| | | @RequestMapping("/smartor/templateassort") |
| | | public class IvrLibaTemplateAssortController extends BaseController { |
| | | @Autowired |
| | | private IIvrLibaTemplateAssortService ivrLibaTemplateAssortService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿åç±»å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ¨¡æ¿åç±»å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:list')") |
| | | @PostMapping("/selectIvrLibaTemplateAssortList") |
| | | public TableDataInfo selectIvrLibaTemplateAssortList(@RequestBody IvrLibaTemplateAssort ivrLibaTemplateAssort) { |
| | | // startPage(); |
| | | List<IvrLibaTemplateAssortVO> list = ivrLibaTemplateAssortService.selectIvrLibaTemplateAssortList(ivrLibaTemplateAssort); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ¨¡æ¿åç±»å表 |
| | | */ |
| | | @ApiOperation("å¯¼åºæ¨¡æ¿åç±»å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:export')") |
| | | @Log(title = "模æ¿åç±»", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTemplateAssort ivrLibaTemplateAssort) { |
| | | List<IvrLibaTemplateAssortVO> list = ivrLibaTemplateAssortService.selectIvrLibaTemplateAssortList(ivrLibaTemplateAssort); |
| | | ExcelUtil<IvrLibaTemplateAssortVO> util = new ExcelUtil<IvrLibaTemplateAssortVO>(IvrLibaTemplateAssortVO.class); |
| | | util.exportExcel(response, list, "模æ¿åç±»æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·å模æ¿å类详ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·å模æ¿å类详ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(ivrLibaTemplateAssortService.selectIvrLibaTemplateAssortById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿åç±» |
| | | */ |
| | | @ApiOperation("æ°å¢æ¨¡æ¿åç±»") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:add')") |
| | | @Log(title = "模æ¿åç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTemplateAssort ivrLibaTemplateAssort) { |
| | | return toAjax(ivrLibaTemplateAssortService.insertIvrLibaTemplateAssort(ivrLibaTemplateAssort)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿åç±»æ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:add')") |
| | | @Log(title = "模æ¿åç±»", businessType = BusinessType.INSERT) |
| | | @ApiOperation("æ°å¢æ¨¡æ¿åç±»æ ") |
| | | @PostMapping("/addtree") |
| | | public AjaxResult addtree(@RequestBody IvrLibaTemplateAssortVO ivrLibaTemplateAssortVO) { |
| | | return toAjax(ivrLibaTemplateAssortService.insertIvrLibaTemplateAssortTree(ivrLibaTemplateAssortVO)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿åç±» |
| | | */ |
| | | @ApiOperation("ä¿®æ¹æ¨¡æ¿åç±»") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:edit')") |
| | | @Log(title = "模æ¿åç±»", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTemplateAssort ivrLibaTemplateAssort) { |
| | | return toAjax(ivrLibaTemplateAssortService.updateIvrLibaTemplateAssort(ivrLibaTemplateAssort)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿åç±» |
| | | */ |
| | | @ApiOperation("å 餿¨¡æ¿åç±»") |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:remove')") |
| | | @Log(title = "模æ¿åç±»", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(ivrLibaTemplateAssortService.deleteIvrLibaTemplateAssortByIds(ids)); |
| | | } |
| | | } |
| | |
| | | package com.smartor.controller; |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.smartor.domain.IvrLibaTemplate; |
| | | import com.smartor.service.IIvrLibaTemplateService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrLibaTemplate; |
| | | import com.smartor.domain.IvrLibaTemplateVO; |
| | | import com.smartor.service.IIvrLibaTemplateService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è¯æ¯æ¨¡æ¿åºController |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * é访模æ¿åºController |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Api(description = "é访模æ¿åº") |
| | | @RestController |
| | | @RequestMapping("/smartor/ivrtemplate") |
| | | public class IvrLibaTemplateController extends BaseController |
| | | { |
| | | @RequestMapping("/smartor/template") |
| | | public class IvrLibaTemplateController extends BaseController { |
| | | @Autowired |
| | | private IIvrLibaTemplateService ivrLibaTemplateService; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯æ¯æ¨¡æ¿åºå表 |
| | | * æ¥è¯¢æ¨¡æ¿åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTemplate ivrLibaTemplate) |
| | | { |
| | | @ApiOperation("æ¥è¯¢é访模æ¿åºå表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:template:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTemplate ivrLibaTemplate) { |
| | | startPage(); |
| | | List<IvrLibaTemplate> list = ivrLibaTemplateService.selectIvrLibaTemplateList(ivrLibaTemplate); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºè¯æ¯æ¨¡æ¿åºå表 |
| | | * å¯¼åºæ¨¡æ¿åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:export')") |
| | | @Log(title = "è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.EXPORT) |
| | | @ApiOperation("导åºé访模æ¿åºå表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:template:export')") |
| | | @Log(title = "模æ¿åº", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTemplate ivrLibaTemplate) |
| | | { |
| | | public void export(HttpServletResponse response, IvrLibaTemplate ivrLibaTemplate) { |
| | | List<IvrLibaTemplate> list = ivrLibaTemplateService.selectIvrLibaTemplateList(ivrLibaTemplate); |
| | | ExcelUtil<IvrLibaTemplate> util = new ExcelUtil<IvrLibaTemplate>(IvrLibaTemplate.class); |
| | | util.exportExcel(response, list, "è¯æ¯æ¨¡æ¿åºæ°æ®"); |
| | | util.exportExcel(response, list, "模æ¿åºæ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åè¯æ¯æ¨¡æ¿åºè¯¦ç»ä¿¡æ¯ |
| | | * è·å模æ¿åºè¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:query')") |
| | | @GetMapping(value = "/{templateID}") |
| | | public AjaxResult getInfo(@PathVariable("templateID") String templateID) |
| | | { |
| | | return success(ivrLibaTemplateService.selectIvrLibaTemplateByTemplateID(templateID)); |
| | | @ApiOperation("è·åé访模æ¿åºè¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:template:query')") |
| | | @GetMapping(value = "/{ID}") |
| | | public AjaxResult getInfo(@PathVariable("ID") Long ID) { |
| | | return success(ivrLibaTemplateService.selectIvrLibaTemplateByID(ID)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯æ¯æ¨¡æ¿åº |
| | | * æ°å¢æ¨¡æ¿åº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:add')") |
| | | @Log(title = "è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.INSERT) |
| | | @ApiOperation("æ°å¢é访模æ¿åº") |
| | | @PreAuthorize("@ss.hasPermi('smartor:template:add')") |
| | | @Log(title = "模æ¿åº", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTemplate ivrLibaTemplate) |
| | | { |
| | | public AjaxResult add(@RequestBody IvrLibaTemplate ivrLibaTemplate) { |
| | | return toAjax(ivrLibaTemplateService.insertIvrLibaTemplate(ivrLibaTemplate)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯æ¯æ¨¡æ¿åº |
| | | * ä¿®æ¹æ¨¡æ¿åº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:edit')") |
| | | @Log(title = "è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.UPDATE) |
| | | @ApiOperation("ä¿®æ¹é访模æ¿åº") |
| | | @PreAuthorize("@ss.hasPermi('smartor:template:edit')") |
| | | @Log(title = "模æ¿åº", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTemplate ivrLibaTemplate) |
| | | { |
| | | public AjaxResult edit(@RequestBody IvrLibaTemplate ivrLibaTemplate) { |
| | | return toAjax(ivrLibaTemplateService.updateIvrLibaTemplate(ivrLibaTemplate)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯æ¯æ¨¡æ¿åº |
| | | * å 餿¨¡æ¿åº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:remove')") |
| | | @Log(title = "è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{templateIDs}") |
| | | public AjaxResult remove(@PathVariable String[] templateIDs) |
| | | { |
| | | return toAjax(ivrLibaTemplateService.deleteIvrLibaTemplateByTemplateIDs(templateIDs)); |
| | | @ApiOperation("å é¤é访模æ¿åº") |
| | | @PreAuthorize("@ss.hasPermi('smartor:template:remove')") |
| | | @Log(title = "模æ¿åº", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{IDs}") |
| | | public AjaxResult remove(@PathVariable Long[] IDs) { |
| | | return toAjax(ivrLibaTemplateService.deleteIvrLibaTemplateByIDs(IDs)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æä¿®æ¹é®é¢è¯¦æ
|
| | | */ |
| | | @ApiOperation("æ°å¢æä¿®æ¹é访模æ¿åºè¯¦æ
") |
| | | @PreAuthorize("@ss.hasPermi('smartor:script:list')") |
| | | @PostMapping("/saveOrUpdateScript") |
| | | public AjaxResult saveOrUpdateScript(@RequestBody IvrLibaTemplateVO ivrLibaTemplateVO) { |
| | | if (ObjectUtils.isEmpty(ivrLibaTemplateVO)) { |
| | | throw new BaseException("å
¥å为空ï¼è¯·æ£æ¥å
¥å"); |
| | | } |
| | | return success(ivrLibaTemplateService.saveOrUpdateTemplate(ivrLibaTemplateVO)); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿è¯¦æ
æ ¹æ®æ¡ä»¶ |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ¨¡æ¿è¯¦æ
æ ¹æ®æ¡ä»¶") |
| | | @PostMapping("/selectInfoByCondition") |
| | | public AjaxResult selectInfoByCondition(IvrLibaTemplateVO ivrLibaTemplateVO) { |
| | | if (ObjectUtils.isEmpty(ivrLibaTemplateVO)) { |
| | | throw new BaseException("æ¥è¯¢æ¨¡æ¿è¯¦æ
å
¥å为空ï¼è¯·æ£æ¥å
¥å"); |
| | | } |
| | | return success(ivrLibaTemplateService.selectInfoByCondition(ivrLibaTemplateVO)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrLibaTemplateScript; |
| | | import com.smartor.service.IIvrLibaTemplateScriptService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模çé®é¢è¯æ¯åºController |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Api(description = "模çé®é¢è¯æ¯åº") |
| | | @RestController |
| | | @RequestMapping("/smartor/templatescript") |
| | | public class IvrLibaTemplateScriptController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IIvrLibaTemplateScriptService ivrLibaTemplateScriptService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢è¯æ¯åºå表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ¨¡çé®é¢è¯æ¯åºå表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:script:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTemplateScript ivrLibaTemplateScript) |
| | | { |
| | | startPage(); |
| | | List<IvrLibaTemplateScript> list = ivrLibaTemplateScriptService.selectIvrLibaTemplateScriptList(ivrLibaTemplateScript); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ¨¡çé®é¢è¯æ¯åºå表 |
| | | */ |
| | | @ApiOperation("å¯¼åºæ¨¡çé®é¢è¯æ¯åºå表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:script:export')") |
| | | @Log(title = "模çé®é¢è¯æ¯åº", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTemplateScript ivrLibaTemplateScript) |
| | | { |
| | | List<IvrLibaTemplateScript> list = ivrLibaTemplateScriptService.selectIvrLibaTemplateScriptList(ivrLibaTemplateScript); |
| | | ExcelUtil<IvrLibaTemplateScript> util = new ExcelUtil<IvrLibaTemplateScript>(IvrLibaTemplateScript.class); |
| | | util.exportExcel(response, list, "模çé®é¢è¯æ¯åºæ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·å模çé®é¢è¯æ¯åºè¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·å模çé®é¢è¯æ¯åºè¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:script:query')") |
| | | @GetMapping(value = "/getInfo/{ID}") |
| | | public AjaxResult getInfo(@PathVariable("ID") Long ID) |
| | | { |
| | | return success(ivrLibaTemplateScriptService.selectIvrLibaTemplateScriptByID(ID)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡çé®é¢è¯æ¯åº |
| | | */ |
| | | @ApiOperation("æ°å¢æ¨¡çé®é¢è¯æ¯åº") |
| | | @PreAuthorize("@ss.hasPermi('smartor:script:add')") |
| | | @Log(title = "模çé®é¢è¯æ¯åº", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTemplateScript ivrLibaTemplateScript) |
| | | { |
| | | return toAjax(ivrLibaTemplateScriptService.insertIvrLibaTemplateScript(ivrLibaTemplateScript)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡çé®é¢è¯æ¯åº |
| | | */ |
| | | @ApiOperation("ä¿®æ¹æ¨¡çé®é¢è¯æ¯åº") |
| | | @PreAuthorize("@ss.hasPermi('smartor:script:edit')") |
| | | @Log(title = "模çé®é¢è¯æ¯åº", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTemplateScript ivrLibaTemplateScript) |
| | | { |
| | | return toAjax(ivrLibaTemplateScriptService.updateIvrLibaTemplateScript(ivrLibaTemplateScript)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡çé®é¢è¯æ¯åº |
| | | */ |
| | | @ApiOperation("å 餿¨¡çé®é¢è¯æ¯åº") |
| | | @PreAuthorize("@ss.hasPermi('smartor:script:remove')") |
| | | @Log(title = "模çé®é¢è¯æ¯åº", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{IDs}") |
| | | public AjaxResult remove(@PathVariable Long[] IDs) |
| | | { |
| | | return toAjax(ivrLibaTemplateScriptService.deleteIvrLibaTemplateScriptByIDs(IDs)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrLibaTemplateTag; |
| | | import com.smartor.service.IIvrLibaTemplateTagService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ ç¾Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | //@Api(description = " * æ¨¡æ¿æ ç¾") |
| | | @RestController |
| | | @RequestMapping("/smartor/templatetag") |
| | | public class IvrLibaTemplateTagController extends BaseController { |
| | | @Autowired |
| | | private IIvrLibaTemplateTagService ivrLibaTemplateTagService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿æ ç¾å表 |
| | | */ |
| | | // @ApiOperation("æ¥è¯¢æ¨¡æ¿æ ç¾å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:tag:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTemplateTag ivrLibaTemplateTag) { |
| | | startPage(); |
| | | List<IvrLibaTemplateTag> list = ivrLibaTemplateTagService.selectIvrLibaTemplateTagList(ivrLibaTemplateTag); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ¨¡æ¿æ ç¾å表 |
| | | */ |
| | | // @ApiOperation("å¯¼åºæ¨¡æ¿æ ç¾å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:tag:export')") |
| | | @Log(title = "æ¨¡æ¿æ ç¾", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTemplateTag ivrLibaTemplateTag) { |
| | | List<IvrLibaTemplateTag> list = ivrLibaTemplateTagService.selectIvrLibaTemplateTagList(ivrLibaTemplateTag); |
| | | ExcelUtil<IvrLibaTemplateTag> util = new ExcelUtil<IvrLibaTemplateTag>(IvrLibaTemplateTag.class); |
| | | util.exportExcel(response, list, "æ¨¡æ¿æ ç¾æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åæ¨¡æ¿æ ç¾è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åæ¨¡æ¿æ ç¾è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:tag:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(ivrLibaTemplateTagService.selectIvrLibaTemplateTagById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿æ ç¾ |
| | | */ |
| | | @ApiOperation("æ°å¢æ¨¡æ¿æ ç¾") |
| | | @PreAuthorize("@ss.hasPermi('smartor:tag:add')") |
| | | @Log(title = "æ¨¡æ¿æ ç¾", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTemplateTag ivrLibaTemplateTag) { |
| | | return toAjax(ivrLibaTemplateTagService.insertIvrLibaTemplateTag(ivrLibaTemplateTag)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿æ ç¾ |
| | | */ |
| | | @ApiOperation("ä¿®æ¹æ¨¡æ¿æ ç¾") |
| | | @PreAuthorize("@ss.hasPermi('smartor:tag:edit')") |
| | | @Log(title = "æ¨¡æ¿æ ç¾", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTemplateTag ivrLibaTemplateTag) { |
| | | return toAjax(ivrLibaTemplateTagService.updateIvrLibaTemplateTag(ivrLibaTemplateTag)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿æ ç¾ |
| | | */ |
| | | @ApiOperation("å 餿¨¡æ¿æ ç¾") |
| | | @PreAuthorize("@ss.hasPermi('smartor:tag:remove')") |
| | | @Log(title = "æ¨¡æ¿æ ç¾", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(ivrLibaTemplateTagService.deleteIvrLibaTemplateTagByIds(ids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrLibaTemplateTarget; |
| | | import com.smartor.service.IIvrLibaTemplateTargetService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模çé®é¢ææ åºController |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Api(description = " 模çé®é¢ææ åº") |
| | | @RestController |
| | | @RequestMapping("/smartor/templatetarget") |
| | | public class IvrLibaTemplateTargetController extends BaseController { |
| | | @Autowired |
| | | private IIvrLibaTemplateTargetService ivrLibaTemplateTargetService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢ææ åºå表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ¨¡çé®é¢ææ åºå表") |
| | | @PreAuthorize("@ss.hasPermi('system:target:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTemplateTarget ivrLibaTemplateTarget) { |
| | | startPage(); |
| | | List<IvrLibaTemplateTarget> list = ivrLibaTemplateTargetService.selectIvrLibaTemplateTargetList(ivrLibaTemplateTarget); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ¨¡çé®é¢ææ åºå表 |
| | | */ |
| | | @ApiOperation("å¯¼åºæ¨¡çé®é¢ææ åºå表") |
| | | @PreAuthorize("@ss.hasPermi('system:target:export')") |
| | | @Log(title = "模çé®é¢ææ åº", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTemplateTarget ivrLibaTemplateTarget) { |
| | | List<IvrLibaTemplateTarget> list = ivrLibaTemplateTargetService.selectIvrLibaTemplateTargetList(ivrLibaTemplateTarget); |
| | | ExcelUtil<IvrLibaTemplateTarget> util = new ExcelUtil<IvrLibaTemplateTarget>(IvrLibaTemplateTarget.class); |
| | | util.exportExcel(response, list, "模çé®é¢ææ åºæ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·å模çé®é¢ææ åºè¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·å模çé®é¢ææ åºè¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('system:target:query')") |
| | | @GetMapping(value = "/getInfo/{ID}") |
| | | public AjaxResult getInfo(@PathVariable("ID") Long ID) { |
| | | return success(ivrLibaTemplateTargetService.selectIvrLibaTemplateTargetByID(ID)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡çé®é¢ææ åº |
| | | */ |
| | | @ApiOperation("æ°å¢æ¨¡çé®é¢ææ åº") |
| | | @PreAuthorize("@ss.hasPermi('system:target:add')") |
| | | @Log(title = "模çé®é¢ææ åº", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTemplateTarget ivrLibaTemplateTarget) { |
| | | return toAjax(ivrLibaTemplateTargetService.insertIvrLibaTemplateTarget(ivrLibaTemplateTarget)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡çé®é¢ææ åº |
| | | */ |
| | | @ApiOperation("ä¿®æ¹æ¨¡çé®é¢ææ åº") |
| | | @PreAuthorize("@ss.hasPermi('system:target:edit')") |
| | | @Log(title = "模çé®é¢ææ åº", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTemplateTarget ivrLibaTemplateTarget) { |
| | | return toAjax(ivrLibaTemplateTargetService.updateIvrLibaTemplateTarget(ivrLibaTemplateTarget)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡çé®é¢ææ åº |
| | | */ |
| | | @ApiOperation("å 餿¨¡çé®é¢ææ åº") |
| | | @PreAuthorize("@ss.hasPermi('system:target:remove')") |
| | | @Log(title = "模çé®é¢ææ åº", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{IDs}") |
| | | public AjaxResult remove(@PathVariable Long[] IDs) { |
| | | return toAjax(ivrLibaTemplateTargetService.deleteIvrLibaTemplateTargetByIDs(IDs)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrLibaTemplateTargetoption; |
| | | import com.smartor.service.IIvrLibaTemplateTargetoptionService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¨¡æ¿ææ é项åºController |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Api(description = " æ¨¡æ¿ææ é项åº") |
| | | @RestController |
| | | @RequestMapping("/smartor/templatetargetoption") |
| | | public class IvrLibaTemplateTargetoptionController extends BaseController { |
| | | @Autowired |
| | | private IIvrLibaTemplateTargetoptionService ivrLibaTemplateTargetoptionService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿ææ é项åºå表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ¨¡æ¿ææ é项åºå表") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption) { |
| | | startPage(); |
| | | List<IvrLibaTemplateTargetoption> list = ivrLibaTemplateTargetoptionService.selectIvrLibaTemplateTargetoptionList(ivrLibaTemplateTargetoption); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ¨¡æ¿ææ é项åºå表 |
| | | */ |
| | | @ApiOperation("å¯¼åºæ¨¡æ¿ææ é项åºå表") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:export')") |
| | | @Log(title = "æ¨¡æ¿ææ é项åº", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption) { |
| | | List<IvrLibaTemplateTargetoption> list = ivrLibaTemplateTargetoptionService.selectIvrLibaTemplateTargetoptionList(ivrLibaTemplateTargetoption); |
| | | ExcelUtil<IvrLibaTemplateTargetoption> util = new ExcelUtil<IvrLibaTemplateTargetoption>(IvrLibaTemplateTargetoption.class); |
| | | util.exportExcel(response, list, "æ¨¡æ¿ææ éé¡¹åºæ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åæ¨¡æ¿ææ é项åºè¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åæ¨¡æ¿ææ é项åºè¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(ivrLibaTemplateTargetoptionService.selectIvrLibaTemplateTargetoptionById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿ææ éé¡¹åº |
| | | */ |
| | | @ApiOperation("æ°å¢æ¨¡æ¿ææ é项åº") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:add')") |
| | | @Log(title = "æ¨¡æ¿ææ é项åº", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption) { |
| | | return toAjax(ivrLibaTemplateTargetoptionService.insertIvrLibaTemplateTargetoption(ivrLibaTemplateTargetoption)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿ææ éé¡¹åº |
| | | */ |
| | | @ApiOperation("ä¿®æ¹æ¨¡æ¿ææ é项åº") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:edit')") |
| | | @Log(title = "æ¨¡æ¿ææ é项åº", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption) { |
| | | return toAjax(ivrLibaTemplateTargetoptionService.updateIvrLibaTemplateTargetoption(ivrLibaTemplateTargetoption)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿ææ éé¡¹åº |
| | | */ |
| | | @ApiOperation("å 餿¨¡æ¿ææ é项åº") |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:remove')") |
| | | @Log(title = "æ¨¡æ¿ææ é项åº", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(ivrLibaTemplateTargetoptionService.deleteIvrLibaTemplateTargetoptionByIds(ids)); |
| | | } |
| | | } |
| | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.smartor.domain.IvrLibaScriptAssortVO; |
| | | import com.smartor.domain.SvyCategoryVO; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | * æ¥è¯¢é®å·åç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:list')") |
| | | @PostMapping("/list") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyCategory svyCategory) { |
| | | startPage(); |
| | | List<SvyCategory> list = svyCategoryService.selectSvyCategoryList(svyCategory); |
| | | // startPage(); |
| | | List<SvyCategoryVO> list = svyCategoryService.selectSvyCategoryList(svyCategory); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | |
| | | @Log(title = "é®å·åç±»", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyCategory svyCategory) { |
| | | List<SvyCategory> list = svyCategoryService.selectSvyCategoryList(svyCategory); |
| | | ExcelUtil<SvyCategory> util = new ExcelUtil<SvyCategory>(SvyCategory.class); |
| | | List<SvyCategoryVO> list = svyCategoryService.selectSvyCategoryList(svyCategory); |
| | | ExcelUtil<SvyCategoryVO> util = new ExcelUtil<SvyCategoryVO>(SvyCategoryVO.class); |
| | | util.exportExcel(response, list, "é®å·åç±»æ°æ®"); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·åç±»æ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | @Log(title = "é®é¢è¯æ¯åç±»åº", businessType = BusinessType.INSERT) |
| | | @ApiOperation("æ°å¢é®å·åç±»æ ") |
| | | @PostMapping("/addtree") |
| | | public AjaxResult addtree(@RequestBody SvyCategoryVO svyCategoryVO) { |
| | | return toAjax(svyCategoryService.insertSvyCategoryTree(svyCategoryVO)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·åç±» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:edit')") |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.SvyLibTitleCategory; |
| | | import com.smartor.domain.SvyLibTitleCategoryVO; |
| | | import com.smartor.service.ISvyLibTitleCategoryService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·æ¨¡æ¿åç±»Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Api(description = "é®å·æ¨¡æ¿åç±»") |
| | | @RestController |
| | | @RequestMapping("/smartor/svyLibTitleCategory") |
| | | public class SvyLibTitleCategoryController extends BaseController { |
| | | @Autowired |
| | | private ISvyLibTitleCategoryService svyLibTitleCategoryService; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·æ¨¡æ¿åç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyLibTitleCategory svyLibTitleCategory) { |
| | | startPage(); |
| | | List<SvyLibTitleCategoryVO> list = svyLibTitleCategoryService.selectSvyLibTitleCategoryList(svyLibTitleCategory); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºé®å·æ¨¡æ¿åç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:export')") |
| | | @Log(title = "é®å·æ¨¡æ¿åç±»", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyLibTitleCategory svyLibTitleCategory) { |
| | | List<SvyLibTitleCategoryVO> list = svyLibTitleCategoryService.selectSvyLibTitleCategoryList(svyLibTitleCategory); |
| | | ExcelUtil<SvyLibTitleCategoryVO> util = new ExcelUtil<SvyLibTitleCategoryVO>(SvyLibTitleCategoryVO.class); |
| | | util.exportExcel(response, list, "é®å·æ¨¡æ¿åç±»æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åé®å·æ¨¡æ¿å类详ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(svyLibTitleCategoryService.selectSvyLibTitleCategoryById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·æ¨¡æ¿åç±» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:add')") |
| | | @Log(title = "é®å·æ¨¡æ¿åç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SvyLibTitleCategory svyLibTitleCategory) { |
| | | return toAjax(svyLibTitleCategoryService.insertSvyLibTitleCategory(svyLibTitleCategory)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·æ¨¡æ¿åç±» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:edit')") |
| | | @Log(title = "é®å·æ¨¡æ¿åç±»", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyLibTitleCategory svyLibTitleCategory) { |
| | | return toAjax(svyLibTitleCategoryService.updateSvyLibTitleCategory(svyLibTitleCategory)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·æ¨¡æ¿åç±» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:remove')") |
| | | @Log(title = "é®å·æ¨¡æ¿åç±»", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(svyLibTitleCategoryService.deleteSvyLibTitleCategoryByIds(ids)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * é®å·æ¨¡æ¿åç±»æ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:add')") |
| | | @Log(title = "é®å·æ¨¡æ¿åç±»æ ", businessType = BusinessType.INSERT) |
| | | @ApiOperation("é®å·æ¨¡æ¿åç±»æ ") |
| | | @PostMapping("/addtree") |
| | | public AjaxResult addtree(@RequestBody SvyLibTitleCategoryVO svyLibTitleCategoryVO) { |
| | | return toAjax(svyLibTitleCategoryService.insertSvyLibTitleCategoryTree(svyLibTitleCategoryVO)); |
| | | } |
| | | } |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.aliyun.dysmsapi20170525.models.SendSmsResponse; |
| | | import com.aliyun.dysmsapi20170525.models.SendSmsRequest; |
| | | import com.aliyun.teaopenapi.models.Config; |
| | | import com.ruoyi.common.annotation.Log; |
| | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.smartor.domain.SvyLibTitle; |
| | | import com.smartor.domain.SvyLibTitleReq; |
| | | import com.smartor.service.ISvyLibTitleService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·Controller |
| | | * é®å·æ¨¡æ¿Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Api(description = "é®å·") |
| | | @Api(description = "é®å·æ¨¡æ¿") |
| | | @RestController |
| | | @RequestMapping("/smartor/svytitle") |
| | | public class SvyLibTitleController extends BaseController { |
| | |
| | | */ |
| | | @ApiOperation("æ¥è¯¢é®å·å表") |
| | | @PostMapping("/selectSvyLibTitlelist") |
| | | public TableDataInfo selectSvyLibTitlelist(@RequestBody SvyLibTitleReq svyLibTitleReq) { |
| | | public TableDataInfo selectSvyLibTitlelist(@RequestBody SvyLibTitleReq svyLibTitleReq) { |
| | | startPage(); |
| | | List<SvyLibTitle> list = svyLibTitleService.selectSvyLibTitleList(svyLibTitleReq); |
| | | return getDataTable(list); |
| | |
| | | /** |
| | | * è·åé®å·è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åé®å·è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:query')") |
| | | @GetMapping(value = "/{svyid}") |
| | | public AjaxResult getInfo(@PathVariable("svyid") Long svyid) { |
| | |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æä¿®æ¹é®å·æ¨¡æ¿ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("æ°å¢æä¿®æ¹é®å·æ¨¡æ¿ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('system:script:list')") |
| | | @PostMapping("/saveOrUpdateTitle") |
| | | public AjaxResult saveOrUpdateTitle(@RequestBody SvyLibTitle svyLibTitle) { |
| | | if (ObjectUtils.isEmpty(svyLibTitle)) { |
| | | throw new BaseException("å
¥å为空ï¼è¯·æ£æ¥å
¥å"); |
| | | } |
| | | return success(svyLibTitleService.saveOrUpdateTitle(svyLibTitle)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å· |
| | | */ |
| | | @ApiOperation("ä¿®æ¹é®å·") |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:edit')") |
| | | @Log(title = "é®å·", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | |
| | | /** |
| | | * å é¤é®å· |
| | | */ |
| | | @ApiOperation("å é¤é®å·") |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:remove')") |
| | | @Log(title = "é®å·", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{svyids}") |
| | |
| | | /** |
| | | * åéçä¿¡ |
| | | */ |
| | | @ApiOperation("åéçä¿¡") |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:remove')") |
| | | @Log(title = "é®å·", businessType = BusinessType.DELETE) |
| | | @PostMapping("/sendMessage") |
| | |
| | | String accessKeySecret = "your_access_key_secret"; |
| | | |
| | | // å建Config对象ï¼é
ç½®é¿éäºSDK |
| | | Config config = new Config() |
| | | .setAccessKeyId(accessKeyId) |
| | | .setAccessKeySecret(accessKeySecret); |
| | | Config config = new Config().setAccessKeyId(accessKeyId).setAccessKeySecret(accessKeySecret); |
| | | |
| | | // å建SendSmsRequest对象ï¼è®¾ç½®çä¿¡ç¸å
³åæ° |
| | | SendSmsRequest request = new SendSmsRequest() |
| | | .setPhoneNumbers("ææºå·ç ") |
| | | .setSignName("çä¿¡ç¾å") |
| | | .setTemplateCode("ç信模æ¿Code") |
| | | .setTemplateParam("{\"code\":\"123456\"}"); // 设置ç信模æ¿ä¸çåæ°å¼ |
| | | SendSmsRequest request = new SendSmsRequest().setPhoneNumbers("ææºå·ç ").setSignName("çä¿¡ç¾å").setTemplateCode("ç信模æ¿Code").setTemplateParam("{\"code\":\"123456\"}"); // 设置ç信模æ¿ä¸çåæ°å¼ |
| | | |
| | | // try { |
| | | // // è°ç¨é¿éäºSDKåéçä¿¡ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.SvyLibTopicCategory; |
| | | import com.smartor.domain.SvyLibTopicCategoryVO; |
| | | import com.smartor.service.ISvyLibTopicCategoryService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·é¢ç®åç±»Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Api(description = "é®å·é¢åºåç±»") |
| | | @RestController |
| | | @RequestMapping("/smartor/svyLibTopicCategory") |
| | | public class SvyLibTopicCategoryController extends BaseController { |
| | | @Autowired |
| | | private ISvyLibTopicCategoryService svyLibTopicCategoryService; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®åç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyLibTopicCategory svyLibTopicCategory) { |
| | | startPage(); |
| | | List<SvyLibTopicCategoryVO> list = svyLibTopicCategoryService.selectSvyLibTopicCategoryList(svyLibTopicCategory); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºé®å·é¢ç®åç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:export')") |
| | | @Log(title = "é®å·é¢ç®åç±»", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyLibTopicCategory svyLibTopicCategory) { |
| | | List<SvyLibTopicCategoryVO> list = svyLibTopicCategoryService.selectSvyLibTopicCategoryList(svyLibTopicCategory); |
| | | ExcelUtil<SvyLibTopicCategoryVO> util = new ExcelUtil<SvyLibTopicCategoryVO>(SvyLibTopicCategoryVO.class); |
| | | util.exportExcel(response, list, "é®å·é¢ç®åç±»æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åé®å·é¢ç®å类详ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(svyLibTopicCategoryService.selectSvyLibTopicCategoryById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·é¢ç®åç±» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:add')") |
| | | @Log(title = "é®å·é¢ç®åç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SvyLibTopicCategory svyLibTopicCategory) { |
| | | return toAjax(svyLibTopicCategoryService.insertSvyLibTopicCategory(svyLibTopicCategory)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç®åç±» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:edit')") |
| | | @Log(title = "é®å·é¢ç®åç±»", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyLibTopicCategory svyLibTopicCategory) { |
| | | return toAjax(svyLibTopicCategoryService.updateSvyLibTopicCategory(svyLibTopicCategory)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·é¢ç®åç±» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:category:remove')") |
| | | @Log(title = "é®å·é¢ç®åç±»", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(svyLibTopicCategoryService.deleteSvyLibTopicCategoryByIds(ids)); |
| | | } |
| | | |
| | | /** |
| | | * é®å·é¢ç®åç±»æ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:assort:add')") |
| | | @Log(title = "é®å·é¢ç®åç±»æ ", businessType = BusinessType.INSERT) |
| | | @ApiOperation("é®å·é¢ç®åç±»æ ") |
| | | @PostMapping("/addtree") |
| | | public AjaxResult addtree(@RequestBody SvyLibTopicCategoryVO svyLibTopicCategoryVO) { |
| | | return toAjax(svyLibTopicCategoryService.insertSvyLibTopicCategoryTree(svyLibTopicCategoryVO)); |
| | | } |
| | | } |
| | |
| | | |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.common.core.domain.model.LoginUser; |
| | | import com.smartor.domain.PatImportInfoVO; |
| | | import com.smartor.domain.SvyLibTopicRes; |
| | | import com.smartor.domain.SvyTopicReq; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.smartor.domain.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.smartor.domain.SvyLibTopic; |
| | | import com.smartor.service.ISvyLibTopicService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢é®å·é¢ç®å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopic:list')") |
| | | @PostMapping("/list") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyLibTopic svyLibTopic) { |
| | | startPage(); |
| | | List<SvyLibTopic> list = svyLibTopicService.selectSvyLibTopicList(svyLibTopic); |
| | |
| | | */ |
| | | @ApiOperation("è·åé®å·é¢ç®è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopic:query')") |
| | | @GetMapping(value = "/{topicid}") |
| | | @GetMapping(value = "/getInfo/{topicid}") |
| | | public AjaxResult getInfo(@PathVariable("topicid") Long topicid) { |
| | | return success(svyLibTopicService.selectSvyLibTopicByTopicid(topicid)); |
| | | } |
| | |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æä¿®æ¹é®å·è¯¦æ
ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("æ°å¢æä¿®æ¹é®å·è¯¦æ
ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('system:script:list')") |
| | | @PostMapping("/saveOrUpdateTopic") |
| | | public AjaxResult saveOrUpdateTopic(@RequestBody SvyLibTopic svyLibTopic) { |
| | | if (ObjectUtils.isEmpty(svyLibTopic)) { |
| | | throw new BaseException("å
¥å为空ï¼è¯·æ£æ¥å
¥å"); |
| | | } |
| | | return success(svyLibTopicService.saveOrUpdateTopic(svyLibTopic)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç® |
| | | */ |
| | | @ApiOperation("ä¿®æ¹é®å·é¢ç®") |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:edit')") |
| | | @Log(title = "代ç çæ", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping |
| | | public AjaxResult editSave(@Validated @RequestBody GenTable genTable) |
| | | { |
| | | genTableService.validateEdit(genTable); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('tool:gen:remove')") |
| | | @Log(title = "代ç çæ", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{tableIds}") |
| | | @GetMapping("/remove/{tableIds}") |
| | | public AjaxResult remove(@PathVariable Long[] tableIds) |
| | | { |
| | | genTableService.deleteGenTableByIds(tableIds); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * 宣æèµæåºå¯¹è±¡ he_library |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "HeLibrary", description = "宣æèµæåºå¯¹è±¡") |
| | | public class HeLibrary extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty("èªå¢IDï¼ä¸»é®ï¼") |
| | | private Long id; |
| | | |
| | | /** |
| | | * 宣æåç±» |
| | | */ |
| | | @Excel(name = " 宣æåç±» ") |
| | | @ApiModelProperty("宣æåç±»") |
| | | private String classification; |
| | | |
| | | /** |
| | | * 宣æåç±» |
| | | */ |
| | | @Excel(name = " 宣æåç±» ") |
| | | @ApiModelProperty("åç±»id") |
| | | private Long assortid; |
| | | |
| | | /** |
| | | * 宣æåç§° |
| | | */ |
| | | @Excel(name = " 宣æåç§° ") |
| | | @ApiModelProperty("宣æåç§°") |
| | | private String preachname; |
| | | |
| | | /** |
| | | * çæ¬ |
| | | */ |
| | | @Excel(name = " çæ¬ ") |
| | | @ApiModelProperty("çæ¬") |
| | | private BigDecimal version; |
| | | |
| | | /** |
| | | * 宣æå½¢å¼ :ææ¬ãå¾çãè¯é³ãè§é¢ãæ··å |
| | | */ |
| | | @Excel(name = " 宣æå½¢å¼ :ææ¬ãå¾çãè¯é³ãè§é¢ãæ··å") |
| | | @ApiModelProperty("宣æå½¢å¼ : 1,ææ¬ã2,å¾çã3,è¯é³ã4,è§é¢ã5,æ··å") |
| | | private Long preachform; |
| | | |
| | | /** |
| | | * 宣ææè¿° |
| | | */ |
| | | @Excel(name = " 宣ææè¿° ") |
| | | @ApiModelProperty("宣ææè¿°") |
| | | private String preachdescription; |
| | | |
| | | /** |
| | | * 宣æå
容 |
| | | */ |
| | | @Excel(name = " 宣æå
容 ") |
| | | @ApiModelProperty("宣æå
容") |
| | | private String preachcontent; |
| | | |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @Excel(name = " 模æ¿ID ") |
| | | @ApiModelProperty("模æ¿ID") |
| | | private Long templateid; |
| | | |
| | | /** |
| | | * 宣æä»£ç |
| | | */ |
| | | @Excel(name = " 宣æä»£ç ") |
| | | @ApiModelProperty("宣æä»£ç ") |
| | | private String preachcode; |
| | | |
| | | /** |
| | | * ä¸å¿åºID |
| | | */ |
| | | @Excel(name = " ä¸å¿åºID ") |
| | | @ApiModelProperty("ä¸å¿åºID") |
| | | private Long centerlibraryid; |
| | | |
| | | /** |
| | | * æ¯å¦å¯ç¨ |
| | | */ |
| | | @Excel(name = " æ¯å¦å¯ç¨ ") |
| | | @ApiModelProperty("æ¯å¦å¯ç¨") |
| | | private Long isenable; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty("æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty("å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty("ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty("ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æ¯å¦æ¬å° |
| | | */ |
| | | @Excel(name = " æ¯å¦æ¬å° ") |
| | | @ApiModelProperty("æ¯å¦æ¬å°") |
| | | private Long islocal; |
| | | |
| | | /** |
| | | * ä¸å¿åºä»£ç |
| | | */ |
| | | @Excel(name = " ä¸å¿åºä»£ç ") |
| | | @ApiModelProperty("ä¸å¿åºä»£ç ") |
| | | private String centerlibrarycode; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty("ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty("GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * åæ°åé |
| | | */ |
| | | @Excel(name = "åæ°åé") |
| | | @ApiModelProperty("åæ°åé") |
| | | private String parameter; |
| | | |
| | | /** |
| | | * æ¯å¦å¯ç¨ 0å¯ç¨ 1ä¸å¯ç¨ |
| | | */ |
| | | @Excel(name = "æ¯å¦å¯ç¨ 0å¯ç¨ 1ä¸å¯ç¨") |
| | | @ApiModelProperty("æ¯å¦å¯ç¨ 0å¯ç¨ 1ä¸å¯ç¨") |
| | | private String isavailable; |
| | | |
| | | /** |
| | | * éç¨ç¾ç
|
| | | */ |
| | | @Excel(name = "éç¨ç¾ç
") |
| | | @ApiModelProperty("éç¨ç¾ç
") |
| | | private String suitdisease; |
| | | |
| | | /** |
| | | * éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3 |
| | | */ |
| | | @Excel(name = "éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3") |
| | | @ApiModelProperty("éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3") |
| | | private String suitway; |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * 宣æå类对象 he_library_assort |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "HeLibraryAssort", description = "宣æå类对象") |
| | | public class HeLibraryAssort extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty("èªå¢IDï¼ä¸»é®ï¼") |
| | | private Long id; |
| | | |
| | | /** |
| | | * åç±»åç§° |
| | | */ |
| | | @Excel(name = " åç±»åç§° ") |
| | | @ApiModelProperty("åç±»åç§°") |
| | | private String assortname; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty("æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty("å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty("ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @ApiModelProperty("ä¸ä¼ æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @ApiModelProperty("ç¶ID") |
| | | @Excel(name = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * åºå· |
| | | */ |
| | | @ApiModelProperty("åºå·") |
| | | @Excel(name = "åºå·") |
| | | private Long seqno; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @ApiModelProperty("GUID") |
| | | @Excel(name = "GUID") |
| | | private String guid; |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setAssortname(String assortname) { |
| | | this.assortname = assortname; |
| | | } |
| | | |
| | | public String getAssortname() { |
| | | return assortname; |
| | | } |
| | | |
| | | public void setOrgid(String orgid) { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() { |
| | | return orgid; |
| | | } |
| | | |
| | | public void setDelFlag(String delFlag) { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public String getDelFlag() { |
| | | return delFlag; |
| | | } |
| | | |
| | | public void setIsupload(Long isupload) { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Long getIsupload() { |
| | | return isupload; |
| | | } |
| | | |
| | | public void setUploadTime(Date uploadTime) { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public Date getUploadTime() { |
| | | return uploadTime; |
| | | } |
| | | |
| | | public void setPid(Long pid) { |
| | | this.pid = pid; |
| | | } |
| | | |
| | | public Long getPid() { |
| | | return pid; |
| | | } |
| | | |
| | | public void setGuid(String guid) { |
| | | this.guid = guid; |
| | | } |
| | | |
| | | public String getGuid() { |
| | | return guid; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("assortname", getAssortname()).append("orgid", getOrgid()).append("delFlag", getDelFlag()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("isupload", getIsupload()).append("uploadTime", getUploadTime()).append("pid", getPid()).append("guid", getGuid()).toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 宣æåç±»è¿å对象 he_library_assort |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "HeLibraryAssortVO", description = "宣æåç±»è¿å对象") |
| | | public class HeLibraryAssortVO extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty("èªå¢IDï¼ä¸»é®ï¼") |
| | | private Long id; |
| | | |
| | | /** |
| | | * åç±»åç§° |
| | | */ |
| | | @Excel(name = " åç±»åç§° ") |
| | | @ApiModelProperty("åç±»åç§°") |
| | | private String assortname; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty("æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty("å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty("ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @ApiModelProperty("ä¸ä¼ æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @ApiModelProperty("ç¶ID") |
| | | @Excel(name = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @ApiModelProperty("GUID") |
| | | @Excel(name = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * åºå· |
| | | */ |
| | | @ApiModelProperty("åºå·") |
| | | @Excel(name = "åºå·") |
| | | private Long seqno; |
| | | |
| | | /** |
| | | * åæ°æ® |
| | | */ |
| | | @ApiModelProperty("åæ°æ®") |
| | | @Excel(name = "åæ°æ®") |
| | | private List<HeLibraryAssort> heLibraryAssortList = new ArrayList<>(); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * ææ æ ç¾å¯¹è±¡ he_library_tag |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "HeLibraryTag", description = "ææ æ ç¾å¯¹è±¡") |
| | | public class HeLibraryTag extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty("èªå¢IDï¼ä¸»é®ï¼") |
| | | private Long id; |
| | | |
| | | /** |
| | | * æ ç¾åç±»ID |
| | | */ |
| | | @ApiModelProperty("æ ç¾åç±»ID") |
| | | @Excel(name = " æ ç¾åç±»ID ") |
| | | private Long tagcategoryid; |
| | | |
| | | /** |
| | | * æ ç¾ID |
| | | */ |
| | | @ApiModelProperty("æ ç¾ID") |
| | | @Excel(name = " æ ç¾ID ") |
| | | private Long tagid; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty("æºæID") |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty("å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @ApiModelProperty("ä¸ä¼ æ è®°") |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @ApiModelProperty("ä¸ä¼ æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * 宣æID |
| | | */ |
| | | @Excel(name = "宣æID ") |
| | | @ApiModelProperty("宣æID") |
| | | private Long heid; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty("ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty("GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 宣æèµæåºå¯¹è±¡ he_library |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "HeLibrary", description = "宣æèµæåºå¯¹è±¡") |
| | | public class HeLibraryVO extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty("èªå¢IDï¼ä¸»é®ï¼") |
| | | private Long id; |
| | | |
| | | /** |
| | | * 宣æåç±» |
| | | */ |
| | | @Excel(name = " 宣æåç±» ") |
| | | @ApiModelProperty("宣æåç±»") |
| | | private String classification; |
| | | |
| | | /** |
| | | * 宣æåç±» |
| | | */ |
| | | @Excel(name = " 宣æåç±» ") |
| | | @ApiModelProperty("åç±»id") |
| | | private Long assortid; |
| | | |
| | | /** |
| | | * 宣æåç§° |
| | | */ |
| | | @Excel(name = " 宣æåç§° ") |
| | | @ApiModelProperty("宣æåç§°") |
| | | private String preachname; |
| | | |
| | | /** |
| | | * çæ¬ |
| | | */ |
| | | @Excel(name = " çæ¬ ") |
| | | @ApiModelProperty("çæ¬") |
| | | private BigDecimal version; |
| | | |
| | | /** |
| | | * 宣æå½¢å¼ :ææ¬ãå¾çãè¯é³ãè§é¢ãæ··å |
| | | */ |
| | | @Excel(name = " 宣æå½¢å¼ :ææ¬ãå¾çãè¯é³ãè§é¢ãæ··å") |
| | | @ApiModelProperty("宣æå½¢å¼ : 1,ææ¬ã2,å¾çã3,è¯é³ã4,è§é¢ã5,æ··å") |
| | | private Long preachform; |
| | | |
| | | /** |
| | | * 宣ææè¿° |
| | | */ |
| | | @Excel(name = " 宣ææè¿° ") |
| | | @ApiModelProperty("宣ææè¿°") |
| | | private String preachdescription; |
| | | |
| | | /** |
| | | * 宣æå
容 |
| | | */ |
| | | @Excel(name = " 宣æå
容 ") |
| | | @ApiModelProperty("宣æå
容") |
| | | private String preachcontent; |
| | | |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @Excel(name = " 模æ¿ID ") |
| | | @ApiModelProperty("模æ¿ID") |
| | | private Long templateid; |
| | | |
| | | /** |
| | | * 宣æä»£ç |
| | | */ |
| | | @Excel(name = " 宣æä»£ç ") |
| | | @ApiModelProperty("宣æä»£ç ") |
| | | private String preachcode; |
| | | |
| | | /** |
| | | * ä¸å¿åºID |
| | | */ |
| | | @Excel(name = " ä¸å¿åºID ") |
| | | @ApiModelProperty("ä¸å¿åºID") |
| | | private Long centerlibraryid; |
| | | |
| | | /** |
| | | * æ¯å¦å¯ç¨ |
| | | */ |
| | | @Excel(name = " æ¯å¦å¯ç¨ ") |
| | | @ApiModelProperty("æ¯å¦å¯ç¨") |
| | | private Long isenable; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty("æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty("å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty("ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty("ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æ¯å¦æ¬å° |
| | | */ |
| | | @Excel(name = " æ¯å¦æ¬å° ") |
| | | @ApiModelProperty("æ¯å¦æ¬å°") |
| | | private Long islocal; |
| | | |
| | | /** |
| | | * ä¸å¿åºä»£ç |
| | | */ |
| | | @Excel(name = " ä¸å¿åºä»£ç ") |
| | | @ApiModelProperty("ä¸å¿åºä»£ç ") |
| | | private String centerlibrarycode; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty("ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty("GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * åæ°åé |
| | | */ |
| | | @Excel(name = "åæ°åé") |
| | | @ApiModelProperty("åæ°åé") |
| | | private String parameter; |
| | | |
| | | /** |
| | | * æ¯å¦å¯ç¨ 0å¯ç¨ 1ä¸å¯ç¨ |
| | | */ |
| | | @Excel(name = "æ¯å¦å¯ç¨ 0å¯ç¨ 1ä¸å¯ç¨") |
| | | @ApiModelProperty("æ¯å¦å¯ç¨ 0å¯ç¨ 1ä¸å¯ç¨") |
| | | private String isavailable; |
| | | |
| | | /** |
| | | * éç¨ç¾ç
|
| | | */ |
| | | @Excel(name = "éç¨ç¾ç
") |
| | | @ApiModelProperty("éç¨ç¾ç
") |
| | | private String suitdisease; |
| | | |
| | | /** |
| | | * éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3 |
| | | */ |
| | | @Excel(name = "éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3") |
| | | @ApiModelProperty("éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3") |
| | | private String suitway; |
| | | |
| | | @ApiModelProperty("ææ æ ç¾å¯¹è±¡éå") |
| | | private List<HeLibraryTag> heLibraryTagList; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | } |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * æ©å±è¯æ¯æ¨¡æ¿åºå¯¹è±¡ ivr_liba_extemplate |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * éè¿æ¨¡æ¿å¯¹è±¡ ivr_liba_extemplate |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | public class IvrLibaExtemplate extends BaseEntity |
| | | { |
| | | @Data |
| | | @ApiModel(value = "HeLibrary", description = "éè¿æ¨¡æ¿å¯¹è±¡") |
| | | public class IvrLibaExtemplate extends BaseEntity { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** $column.columnComment */ |
| | | private String subModuleID; |
| | | /** |
| | | * 主é®id |
| | | */ |
| | | @ApiModelProperty("主é®id") |
| | | private String ID; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String subModuleName; |
| | | /** |
| | | * 模çåå |
| | | */ |
| | | @Excel(name = "模çåå") |
| | | @ApiModelProperty("模çåå") |
| | | private String extName; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | /** |
| | | * è¯è¨ |
| | | */ |
| | | @Excel(name = "è¯è¨") |
| | | @ApiModelProperty("è¯è¨") |
| | | private String language; |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${note}", readConverterExp = "$column.readConverterExp()") |
| | | private String note; |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Long version; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | /** |
| | | * ç®ä» |
| | | */ |
| | | @Excel(name = "ç®ä»") |
| | | @ApiModelProperty("ç®ä»") |
| | | private String note; |
| | | |
| | | /** |
| | | * çæ¬ |
| | | */ |
| | | @Excel(name = "çæ¬") |
| | | @ApiModelProperty("çæ¬") |
| | | private String version; |
| | | |
| | | /** |
| | | * å¯ç¨ |
| | | */ |
| | | @Excel(name = "å¯ç¨") |
| | | @ApiModelProperty("å¯ç¨") |
| | | private Long isEnable; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Long isDel; |
| | | /** |
| | | * ç±»å« |
| | | */ |
| | | @Excel(name = "ç±»å«") |
| | | @ApiModelProperty("ç±»å«") |
| | | private Long groupID; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String addUserID; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Date addTime; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String modifyUserID; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Date modifyTime; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Long GroupID; |
| | | |
| | | /** å 餿 è®° */ |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty("å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty("ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty("ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** æºæID */ |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty("æºæID") |
| | | private String orgid; |
| | | |
| | | public void setSubModuleID(String subModuleID) |
| | | { |
| | | this.subModuleID = subModuleID; |
| | | } |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty("ç¶ID") |
| | | private Long pid; |
| | | |
| | | public String getSubModuleID() |
| | | { |
| | | return subModuleID; |
| | | } |
| | | public void setSubModuleName(String subModuleName) |
| | | { |
| | | this.subModuleName = subModuleName; |
| | | } |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty("GUID") |
| | | private String guid; |
| | | |
| | | public String getSubModuleName() |
| | | { |
| | | return subModuleName; |
| | | } |
| | | public void setLanguage(String language) |
| | | { |
| | | this.language = language; |
| | | } |
| | | |
| | | public String getLanguage() |
| | | { |
| | | return language; |
| | | } |
| | | public void setNote(String note) |
| | | { |
| | | this.note = note; |
| | | } |
| | | |
| | | public String getNote() |
| | | { |
| | | return note; |
| | | } |
| | | public void setVersion(Long version) |
| | | { |
| | | this.version = version; |
| | | } |
| | | |
| | | public Long getVersion() |
| | | { |
| | | return version; |
| | | } |
| | | public void setIsEnable(Long isEnable) |
| | | { |
| | | this.isEnable = isEnable; |
| | | } |
| | | |
| | | public Long getIsEnable() |
| | | { |
| | | return isEnable; |
| | | } |
| | | public void setIsDel(Long isDel) |
| | | { |
| | | this.isDel = isDel; |
| | | } |
| | | |
| | | public Long getIsDel() |
| | | { |
| | | return isDel; |
| | | } |
| | | public void setAddUserID(String addUserID) |
| | | { |
| | | this.addUserID = addUserID; |
| | | } |
| | | |
| | | public String getAddUserID() |
| | | { |
| | | return addUserID; |
| | | } |
| | | public void setAddTime(Date addTime) |
| | | { |
| | | this.addTime = addTime; |
| | | } |
| | | |
| | | public Date getAddTime() |
| | | { |
| | | return addTime; |
| | | } |
| | | public void setModifyUserID(String modifyUserID) |
| | | { |
| | | this.modifyUserID = modifyUserID; |
| | | } |
| | | |
| | | public String getModifyUserID() |
| | | { |
| | | return modifyUserID; |
| | | } |
| | | public void setModifyTime(Date modifyTime) |
| | | { |
| | | this.modifyTime = modifyTime; |
| | | } |
| | | |
| | | public Date getModifyTime() |
| | | { |
| | | return modifyTime; |
| | | } |
| | | public void setGroupID(Long GroupID) |
| | | { |
| | | this.GroupID = GroupID; |
| | | } |
| | | |
| | | public Long getGroupID() |
| | | { |
| | | return GroupID; |
| | | } |
| | | public void setDelFlag(String delFlag) |
| | | { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public String getDelFlag() |
| | | { |
| | | return delFlag; |
| | | } |
| | | public void setIsupload(Long isupload) |
| | | { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Long getIsupload() |
| | | { |
| | | return isupload; |
| | | } |
| | | public void setUploadTime(Date uploadTime) |
| | | { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public Date getUploadTime() |
| | | { |
| | | return uploadTime; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("subModuleID", getSubModuleID()) |
| | | .append("subModuleName", getSubModuleName()) |
| | | .append("language", getLanguage()) |
| | | .append("note", getNote()) |
| | | .append("version", getVersion()) |
| | | .append("isEnable", getIsEnable()) |
| | | .append("isDel", getIsDel()) |
| | | .append("addUserID", getAddUserID()) |
| | | .append("addTime", getAddTime()) |
| | | .append("modifyUserID", getModifyUserID()) |
| | | .append("modifyTime", getModifyTime()) |
| | | .append("GroupID", getGroupID()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .append("orgid", getOrgid()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * éç¨æ¨¡æ¿å类对象 ivr_liba_extemplate_category |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaExtemplateCategory", description = "éç¨æ¨¡æ¿å类对象") |
| | | public class IvrLibaExtemplateCategory extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty("èªå¢IDï¼ä¸»é®ï¼") |
| | | private Long intertcatid; |
| | | |
| | | /** |
| | | * åç±»åç§° |
| | | */ |
| | | @Excel(name = " åç±»åç§° ") |
| | | @ApiModelProperty("åç±»åç§°") |
| | | private String categoryname; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty("æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty("å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty("ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty("ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty("ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty("GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * åºå· |
| | | */ |
| | | @Excel(name = "åºå·") |
| | | @ApiModelProperty("åºå·") |
| | | private Integer seqno; |
| | | |
| | | |
| | | } |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯å¯¹è±¡ ivr_liba_extemplatescript |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * éç¨æ¨¡æ¿è¯æ¯å¯¹è±¡ ivr_liba_extemplatescript |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | public class IvrLibaExtemplatescript extends BaseEntity |
| | | { |
| | | @Data |
| | | @ApiModel(value = "IvrLibaExtemplatescript", description = "éç¨æ¨¡æ¿è¯æ¯å¯¹è±¡") |
| | | public class IvrLibaExtemplatescript extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** $column.columnComment */ |
| | | private String DetailID; |
| | | /** |
| | | * 主é®id |
| | | */ |
| | | @ApiModelProperty("主é®id") |
| | | private String ID; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String subModuleID; |
| | | /** |
| | | * 模çåºid |
| | | */ |
| | | @Excel(name = "模çåºid") |
| | | @ApiModelProperty("模çåºid") |
| | | private String extID; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | /** |
| | | * åºå·id |
| | | */ |
| | | @Excel(name = "åºå·id") |
| | | @ApiModelProperty("åºå·id") |
| | | private Long switchID; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | /** |
| | | * è¯æ¯æå |
| | | */ |
| | | @Excel(name = "è¯æ¯æå") |
| | | @ApiModelProperty("è¯æ¯æå") |
| | | private String switchText; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | /** |
| | | * è¯æ¯è¯é³ |
| | | */ |
| | | @Excel(name = "è¯æ¯è¯é³") |
| | | @ApiModelProperty("è¯æ¯è¯é³") |
| | | private String switchWav; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | /** |
| | | * å¹é
è§å |
| | | */ |
| | | @Excel(name = "å¹é
è§å") |
| | | @ApiModelProperty("å¹é
è§å") |
| | | private String selfRegex; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | /** |
| | | * å¯ç¨ |
| | | */ |
| | | @Excel(name = "å¯ç¨") |
| | | @ApiModelProperty("å¯ç¨") |
| | | private Long isEnable; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Long isDel; |
| | | |
| | | /** å 餿 è®° */ |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty("å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty("ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty("ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** æºæID */ |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty("æºæID") |
| | | private String orgid; |
| | | |
| | | public void setDetailID(String DetailID) |
| | | { |
| | | this.DetailID = DetailID; |
| | | } |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty("ç¶ID") |
| | | private Long pid; |
| | | |
| | | public String getDetailID() |
| | | { |
| | | return DetailID; |
| | | } |
| | | public void setSubModuleID(String subModuleID) |
| | | { |
| | | this.subModuleID = subModuleID; |
| | | } |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty("GUID") |
| | | private String guid; |
| | | |
| | | public String getSubModuleID() |
| | | { |
| | | return subModuleID; |
| | | } |
| | | public void setSwitchID(Long switchID) |
| | | { |
| | | this.switchID = switchID; |
| | | } |
| | | |
| | | public Long getSwitchID() |
| | | { |
| | | return switchID; |
| | | } |
| | | public void setSwitchText(String switchText) |
| | | { |
| | | this.switchText = switchText; |
| | | } |
| | | |
| | | public String getSwitchText() |
| | | { |
| | | return switchText; |
| | | } |
| | | public void setSwitchWav(String switchWav) |
| | | { |
| | | this.switchWav = switchWav; |
| | | } |
| | | |
| | | public String getSwitchWav() |
| | | { |
| | | return switchWav; |
| | | } |
| | | public void setSelfRegex(String selfRegex) |
| | | { |
| | | this.selfRegex = selfRegex; |
| | | } |
| | | |
| | | public String getSelfRegex() |
| | | { |
| | | return selfRegex; |
| | | } |
| | | public void setIsEnable(Long isEnable) |
| | | { |
| | | this.isEnable = isEnable; |
| | | } |
| | | |
| | | public Long getIsEnable() |
| | | { |
| | | return isEnable; |
| | | } |
| | | public void setIsDel(Long isDel) |
| | | { |
| | | this.isDel = isDel; |
| | | } |
| | | |
| | | public Long getIsDel() |
| | | { |
| | | return isDel; |
| | | } |
| | | public void setDelFlag(String delFlag) |
| | | { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public String getDelFlag() |
| | | { |
| | | return delFlag; |
| | | } |
| | | public void setIsupload(Long isupload) |
| | | { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Long getIsupload() |
| | | { |
| | | return isupload; |
| | | } |
| | | public void setUploadTime(Date uploadTime) |
| | | { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public Date getUploadTime() |
| | | { |
| | | return uploadTime; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("DetailID", getDetailID()) |
| | | .append("subModuleID", getSubModuleID()) |
| | | .append("switchID", getSwitchID()) |
| | | .append("switchText", getSwitchText()) |
| | | .append("switchWav", getSwitchWav()) |
| | | .append("selfRegex", getSelfRegex()) |
| | | .append("isEnable", getIsEnable()) |
| | | .append("isDel", getIsDel()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .append("orgid", getOrgid()) |
| | | .toString(); |
| | | } |
| | | } |
| | |
| | | private Long targetid; |
| | | |
| | | /** |
| | | * ææ ç±»å |
| | | */ |
| | | @Excel(name = "ææ ç±»å") |
| | | @ApiModelProperty(value = "ææ ç±»å") |
| | | private String targettype; |
| | | |
| | | /** |
| | | * ææ åç§° |
| | | */ |
| | | @ApiModelProperty("ææ åç§°") |
| | |
| | | private String orgid; |
| | | |
| | | /** |
| | | * åæ°åé |
| | | */ |
| | | @ApiModelProperty("åæ°åé") |
| | | @Excel(name = " åæ°åé ") |
| | | private String parameter; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @ApiModelProperty("ç¶ID") |
| | |
| | | @Excel(name = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * æ¯å¦å¯ç¨ |
| | | */ |
| | | @Excel(name = "æ¯å¦å¯ç¨") |
| | | @ApiModelProperty(value = "æ¯å¦å¯ç¨") |
| | | private String isAvailable; |
| | | |
| | | /** |
| | | * éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3 |
| | | */ |
| | | @ApiModelProperty("éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3") |
| | | @Excel(name = "éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3") |
| | | private String suitway; |
| | | |
| | | /** |
| | | * å»é¢é¢åº |
| | | */ |
| | | @Excel(name = "å»é¢é¢åº") |
| | | @ApiModelProperty(value = "å»é¢é¢åº") |
| | | private String campus; |
| | | |
| | | /** |
| | | * é¨é¨ID |
| | | */ |
| | | @Excel(name = "é¨é¨ID") |
| | | @ApiModelProperty(value = "é¨é¨ID") |
| | | private String deptIds; |
| | | |
| | | /** |
| | | * é¨é¨åç§° |
| | | */ |
| | | @Excel(name = "é¨é¨åç§°") |
| | | @ApiModelProperty(value = "é¨é¨åç§°") |
| | | private String deptNames; |
| | | |
| | | /** |
| | | * æ ç¾ |
| | | */ |
| | | @Excel(name = "æ ç¾") |
| | | @ApiModelProperty(value = "æ ç¾") |
| | | private String tag; |
| | | |
| | | |
| | | } |
| | |
| | | @Excel(name = "ç¶id") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * åºå· |
| | | */ |
| | | @ApiModelProperty("åºå·") |
| | | @Excel(name = "åºå·") |
| | | private Integer seqno; |
| | | |
| | | |
| | | } |
| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | * åæ°æ® |
| | | */ |
| | | @ApiModelProperty(value = "åæ°æ®") |
| | | private List<IvrLibaScriptAssort> ivrLibaScriptAssortList; |
| | | private List<IvrLibaScriptAssort> ivrLibaScriptAssortList = new ArrayList<>(); |
| | | |
| | | } |
| | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty("ææ åç§°") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String targetname; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty("é®é¢ID") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Long scriptid; |
| | |
| | | private Long targetid; |
| | | |
| | | /** |
| | | * ææ ç±»å |
| | | */ |
| | | @Excel(name = "ææ ç±»å") |
| | | @ApiModelProperty(value = "ææ ç±»å") |
| | | private String targettype; |
| | | |
| | | /** |
| | | * ææ åç§° |
| | | */ |
| | | @ApiModelProperty("ææ åç§°") |
| | |
| | | private String orgid; |
| | | |
| | | /** |
| | | * ææ éå |
| | | * åæ°åé |
| | | */ |
| | | @ApiModelProperty("ææ éå") |
| | | private List<IvrLibaScriptTarget> ivrLibaScriptTargetList; |
| | | @ApiModelProperty("åæ°åé") |
| | | @Excel(name = " åæ°åé ") |
| | | private String parameter; |
| | | // /** |
| | | // * ææ éå |
| | | // */ |
| | | // @ApiModelProperty("ææ éå") |
| | | // private List<IvrLibaScriptTarget> ivrLibaScriptTargetList; |
| | | |
| | | |
| | | /** |
| | |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | /** |
| | | * æ¯å¦å¯ç¨ |
| | | */ |
| | | @Excel(name = "æ¯å¦å¯ç¨") |
| | | @ApiModelProperty(value = "æ¯å¦å¯ç¨") |
| | | private String isAvailable; |
| | | |
| | | /** |
| | | * éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3 |
| | | */ |
| | | @ApiModelProperty("éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3") |
| | | @Excel(name = "éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3") |
| | | private String suitway; |
| | | |
| | | /** |
| | | * å»é¢é¢åº |
| | | */ |
| | | @Excel(name = "å»é¢é¢åº") |
| | | @ApiModelProperty(value = "å»é¢é¢åº") |
| | | private String campus; |
| | | |
| | | |
| | | /** |
| | | * é¨é¨ID |
| | | */ |
| | | @Excel(name = "é¨é¨ID") |
| | | @ApiModelProperty(value = "é¨é¨ID") |
| | | private String deptIds; |
| | | |
| | | /** |
| | | * é¨é¨åç§° |
| | | */ |
| | | @Excel(name = "é¨é¨åç§°") |
| | | @ApiModelProperty(value = "é¨é¨åç§°") |
| | | private String deptNames; |
| | | |
| | | /** |
| | | * æ ç¾ |
| | | */ |
| | | @Excel(name = "æ ç¾") |
| | | @ApiModelProperty(value = "æ ç¾") |
| | | private String tag; |
| | | } |
| | |
| | | @ApiModelProperty(value = "éç¨æ¹å¼") |
| | | private String suitWay; |
| | | |
| | | |
| | | /** |
| | | * åæ°åé |
| | | */ |
| | | @ApiModelProperty("åæ°åé") |
| | | @Excel(name = "åæ°åé") |
| | | private String parameter; |
| | | |
| | | /** |
| | | * pageNum |
| | | */ |
| | |
| | | private Long pid; |
| | | |
| | | /** |
| | | * åºå· |
| | | */ |
| | | @ApiModelProperty(value = "åºå·") |
| | | @Excel(name = "åºå·") |
| | | private Integer seqno; |
| | | |
| | | /** |
| | | * pageNum |
| | | */ |
| | | @ApiModelProperty(value = "pageNum") |
| | |
| | | @ApiModelProperty(value = "pageSize") |
| | | @Excel(name = "pageSize") |
| | | private Integer pageSize; |
| | | |
| | | |
| | | |
| | | @Override |
| | |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | * åæ°æ® |
| | | */ |
| | | @ApiModelProperty(value = "åæ°æ®") |
| | | private List<IvrLibaTargetAssort> ivrLibaTargetAssortList; |
| | | private List<IvrLibaTargetAssort> ivrLibaTargetAssortList = new ArrayList<>(); |
| | | |
| | | @Override |
| | | public String toString() { |
| | |
| | | private Long outid; |
| | | |
| | | /** |
| | | * 1 ææ 2宣æ 3é®é¢ |
| | | * 1,ææ 2,éè®¿è¯æ¯ 3,é访模ç 4,é®å·è¯æ¯ ï¼5,é®å·æ¨¡ç 6,宣æ |
| | | */ |
| | | @ApiModelProperty(value = "1 ææ 2宣æ 3é®é¢") |
| | | @Excel(name = "1 ææ 2宣æ 3é®é¢ ") |
| | | @ApiModelProperty(value = "1,ææ 2,éè®¿è¯æ¯ 3,é访模ç 4,é®å·è¯æ¯ ï¼5,é®å·æ¨¡ç 6,宣æ") |
| | | @Excel(name = "1,ææ 2,éè®¿è¯æ¯ 3,é访模ç 4,é®å·è¯æ¯ ï¼5,é®å·æ¨¡ç 6,宣æ") |
| | | private Long type; |
| | | |
| | | /** |
| | |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | /** |
| | | * åæ°åé |
| | | */ |
| | | @ApiModelProperty("åæ°åé") |
| | | @Excel(name = "åæ°åé") |
| | | private String parameter; |
| | | |
| | | @ApiModelProperty(value = "ææ é项éå") |
| | | private List<IvrLibaTargetoption> targetoptionList; |
| | | private List<IvrLibaTargetoption> targetoptionList = new ArrayList<>(); |
| | | |
| | | @ApiModelProperty(value = "æ ç¾éå") |
| | | private List<BaseTag> baseTagList; |
| | | private List<BaseTag> baseTagList = new ArrayList<>(); |
| | | |
| | | } |
| | |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * è¯æ¯æ¨¡æ¿åºå¯¹è±¡ ivr_liba_template |
| | | * 模æ¿åºå¯¹è±¡ ivr_liba_template |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTemplate", description = "è¯æ¯æ¨¡æ¿åºå¯¹è±¡") |
| | | @ApiModel(value = "IvrLibaTemplate", description = "模æ¿åºå¯¹è±¡") |
| | | public class IvrLibaTemplate extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * ä¸»é® |
| | | */ |
| | | @ApiModelProperty(value = "模æ¿id") |
| | | private String templateID; |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long ID; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * ææ id |
| | | */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @ApiModelProperty(value = "模æ¿åç§°") |
| | | @Excel(name = "ææ id") |
| | | @ApiModelProperty(value = "ææ id") |
| | | private Integer targetid; |
| | | |
| | | /** |
| | | * ææ å |
| | | */ |
| | | @Excel(name = "ææ å") |
| | | @ApiModelProperty(value = "ææ å") |
| | | private String targetname; |
| | | |
| | | /** |
| | | * 模æ¿å |
| | | */ |
| | | @Excel(name = "模æ¿å") |
| | | @ApiModelProperty(value = "模æ¿å") |
| | | private String templateName; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * æ²é»æ¶é´ |
| | | */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @ApiModelProperty(value = "silencetime") |
| | | @Excel(name = "æ²é»æ¶é´") |
| | | @ApiModelProperty(value = "æ²é»æ¶é´") |
| | | private Long silencetime; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * æ²é»æç»æ¶é´ |
| | | */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @ApiModelProperty(value = "slienceRepeatTimes") |
| | | @Excel(name = "æ²é»æç»æ¶é´") |
| | | @ApiModelProperty(value = "æ²é»æç»æ¶é´") |
| | | private Long slienceRepeatTimes; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * æ å¹é
æ¶é´ |
| | | */ |
| | | @ApiModelProperty(value = "nomatchRepeatTimes") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @Excel(name = "æ å¹é
æ¶é´") |
| | | @ApiModelProperty(value = "æ å¹é
æ¶é´") |
| | | private Long nomatchRepeatTimes; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * ç¬¬ä¸æ¬¡é®é¢ç¼å· |
| | | */ |
| | | @ApiModelProperty(value = "firstQuestionNum") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @Excel(name = "ç¬¬ä¸æ¬¡é®é¢ç¼å·") |
| | | @ApiModelProperty(value = "ç¬¬ä¸æ¬¡é®é¢ç¼å·") |
| | | private Long firstQuestionNum; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * éç¨å¹é
è¯æ¯ |
| | | */ |
| | | @ApiModelProperty(value = "åç»ä»¶") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @Excel(name = "éç¨å¹é
è¯æ¯") |
| | | @ApiModelProperty(value = "éç¨å¹é
è¯æ¯") |
| | | private String submodule; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * è¯è¨ |
| | | */ |
| | | @Excel(name = "è¯è¨") |
| | | @ApiModelProperty(value = "è¯è¨") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String language; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * æè¿° |
| | | */ |
| | | @Excel(name = "æè¿°") |
| | | @ApiModelProperty(value = "æè¿°") |
| | | @Excel(name = "${note}", readConverterExp = "$column.readConverterExp()") |
| | | private String note; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼ |
| | | */ |
| | | @ApiModelProperty(value = "isEnable") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @Excel(name = "å¼ç±»å", readConverterExp = "1=,é=项,2=,æ=æ¬,3=,æ°=å¼") |
| | | @ApiModelProperty(value = "å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼") |
| | | private Long isEnable; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * æ°å¢ç¨æ·ID |
| | | */ |
| | | @ApiModelProperty(value = "æ·»å 人") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @Excel(name = "æ°å¢ç¨æ·ID") |
| | | @ApiModelProperty(value = "æ°å¢ç¨æ·ID") |
| | | private String addUserID; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * æ°å¢æ¶é´ |
| | | */ |
| | | @ApiModelProperty(value = "æ·»å æ¶é´") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "æ°å¢æ¶é´", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "æ°å¢æ¶é´") |
| | | private Date addTime; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * ä¿®æ¹ç¨æ·ID |
| | | */ |
| | | @ApiModelProperty(value = "ä¿®æ¹äººid") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @Excel(name = "ä¿®æ¹ç¨æ·ID") |
| | | @ApiModelProperty(value = "ä¿®æ¹ç¨æ·ID") |
| | | private String modifyUserID; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * ä¿®æ¹æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "ä¿®æ¹æ¶é´", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¿®æ¹æ¶é´") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * åç»ID |
| | | */ |
| | | @ApiModelProperty(value = "åç»id") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @Excel(name = "åç»ID") |
| | | @ApiModelProperty(value = "åç»ID") |
| | | private String groupID; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * æ ç¾ä¿¡æ¯ |
| | | */ |
| | | @Excel(name = "æ ç¾ä¿¡æ¯") |
| | | @ApiModelProperty(value = "æ ç¾ä¿¡æ¯") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String labelInfo; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * éç¨å¹é
è¯æ¯id |
| | | */ |
| | | @ApiModelProperty(value = "模æ¿id") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @Excel(name = "éç¨å¹é
è¯æ¯id") |
| | | @ApiModelProperty(value = "éç¨å¹é
è¯æ¯id") |
| | | private String submoduleID; |
| | | |
| | | /** |
| | | * ææ¥ç±»å 0.è¯é³ä¼å
1.æåä¼å
|
| | | */ |
| | | @ApiModelProperty(value = "ææ¥ç±»å 0.è¯é³ä¼å
1.æåä¼å
") |
| | | @Excel(name = "ææ¥ç±»å 0.è¯é³ä¼å
1.æåä¼å
") |
| | | @ApiModelProperty(value = " ææ¥ç±»å 0.è¯é³ä¼å
1.æåä¼å
") |
| | | private Long playType; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * ç¾ç
å
³è |
| | | */ |
| | | @ApiModelProperty(value = "icd10code") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @Excel(name = "ç¾ç
å
³è") |
| | | @ApiModelProperty(value = "ç¾ç
å
³è") |
| | | private String icd10code; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * ç¾ç
å
³èåç§° |
| | | */ |
| | | @ApiModelProperty(value = "icd10codename") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @Excel(name = "ç¾ç
å
³èåç§°") |
| | | @ApiModelProperty(value = "ç¾ç
å
³èåç§°") |
| | | private String icd10codename; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * atuoTaskDayOffset |
| | | */ |
| | | @Excel(name = "atuoTaskDayOffset") |
| | | @ApiModelProperty(value = "atuoTaskDayOffset") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Long atuoTaskDayOffset; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * é¨é¨ID |
| | | */ |
| | | @ApiModelProperty(value = "é¨é¨id") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @Excel(name = "é¨é¨ID") |
| | | @ApiModelProperty(value = "é¨é¨ID") |
| | | private String deptIds; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * é¨é¨åç§° |
| | | */ |
| | | @Excel(name = "é¨é¨åç§°") |
| | | @ApiModelProperty(value = "é¨é¨åç§°") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String deptNames; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | * F_KSDM |
| | | */ |
| | | @ApiModelProperty(value = "fKsdm") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | @Excel(name = "F_KSDM") |
| | | @ApiModelProperty(value = "F_KSDM") |
| | | private String fKsdm; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty(value = "æºæID") |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * åç±»id |
| | | */ |
| | | @Excel(name = "åç±»id") |
| | | @ApiModelProperty(value = "åç±»id") |
| | | @Excel(name = " åç±»id ") |
| | | private Long assortid; |
| | | |
| | | /** |
| | | * åæ°åé |
| | | */ |
| | | @Excel(name = "åæ°åé") |
| | | @ApiModelProperty(value = "åæ°åé") |
| | | private String parameter; |
| | | |
| | | |
| | | /** |
| | | * çæ¬å· |
| | | */ |
| | | @Excel(name = "çæ¬å·") |
| | | @ApiModelProperty(value = "çæ¬å·") |
| | | private String version; |
| | | |
| | | |
| | | /** |
| | | * å¯ç¨ç¶æ |
| | | */ |
| | | @Excel(name = "å¯ç¨ç¶æ") |
| | | @ApiModelProperty(value = "å¯ç¨ç¶æ") |
| | | private String usestate; |
| | | |
| | | /** |
| | | * å¯ç¨ç¶æ |
| | | */ |
| | | @Excel(name = "å»é¢é¢åº") |
| | | @ApiModelProperty(value = "å»é¢é¢åº") |
| | | private String campus; |
| | | |
| | | /** |
| | | * æ ç¾ |
| | | */ |
| | | @Excel(name = "æ ç¾") |
| | | @ApiModelProperty(value = "æ ç¾") |
| | | private String tag; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * 模æ¿å类对象 ivr_liba_template_assort |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTemplateAssort", description = "模æ¿å类对象") |
| | | public class IvrLibaTemplateAssort extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long id; |
| | | |
| | | /** |
| | | * ææ åç±»åç§° |
| | | */ |
| | | @Excel(name = "ææ åç±»åç§°") |
| | | @ApiModelProperty(value = "ææ åç±»åç§°") |
| | | private String indexAssortName; |
| | | |
| | | /** |
| | | * å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "å é¤") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ç¶id |
| | | */ |
| | | @Excel(name = "ç¶id") |
| | | @ApiModelProperty(value = "ç¶id") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * åºå· |
| | | */ |
| | | @Excel(name = "åºå·") |
| | | @ApiModelProperty(value = "åºå·") |
| | | private Integer seqno; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模æ¿åç±»è¿å对象 ivr_liba_template_assort |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTemplateAssortVO", description = "模æ¿å类对象") |
| | | public class IvrLibaTemplateAssortVO extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long id; |
| | | |
| | | /** |
| | | * ææ åç±»åç§° |
| | | */ |
| | | @Excel(name = "ææ åç±»åç§°") |
| | | @ApiModelProperty(value = "ææ åç±»åç§°") |
| | | private String indexAssortName; |
| | | |
| | | /** |
| | | * å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "å é¤") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ç¶id |
| | | */ |
| | | @Excel(name = "ç¶id") |
| | | @ApiModelProperty(value = "ç¶id") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * åæ°æ® |
| | | */ |
| | | @Excel(name = "åæ°æ®") |
| | | @ApiModelProperty(value = "åæ°æ®") |
| | | private List<IvrLibaTemplateAssort> ivrLibaTemplateAssortList = new ArrayList<>(); |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * 模çé®é¢è¯æ¯åºå¯¹è±¡ ivr_liba_template_script |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTemplateAssort", description = "模æ¿å类对象") |
| | | public class IvrLibaTemplateScript extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主é®ID |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long ID; |
| | | |
| | | /** |
| | | * 模æ¿è¯æ¯ç¼å· |
| | | */ |
| | | @Excel(name = "模æ¿è¯æ¯ç¼å·") |
| | | @ApiModelProperty(value = "模æ¿è¯æ¯ç¼å·") |
| | | private Long templateQuestionNum; |
| | | |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @Excel(name = "模æ¿ID") |
| | | @ApiModelProperty(value = "模æ¿ID") |
| | | private Long templateID; |
| | | |
| | | /** |
| | | * è¯æ¯ID |
| | | */ |
| | | @ApiModelProperty(value = "è¯æ¯ID") |
| | | private Long scriptid; |
| | | |
| | | /** |
| | | * é®é¢ç¹ |
| | | */ |
| | | @Excel(name = "é®é¢ç¹") |
| | | @ApiModelProperty(value = "é®é¢ç¹") |
| | | private String questionPoint; |
| | | |
| | | /** |
| | | * è¯æ¯å
容 |
| | | */ |
| | | @Excel(name = "è¯æ¯å
容") |
| | | @ApiModelProperty(value = "è¯æ¯å
容") |
| | | private String questionText; |
| | | |
| | | /** |
| | | * è¯æ¯è¯é³ |
| | | */ |
| | | @Excel(name = "è¯æ¯è¯é³") |
| | | @ApiModelProperty(value = "è¯æ¯è¯é³") |
| | | private String questionVoice; |
| | | |
| | | /** |
| | | * æ å¹é
è¯æ¯ |
| | | */ |
| | | @Excel(name = "æ å¹é
è¯æ¯") |
| | | @ApiModelProperty(value = "æ å¹é
è¯æ¯") |
| | | private String noMatchText; |
| | | |
| | | /** |
| | | * æ å¹é
è¯æ¯è¯é³ |
| | | */ |
| | | @Excel(name = "æ å¹é
è¯æ¯è¯é³") |
| | | @ApiModelProperty(value = "æ å¹é
è¯æ¯è¯é³") |
| | | private String noMatchVoice; |
| | | |
| | | /** |
| | | * éé»è¯æ¯ |
| | | */ |
| | | @Excel(name = "éé»è¯æ¯") |
| | | @ApiModelProperty(value = "éé»è¯æ¯") |
| | | private String slienceText; |
| | | |
| | | /** |
| | | * éé»è¯æ¯è¯é³ |
| | | */ |
| | | @Excel(name = "éé»è¯æ¯è¯é³") |
| | | @ApiModelProperty(value = "éé»è¯æ¯è¯é³") |
| | | private String slienceVoice; |
| | | |
| | | /** |
| | | * éç¨åºå¹é
åè¯æ¯ |
| | | */ |
| | | @Excel(name = "éç¨åºå¹é
åè¯æ¯") |
| | | @ApiModelProperty(value = "éç¨åºå¹é
åè¯æ¯") |
| | | private String submoduleText; |
| | | |
| | | /** |
| | | * éç¨åºå¹é
åè¯æ¯è¯é³ |
| | | */ |
| | | @Excel(name = "éç¨åºå¹é
åè¯æ¯è¯é³") |
| | | @ApiModelProperty(value = "éç¨åºå¹é
åè¯æ¯è¯é³") |
| | | private String submoduleVoice; |
| | | |
| | | /** |
| | | * å¬ä¸æ¸
è¯æ¯ |
| | | */ |
| | | @Excel(name = "å¬ä¸æ¸
è¯æ¯") |
| | | @ApiModelProperty(value = "å¬ä¸æ¸
è¯æ¯") |
| | | private String noClearlyText; |
| | | |
| | | /** |
| | | * å¬ä¸æ¸
è¯æ¯è¯é³ |
| | | */ |
| | | @Excel(name = "å¬ä¸æ¸
è¯æ¯è¯é³") |
| | | @ApiModelProperty(value = "å¬ä¸æ¸
è¯æ¯è¯é³") |
| | | private String noClearlyVoice; |
| | | |
| | | /** |
| | | * ç±»å«å |
| | | */ |
| | | @Excel(name = "ç±»å«å") |
| | | @ApiModelProperty(value = "ç±»å«å") |
| | | private String categoryName; |
| | | |
| | | /** |
| | | * ææ é项 |
| | | */ |
| | | @Excel(name = "ææ é项") |
| | | @ApiModelProperty(value = "ææ é项") |
| | | private String targetOptions; |
| | | |
| | | /** |
| | | * è¯è¨ |
| | | */ |
| | | @Excel(name = "è¯è¨") |
| | | @ApiModelProperty(value = "è¯è¨") |
| | | private String language; |
| | | |
| | | /** |
| | | * åªè½ææ¾WAVç±»å |
| | | */ |
| | | @Excel(name = "åªè½ææ¾WAVç±»å") |
| | | @ApiModelProperty(value = "åªè½ææ¾WAVç±»å") |
| | | private Long playWavOnly; |
| | | |
| | | /** |
| | | * å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼ |
| | | */ |
| | | @Excel(name = "å¼ç±»å", readConverterExp = "1=,é=项,2=,æ=æ¬,3=,æ°=å¼") |
| | | @ApiModelProperty(value = "å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼") |
| | | private Long isEnable; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer targettype; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Long targetid; |
| | | |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer targetvalue; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模çé®é¢è¯æ¯åºå¯¹è±¡åæ° ivr_liba_template_script |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTemplateScriptVO", description = "模çé®é¢è¯æ¯åºå¯¹è±¡åæ°") |
| | | public class IvrLibaTemplateScriptVO extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主é®ID |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long ID; |
| | | |
| | | /** |
| | | * 模æ¿è¯æ¯ç¼å· |
| | | */ |
| | | @Excel(name = "模æ¿è¯æ¯ç¼å·") |
| | | @ApiModelProperty(value = "模æ¿è¯æ¯ç¼å·") |
| | | private Long templateQuestionNum; |
| | | |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @Excel(name = "模æ¿ID") |
| | | @ApiModelProperty(value = "模æ¿ID") |
| | | private Long templateID; |
| | | |
| | | /** |
| | | * åºç¡è¯æ¯ID |
| | | */ |
| | | @ApiModelProperty(value = "åºç¡è¯æ¯ID") |
| | | private Long scriptID; |
| | | |
| | | /** |
| | | * é®é¢ç¹ |
| | | */ |
| | | @Excel(name = "é®é¢ç¹") |
| | | @ApiModelProperty(value = "é®é¢ç¹") |
| | | private String questionPoint; |
| | | |
| | | /** |
| | | * è¯æ¯å
容 |
| | | */ |
| | | @Excel(name = "è¯æ¯å
容") |
| | | @ApiModelProperty(value = "è¯æ¯å
容") |
| | | private String questionText; |
| | | |
| | | /** |
| | | * è¯æ¯è¯é³ |
| | | */ |
| | | @Excel(name = "è¯æ¯è¯é³") |
| | | @ApiModelProperty(value = "è¯æ¯è¯é³") |
| | | private String questionVoice; |
| | | |
| | | /** |
| | | * æ å¹é
è¯æ¯ |
| | | */ |
| | | @Excel(name = "æ å¹é
è¯æ¯") |
| | | @ApiModelProperty(value = "æ å¹é
è¯æ¯") |
| | | private String noMatchText; |
| | | |
| | | /** |
| | | * æ å¹é
è¯æ¯è¯é³ |
| | | */ |
| | | @Excel(name = "æ å¹é
è¯æ¯è¯é³") |
| | | @ApiModelProperty(value = "æ å¹é
è¯æ¯è¯é³") |
| | | private String noMatchVoice; |
| | | |
| | | /** |
| | | * éé»è¯æ¯ |
| | | */ |
| | | @Excel(name = "éé»è¯æ¯") |
| | | @ApiModelProperty(value = "éé»è¯æ¯") |
| | | private String slienceText; |
| | | |
| | | /** |
| | | * éé»è¯æ¯è¯é³ |
| | | */ |
| | | @Excel(name = "éé»è¯æ¯è¯é³") |
| | | @ApiModelProperty(value = "éé»è¯æ¯è¯é³") |
| | | private String slienceVoice; |
| | | |
| | | /** |
| | | * éç¨åºå¹é
åè¯æ¯ |
| | | */ |
| | | @Excel(name = "éç¨åºå¹é
åè¯æ¯") |
| | | @ApiModelProperty(value = "éç¨åºå¹é
åè¯æ¯") |
| | | private String submoduleText; |
| | | |
| | | /** |
| | | * éç¨åºå¹é
åè¯æ¯è¯é³ |
| | | */ |
| | | @Excel(name = "éç¨åºå¹é
åè¯æ¯è¯é³") |
| | | @ApiModelProperty(value = "éç¨åºå¹é
åè¯æ¯è¯é³") |
| | | private String submoduleVoice; |
| | | |
| | | /** |
| | | * å¬ä¸æ¸
è¯æ¯ |
| | | */ |
| | | @Excel(name = "å¬ä¸æ¸
è¯æ¯") |
| | | @ApiModelProperty(value = "å¬ä¸æ¸
è¯æ¯") |
| | | private String noClearlyText; |
| | | |
| | | /** |
| | | * å¬ä¸æ¸
è¯æ¯è¯é³ |
| | | */ |
| | | @Excel(name = "å¬ä¸æ¸
è¯æ¯è¯é³") |
| | | @ApiModelProperty(value = "å¬ä¸æ¸
è¯æ¯è¯é³") |
| | | private String noClearlyVoice; |
| | | |
| | | /** |
| | | * ç±»å«å |
| | | */ |
| | | @Excel(name = "ç±»å«å") |
| | | @ApiModelProperty(value = "ç±»å«å") |
| | | private String categoryName; |
| | | |
| | | /** |
| | | * ææ é项 |
| | | */ |
| | | @Excel(name = "ææ é项") |
| | | @ApiModelProperty(value = "ææ é项") |
| | | private String targetOptions; |
| | | |
| | | /** |
| | | * è¯è¨ |
| | | */ |
| | | @Excel(name = "è¯è¨") |
| | | @ApiModelProperty(value = "è¯è¨") |
| | | private String language; |
| | | |
| | | /** |
| | | * åªè½ææ¾WAVç±»å |
| | | */ |
| | | @Excel(name = "åªè½ææ¾WAVç±»å") |
| | | @ApiModelProperty(value = "åªè½ææ¾WAVç±»å") |
| | | private Long playWavOnly; |
| | | |
| | | /** |
| | | * å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼ |
| | | */ |
| | | @Excel(name = "å¼ç±»å", readConverterExp = "1=,é=项,2=,æ=æ¬,3=,æ°=å¼") |
| | | @ApiModelProperty(value = "å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼") |
| | | private Long isEnable; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | /** |
| | | * åºç¡ææ ç±»å |
| | | */ |
| | | @ApiModelProperty(value = "åºç¡ææ ç±»å") |
| | | private Integer targetType; |
| | | |
| | | /** |
| | | * åºç¡ææ id |
| | | */ |
| | | @ApiModelProperty(value = "åºç¡ææ id") |
| | | private Integer targetid; |
| | | |
| | | |
| | | /** |
| | | * åºç¡ææ å¼ |
| | | */ |
| | | @ApiModelProperty(value = "åºç¡ææ å¼") |
| | | private Integer targetValue; |
| | | |
| | | /** |
| | | * è¯æ¯é项 |
| | | */ |
| | | @ApiModelProperty(value = "è¯æ¯é项") |
| | | private List<IvrLibaTemplateTargetoption> ivrLibaTemplateTargetoptionList; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ ç¾å¯¹è±¡ ivr_liba_template_tag |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTemplateTag", description = "æ¨¡æ¿æ ç¾å¯¹è±¡") |
| | | public class IvrLibaTemplateTag extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long id; |
| | | |
| | | /** |
| | | * æ ç¾åç±»ID |
| | | */ |
| | | @Excel(name = " æ ç¾åç±»ID ") |
| | | @ApiModelProperty(value = "æ ç¾åç±»ID") |
| | | private Long tagcategoryid; |
| | | |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @Excel(name = " 模æ¿ID ") |
| | | @ApiModelProperty(value = "模æ¿ID") |
| | | private Long templateid; |
| | | |
| | | /** |
| | | * æ ç¾ID |
| | | */ |
| | | @Excel(name = " æ ç¾ID ") |
| | | @ApiModelProperty(value = "æ ç¾ID") |
| | | private Long tagid; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æ ç¾ID |
| | | */ |
| | | @Excel(name = "æ ç¾ID ") |
| | | @ApiModelProperty(value = "æ ç¾ID") |
| | | private Long targetid; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * 模çé®é¢ææ åºå¯¹è±¡ ivr_liba_template_target |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTemplateTarget", description = "模çé®é¢ææ åºå¯¹è±¡") |
| | | public class IvrLibaTemplateTarget extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * æ¨¡æ¿ææ ID |
| | | */ |
| | | @ApiModelProperty(value = "æ¨¡æ¿ææ ID") |
| | | private Long ID; |
| | | |
| | | /** |
| | | * 模æ¿è¯æ¯ID |
| | | */ |
| | | @Excel(name = "模æ¿è¯æ¯ID") |
| | | @ApiModelProperty(value = "模æ¿è¯æ¯ID") |
| | | private Long templateQuestionID; |
| | | |
| | | /** |
| | | * 模æ¿è¯æ¯ç¼å· |
| | | */ |
| | | @Excel(name = "模æ¿è¯æ¯ç¼å·") |
| | | @ApiModelProperty(value = "模æ¿è¯æ¯ç¼å·") |
| | | private Long templateQuestionNum; |
| | | |
| | | /** |
| | | * ä¸ä¸ä¸ªè¯æ¯ç¼å· |
| | | */ |
| | | @Excel(name = "ä¸ä¸ä¸ªè¯æ¯ç¼å·") |
| | | @ApiModelProperty(value = "ä¸ä¸ä¸ªè¯æ¯ç¼å·") |
| | | private Long nextQuestionNum; |
| | | |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @Excel(name = "模æ¿ID") |
| | | @ApiModelProperty(value = "模æ¿ID") |
| | | private Long templateID; |
| | | |
| | | /** |
| | | * èç¹ID |
| | | */ |
| | | @Excel(name = "èç¹ID") |
| | | @ApiModelProperty(value = "èç¹ID") |
| | | private Long switchID; |
| | | |
| | | /** |
| | | * èç¹æè¿° |
| | | */ |
| | | @Excel(name = "èç¹æè¿°") |
| | | @ApiModelProperty(value = "èç¹æè¿°") |
| | | private String switchDescription; |
| | | |
| | | /** |
| | | * èç¹å
容 |
| | | */ |
| | | @Excel(name = "èç¹å
容") |
| | | @ApiModelProperty(value = "èç¹å
容") |
| | | private String switchText; |
| | | |
| | | /** |
| | | * èç¹çWAVæ ¼å¼ |
| | | */ |
| | | @Excel(name = "èç¹çWAVæ ¼å¼") |
| | | @ApiModelProperty(value = "èç¹çWAVæ ¼å¼") |
| | | private String switchWav; |
| | | |
| | | /** |
| | | * èç¹å¾
å¹é
è¯é³ |
| | | */ |
| | | @Excel(name = "èç¹å¾
å¹é
è¯é³") |
| | | @ApiModelProperty(value = "èç¹å¾
å¹é
è¯é³") |
| | | private String switchTempWav; |
| | | |
| | | /** |
| | | * ææ ç±»å |
| | | */ |
| | | @Excel(name = "ææ ç±»å") |
| | | @ApiModelProperty(value = "ææ ç±»å") |
| | | private String targetType; |
| | | |
| | | /** |
| | | * åç±»å |
| | | */ |
| | | @Excel(name = "åç±»å") |
| | | @ApiModelProperty(value = "åç±»å") |
| | | private String categoryName; |
| | | |
| | | /** |
| | | * ææ å¼ |
| | | */ |
| | | @Excel(name = "ææ å¼") |
| | | @ApiModelProperty(value = "ææ å¼") |
| | | private String targetValue; |
| | | |
| | | /** |
| | | * ææ ID |
| | | */ |
| | | @Excel(name = "ææ ID") |
| | | @ApiModelProperty(value = "ææ ID") |
| | | private String targetID; |
| | | |
| | | /** |
| | | * è¯æ¯ææ ID |
| | | */ |
| | | @Excel(name = "è¯æ¯ææ ID") |
| | | @ApiModelProperty(value = "è¯æ¯ææ ID") |
| | | private String questionTargetID; |
| | | |
| | | /** |
| | | * åºç¡æ£å |
| | | */ |
| | | @Excel(name = "åºç¡æ£å") |
| | | @ApiModelProperty(value = "åºç¡æ£å") |
| | | private String basicRegex; |
| | | |
| | | /** |
| | | * èªèº«æ£å |
| | | */ |
| | | @Excel(name = "èªèº«æ£å") |
| | | @ApiModelProperty(value = "èªèº«æ£å") |
| | | private String selfRegex; |
| | | |
| | | /** |
| | | * æ£å使ç¨ç±»å |
| | | */ |
| | | @Excel(name = "æ£å使ç¨ç±»å") |
| | | @ApiModelProperty(value = "æ£å使ç¨ç±»å") |
| | | private String regexUsedType; |
| | | |
| | | /** |
| | | * è¯è¨ |
| | | */ |
| | | @Excel(name = "è¯è¨") |
| | | @ApiModelProperty(value = "è¯è¨") |
| | | private String language; |
| | | |
| | | /** |
| | | * å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼ |
| | | */ |
| | | @Excel(name = "å¼ç±»å", readConverterExp = "1=,é=项,2=,æ=æ¬,3=,æ°=å¼") |
| | | @ApiModelProperty(value = "å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼") |
| | | private Long isEnable; |
| | | |
| | | /** |
| | | * ææ¥ç±»å 0.è¯é³ä¼å
1.æåä¼å
|
| | | */ |
| | | @Excel(name = "ææ¥ç±»å 0.è¯é³ä¼å
1.æåä¼å
") |
| | | @ApiModelProperty(value = "ææ¥ç±»å 0.è¯é³ä¼å
1.æåä¼å
") |
| | | private Long playType; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * æ¨¡æ¿ææ é项åºå¯¹è±¡ ivr_liba_template_targetoption |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTemplateTargetoption", description = "æ¨¡æ¿ææ é项åºå¯¹è±¡") |
| | | public class IvrLibaTemplateTargetoption extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * ä¸»é® |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long id; |
| | | |
| | | /** |
| | | * æ¨¡æ¿ææ ID |
| | | */ |
| | | @Excel(name = "æ¨¡æ¿ææ ID") |
| | | @ApiModelProperty(value = "æ¨¡æ¿ææ ID") |
| | | private Long targetid; |
| | | |
| | | /** |
| | | * ææ åç§° |
| | | */ |
| | | @Excel(name = "ææ åç§°") |
| | | @ApiModelProperty(value = "ææ åç§°") |
| | | private String targetname; |
| | | |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @Excel(name = "模æ¿ID") |
| | | @ApiModelProperty(value = "模æ¿ID") |
| | | private Long templateID; |
| | | |
| | | /** |
| | | * è¯æ¯ID |
| | | */ |
| | | @Excel(name = "è¯æ¯ID") |
| | | @ApiModelProperty(value = "è¯æ¯ID") |
| | | private Long scriptid; |
| | | |
| | | /** |
| | | * æ¨¡æ¿ææ ç±»å |
| | | */ |
| | | @Excel(name = "æ¨¡æ¿ææ ç±»å") |
| | | @ApiModelProperty(value = "æ¨¡æ¿ææ ç±»å") |
| | | private String targettype; |
| | | |
| | | /** |
| | | * ç±»å«åç§° |
| | | */ |
| | | @Excel(name = "ç±»å«åç§°") |
| | | @ApiModelProperty(value = "ç±»å«åç§°") |
| | | private String categoryName; |
| | | |
| | | /** |
| | | * æ¨¡æ¿ææ å¼ |
| | | */ |
| | | @Excel(name = "æ¨¡æ¿ææ å¼") |
| | | @ApiModelProperty(value = "æ¨¡æ¿ææ å¼") |
| | | private String targetvalue; |
| | | |
| | | /** |
| | | * æ¨¡æ¿ææ æ£å |
| | | */ |
| | | @Excel(name = "æ¨¡æ¿ææ æ£å") |
| | | @ApiModelProperty(value = "æ¨¡æ¿ææ æ£å") |
| | | private String targetregex; |
| | | |
| | | /** |
| | | * é项æè¿° |
| | | */ |
| | | @Excel(name = "é项æè¿°") |
| | | @ApiModelProperty(value = "é项æè¿°") |
| | | private String optiondesc; |
| | | |
| | | /** |
| | | * è¯è¨ |
| | | */ |
| | | @Excel(name = "è¯è¨") |
| | | @ApiModelProperty(value = "è¯è¨") |
| | | private String language; |
| | | |
| | | /** |
| | | * çæ¬ |
| | | */ |
| | | @Excel(name = "çæ¬") |
| | | @ApiModelProperty(value = "çæ¬") |
| | | private String version; |
| | | |
| | | /** |
| | | * åç»ID |
| | | */ |
| | | @Excel(name = "åç»ID") |
| | | @ApiModelProperty(value = "åç»ID") |
| | | private String groupid; |
| | | |
| | | /** |
| | | * æ¯å¦å¼å¸¸æ è¯ |
| | | */ |
| | | @Excel(name = "æ¯å¦å¼å¸¸æ è¯") |
| | | @ApiModelProperty(value = "æ¯å¦å¼å¸¸æ è¯") |
| | | private Long isabnormal; |
| | | |
| | | /** |
| | | * é¢è¦éå¼ä¸é |
| | | */ |
| | | @Excel(name = "é¢è¦éå¼ä¸é") |
| | | @ApiModelProperty(value = "é¢è¦éå¼ä¸é") |
| | | private Long warnup; |
| | | |
| | | /** |
| | | * é¢è¦éå¼ä¸é |
| | | */ |
| | | @Excel(name = "é¢è¦éå¼ä¸é") |
| | | @ApiModelProperty(value = "é¢è¦éå¼ä¸é") |
| | | private Long warndown; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模æ¿åºè¿å对象 ivr_liba_template |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTemplateVO", description = "模æ¿åºè¿å对象") |
| | | public class IvrLibaTemplateVO extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * ä¸»é® |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long ID; |
| | | |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @Excel(name = "模æ¿å") |
| | | @ApiModelProperty(value = "模æ¿å ") |
| | | private String templateName; |
| | | |
| | | /** |
| | | * ææ id |
| | | */ |
| | | @Excel(name = "ææ id") |
| | | @ApiModelProperty(value = "ææ id") |
| | | private Integer targetid; |
| | | |
| | | /** |
| | | * ææ å |
| | | */ |
| | | @Excel(name = "ææ å") |
| | | @ApiModelProperty(value = "ææ å") |
| | | private Integer targetname; |
| | | |
| | | /** |
| | | * æ²é»æ¶é´ |
| | | */ |
| | | @Excel(name = "æ²é»æ¶é´") |
| | | @ApiModelProperty(value = "æ²é»æ¶é´") |
| | | private Long silencetime; |
| | | |
| | | /** |
| | | * æ²é»æç»æ¶é´ |
| | | */ |
| | | @Excel(name = "æ²é»æç»æ¶é´") |
| | | @ApiModelProperty(value = "æ²é»æç»æ¶é´") |
| | | private Long slienceRepeatTimes; |
| | | |
| | | /** |
| | | * æ å¹é
æ¶é´ |
| | | */ |
| | | @Excel(name = "æ å¹é
æ¶é´") |
| | | @ApiModelProperty(value = "æ å¹é
æ¶é´") |
| | | private Long nomatchRepeatTimes; |
| | | |
| | | /** |
| | | * ç¬¬ä¸æ¬¡é®é¢ç¼å· |
| | | */ |
| | | @Excel(name = "ç¬¬ä¸æ¬¡é®é¢ç¼å·") |
| | | @ApiModelProperty(value = "ç¬¬ä¸æ¬¡é®é¢ç¼å·") |
| | | private Long firstQuestionNum; |
| | | |
| | | /** |
| | | * éç¨å¹é
è¯æ¯ |
| | | */ |
| | | @Excel(name = "éç¨å¹é
è¯æ¯") |
| | | @ApiModelProperty(value = "éç¨å¹é
è¯æ¯") |
| | | private String submodule; |
| | | |
| | | /** |
| | | * è¯è¨ |
| | | */ |
| | | @Excel(name = "è¯è¨") |
| | | @ApiModelProperty(value = "è¯è¨") |
| | | private String language; |
| | | |
| | | /** |
| | | * æè¿° |
| | | */ |
| | | @Excel(name = "æè¿°") |
| | | @ApiModelProperty(value = "æè¿°") |
| | | private String note; |
| | | |
| | | /** |
| | | * å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼ |
| | | */ |
| | | @Excel(name = "å¼ç±»å", readConverterExp = "1=,é=项,2=,æ=æ¬,3=,æ°=å¼") |
| | | @ApiModelProperty(value = "å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼") |
| | | private Long isEnable; |
| | | |
| | | /** |
| | | * æ°å¢ç¨æ·ID |
| | | */ |
| | | @Excel(name = "æ°å¢ç¨æ·ID") |
| | | @ApiModelProperty(value = "æ°å¢ç¨æ·ID") |
| | | private String addUserID; |
| | | |
| | | /** |
| | | * æ°å¢æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "æ°å¢æ¶é´", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "æ°å¢æ¶é´") |
| | | private Date addTime; |
| | | |
| | | /** |
| | | * ä¿®æ¹ç¨æ·ID |
| | | */ |
| | | @Excel(name = "ä¿®æ¹ç¨æ·ID") |
| | | @ApiModelProperty(value = "ä¿®æ¹ç¨æ·ID") |
| | | private String modifyUserID; |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "ä¿®æ¹æ¶é´", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¿®æ¹æ¶é´") |
| | | private Date modifyTime; |
| | | |
| | | /** |
| | | * åç»ID |
| | | */ |
| | | @Excel(name = "åç»ID") |
| | | @ApiModelProperty(value = "åç»ID") |
| | | private String groupID; |
| | | |
| | | /** |
| | | * æ ç¾ä¿¡æ¯ |
| | | */ |
| | | @Excel(name = "æ ç¾ä¿¡æ¯") |
| | | @ApiModelProperty(value = "æ ç¾ä¿¡æ¯") |
| | | private String labelInfo; |
| | | |
| | | /** |
| | | * éç¨å¹é
è¯æ¯id |
| | | */ |
| | | @Excel(name = "éç¨å¹é
è¯æ¯id") |
| | | @ApiModelProperty(value = "éç¨å¹é
è¯æ¯id") |
| | | private String submoduleID; |
| | | |
| | | /** |
| | | * ææ¥ç±»å 0.è¯é³ä¼å
1.æåä¼å
|
| | | */ |
| | | @Excel(name = "ææ¥ç±»å 0.è¯é³ä¼å
1.æåä¼å
") |
| | | @ApiModelProperty(value = " ææ¥ç±»å 0.è¯é³ä¼å
1.æåä¼å
") |
| | | private Long playType; |
| | | |
| | | /** |
| | | * ç¾ç
å
³è |
| | | */ |
| | | @Excel(name = "ç¾ç
å
³è") |
| | | @ApiModelProperty(value = "ç¾ç
å
³è") |
| | | private String icd10code; |
| | | |
| | | /** |
| | | * ç¾ç
å
³èåç§° |
| | | */ |
| | | @Excel(name = "ç¾ç
å
³èåç§°") |
| | | @ApiModelProperty(value = "ç¾ç
å
³èåç§°") |
| | | private String icd10codename; |
| | | |
| | | /** |
| | | * atuoTaskDayOffset |
| | | */ |
| | | @Excel(name = "atuoTaskDayOffset") |
| | | @ApiModelProperty(value = "atuoTaskDayOffset") |
| | | private Long atuoTaskDayOffset; |
| | | |
| | | /** |
| | | * é¨é¨ID |
| | | */ |
| | | @Excel(name = "é¨é¨ID") |
| | | @ApiModelProperty(value = "é¨é¨ID") |
| | | private String deptIds; |
| | | |
| | | /** |
| | | * é¨é¨åç§° |
| | | */ |
| | | @Excel(name = "é¨é¨åç§°") |
| | | @ApiModelProperty(value = "é¨é¨åç§°") |
| | | private String deptNames; |
| | | |
| | | /** |
| | | * F_KSDM |
| | | */ |
| | | @Excel(name = "F_KSDM") |
| | | @ApiModelProperty(value = "F_KSDM") |
| | | private String fKsdm; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * åç±»id |
| | | */ |
| | | @Excel(name = "åç±»id") |
| | | @ApiModelProperty(value = "åç±»id") |
| | | private Long assortid; |
| | | |
| | | /** |
| | | * åæ°åé |
| | | */ |
| | | @Excel(name = "åæ°åé") |
| | | @ApiModelProperty(value = "åæ°åé") |
| | | private String parameter; |
| | | |
| | | /** |
| | | * çæ¬å· |
| | | */ |
| | | @Excel(name = "çæ¬å·") |
| | | @ApiModelProperty(value = "çæ¬å·") |
| | | private String version; |
| | | |
| | | /** |
| | | * å¯ç¨ç¶æ |
| | | */ |
| | | @Excel(name = "å¯ç¨ç¶æ") |
| | | @ApiModelProperty(value = "å¯ç¨ç¶æ") |
| | | private String usestate; |
| | | |
| | | /** |
| | | * å»é¢é¢åº |
| | | */ |
| | | @Excel(name = "å»é¢é¢åº") |
| | | @ApiModelProperty(value = "å»é¢é¢åº") |
| | | private String campus; |
| | | |
| | | /** |
| | | * æ ç¾ |
| | | */ |
| | | @Excel(name = "æ ç¾") |
| | | @ApiModelProperty(value = "æ ç¾") |
| | | private String tag; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | // |
| | | // @ApiModelProperty(value = "æ¨¡æ¿æ ç¾éå") |
| | | // private List<IvrLibaTemplateTarget> ivrLibaTemplateTargetList; |
| | | |
| | | @ApiModelProperty(value = "模æ¿é®é¢éå") |
| | | private List<IvrLibaTemplateScriptVO> ivrLibaTemplateScriptVOList; |
| | | |
| | | @ApiModelProperty(value = "æ¨¡æ¿ææ éå") |
| | | private List<IvrLibaTemplateTag> ivrLibaTemplateTagList; |
| | | // |
| | | // @ApiModelProperty(value = "模æ¿é项éå") |
| | | // private List<IvrLibaTemplateTargetoption> ivrLibaTemplateTargetoptionList; |
| | | |
| | | } |
| | |
| | | * ææ æ¨¡æ¿å类对象 ivr_liba_templatetarget_assort |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-18 |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTemplatetargetAssort", description = "ææ æ¨¡æ¿å类对象") |
| | |
| | | @Excel(name = "ç¶id") |
| | | @ApiModelProperty(value = "ç¶id") |
| | | private Long pid; |
| | | |
| | | |
| | | } |
| | |
| | | |
| | | import java.util.Date; |
| | | |
| | | import afu.org.checkerframework.checker.igj.qual.I; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * é®å·æ°é |
| | | * ç¶ID |
| | | */ |
| | | @ApiModelProperty(value = "é®å·æ°é") |
| | | private String svyNum; |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * guid |
| | | */ |
| | | @ApiModelProperty(value = "guid") |
| | | private String guid; |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·å类对象 svy_category |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @ApiModel(value = "SvyCategory", description = "é®å·å类对象") |
| | | @Data |
| | | public class SvyCategoryVO extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private Long id; |
| | | |
| | | /** |
| | | * åç±»åç§° |
| | | */ |
| | | @ApiModelProperty(value = "é®å·åç±»åç§°") |
| | | @Excel(name = " åç±»åç§° ") |
| | | private String categoryname; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty(value = "æºæID") |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Integer pid; |
| | | |
| | | /** |
| | | * guid |
| | | */ |
| | | @ApiModelProperty(value = "guid") |
| | | private String guid; |
| | | |
| | | /** |
| | | * äºçº§åç±» |
| | | */ |
| | | @ApiModelProperty(value = "äºçº§åç±»") |
| | | private List<SvyCategory> svyCategoryList; |
| | | |
| | | } |
| | |
| | | @ApiModelProperty(value = "é®å·é¢ç®éå") |
| | | private List<SvyLibTopic> svyLibTopics; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | public SvyLibTitle() { |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·æ¨¡æ¿å类对象 svy_lib_title_category |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "SvyLibTitleCategory", description = "é®å·æ¨¡æ¿å类对象") |
| | | public class SvyLibTitleCategory extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private Long id; |
| | | |
| | | /** |
| | | * åç±»åç§° |
| | | */ |
| | | @Excel(name = "åç±»åç§°") |
| | | @ApiModelProperty(value = "åç±»åç§°") |
| | | private String name; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private Long delFlag; |
| | | |
| | | /** |
| | | * å»é¢æºæid |
| | | */ |
| | | @Excel(name = "å»é¢æºæid") |
| | | @ApiModelProperty(value = "å»é¢æºæid") |
| | | private Long orgid; |
| | | |
| | | /** |
| | | * å»é¢æºæid |
| | | */ |
| | | @Excel(name = "å»é¢æºæid") |
| | | @ApiModelProperty(value = "å»é¢æºæid") |
| | | private Integer seqno; |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·æ¨¡æ¿å类对象 svy_lib_title_category |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "SvyLibTitleCategory", description = "é®å·æ¨¡æ¿å类对象") |
| | | public class SvyLibTitleCategoryVO extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private Long id; |
| | | |
| | | /** |
| | | * åç±»åç§° |
| | | */ |
| | | @Excel(name = "åç±»åç§°") |
| | | @ApiModelProperty(value = "åç±»åç§°") |
| | | private String name; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private Long delFlag; |
| | | |
| | | /** |
| | | * å»é¢æºæid |
| | | */ |
| | | @Excel(name = "å»é¢æºæid") |
| | | @ApiModelProperty(value = "å»é¢æºæid") |
| | | private Long orgid; |
| | | |
| | | @ApiModelProperty(value = "æ çå对象éå") |
| | | private List<SvyLibTitleCategory> svyLibTitleCategoryList; |
| | | } |
| | |
| | | private Long oldid; |
| | | |
| | | /** |
| | | * é®å¸é¢ç®åç±»ID |
| | | */ |
| | | @ApiModelProperty("èçæ¬ID") |
| | | private Long categoryid; |
| | | |
| | | /** |
| | | * é®å·ID |
| | | */ |
| | | @Excel(name = " é®å·ID ") |
| | |
| | | @ApiModelProperty("é¢ç®è¡¨ç主é®ID") |
| | | private Long svyTopicId; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | @ApiModelProperty("é®é¢é项") |
| | | private List<SvyTopicoption> svyTopicoptions; |
| | | private List<SvyLibTopicoption> svyLibTopicoptions; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·é¢ç®å类对象 svy_lib_topic_category |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "SvyLibTopicCategory", description = "é®å·é¢ç®å类对象") |
| | | public class SvyLibTopicCategory extends BaseEntity { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty("èªå¢ID") |
| | | private Long id; |
| | | |
| | | /** |
| | | * åç±»åç§° |
| | | */ |
| | | @Excel(name = "åç±»åç§°") |
| | | @ApiModelProperty("åç±»åç§°") |
| | | private String name; |
| | | |
| | | /** |
| | | * é®å·é¢ç®id |
| | | */ |
| | | @Excel(name = "é®å·é¢ç®id") |
| | | @ApiModelProperty("é®å·é¢ç®id") |
| | | private Long topicid; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty("ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty("GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty("å 餿 è®°") |
| | | private Long delFlag; |
| | | |
| | | /** |
| | | * å»é¢æºæid |
| | | */ |
| | | @Excel(name = "å»é¢æºæid") |
| | | @ApiModelProperty("å»é¢æºæid") |
| | | private Long orgid; |
| | | |
| | | |
| | | /** |
| | | * åºå· |
| | | */ |
| | | @Excel(name = "åºå·") |
| | | @ApiModelProperty("åºå·") |
| | | private Integer seqno; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·é¢ç®åç±»åæ°å¯¹è±¡ SvyLibTopicCategoryVO |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "SvyLibTopicCategoryVO", description = "é®å·é¢ç®å类对象") |
| | | public class SvyLibTopicCategoryVO extends BaseEntity { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty("èªå¢ID") |
| | | private Long id; |
| | | |
| | | /** |
| | | * åç±»åç§° |
| | | */ |
| | | @Excel(name = "åç±»åç§°") |
| | | @ApiModelProperty("åç±»åç§°") |
| | | private String name; |
| | | |
| | | /** |
| | | * é®å·é¢ç®id |
| | | */ |
| | | @Excel(name = "é®å·é¢ç®id") |
| | | @ApiModelProperty("é®å·é¢ç®id") |
| | | private Long topicid; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty("ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty("GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty("å 餿 è®°") |
| | | private Long delFlag; |
| | | |
| | | /** |
| | | * å»é¢æºæid |
| | | */ |
| | | @Excel(name = "å»é¢æºæid") |
| | | @ApiModelProperty("å»é¢æºæid") |
| | | private Long orgid; |
| | | |
| | | /** |
| | | * å对象 |
| | | */ |
| | | @ApiModelProperty("å对象é") |
| | | private List<SvyLibTopicCategory> svyLibTopicCategoryList; |
| | | |
| | | } |
| | |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | } |
| | | |
| | |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.HeLibraryAssort; |
| | | import com.smartor.domain.HeLibraryAssortVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 宣æåç±»Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Mapper |
| | | public interface HeLibraryAssortMapper { |
| | | /** |
| | | * æ¥è¯¢å®£æåç±» |
| | | * |
| | | * @param id 宣æåç±»ä¸»é® |
| | | * @return 宣æåç±» |
| | | */ |
| | | public HeLibraryAssort selectHeLibraryAssortById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåç±»å表 |
| | | * |
| | | * @param heLibraryAssort 宣æåç±» |
| | | * @return 宣æåç±»éå |
| | | */ |
| | | public List<HeLibraryAssort> selectHeLibraryAssortList(HeLibraryAssort heLibraryAssort); |
| | | |
| | | /** |
| | | * è·åseqnoçæå¤§å¼ |
| | | * @return |
| | | */ |
| | | public Integer selectSeqMax(); |
| | | |
| | | /** |
| | | * æ°å¢å®£æåç±» |
| | | * |
| | | * @param heLibraryAssort 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertHeLibraryAssort(HeLibraryAssort heLibraryAssort); |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æåç±» |
| | | * |
| | | * @param heLibraryAssort 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateHeLibraryAssort(HeLibraryAssort heLibraryAssort); |
| | | |
| | | /** |
| | | * å é¤å®£æåç±» |
| | | * |
| | | * @param id 宣æåç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeLibraryAssortById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå é¤å®£æåç±» |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeLibraryAssortByIds(Long[] ids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.smartor.domain.HeLibrary; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * 宣æèµæåºMapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Mapper |
| | | public interface HeLibraryMapper { |
| | | /** |
| | | * æ¥è¯¢å®£æèµæåº |
| | | * |
| | | * @param id 宣æèµæåºä¸»é® |
| | | * @return 宣æèµæåº |
| | | */ |
| | | public HeLibrary selectHeLibraryById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æèµæåºå表 |
| | | * |
| | | * @param heLibrary 宣æèµæåº |
| | | * @return 宣æèµæåºéå |
| | | */ |
| | | public List<HeLibrary> selectHeLibraryList(HeLibrary heLibrary); |
| | | |
| | | /** |
| | | * æ°å¢å®£æèµæåº |
| | | * |
| | | * @param heLibrary 宣æèµæåº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertHeLibrary(HeLibrary heLibrary); |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æèµæåº |
| | | * |
| | | * @param heLibrary 宣æèµæåº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateHeLibrary(HeLibrary heLibrary); |
| | | |
| | | /** |
| | | * å é¤å®£æèµæåº |
| | | * |
| | | * @param id 宣æèµæåºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeLibraryById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå é¤å®£æèµæåº |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeLibraryByIds(Long[] ids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.smartor.domain.HeLibraryTag; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * ææ æ ç¾Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Mapper |
| | | public interface HeLibraryTagMapper { |
| | | /** |
| | | * æ¥è¯¢ææ æ ç¾ |
| | | * |
| | | * @param id ææ æ ç¾ä¸»é® |
| | | * @return ææ æ ç¾ |
| | | */ |
| | | public HeLibraryTag selectHeLibraryTagById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ æ ç¾å表 |
| | | * |
| | | * @param heLibraryTag ææ æ ç¾ |
| | | * @return ææ æ ç¾éå |
| | | */ |
| | | public List<HeLibraryTag> selectHeLibraryTagList(HeLibraryTag heLibraryTag); |
| | | |
| | | /** |
| | | * æ°å¢ææ æ ç¾ |
| | | * |
| | | * @param heLibraryTag ææ æ ç¾ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertHeLibraryTag(HeLibraryTag heLibraryTag); |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ æ ç¾ |
| | | * |
| | | * @param heLibraryTag ææ æ ç¾ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateHeLibraryTag(HeLibraryTag heLibraryTag); |
| | | |
| | | /** |
| | | * å é¤ææ æ ç¾ |
| | | * |
| | | * @param id ææ æ ç¾ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeLibraryTagById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå é¤ææ æ ç¾ |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeLibraryTagByIds(Long[] ids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.IvrLibaExtemplateCategory; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * éç¨æ¨¡æ¿åç±»Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Mapper |
| | | public interface IvrLibaExtemplateCategoryMapper { |
| | | /** |
| | | * æ¥è¯¢éç¨æ¨¡æ¿åç±» |
| | | * |
| | | * @param intertcatid éç¨æ¨¡æ¿åç±»ä¸»é® |
| | | * @return éç¨æ¨¡æ¿åç±» |
| | | */ |
| | | public IvrLibaExtemplateCategory selectIvrLibaExtemplateCategoryByIntertcatid(Long intertcatid); |
| | | |
| | | public Integer selectSeqMax(); |
| | | |
| | | /** |
| | | * æ¥è¯¢éç¨æ¨¡æ¿åç±»å表 |
| | | * |
| | | * @param ivrLibaExtemplateCategory éç¨æ¨¡æ¿åç±» |
| | | * @return éç¨æ¨¡æ¿åç±»éå |
| | | */ |
| | | public List<IvrLibaExtemplateCategory> selectIvrLibaExtemplateCategoryList(IvrLibaExtemplateCategory ivrLibaExtemplateCategory); |
| | | |
| | | /** |
| | | * æ°å¢éç¨æ¨¡æ¿åç±» |
| | | * |
| | | * @param ivrLibaExtemplateCategory éç¨æ¨¡æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaExtemplateCategory(IvrLibaExtemplateCategory ivrLibaExtemplateCategory); |
| | | |
| | | /** |
| | | * ä¿®æ¹éç¨æ¨¡æ¿åç±» |
| | | * |
| | | * @param ivrLibaExtemplateCategory éç¨æ¨¡æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaExtemplateCategory(IvrLibaExtemplateCategory ivrLibaExtemplateCategory); |
| | | |
| | | /** |
| | | * å é¤éç¨æ¨¡æ¿åç±» |
| | | * |
| | | * @param intertcatid éç¨æ¨¡æ¿åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaExtemplateCategoryByIntertcatid(Long intertcatid); |
| | | |
| | | /** |
| | | * æ¹éå é¤éç¨æ¨¡æ¿åç±» |
| | | * |
| | | * @param intertcatids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaExtemplateCategoryByIntertcatids(Long[] intertcatids); |
| | | } |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrLibaExtemplate; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ©å±è¯æ¯æ¨¡æ¿åºMapperæ¥å£ |
| | | * éè¿æ¨¡æ¿Mapperæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Mapper |
| | | public interface IvrLibaExtemplateMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * æ¥è¯¢éè¿æ¨¡æ¿ |
| | | * |
| | | * @param subModuleID æ©å±è¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * @return æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * @param ID éè¿æ¨¡æ¿ä¸»é® |
| | | * @return éè¿æ¨¡æ¿ |
| | | */ |
| | | public IvrLibaExtemplate selectIvrLibaExtemplateBySubModuleID(String subModuleID); |
| | | public IvrLibaExtemplate selectIvrLibaExtemplateByID(String ID); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åºå表 |
| | | * æ¥è¯¢éè¿æ¨¡æ¿å表 |
| | | * |
| | | * @param ivrLibaExtemplate æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * @return æ©å±è¯æ¯æ¨¡æ¿åºéå |
| | | * @param ivrLibaExtemplate éè¿æ¨¡æ¿ |
| | | * @return éè¿æ¨¡æ¿éå |
| | | */ |
| | | public List<IvrLibaExtemplate> selectIvrLibaExtemplateList(IvrLibaExtemplate ivrLibaExtemplate); |
| | | |
| | | /** |
| | | * æ°å¢æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * æ°å¢éè¿æ¨¡æ¿ |
| | | * |
| | | * @param ivrLibaExtemplate æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * @param ivrLibaExtemplate éè¿æ¨¡æ¿ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaExtemplate(IvrLibaExtemplate ivrLibaExtemplate); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * ä¿®æ¹éè¿æ¨¡æ¿ |
| | | * |
| | | * @param ivrLibaExtemplate æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * @param ivrLibaExtemplate éè¿æ¨¡æ¿ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaExtemplate(IvrLibaExtemplate ivrLibaExtemplate); |
| | | |
| | | /** |
| | | * å 餿©å±è¯æ¯æ¨¡æ¿åº |
| | | * å é¤éè¿æ¨¡æ¿ |
| | | * |
| | | * @param subModuleID æ©å±è¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * @param ID éè¿æ¨¡æ¿ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaExtemplateBySubModuleID(String subModuleID); |
| | | public int deleteIvrLibaExtemplateByID(String ID); |
| | | |
| | | /** |
| | | * æ¹éå 餿©å±è¯æ¯æ¨¡æ¿åº |
| | | * æ¹éå é¤éè¿æ¨¡æ¿ |
| | | * |
| | | * @param subModuleIDs éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @param IDs éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaExtemplateBySubModuleIDs(String[] subModuleIDs); |
| | | public int deleteIvrLibaExtemplateByIDs(String[] IDs); |
| | | } |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrLibaExtemplatescript; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯Mapperæ¥å£ |
| | | * éç¨æ¨¡æ¿è¯æ¯Mapperæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Mapper |
| | | public interface IvrLibaExtemplatescriptMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * æ¥è¯¢éç¨æ¨¡æ¿è¯æ¯ |
| | | * |
| | | * @param DetailID æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ä¸»é® |
| | | * @return æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * @param ID éç¨æ¨¡æ¿è¯æ¯ä¸»é® |
| | | * @return éç¨æ¨¡æ¿è¯æ¯ |
| | | */ |
| | | public IvrLibaExtemplatescript selectIvrLibaExtemplatescriptByDetailID(String DetailID); |
| | | public IvrLibaExtemplatescript selectIvrLibaExtemplatescriptByID(String ID); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯å表 |
| | | * æ¥è¯¢éç¨æ¨¡æ¿è¯æ¯å表 |
| | | * |
| | | * @param ivrLibaExtemplatescript æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * @return æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯éå |
| | | * @param ivrLibaExtemplatescript éç¨æ¨¡æ¿è¯æ¯ |
| | | * @return éç¨æ¨¡æ¿è¯æ¯éå |
| | | */ |
| | | public List<IvrLibaExtemplatescript> selectIvrLibaExtemplatescriptList(IvrLibaExtemplatescript ivrLibaExtemplatescript); |
| | | |
| | | /** |
| | | * æ°å¢æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * æ°å¢éç¨æ¨¡æ¿è¯æ¯ |
| | | * |
| | | * @param ivrLibaExtemplatescript æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * @param ivrLibaExtemplatescript éç¨æ¨¡æ¿è¯æ¯ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaExtemplatescript(IvrLibaExtemplatescript ivrLibaExtemplatescript); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * ä¿®æ¹éç¨æ¨¡æ¿è¯æ¯ |
| | | * |
| | | * @param ivrLibaExtemplatescript æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * @param ivrLibaExtemplatescript éç¨æ¨¡æ¿è¯æ¯ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaExtemplatescript(IvrLibaExtemplatescript ivrLibaExtemplatescript); |
| | | |
| | | /** |
| | | * å 餿©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * å é¤éç¨æ¨¡æ¿è¯æ¯ |
| | | * |
| | | * @param DetailID æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ä¸»é® |
| | | * @param ID éç¨æ¨¡æ¿è¯æ¯ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaExtemplatescriptByDetailID(String DetailID); |
| | | public int deleteIvrLibaExtemplatescriptByID(String ID); |
| | | |
| | | /** |
| | | * æ¹éå 餿©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * æ¹éå é¤éç¨æ¨¡æ¿è¯æ¯ |
| | | * |
| | | * @param DetailIDs éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @param IDs éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaExtemplatescriptByDetailIDs(String[] DetailIDs); |
| | | public int deleteIvrLibaExtemplatescriptByIDs(String[] IDs); |
| | | } |
| | |
| | | */ |
| | | public IvrLibaScriptAssort selectIvrLibaScriptAssortById(Long id); |
| | | |
| | | public Integer selectSeqMax(); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®é¢è¯æ¯åç±»åº |
| | | * å表 |
| | |
| | | |
| | | /** |
| | | * ææ åç±»Mapperæ¥å£ |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Mapper |
| | | public interface IvrLibaTargetAssortMapper |
| | | { |
| | | public interface IvrLibaTargetAssortMapper { |
| | | /** |
| | | * æ¥è¯¢ææ åç±» |
| | | * |
| | | * |
| | | * @param id ææ åç±»ä¸»é® |
| | | * @return ææ åç±» |
| | | */ |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ åç±»å表 |
| | | * |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ææ åç±»éå |
| | | */ |
| | |
| | | |
| | | /** |
| | | * æ°å¢ææ åç±» |
| | | * |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ç»æ |
| | | */ |
| | |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ åç±» |
| | | * |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ç»æ |
| | | */ |
| | |
| | | |
| | | /** |
| | | * å 餿æ åç±» |
| | | * |
| | | * |
| | | * @param id ææ åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | |
| | | |
| | | /** |
| | | * æ¹éå 餿æ åç±» |
| | | * |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetAssortByIds(Long[] ids); |
| | | |
| | | /** |
| | | * è·ååºå·æå¤§å¼ |
| | | * |
| | | * @return |
| | | */ |
| | | public int selectSeqMax(); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.IvrLibaTemplateAssort; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模æ¿åç±»Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Mapper |
| | | public interface IvrLibaTemplateAssortMapper { |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿åç±» |
| | | * |
| | | * @param id 模æ¿åç±»ä¸»é® |
| | | * @return 模æ¿åç±» |
| | | */ |
| | | public IvrLibaTemplateAssort selectIvrLibaTemplateAssortById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿åç±»å表 |
| | | * |
| | | * @param ivrLibaTemplateAssort 模æ¿åç±» |
| | | * @return 模æ¿åç±»éå |
| | | */ |
| | | public List<IvrLibaTemplateAssort> selectIvrLibaTemplateAssortList(IvrLibaTemplateAssort ivrLibaTemplateAssort); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿åç±» |
| | | * |
| | | * @param ivrLibaTemplateAssort 模æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTemplateAssort(IvrLibaTemplateAssort ivrLibaTemplateAssort); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿åç±» |
| | | * |
| | | * @param ivrLibaTemplateAssort 模æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTemplateAssort(IvrLibaTemplateAssort ivrLibaTemplateAssort); |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿åç±» |
| | | * |
| | | * @param id 模æ¿åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateAssortById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿åç±» |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateAssortByIds(Long[] ids); |
| | | |
| | | /** |
| | | * è·ååºå·æå¤§å¼ |
| | | * |
| | | * @return |
| | | */ |
| | | public int selectSeqMax(); |
| | | } |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrLibaTemplate; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è¯æ¯æ¨¡æ¿åºMapperæ¥å£ |
| | | * 模æ¿åºMapperæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Mapper |
| | | public interface IvrLibaTemplateMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢è¯æ¯æ¨¡æ¿åº |
| | | * æ¥è¯¢æ¨¡æ¿åº |
| | | * |
| | | * @param templateID è¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * @return è¯æ¯æ¨¡æ¿åº |
| | | * @param ID 模æ¿åºä¸»é® |
| | | * @return 模æ¿åº |
| | | */ |
| | | public IvrLibaTemplate selectIvrLibaTemplateByTemplateID(String templateID); |
| | | public IvrLibaTemplate selectIvrLibaTemplateByID(Long ID); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯æ¯æ¨¡æ¿åºå表 |
| | | * æ¥è¯¢æ¨¡æ¿åºå表 |
| | | * |
| | | * @param ivrLibaTemplate è¯æ¯æ¨¡æ¿åº |
| | | * @return è¯æ¯æ¨¡æ¿åºéå |
| | | * @param ivrLibaTemplate 模æ¿åº |
| | | * @return 模æ¿åºéå |
| | | */ |
| | | public List<IvrLibaTemplate> selectIvrLibaTemplateList(IvrLibaTemplate ivrLibaTemplate); |
| | | |
| | | /** |
| | | * æ°å¢è¯æ¯æ¨¡æ¿åº |
| | | * æ°å¢æ¨¡æ¿åº |
| | | * |
| | | * @param ivrLibaTemplate è¯æ¯æ¨¡æ¿åº |
| | | * @param ivrLibaTemplate 模æ¿åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTemplate(IvrLibaTemplate ivrLibaTemplate); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯æ¯æ¨¡æ¿åº |
| | | * ä¿®æ¹æ¨¡æ¿åº |
| | | * |
| | | * @param ivrLibaTemplate è¯æ¯æ¨¡æ¿åº |
| | | * @param ivrLibaTemplate 模æ¿åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTemplate(IvrLibaTemplate ivrLibaTemplate); |
| | | |
| | | /** |
| | | * å é¤è¯æ¯æ¨¡æ¿åº |
| | | * å 餿¨¡æ¿åº |
| | | * |
| | | * @param templateID è¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * @param ID 模æ¿åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateByTemplateID(String templateID); |
| | | public int deleteIvrLibaTemplateByID(Long ID); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯æ¯æ¨¡æ¿åº |
| | | * æ¹éå 餿¨¡æ¿åº |
| | | * |
| | | * @param templateIDs éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @param IDs éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateByTemplateIDs(String[] templateIDs); |
| | | public int deleteIvrLibaTemplateByIDs(Long[] IDs); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.IvrLibaTemplateScript; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模çé®é¢è¯æ¯åºMapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Mapper |
| | | public interface IvrLibaTemplateScriptMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢è¯æ¯åº |
| | | * |
| | | * @param ID 模çé®é¢è¯æ¯åºä¸»é® |
| | | * @return 模çé®é¢è¯æ¯åº |
| | | */ |
| | | public IvrLibaTemplateScript selectIvrLibaTemplateScriptByID(Long ID); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢è¯æ¯åºå表 |
| | | * |
| | | * @param ivrLibaTemplateScript 模çé®é¢è¯æ¯åº |
| | | * @return 模çé®é¢è¯æ¯åºéå |
| | | */ |
| | | public List<IvrLibaTemplateScript> selectIvrLibaTemplateScriptList(IvrLibaTemplateScript ivrLibaTemplateScript); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡çé®é¢è¯æ¯åº |
| | | * |
| | | * @param ivrLibaTemplateScript 模çé®é¢è¯æ¯åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTemplateScript(IvrLibaTemplateScript ivrLibaTemplateScript); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡çé®é¢è¯æ¯åº |
| | | * |
| | | * @param ivrLibaTemplateScript 模çé®é¢è¯æ¯åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTemplateScript(IvrLibaTemplateScript ivrLibaTemplateScript); |
| | | |
| | | /** |
| | | * å 餿¨¡çé®é¢è¯æ¯åº |
| | | * |
| | | * @param ID 模çé®é¢è¯æ¯åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateScriptByID(Long ID); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡çé®é¢è¯æ¯åº |
| | | * |
| | | * @param IDs éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateScriptByIDs(Long[] IDs); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.IvrLibaTemplateTag; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ ç¾Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Mapper |
| | | public interface IvrLibaTemplateTagMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿æ ç¾ |
| | | * |
| | | * @param id æ¨¡æ¿æ ç¾ä¸»é® |
| | | * @return æ¨¡æ¿æ ç¾ |
| | | */ |
| | | public IvrLibaTemplateTag selectIvrLibaTemplateTagById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿æ ç¾å表 |
| | | * |
| | | * @param ivrLibaTemplateTag æ¨¡æ¿æ ç¾ |
| | | * @return æ¨¡æ¿æ ç¾éå |
| | | */ |
| | | public List<IvrLibaTemplateTag> selectIvrLibaTemplateTagList(IvrLibaTemplateTag ivrLibaTemplateTag); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿æ ç¾ |
| | | * |
| | | * @param ivrLibaTemplateTag æ¨¡æ¿æ ç¾ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTemplateTag(IvrLibaTemplateTag ivrLibaTemplateTag); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿æ ç¾ |
| | | * |
| | | * @param ivrLibaTemplateTag æ¨¡æ¿æ ç¾ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTemplateTag(IvrLibaTemplateTag ivrLibaTemplateTag); |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿æ ç¾ |
| | | * |
| | | * @param id æ¨¡æ¿æ ç¾ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateTagById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿æ ç¾ |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateTagByIds(Long[] ids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.IvrLibaTemplateTarget; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模çé®é¢ææ åºMapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Mapper |
| | | public interface IvrLibaTemplateTargetMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢ææ åº |
| | | * |
| | | * @param ID 模çé®é¢ææ åºä¸»é® |
| | | * @return 模çé®é¢ææ åº |
| | | */ |
| | | public IvrLibaTemplateTarget selectIvrLibaTemplateTargetByID(Long ID); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢ææ åºå表 |
| | | * |
| | | * @param ivrLibaTemplateTarget 模çé®é¢ææ åº |
| | | * @return 模çé®é¢ææ åºéå |
| | | */ |
| | | public List<IvrLibaTemplateTarget> selectIvrLibaTemplateTargetList(IvrLibaTemplateTarget ivrLibaTemplateTarget); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡çé®é¢ææ åº |
| | | * |
| | | * @param ivrLibaTemplateTarget 模çé®é¢ææ åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTemplateTarget(IvrLibaTemplateTarget ivrLibaTemplateTarget); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡çé®é¢ææ åº |
| | | * |
| | | * @param ivrLibaTemplateTarget 模çé®é¢ææ åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTemplateTarget(IvrLibaTemplateTarget ivrLibaTemplateTarget); |
| | | |
| | | /** |
| | | * å 餿¨¡çé®é¢ææ åº |
| | | * |
| | | * @param ID 模çé®é¢ææ åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateTargetByID(Long ID); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡çé®é¢ææ åº |
| | | * |
| | | * @param IDs éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateTargetByIDs(Long[] IDs); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.IvrLibaTemplateTargetoption; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¨¡æ¿ææ é项åºMapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Mapper |
| | | public interface IvrLibaTemplateTargetoptionMapper { |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿ææ éé¡¹åº |
| | | * |
| | | * @param id æ¨¡æ¿ææ é项åºä¸»é® |
| | | * @return æ¨¡æ¿ææ éé¡¹åº |
| | | */ |
| | | public IvrLibaTemplateTargetoption selectIvrLibaTemplateTargetoptionById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿ææ é项åºå表 |
| | | * |
| | | * @param ivrLibaTemplateTargetoption æ¨¡æ¿ææ éé¡¹åº |
| | | * @return æ¨¡æ¿ææ é项åºéå |
| | | */ |
| | | public List<IvrLibaTemplateTargetoption> selectIvrLibaTemplateTargetoptionList(IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTemplateTargetoption æ¨¡æ¿ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTemplateTargetoption(IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTemplateTargetoption æ¨¡æ¿ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTemplateTargetoption(IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption); |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿ææ éé¡¹åº |
| | | * |
| | | * @param id æ¨¡æ¿ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateTargetoptionById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿ææ éé¡¹åº |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateTargetoptionByIds(Long[] ids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.SvyLibTitleCategory; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·æ¨¡æ¿åç±»Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Mapper |
| | | public interface SvyLibTitleCategoryMapper { |
| | | /** |
| | | * æ¥è¯¢é®å·æ¨¡æ¿åç±» |
| | | * |
| | | * @param id é®å·æ¨¡æ¿åç±»ä¸»é® |
| | | * @return é®å·æ¨¡æ¿åç±» |
| | | */ |
| | | public SvyLibTitleCategory selectSvyLibTitleCategoryById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·æ¨¡æ¿åç±»å表 |
| | | * |
| | | * @param svyLibTitleCategory é®å·æ¨¡æ¿åç±» |
| | | * @return é®å·æ¨¡æ¿åç±»éå |
| | | */ |
| | | public List<SvyLibTitleCategory> selectSvyLibTitleCategoryList(SvyLibTitleCategory svyLibTitleCategory); |
| | | |
| | | /** |
| | | * æ°å¢é®å·æ¨¡æ¿åç±» |
| | | * |
| | | * @param svyLibTitleCategory é®å·æ¨¡æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTitleCategory(SvyLibTitleCategory svyLibTitleCategory); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·æ¨¡æ¿åç±» |
| | | * |
| | | * @param svyLibTitleCategory é®å·æ¨¡æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTitleCategory(SvyLibTitleCategory svyLibTitleCategory); |
| | | |
| | | /** |
| | | * å é¤é®å·æ¨¡æ¿åç±» |
| | | * |
| | | * @param id é®å·æ¨¡æ¿åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTitleCategoryById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·æ¨¡æ¿åç±» |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTitleCategoryByIds(Long[] ids); |
| | | |
| | | /** |
| | | * è·ååºå·æå¤§å¼ |
| | | * |
| | | * @return |
| | | */ |
| | | public int selectSeqMax(); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.SvyLibTopicCategory; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·é¢ç®åç±»Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Mapper |
| | | public interface SvyLibTopicCategoryMapper { |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®åç±» |
| | | * |
| | | * @param id é®å·é¢ç®åç±»ä¸»é® |
| | | * @return é®å·é¢ç®åç±» |
| | | */ |
| | | public SvyLibTopicCategory selectSvyLibTopicCategoryById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®åç±»å表 |
| | | * |
| | | * @param svyLibTopicCategory é®å·é¢ç®åç±» |
| | | * @return é®å·é¢ç®åç±»éå |
| | | */ |
| | | public List<SvyLibTopicCategory> selectSvyLibTopicCategoryList(SvyLibTopicCategory svyLibTopicCategory); |
| | | |
| | | /** |
| | | * æ°å¢é®å·é¢ç®åç±» |
| | | * |
| | | * @param svyLibTopicCategory é®å·é¢ç®åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTopicCategory(SvyLibTopicCategory svyLibTopicCategory); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç®åç±» |
| | | * |
| | | * @param svyLibTopicCategory é®å·é¢ç®åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTopicCategory(SvyLibTopicCategory svyLibTopicCategory); |
| | | |
| | | /** |
| | | * å é¤é®å·é¢ç®åç±» |
| | | * |
| | | * @param id é®å·é¢ç®åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicCategoryById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é¢ç®åç±» |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicCategoryByIds(Long[] ids); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é¢ç®åç±» |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int selectSeqMax(); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.smartor.domain.HeLibraryAssort; |
| | | import com.smartor.domain.HeLibraryAssortVO; |
| | | |
| | | /** |
| | | * 宣æåç±»Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | public interface IHeLibraryAssortService { |
| | | /** |
| | | * æ¥è¯¢å®£æåç±» |
| | | * |
| | | * @param id 宣æåç±»ä¸»é® |
| | | * @return 宣æåç±» |
| | | */ |
| | | public HeLibraryAssort selectHeLibraryAssortById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåç±»å表 |
| | | * |
| | | * @param heLibraryAssort 宣æåç±» |
| | | * @return 宣æåç±»éå |
| | | */ |
| | | public List<HeLibraryAssortVO> selectHeLibraryAssortList(HeLibraryAssort heLibraryAssort); |
| | | |
| | | /** |
| | | * æ°å¢å®£æåç±» |
| | | * |
| | | * @param heLibraryAssort 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertHeLibraryAssort(HeLibraryAssort heLibraryAssort); |
| | | |
| | | /** |
| | | * æ°å¢å®£æåç±»æ |
| | | * |
| | | * @param heLibraryAssortVO 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertHeLibraryAssortTree(HeLibraryAssortVO heLibraryAssortVO); |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æåç±» |
| | | * |
| | | * @param heLibraryAssort 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateHeLibraryAssort(HeLibraryAssort heLibraryAssort); |
| | | |
| | | /** |
| | | * æ¹éå é¤å®£æåç±» |
| | | * |
| | | * @param ids éè¦å é¤ç宣æå类主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public Integer deleteHeLibraryAssortByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å é¤å®£æåç±»ä¿¡æ¯ |
| | | * |
| | | * @param id 宣æåç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeLibraryAssortById(Long id); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.HeLibrary; |
| | | import com.smartor.domain.HeLibraryVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 宣æèµæåºServiceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | public interface IHeLibraryService { |
| | | /** |
| | | * æ¥è¯¢å®£æèµæåº |
| | | * |
| | | * @param id 宣æèµæåºä¸»é® |
| | | * @return 宣æèµæåº |
| | | */ |
| | | public HeLibrary selectHeLibraryById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æèµæåºå表 |
| | | * |
| | | * @param heLibrary 宣æèµæåº |
| | | * @return 宣æèµæåºéå |
| | | */ |
| | | public List<HeLibrary> selectHeLibraryList(HeLibrary heLibrary); |
| | | |
| | | /** |
| | | * æ°å¢å®£æèµæåº |
| | | * |
| | | * @param heLibrary 宣æèµæåº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertHeLibrary(HeLibrary heLibrary); |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æèµæåº |
| | | * |
| | | * @param heLibrary 宣æèµæåº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateHeLibrary(HeLibrary heLibrary); |
| | | |
| | | /** |
| | | * æ¹éå é¤å®£æèµæåº |
| | | * |
| | | * @param ids éè¦å é¤ç宣æèµæåºä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeLibraryByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å é¤å®£æèµæåºä¿¡æ¯ |
| | | * |
| | | * @param id 宣æèµæåºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeLibraryById(Long id); |
| | | |
| | | /** |
| | | * æ°å¢æä¿®æ¹å®£æè¯¦æ
|
| | | */ |
| | | public Integer saveOrUpdateScript(HeLibraryVO heLibraryVO); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿è¯¦æ
æ ¹æ®æ¡ä»¶ |
| | | */ |
| | | public HeLibraryVO selectInfoByCondition(HeLibrary heLibrary); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.smartor.domain.HeLibraryTag; |
| | | |
| | | /** |
| | | * ææ æ ç¾Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | public interface IHeLibraryTagService { |
| | | /** |
| | | * æ¥è¯¢ææ æ ç¾ |
| | | * |
| | | * @param id ææ æ ç¾ä¸»é® |
| | | * @return ææ æ ç¾ |
| | | */ |
| | | public HeLibraryTag selectHeLibraryTagById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ æ ç¾å表 |
| | | * |
| | | * @param heLibraryTag ææ æ ç¾ |
| | | * @return ææ æ ç¾éå |
| | | */ |
| | | public List<HeLibraryTag> selectHeLibraryTagList(HeLibraryTag heLibraryTag); |
| | | |
| | | /** |
| | | * æ°å¢ææ æ ç¾ |
| | | * |
| | | * @param heLibraryTag ææ æ ç¾ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertHeLibraryTag(HeLibraryTag heLibraryTag); |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ æ ç¾ |
| | | * |
| | | * @param heLibraryTag ææ æ ç¾ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateHeLibraryTag(HeLibraryTag heLibraryTag); |
| | | |
| | | /** |
| | | * æ¹éå é¤ææ æ ç¾ |
| | | * |
| | | * @param ids éè¦å é¤çææ æ ç¾ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeLibraryTagByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å é¤ææ æ ç¾ä¿¡æ¯ |
| | | * |
| | | * @param id ææ æ ç¾ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeLibraryTagById(Long id); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.IvrLibaExtemplateCategory; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * éç¨æ¨¡æ¿åç±»Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | public interface IIvrLibaExtemplateCategoryService |
| | | { |
| | | /** |
| | | * æ¥è¯¢éç¨æ¨¡æ¿åç±» |
| | | * |
| | | * @param intertcatid éç¨æ¨¡æ¿åç±»ä¸»é® |
| | | * @return éç¨æ¨¡æ¿åç±» |
| | | */ |
| | | public IvrLibaExtemplateCategory selectIvrLibaExtemplateCategoryByIntertcatid(Long intertcatid); |
| | | |
| | | /** |
| | | * æ¥è¯¢éç¨æ¨¡æ¿åç±»å表 |
| | | * |
| | | * @param ivrLibaExtemplateCategory éç¨æ¨¡æ¿åç±» |
| | | * @return éç¨æ¨¡æ¿åç±»éå |
| | | */ |
| | | public List<IvrLibaExtemplateCategory> selectIvrLibaExtemplateCategoryList(IvrLibaExtemplateCategory ivrLibaExtemplateCategory); |
| | | |
| | | /** |
| | | * æ°å¢éç¨æ¨¡æ¿åç±» |
| | | * |
| | | * @param ivrLibaExtemplateCategory éç¨æ¨¡æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaExtemplateCategory(IvrLibaExtemplateCategory ivrLibaExtemplateCategory); |
| | | |
| | | /** |
| | | * ä¿®æ¹éç¨æ¨¡æ¿åç±» |
| | | * |
| | | * @param ivrLibaExtemplateCategory éç¨æ¨¡æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaExtemplateCategory(IvrLibaExtemplateCategory ivrLibaExtemplateCategory); |
| | | |
| | | /** |
| | | * æ¹éå é¤éç¨æ¨¡æ¿åç±» |
| | | * |
| | | * @param intertcatids éè¦å é¤çéç¨æ¨¡æ¿å类主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaExtemplateCategoryByIntertcatids(Long[] intertcatids); |
| | | |
| | | } |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrLibaExtemplate; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ©å±è¯æ¯æ¨¡æ¿åºServiceæ¥å£ |
| | | * éè¿æ¨¡æ¿Serviceæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | public interface IIvrLibaExtemplateService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * æ¥è¯¢éè¿æ¨¡æ¿ |
| | | * |
| | | * @param subModuleID æ©å±è¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * @return æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * @param ID éè¿æ¨¡æ¿ä¸»é® |
| | | * @return éè¿æ¨¡æ¿ |
| | | */ |
| | | public IvrLibaExtemplate selectIvrLibaExtemplateBySubModuleID(String subModuleID); |
| | | public IvrLibaExtemplate selectIvrLibaExtemplateByID(String ID); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åºå表 |
| | | * æ¥è¯¢éè¿æ¨¡æ¿å表 |
| | | * |
| | | * @param ivrLibaExtemplate æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * @return æ©å±è¯æ¯æ¨¡æ¿åºéå |
| | | * @param ivrLibaExtemplate éè¿æ¨¡æ¿ |
| | | * @return éè¿æ¨¡æ¿éå |
| | | */ |
| | | public List<IvrLibaExtemplate> selectIvrLibaExtemplateList(IvrLibaExtemplate ivrLibaExtemplate); |
| | | |
| | | /** |
| | | * æ°å¢æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * æ°å¢éè¿æ¨¡æ¿ |
| | | * |
| | | * @param ivrLibaExtemplate æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * @param ivrLibaExtemplate éè¿æ¨¡æ¿ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaExtemplate(IvrLibaExtemplate ivrLibaExtemplate); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * ä¿®æ¹éè¿æ¨¡æ¿ |
| | | * |
| | | * @param ivrLibaExtemplate æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * @param ivrLibaExtemplate éè¿æ¨¡æ¿ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaExtemplate(IvrLibaExtemplate ivrLibaExtemplate); |
| | | |
| | | /** |
| | | * æ¹éå 餿©å±è¯æ¯æ¨¡æ¿åº |
| | | * æ¹éå é¤éè¿æ¨¡æ¿ |
| | | * |
| | | * @param subModuleIDs éè¦å é¤çæ©å±è¯æ¯æ¨¡æ¿åºä¸»é®éå |
| | | * @param IDs éè¦å é¤çéè¿æ¨¡æ¿ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaExtemplateBySubModuleIDs(String[] subModuleIDs); |
| | | public int deleteIvrLibaExtemplateByIDs(String[] IDs); |
| | | |
| | | /** |
| | | * å 餿©å±è¯æ¯æ¨¡æ¿åºä¿¡æ¯ |
| | | * å é¤éè¿æ¨¡æ¿ä¿¡æ¯ |
| | | * |
| | | * @param subModuleID æ©å±è¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * @param ID éè¿æ¨¡æ¿ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaExtemplateBySubModuleID(String subModuleID); |
| | | public int deleteIvrLibaExtemplateByID(String ID); |
| | | } |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrLibaExtemplatescript; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯Serviceæ¥å£ |
| | | * éç¨æ¨¡æ¿è¯æ¯Serviceæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | public interface IIvrLibaExtemplatescriptService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * æ¥è¯¢éç¨æ¨¡æ¿è¯æ¯ |
| | | * |
| | | * @param DetailID æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ä¸»é® |
| | | * @return æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * @param ID éç¨æ¨¡æ¿è¯æ¯ä¸»é® |
| | | * @return éç¨æ¨¡æ¿è¯æ¯ |
| | | */ |
| | | public IvrLibaExtemplatescript selectIvrLibaExtemplatescriptByDetailID(String DetailID); |
| | | public IvrLibaExtemplatescript selectIvrLibaExtemplatescriptByID(String ID); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯å表 |
| | | * æ¥è¯¢éç¨æ¨¡æ¿è¯æ¯å表 |
| | | * |
| | | * @param ivrLibaExtemplatescript æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * @return æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯éå |
| | | * @param ivrLibaExtemplatescript éç¨æ¨¡æ¿è¯æ¯ |
| | | * @return éç¨æ¨¡æ¿è¯æ¯éå |
| | | */ |
| | | public List<IvrLibaExtemplatescript> selectIvrLibaExtemplatescriptList(IvrLibaExtemplatescript ivrLibaExtemplatescript); |
| | | |
| | | /** |
| | | * æ°å¢æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * æ°å¢éç¨æ¨¡æ¿è¯æ¯ |
| | | * |
| | | * @param ivrLibaExtemplatescript æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * @param ivrLibaExtemplatescript éç¨æ¨¡æ¿è¯æ¯ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaExtemplatescript(IvrLibaExtemplatescript ivrLibaExtemplatescript); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * ä¿®æ¹éç¨æ¨¡æ¿è¯æ¯ |
| | | * |
| | | * @param ivrLibaExtemplatescript æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * @param ivrLibaExtemplatescript éç¨æ¨¡æ¿è¯æ¯ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaExtemplatescript(IvrLibaExtemplatescript ivrLibaExtemplatescript); |
| | | |
| | | /** |
| | | * æ¹éå 餿©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * æ¹éå é¤éç¨æ¨¡æ¿è¯æ¯ |
| | | * |
| | | * @param DetailIDs éè¦å é¤çæ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ä¸»é®éå |
| | | * @param IDs éè¦å é¤çéç¨æ¨¡æ¿è¯æ¯ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaExtemplatescriptByDetailIDs(String[] DetailIDs); |
| | | public int deleteIvrLibaExtemplatescriptByIDs(String[] IDs); |
| | | |
| | | /** |
| | | * å 餿©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ä¿¡æ¯ |
| | | * å é¤éç¨æ¨¡æ¿è¯æ¯ä¿¡æ¯ |
| | | * |
| | | * @param DetailID æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ä¸»é® |
| | | * @param ID éç¨æ¨¡æ¿è¯æ¯ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaExtemplatescriptByDetailID(String DetailID); |
| | | public int deleteIvrLibaExtemplatescriptByID(String ID); |
| | | } |
| | |
| | | |
| | | /** |
| | | * é®é¢è¯æ¯åç±»åº |
| | | Serviceæ¥å£ |
| | | * |
| | | * Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-21 |
| | | */ |
| | | public interface IIvrLibaScriptAssortService |
| | | { |
| | | public interface IIvrLibaScriptAssortService { |
| | | /** |
| | | * æ¥è¯¢é®é¢è¯æ¯åç±»åº |
| | | |
| | | * |
| | | * |
| | | * @param id é®é¢è¯æ¯åç±»åº |
| | | ä¸»é® |
| | | * ä¸»é® |
| | | * @return é®é¢è¯æ¯åç±»åº |
| | | |
| | | */ |
| | | public IvrLibaScriptAssort selectIvrLibaScriptAssortById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®é¢è¯æ¯åç±»åº |
| | | å表 |
| | | * |
| | | * å表 |
| | | * |
| | | * @param ivrLibaScriptAssort é®é¢è¯æ¯åç±»åº |
| | | |
| | | * @return é®é¢è¯æ¯åç±»åº |
| | | éå |
| | | * éå |
| | | */ |
| | | public List<IvrLibaScriptAssortVO> selectIvrLibaScriptAssortList(IvrLibaScriptAssort ivrLibaScriptAssort); |
| | | |
| | | |
| | | /** |
| | | * æ°å¢é®é¢è¯æ¯åç±»åº |
| | | |
| | | * |
| | | * |
| | | * @param ivrLibaScriptAssort é®é¢è¯æ¯åç±»åº |
| | | |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaScriptAssort(IvrLibaScriptAssort ivrLibaScriptAssort); |
| | | |
| | | |
| | | /** |
| | | * æ°å¢é®é¢è¯æ¯åç±»æ |
| | | * |
| | | * @param ivrLibaScriptAssortVO é®é¢è¯æ¯åç±»æ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaScriptAssortTree(IvrLibaScriptAssortVO ivrLibaScriptAssortVO); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®é¢è¯æ¯åç±»åº |
| | | |
| | | * |
| | | * |
| | | * @param ivrLibaScriptAssort é®é¢è¯æ¯åç±»åº |
| | | |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaScriptAssort(IvrLibaScriptAssort ivrLibaScriptAssort); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®é¢è¯æ¯åç±»åº |
| | | |
| | | * |
| | | * |
| | | * @param ids éè¦å é¤çé®é¢è¯æ¯åç±»åº |
| | | 主é®éå |
| | | * 主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaScriptAssortByIds(Long[] ids); |
| | | public Integer deleteIvrLibaScriptAssortByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å é¤é®é¢è¯æ¯åç±»åº |
| | | ä¿¡æ¯ |
| | | * |
| | | * ä¿¡æ¯ |
| | | * |
| | | * @param id é®é¢è¯æ¯åç±»åº |
| | | ä¸»é® |
| | | * ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaScriptAssortById(Long id); |
| | |
| | | |
| | | /** |
| | | * ææ åç±»Serviceæ¥å£ |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | public interface IIvrLibaTargetAssortService |
| | | { |
| | | public interface IIvrLibaTargetAssortService { |
| | | /** |
| | | * æ¥è¯¢ææ åç±» |
| | | * |
| | | * |
| | | * @param id ææ åç±»ä¸»é® |
| | | * @return ææ åç±» |
| | | */ |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ åç±»å表 |
| | | * |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ææ åç±»éå |
| | | */ |
| | | public List<IvrLibaTargetAssortVO> selectIvrLibaTargetAssortList(IvrLibaTargetAssort ivrLibaTargetAssort); |
| | | public List<IvrLibaTargetAssortVO> selectIvrLibaTargetAssortList(IvrLibaTargetAssort ivrLibaTargetAssort); |
| | | |
| | | /** |
| | | * æ°å¢ææ åç±» |
| | | * |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTargetAssort(IvrLibaTargetAssort ivrLibaTargetAssort); |
| | | |
| | | /** |
| | | * æ°å¢ææ åç±»æ |
| | | * |
| | | * @param ivrLibaTargetAssortVO ææ åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTargetAssortTree(IvrLibaTargetAssortVO ivrLibaTargetAssortVO); |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ åç±» |
| | | * |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ç»æ |
| | | */ |
| | |
| | | |
| | | /** |
| | | * æ¹éå 餿æ åç±» |
| | | * |
| | | * |
| | | * @param ids éè¦å é¤çææ å类主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetAssortByIds(Long[] ids); |
| | | public Integer deleteIvrLibaTargetAssortByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å 餿æ åç±»ä¿¡æ¯ |
| | | * |
| | | * |
| | | * @param id ææ åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.IvrLibaTemplateAssort; |
| | | import com.smartor.domain.IvrLibaTemplateAssortVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模æ¿åç±»Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | public interface IIvrLibaTemplateAssortService { |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿åç±» |
| | | * |
| | | * @param id 模æ¿åç±»ä¸»é® |
| | | * @return 模æ¿åç±» |
| | | */ |
| | | public IvrLibaTemplateAssort selectIvrLibaTemplateAssortById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿åç±»å表 |
| | | * |
| | | * @param ivrLibaTemplateAssort 模æ¿åç±» |
| | | * @return 模æ¿åç±»éå |
| | | */ |
| | | public List<IvrLibaTemplateAssortVO> selectIvrLibaTemplateAssortList(IvrLibaTemplateAssort ivrLibaTemplateAssort); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿åç±» |
| | | * |
| | | * @param ivrLibaTemplateAssort 模æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTemplateAssort(IvrLibaTemplateAssort ivrLibaTemplateAssort); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿åç±» |
| | | * |
| | | * @param ivrLibaTemplateAssort 模æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTemplateAssortTree(IvrLibaTemplateAssortVO ivrLibaTemplateAssortVO); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿åç±» |
| | | * |
| | | * @param ivrLibaTemplateAssort 模æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTemplateAssort(IvrLibaTemplateAssort ivrLibaTemplateAssort); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿åç±» |
| | | * |
| | | * @param ids éè¦å é¤ç模æ¿å类主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public Integer deleteIvrLibaTemplateAssortByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿åç±»ä¿¡æ¯ |
| | | * |
| | | * @param id 模æ¿åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateAssortById(Long id); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.IvrLibaTemplateScript; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模çé®é¢è¯æ¯åºServiceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | public interface IIvrLibaTemplateScriptService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢è¯æ¯åº |
| | | * |
| | | * @param ID 模çé®é¢è¯æ¯åºä¸»é® |
| | | * @return 模çé®é¢è¯æ¯åº |
| | | */ |
| | | public IvrLibaTemplateScript selectIvrLibaTemplateScriptByID(Long ID); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢è¯æ¯åºå表 |
| | | * |
| | | * @param ivrLibaTemplateScript 模çé®é¢è¯æ¯åº |
| | | * @return 模çé®é¢è¯æ¯åºéå |
| | | */ |
| | | public List<IvrLibaTemplateScript> selectIvrLibaTemplateScriptList(IvrLibaTemplateScript ivrLibaTemplateScript); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡çé®é¢è¯æ¯åº |
| | | * |
| | | * @param ivrLibaTemplateScript 模çé®é¢è¯æ¯åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTemplateScript(IvrLibaTemplateScript ivrLibaTemplateScript); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡çé®é¢è¯æ¯åº |
| | | * |
| | | * @param ivrLibaTemplateScript 模çé®é¢è¯æ¯åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTemplateScript(IvrLibaTemplateScript ivrLibaTemplateScript); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡çé®é¢è¯æ¯åº |
| | | * |
| | | * @param IDs éè¦å é¤ç模çé®é¢è¯æ¯åºä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateScriptByIDs(Long[] IDs); |
| | | |
| | | /** |
| | | * å 餿¨¡çé®é¢è¯æ¯åºä¿¡æ¯ |
| | | * |
| | | * @param ID 模çé®é¢è¯æ¯åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateScriptByID(Long ID); |
| | | } |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrLibaTemplate; |
| | | import com.smartor.domain.IvrLibaTemplateVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è¯æ¯æ¨¡æ¿åºServiceæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * 模æ¿åºServiceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | public interface IIvrLibaTemplateService |
| | | { |
| | | public interface IIvrLibaTemplateService { |
| | | /** |
| | | * æ¥è¯¢è¯æ¯æ¨¡æ¿åº |
| | | * |
| | | * @param templateID è¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * @return è¯æ¯æ¨¡æ¿åº |
| | | * æ¥è¯¢æ¨¡æ¿åº |
| | | * |
| | | * @param ID 模æ¿åºä¸»é® |
| | | * @return 模æ¿åº |
| | | */ |
| | | public IvrLibaTemplate selectIvrLibaTemplateByTemplateID(String templateID); |
| | | public IvrLibaTemplate selectIvrLibaTemplateByID(Long ID); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯æ¯æ¨¡æ¿åºå表 |
| | | * |
| | | * @param ivrLibaTemplate è¯æ¯æ¨¡æ¿åº |
| | | * @return è¯æ¯æ¨¡æ¿åºéå |
| | | * æ¥è¯¢æ¨¡æ¿åºå表 |
| | | * |
| | | * @param ivrLibaTemplate 模æ¿åº |
| | | * @return 模æ¿åºéå |
| | | */ |
| | | public List<IvrLibaTemplate> selectIvrLibaTemplateList(IvrLibaTemplate ivrLibaTemplate); |
| | | |
| | | /** |
| | | * æ°å¢è¯æ¯æ¨¡æ¿åº |
| | | * |
| | | * @param ivrLibaTemplate è¯æ¯æ¨¡æ¿åº |
| | | * æ°å¢æ¨¡æ¿åº |
| | | * |
| | | * @param ivrLibaTemplate 模æ¿åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTemplate(IvrLibaTemplate ivrLibaTemplate); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯æ¯æ¨¡æ¿åº |
| | | * |
| | | * @param ivrLibaTemplate è¯æ¯æ¨¡æ¿åº |
| | | * ä¿®æ¹æ¨¡æ¿åº |
| | | * |
| | | * @param ivrLibaTemplate 模æ¿åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTemplate(IvrLibaTemplate ivrLibaTemplate); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯æ¯æ¨¡æ¿åº |
| | | * |
| | | * @param templateIDs éè¦å é¤çè¯æ¯æ¨¡æ¿åºä¸»é®éå |
| | | * æ¹éå 餿¨¡æ¿åº |
| | | * |
| | | * @param IDs éè¦å é¤ç模æ¿åºä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateByTemplateIDs(String[] templateIDs); |
| | | public int deleteIvrLibaTemplateByIDs(Long[] IDs); |
| | | |
| | | /** |
| | | * å é¤è¯æ¯æ¨¡æ¿åºä¿¡æ¯ |
| | | * |
| | | * @param templateID è¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * å 餿¨¡æ¿åºä¿¡æ¯ |
| | | * |
| | | * @param ID 模æ¿åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateByTemplateID(String templateID); |
| | | public int deleteIvrLibaTemplateByID(Long ID); |
| | | |
| | | /** |
| | | * æ°å¢æä¿®æ¹é®é¢è¯¦æ
|
| | | */ |
| | | public Integer saveOrUpdateTemplate(IvrLibaTemplateVO ivrLibaTemplateVO); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿è¯¦æ
æ ¹æ®æ¡ä»¶ |
| | | */ |
| | | public IvrLibaTemplateVO selectInfoByCondition(IvrLibaTemplateVO ivrLibaTemplateVO); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.IvrLibaTemplateTag; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ ç¾Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | public interface IIvrLibaTemplateTagService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿æ ç¾ |
| | | * |
| | | * @param id æ¨¡æ¿æ ç¾ä¸»é® |
| | | * @return æ¨¡æ¿æ ç¾ |
| | | */ |
| | | public IvrLibaTemplateTag selectIvrLibaTemplateTagById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿æ ç¾å表 |
| | | * |
| | | * @param ivrLibaTemplateTag æ¨¡æ¿æ ç¾ |
| | | * @return æ¨¡æ¿æ ç¾éå |
| | | */ |
| | | public List<IvrLibaTemplateTag> selectIvrLibaTemplateTagList(IvrLibaTemplateTag ivrLibaTemplateTag); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿æ ç¾ |
| | | * |
| | | * @param ivrLibaTemplateTag æ¨¡æ¿æ ç¾ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTemplateTag(IvrLibaTemplateTag ivrLibaTemplateTag); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿æ ç¾ |
| | | * |
| | | * @param ivrLibaTemplateTag æ¨¡æ¿æ ç¾ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTemplateTag(IvrLibaTemplateTag ivrLibaTemplateTag); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿æ ç¾ |
| | | * |
| | | * @param ids éè¦å é¤çæ¨¡æ¿æ ç¾ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateTagByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿æ ç¾ä¿¡æ¯ |
| | | * |
| | | * @param id æ¨¡æ¿æ ç¾ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateTagById(Long id); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.IvrLibaTemplateTarget; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模çé®é¢ææ åºServiceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | public interface IIvrLibaTemplateTargetService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢ææ åº |
| | | * |
| | | * @param ID 模çé®é¢ææ åºä¸»é® |
| | | * @return 模çé®é¢ææ åº |
| | | */ |
| | | public IvrLibaTemplateTarget selectIvrLibaTemplateTargetByID(Long ID); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢ææ åºå表 |
| | | * |
| | | * @param ivrLibaTemplateTarget 模çé®é¢ææ åº |
| | | * @return 模çé®é¢ææ åºéå |
| | | */ |
| | | public List<IvrLibaTemplateTarget> selectIvrLibaTemplateTargetList(IvrLibaTemplateTarget ivrLibaTemplateTarget); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡çé®é¢ææ åº |
| | | * |
| | | * @param ivrLibaTemplateTarget 模çé®é¢ææ åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTemplateTarget(IvrLibaTemplateTarget ivrLibaTemplateTarget); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡çé®é¢ææ åº |
| | | * |
| | | * @param ivrLibaTemplateTarget 模çé®é¢ææ åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTemplateTarget(IvrLibaTemplateTarget ivrLibaTemplateTarget); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡çé®é¢ææ åº |
| | | * |
| | | * @param IDs éè¦å é¤ç模çé®é¢ææ åºä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateTargetByIDs(Long[] IDs); |
| | | |
| | | /** |
| | | * å 餿¨¡çé®é¢ææ åºä¿¡æ¯ |
| | | * |
| | | * @param ID 模çé®é¢ææ åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateTargetByID(Long ID); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.IvrLibaTemplateTargetoption; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¨¡æ¿ææ é项åºServiceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | public interface IIvrLibaTemplateTargetoptionService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿ææ éé¡¹åº |
| | | * |
| | | * @param id æ¨¡æ¿ææ é项åºä¸»é® |
| | | * @return æ¨¡æ¿ææ éé¡¹åº |
| | | */ |
| | | public IvrLibaTemplateTargetoption selectIvrLibaTemplateTargetoptionById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿ææ é项åºå表 |
| | | * |
| | | * @param ivrLibaTemplateTargetoption æ¨¡æ¿ææ éé¡¹åº |
| | | * @return æ¨¡æ¿ææ é项åºéå |
| | | */ |
| | | public List<IvrLibaTemplateTargetoption> selectIvrLibaTemplateTargetoptionList(IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTemplateTargetoption æ¨¡æ¿ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTemplateTargetoption(IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTemplateTargetoption æ¨¡æ¿ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTemplateTargetoption(IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿ææ éé¡¹åº |
| | | * |
| | | * @param ids éè¦å é¤çæ¨¡æ¿ææ é项åºä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateTargetoptionByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿ææ é项åºä¿¡æ¯ |
| | | * |
| | | * @param id æ¨¡æ¿ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTemplateTargetoptionById(Long id); |
| | | } |
| | |
| | | import java.util.List; |
| | | |
| | | import com.smartor.domain.SvyCategory; |
| | | import com.smartor.domain.SvyCategoryVO; |
| | | |
| | | /** |
| | | * é®å·åç±»Serviceæ¥å£ |
| | |
| | | * @param svyCategory é®å·åç±» |
| | | * @return é®å·åç±»éå |
| | | */ |
| | | public List<SvyCategory> selectSvyCategoryList(SvyCategory svyCategory); |
| | | public List<SvyCategoryVO> selectSvyCategoryList(SvyCategory svyCategory); |
| | | |
| | | /** |
| | | * æ°å¢é®å·åç±» |
| | |
| | | */ |
| | | public int insertSvyCategory(SvyCategory svyCategory); |
| | | |
| | | public int insertSvyCategoryTree(SvyCategoryVO svyCategoryVO); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·åç±» |
| | | * |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.SvyLibTitleCategory; |
| | | import com.smartor.domain.SvyLibTitleCategoryVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·æ¨¡æ¿åç±»Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | public interface ISvyLibTitleCategoryService { |
| | | /** |
| | | * æ¥è¯¢é®å·æ¨¡æ¿åç±» |
| | | * |
| | | * @param id é®å·æ¨¡æ¿åç±»ä¸»é® |
| | | * @return é®å·æ¨¡æ¿åç±» |
| | | */ |
| | | public SvyLibTitleCategory selectSvyLibTitleCategoryById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·æ¨¡æ¿åç±»å表 |
| | | * |
| | | * @param svyLibTitleCategory é®å·æ¨¡æ¿åç±» |
| | | * @return é®å·æ¨¡æ¿åç±»éå |
| | | */ |
| | | public List<SvyLibTitleCategoryVO> selectSvyLibTitleCategoryList(SvyLibTitleCategory svyLibTitleCategory); |
| | | |
| | | /** |
| | | * æ°å¢é®å·æ¨¡æ¿åç±» |
| | | * |
| | | * @param svyLibTitleCategory é®å·æ¨¡æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTitleCategory(SvyLibTitleCategory svyLibTitleCategory); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·æ¨¡æ¿åç±» |
| | | * |
| | | * @param svyLibTitleCategory é®å·æ¨¡æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTitleCategory(SvyLibTitleCategory svyLibTitleCategory); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·æ¨¡æ¿åç±» |
| | | * |
| | | * @param ids éè¦å é¤çé®å·æ¨¡æ¿å类主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTitleCategoryByIds(Long[] ids); |
| | | |
| | | public int insertSvyLibTitleCategoryTree(SvyLibTitleCategoryVO svyLibTitleCategoryVO); |
| | | |
| | | |
| | | } |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.smartor.domain.SvyLibTitle; |
| | | import com.smartor.domain.SvyLibTitleReq; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | /** |
| | | * é®å·Serviceæ¥å£ |
| | |
| | | public int insertSvyLibTitle(SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * æ°å¢æä¿®æ¹é®å·æ¨¡æ¿ä¿¡æ¯ |
| | | * @param svyLibTitle |
| | | * @return |
| | | */ |
| | | public Integer saveOrUpdateTitle(@RequestBody SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.SvyLibTopicCategory; |
| | | import com.smartor.domain.SvyLibTopicCategoryVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·é¢ç®åç±»Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | public interface ISvyLibTopicCategoryService { |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®åç±» |
| | | * |
| | | * @param id é®å·é¢ç®åç±»ä¸»é® |
| | | * @return é®å·é¢ç®åç±» |
| | | */ |
| | | public SvyLibTopicCategory selectSvyLibTopicCategoryById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®åç±»å表 |
| | | * |
| | | * @param svyLibTopicCategory é®å·é¢ç®åç±» |
| | | * @return é®å·é¢ç®åç±»éå |
| | | */ |
| | | public List<SvyLibTopicCategoryVO> selectSvyLibTopicCategoryList(SvyLibTopicCategory svyLibTopicCategory); |
| | | |
| | | /** |
| | | * æ°å¢é®å·é¢ç®åç±» |
| | | * |
| | | * @param svyLibTopicCategory é®å·é¢ç®åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTopicCategory(SvyLibTopicCategory svyLibTopicCategory); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç®åç±» |
| | | * |
| | | * @param svyLibTopicCategory é®å·é¢ç®åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTopicCategory(SvyLibTopicCategory svyLibTopicCategory); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é¢ç®åç±» |
| | | * |
| | | * @param ids éè¦å é¤çé®å·é¢ç®å类主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicCategoryByIds(Long[] ids); |
| | | |
| | | public int insertSvyLibTopicCategoryTree(SvyLibTopicCategoryVO svyLibTopicCategoryVO); |
| | | |
| | | /** |
| | | * å é¤é®å·é¢ç®åç±»ä¿¡æ¯ |
| | | * |
| | | * @param id é®å·é¢ç®åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicCategoryById(Long id); |
| | | } |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.smartor.domain.SvyLibTopic; |
| | | import com.smartor.domain.SvyLibTopicRes; |
| | | import com.smartor.domain.SvyTopicReq; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·é¢ç®Serviceæ¥å£ |
| | |
| | | */ |
| | | public int insertSvyLibTopic(SvyLibTopic svyLibTopic); |
| | | |
| | | public Integer saveOrUpdateTopic(SvyLibTopic svyLibTopic); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç® |
| | | * |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.*; |
| | | import java.util.stream.Collectors; |
| | | |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.mapper.HeLibraryAssortMapper; |
| | | import com.smartor.service.IHeLibraryAssortService; |
| | | import io.jsonwebtoken.lang.Collections; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | /** |
| | | * 宣æåç±»Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Service |
| | | public class HeLibraryAssortServiceImpl implements IHeLibraryAssortService { |
| | | @Autowired |
| | | private HeLibraryAssortMapper heLibraryAssortMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåç±» |
| | | * |
| | | * @param id 宣æåç±»ä¸»é® |
| | | * @return 宣æåç±» |
| | | */ |
| | | @Override |
| | | public HeLibraryAssort selectHeLibraryAssortById(Long id) { |
| | | return heLibraryAssortMapper.selectHeLibraryAssortById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåç±»å表 |
| | | * |
| | | * @param heLibraryAssort 宣æåç±» |
| | | * @return 宣æåç±» |
| | | */ |
| | | @Override |
| | | public List<HeLibraryAssortVO> selectHeLibraryAssortList(HeLibraryAssort heLibraryAssort) { |
| | | List<HeLibraryAssort> heLibraryAssorts = heLibraryAssortMapper.selectHeLibraryAssortList(heLibraryAssort); |
| | | //å°pid为空çï¼è¿æ»¤æ |
| | | heLibraryAssorts = heLibraryAssorts.stream().filter(assort -> assort.getPid() == null).collect(Collectors.toList()); |
| | | |
| | | List<HeLibraryAssortVO> heLibraryAssortVOS = DtoConversionUtils.sourceToTarget(heLibraryAssorts, HeLibraryAssortVO.class); |
| | | //éåæ¥åºæ¥çæ°æ®ï¼éè¿ id=pid è·åä»ä»¬çåæ°æ® |
| | | for (HeLibraryAssortVO heLibraryAssortVO : heLibraryAssortVOS) { |
| | | if (heLibraryAssortVO.getPid() != null) { |
| | | continue; |
| | | } |
| | | HeLibraryAssort heLibraryAssort1 = new HeLibraryAssort(); |
| | | heLibraryAssort1.setPid(heLibraryAssortVO.getId()); |
| | | List<HeLibraryAssort> heLibraryAssortList = heLibraryAssortMapper.selectHeLibraryAssortList(heLibraryAssort1); |
| | | |
| | | if (!Collections.isEmpty(heLibraryAssortList)) { |
| | | heLibraryAssortVO.setHeLibraryAssortList(heLibraryAssortList); |
| | | } |
| | | } |
| | | return heLibraryAssortVOS; |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢å®£æåç±» |
| | | * |
| | | * @param heLibraryAssort 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertHeLibraryAssort(HeLibraryAssort heLibraryAssort) { |
| | | heLibraryAssort.setCreateTime(DateUtils.getNowDate()); |
| | | return heLibraryAssortMapper.insertHeLibraryAssort(heLibraryAssort); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢å®£æåç±»æ |
| | | * |
| | | * @param heLibraryAssortVO 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertHeLibraryAssortTree(HeLibraryAssortVO heLibraryAssortVO) { |
| | | Integer i = null; |
| | | if (ObjectUtils.isEmpty(heLibraryAssortVO)) { |
| | | throw new BaseException("å
¥å为空,è¯·æ£æ¥å,åæ°å¢"); |
| | | } |
| | | |
| | | HeLibraryAssort heLibraryAssort = DtoConversionUtils.sourceToTarget(heLibraryAssortVO, HeLibraryAssort.class); |
| | | Integer integer = heLibraryAssortMapper.selectSeqMax(); |
| | | if (integer != null) { |
| | | heLibraryAssort.setSeqno(integer.longValue() + 1); |
| | | } else { |
| | | heLibraryAssort.setSeqno(1L); |
| | | } |
| | | |
| | | if (heLibraryAssort.getId() == null) { |
| | | i = heLibraryAssortMapper.insertHeLibraryAssort(heLibraryAssort); |
| | | } |
| | | |
| | | //æ°å¢äºçº§æ |
| | | if (CollectionUtils.isNotEmpty(heLibraryAssortVO.getHeLibraryAssortList())) { |
| | | for (HeLibraryAssort heLibraryAssort1 : heLibraryAssortVO.getHeLibraryAssortList()) { |
| | | heLibraryAssort1.setPid(heLibraryAssort.getId()); |
| | | Integer seqMax = heLibraryAssortMapper.selectSeqMax(); |
| | | if (seqMax != null) { |
| | | heLibraryAssort1.setSeqno(seqMax.longValue() + 1); |
| | | } else { |
| | | heLibraryAssort1.setSeqno(1L); |
| | | } |
| | | heLibraryAssortMapper.insertHeLibraryAssort(heLibraryAssort1); |
| | | } |
| | | } |
| | | |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æåç±» |
| | | * |
| | | * @param heLibraryAssort 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateHeLibraryAssort(HeLibraryAssort heLibraryAssort) { |
| | | heLibraryAssort.setUpdateTime(DateUtils.getNowDate()); |
| | | return heLibraryAssortMapper.updateHeLibraryAssort(heLibraryAssort); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤å®£æåç±» |
| | | * |
| | | * @param ids éè¦å é¤ç宣æåç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @Override |
| | | public Integer deleteHeLibraryAssortByIds(Long[] ids) { |
| | | Integer i = null; |
| | | |
| | | for (Long id : ids) { |
| | | i = heLibraryAssortMapper.deleteHeLibraryAssortById(id); |
| | | //å 餿ååï¼å¦æè¯¥å é¤çID䏿忰æ®ï¼åå°åæ°æ®æ¾å°æªåé
ä¸é¢ |
| | | HeLibraryAssort heLibraryAssort = new HeLibraryAssort(); |
| | | heLibraryAssort.setPid(id); |
| | | List<HeLibraryAssort> heLibraryAssortList1 = heLibraryAssortMapper.selectHeLibraryAssortList(heLibraryAssort); |
| | | if (CollectionUtils.isNotEmpty(heLibraryAssortList1)) { |
| | | for (HeLibraryAssort heLibraryAssort1 : heLibraryAssortList1) { |
| | | //设置æªåé
ID |
| | | heLibraryAssort1.setPid(999999999L); |
| | | heLibraryAssortMapper.updateHeLibraryAssort(heLibraryAssort1); |
| | | } |
| | | } |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * å é¤å®£æåç±»ä¿¡æ¯ |
| | | * |
| | | * @param id 宣æåç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteHeLibraryAssortById(Long id) { |
| | | return heLibraryAssortMapper.deleteHeLibraryAssortById(id); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.HeLibrary; |
| | | import com.smartor.domain.HeLibraryTag; |
| | | import com.smartor.domain.HeLibraryVO; |
| | | import com.smartor.mapper.HeLibraryMapper; |
| | | import com.smartor.mapper.HeLibraryTagMapper; |
| | | import com.smartor.service.IHeLibraryService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * 宣æèµæåºServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class HeLibraryServiceImpl implements IHeLibraryService { |
| | | @Autowired |
| | | private HeLibraryMapper heLibraryMapper; |
| | | |
| | | @Autowired |
| | | private HeLibraryTagMapper heLibraryTagMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æèµæåº |
| | | * |
| | | * @param id 宣æèµæåºä¸»é® |
| | | * @return 宣æèµæåº |
| | | */ |
| | | @Override |
| | | public HeLibrary selectHeLibraryById(Long id) { |
| | | return heLibraryMapper.selectHeLibraryById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æèµæåºå表 |
| | | * |
| | | * @param heLibrary 宣æèµæåº |
| | | * @return 宣æèµæåº |
| | | */ |
| | | @Override |
| | | public List<HeLibrary> selectHeLibraryList(HeLibrary heLibrary) { |
| | | return heLibraryMapper.selectHeLibraryList(heLibrary); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢å®£æèµæåº |
| | | * |
| | | * @param heLibrary 宣æèµæåº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertHeLibrary(HeLibrary heLibrary) { |
| | | heLibrary.setCreateTime(DateUtils.getNowDate()); |
| | | return heLibraryMapper.insertHeLibrary(heLibrary); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æèµæåº |
| | | * |
| | | * @param heLibrary 宣æèµæåº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateHeLibrary(HeLibrary heLibrary) { |
| | | heLibrary.setUpdateTime(DateUtils.getNowDate()); |
| | | return heLibraryMapper.updateHeLibrary(heLibrary); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤å®£æèµæåº |
| | | * |
| | | * @param ids éè¦å é¤ç宣æèµæåºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteHeLibraryByIds(Long[] ids) { |
| | | return heLibraryMapper.deleteHeLibraryByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤å®£æèµæåºä¿¡æ¯ |
| | | * |
| | | * @param id 宣æèµæåºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteHeLibraryById(Long id) { |
| | | return heLibraryMapper.deleteHeLibraryById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æä¿®æ¹å®£æè¯¦æ
|
| | | */ |
| | | @Override |
| | | public Integer saveOrUpdateScript(HeLibraryVO heLibraryVO) { |
| | | Integer i = null; |
| | | HeLibrary heLibrary = DtoConversionUtils.sourceToTarget(heLibraryVO, HeLibrary.class); |
| | | if (heLibraryVO.getIsoperation() != null && heLibraryVO.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | i = heLibraryMapper.insertHeLibrary(heLibrary); |
| | | } else if (heLibraryVO.getIsoperation() != null && heLibraryVO.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | | i = heLibraryMapper.updateHeLibrary(heLibrary); |
| | | } |
| | | log.info("æ°å¢æä¿®æ¹å®£æè¯¦æ
çid为ï¼{}", heLibrary.getId()); |
| | | |
| | | //对æ ç¾è¿è¡å¤ç |
| | | for (HeLibraryTag heLibraryTag : heLibraryVO.getHeLibraryTagList()) { |
| | | if (heLibraryTag.getIsoperation() != null && heLibraryTag.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | heLibraryTag.setHeid(heLibrary.getId()); |
| | | heLibraryTagMapper.insertHeLibraryTag(heLibraryTag); |
| | | } else if (heLibraryTag.getIsoperation() != null && heLibraryTag.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | | heLibraryTag.setHeid(heLibrary.getId()); |
| | | heLibraryTagMapper.updateHeLibraryTag(heLibraryTag); |
| | | } else if (heLibraryTag.getIsoperation() != null && heLibraryTag.getIsoperation() == 3) { |
| | | //å é¤ |
| | | if (heLibraryTag.getId() == null) { |
| | | log.info("å é¤å¤±è´¥,æ¨¡æ¿ææ id为空"); |
| | | } else { |
| | | heLibraryTagMapper.deleteHeLibraryTagById(heLibraryTag.getId()); |
| | | } |
| | | } |
| | | } |
| | | |
| | | return i; |
| | | } |
| | | |
| | | @Override |
| | | public HeLibraryVO selectInfoByCondition(HeLibrary heLibrary) { |
| | | log.info("æ¥è¯¢æ¨¡æ¿è¯¦æ
æ ¹æ®æ¡ä»¶çå
¥å为ï¼{}", heLibrary); |
| | | List<HeLibrary> heLibraries = selectHeLibraryList(heLibrary); |
| | | if (CollectionUtils.isEmpty(heLibraries)) { |
| | | log.info("æä¾çæ¡ä»¶,æ¥è¯¢å®£ææ°æ®ä¸ºç©ºï¼{}", heLibraries); |
| | | throw new BaseException("æä¾çæ¡ä»¶,æ¥è¯¢å®£ææ°æ®ä¸ºç©º"); |
| | | } |
| | | |
| | | //ç¨äºè¿å |
| | | HeLibraryVO heLibraryVO = DtoConversionUtils.sourceToTarget(heLibraries.get(0), HeLibraryVO.class); |
| | | //æ ¹æ®å®£æIDæ¥è¯¢å®£æææ éå |
| | | HeLibraryTag heLibraryTag = new HeLibraryTag(); |
| | | heLibraryTag.setHeid(heLibraryVO.getId()); |
| | | List<HeLibraryTag> heLibraryTags = heLibraryTagMapper.selectHeLibraryTagList(heLibraryTag); |
| | | heLibraryVO.setHeLibraryTagList(heLibraryTags); |
| | | |
| | | return heLibraryVO; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.HeLibraryTag; |
| | | import com.smartor.mapper.HeLibraryTagMapper; |
| | | import com.smartor.service.IHeLibraryTagService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * ææ æ ç¾Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-24 |
| | | */ |
| | | @Service |
| | | public class HeLibraryTagServiceImpl implements IHeLibraryTagService { |
| | | @Autowired |
| | | private HeLibraryTagMapper heLibraryTagMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ æ ç¾ |
| | | * |
| | | * @param id ææ æ ç¾ä¸»é® |
| | | * @return ææ æ ç¾ |
| | | */ |
| | | @Override |
| | | public HeLibraryTag selectHeLibraryTagById(Long id) { |
| | | return heLibraryTagMapper.selectHeLibraryTagById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ æ ç¾å表 |
| | | * |
| | | * @param heLibraryTag ææ æ ç¾ |
| | | * @return ææ æ ç¾ |
| | | */ |
| | | @Override |
| | | public List<HeLibraryTag> selectHeLibraryTagList(HeLibraryTag heLibraryTag) { |
| | | return heLibraryTagMapper.selectHeLibraryTagList(heLibraryTag); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ææ æ ç¾ |
| | | * |
| | | * @param heLibraryTag ææ æ ç¾ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertHeLibraryTag(HeLibraryTag heLibraryTag) { |
| | | heLibraryTag.setCreateTime(DateUtils.getNowDate()); |
| | | return heLibraryTagMapper.insertHeLibraryTag(heLibraryTag); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ æ ç¾ |
| | | * |
| | | * @param heLibraryTag ææ æ ç¾ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateHeLibraryTag(HeLibraryTag heLibraryTag) { |
| | | heLibraryTag.setUpdateTime(DateUtils.getNowDate()); |
| | | return heLibraryTagMapper.updateHeLibraryTag(heLibraryTag); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤ææ æ ç¾ |
| | | * |
| | | * @param ids éè¦å é¤çææ æ ç¾ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteHeLibraryTagByIds(Long[] ids) { |
| | | return heLibraryTagMapper.deleteHeLibraryTagByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤ææ æ ç¾ä¿¡æ¯ |
| | | * |
| | | * @param id ææ æ ç¾ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteHeLibraryTagById(Long id) { |
| | | return heLibraryTagMapper.deleteHeLibraryTagById(id); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.HeLibraryAssort; |
| | | import com.smartor.domain.IvrLibaExtemplateCategory; |
| | | import com.smartor.mapper.IvrLibaExtemplateCategoryMapper; |
| | | import com.smartor.service.IIvrLibaExtemplateCategoryService; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * éç¨æ¨¡æ¿åç±»Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Service |
| | | public class IvrLibaExtemplateCategoryServiceImpl implements IIvrLibaExtemplateCategoryService { |
| | | @Autowired |
| | | private IvrLibaExtemplateCategoryMapper ivrLibaExtemplateCategoryMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢éç¨æ¨¡æ¿åç±» |
| | | * |
| | | * @param intertcatid éç¨æ¨¡æ¿åç±»ä¸»é® |
| | | * @return éç¨æ¨¡æ¿åç±» |
| | | */ |
| | | @Override |
| | | public IvrLibaExtemplateCategory selectIvrLibaExtemplateCategoryByIntertcatid(Long intertcatid) { |
| | | return ivrLibaExtemplateCategoryMapper.selectIvrLibaExtemplateCategoryByIntertcatid(intertcatid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢éç¨æ¨¡æ¿åç±»å表 |
| | | * |
| | | * @param ivrLibaExtemplateCategory éç¨æ¨¡æ¿åç±» |
| | | * @return éç¨æ¨¡æ¿åç±» |
| | | */ |
| | | @Override |
| | | public List<IvrLibaExtemplateCategory> selectIvrLibaExtemplateCategoryList(IvrLibaExtemplateCategory ivrLibaExtemplateCategory) { |
| | | return ivrLibaExtemplateCategoryMapper.selectIvrLibaExtemplateCategoryList(ivrLibaExtemplateCategory); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢éç¨æ¨¡æ¿åç±» |
| | | * |
| | | * @param ivrLibaExtemplateCategory éç¨æ¨¡æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrLibaExtemplateCategory(IvrLibaExtemplateCategory ivrLibaExtemplateCategory) { |
| | | ivrLibaExtemplateCategory.setCreateTime(DateUtils.getNowDate()); |
| | | //è·ååºå·æå¤§å¼ |
| | | Integer seqMax = ivrLibaExtemplateCategoryMapper.selectSeqMax(); |
| | | if (seqMax != null) { |
| | | ivrLibaExtemplateCategory.setSeqno(seqMax + 1); |
| | | } else { |
| | | ivrLibaExtemplateCategory.setSeqno(1); |
| | | } |
| | | return ivrLibaExtemplateCategoryMapper.insertIvrLibaExtemplateCategory(ivrLibaExtemplateCategory); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹éç¨æ¨¡æ¿åç±» |
| | | * |
| | | * @param ivrLibaExtemplateCategory éç¨æ¨¡æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrLibaExtemplateCategory(IvrLibaExtemplateCategory ivrLibaExtemplateCategory) { |
| | | ivrLibaExtemplateCategory.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrLibaExtemplateCategoryMapper.updateIvrLibaExtemplateCategory(ivrLibaExtemplateCategory); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤éç¨æ¨¡æ¿åç±» |
| | | * |
| | | * @param intertcatids éè¦å é¤çéç¨æ¨¡æ¿åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaExtemplateCategoryByIntertcatids(Long[] intertcatids) { |
| | | Integer i = null; |
| | | for (Long intertcatid : intertcatids) { |
| | | i = ivrLibaExtemplateCategoryMapper.deleteIvrLibaExtemplateCategoryByIntertcatid(intertcatid); |
| | | //å 餿ååï¼å¦æè¯¥å é¤çID䏿忰æ®ï¼åå°åæ°æ®æ¾å°æªåé
ä¸é¢ |
| | | IvrLibaExtemplateCategory ivrLibaExtemplateCategory = new IvrLibaExtemplateCategory(); |
| | | ivrLibaExtemplateCategory.setPid(intertcatid); |
| | | List<IvrLibaExtemplateCategory> ivrLibaExtemplateCategories = ivrLibaExtemplateCategoryMapper.selectIvrLibaExtemplateCategoryList(ivrLibaExtemplateCategory); |
| | | if (CollectionUtils.isNotEmpty(ivrLibaExtemplateCategories)) { |
| | | for (IvrLibaExtemplateCategory ivrLibaExtemplateCategory1 : ivrLibaExtemplateCategories) { |
| | | //设置æªåé
ID |
| | | ivrLibaExtemplateCategory1.setPid(999999999L); |
| | | ivrLibaExtemplateCategoryMapper.updateIvrLibaExtemplateCategory(ivrLibaExtemplateCategory1); |
| | | } |
| | | } |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | } |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.IvrLibaExtemplate; |
| | | import com.smartor.mapper.IvrLibaExtemplateMapper; |
| | | import com.smartor.service.IIvrLibaExtemplateService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.IvrLibaExtemplateMapper; |
| | | import com.smartor.domain.IvrLibaExtemplate; |
| | | import com.smartor.service.IIvrLibaExtemplateService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ©å±è¯æ¯æ¨¡æ¿åºServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * éè¿æ¨¡æ¿Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Service |
| | | public class IvrLibaExtemplateServiceImpl implements IIvrLibaExtemplateService |
| | | { |
| | | public class IvrLibaExtemplateServiceImpl implements IIvrLibaExtemplateService { |
| | | @Autowired |
| | | private IvrLibaExtemplateMapper ivrLibaExtemplateMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * |
| | | * @param subModuleID æ©å±è¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * @return æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * æ¥è¯¢éè¿æ¨¡æ¿ |
| | | * |
| | | * @param ID éè¿æ¨¡æ¿ä¸»é® |
| | | * @return éè¿æ¨¡æ¿ |
| | | */ |
| | | @Override |
| | | public IvrLibaExtemplate selectIvrLibaExtemplateBySubModuleID(String subModuleID) |
| | | { |
| | | return ivrLibaExtemplateMapper.selectIvrLibaExtemplateBySubModuleID(subModuleID); |
| | | public IvrLibaExtemplate selectIvrLibaExtemplateByID(String ID) { |
| | | return ivrLibaExtemplateMapper.selectIvrLibaExtemplateByID(ID); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åºå表 |
| | | * |
| | | * @param ivrLibaExtemplate æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * @return æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * æ¥è¯¢éè¿æ¨¡æ¿å表 |
| | | * |
| | | * @param ivrLibaExtemplate éè¿æ¨¡æ¿ |
| | | * @return éè¿æ¨¡æ¿ |
| | | */ |
| | | @Override |
| | | public List<IvrLibaExtemplate> selectIvrLibaExtemplateList(IvrLibaExtemplate ivrLibaExtemplate) |
| | | { |
| | | public List<IvrLibaExtemplate> selectIvrLibaExtemplateList(IvrLibaExtemplate ivrLibaExtemplate) { |
| | | return ivrLibaExtemplateMapper.selectIvrLibaExtemplateList(ivrLibaExtemplate); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * |
| | | * @param ivrLibaExtemplate æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * æ°å¢éè¿æ¨¡æ¿ |
| | | * |
| | | * @param ivrLibaExtemplate éè¿æ¨¡æ¿ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrLibaExtemplate(IvrLibaExtemplate ivrLibaExtemplate) |
| | | { |
| | | public int insertIvrLibaExtemplate(IvrLibaExtemplate ivrLibaExtemplate) { |
| | | ivrLibaExtemplate.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrLibaExtemplateMapper.insertIvrLibaExtemplate(ivrLibaExtemplate); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * |
| | | * @param ivrLibaExtemplate æ©å±è¯æ¯æ¨¡æ¿åº |
| | | * ä¿®æ¹éè¿æ¨¡æ¿ |
| | | * |
| | | * @param ivrLibaExtemplate éè¿æ¨¡æ¿ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrLibaExtemplate(IvrLibaExtemplate ivrLibaExtemplate) |
| | | { |
| | | public int updateIvrLibaExtemplate(IvrLibaExtemplate ivrLibaExtemplate) { |
| | | ivrLibaExtemplate.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrLibaExtemplateMapper.updateIvrLibaExtemplate(ivrLibaExtemplate); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿©å±è¯æ¯æ¨¡æ¿åº |
| | | * |
| | | * @param subModuleIDs éè¦å é¤çæ©å±è¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * æ¹éå é¤éè¿æ¨¡æ¿ |
| | | * |
| | | * @param IDs éè¦å é¤çéè¿æ¨¡æ¿ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaExtemplateBySubModuleIDs(String[] subModuleIDs) |
| | | { |
| | | return ivrLibaExtemplateMapper.deleteIvrLibaExtemplateBySubModuleIDs(subModuleIDs); |
| | | public int deleteIvrLibaExtemplateByIDs(String[] IDs) { |
| | | return ivrLibaExtemplateMapper.deleteIvrLibaExtemplateByIDs(IDs); |
| | | } |
| | | |
| | | /** |
| | | * å 餿©å±è¯æ¯æ¨¡æ¿åºä¿¡æ¯ |
| | | * |
| | | * @param subModuleID æ©å±è¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * å é¤éè¿æ¨¡æ¿ä¿¡æ¯ |
| | | * |
| | | * @param ID éè¿æ¨¡æ¿ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaExtemplateBySubModuleID(String subModuleID) |
| | | { |
| | | return ivrLibaExtemplateMapper.deleteIvrLibaExtemplateBySubModuleID(subModuleID); |
| | | public int deleteIvrLibaExtemplateByID(String ID) { |
| | | return ivrLibaExtemplateMapper.deleteIvrLibaExtemplateByID(ID); |
| | | } |
| | | } |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.IvrLibaExtemplatescript; |
| | | import com.smartor.mapper.IvrLibaExtemplatescriptMapper; |
| | | import com.smartor.service.IIvrLibaExtemplatescriptService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.IvrLibaExtemplatescriptMapper; |
| | | import com.smartor.domain.IvrLibaExtemplatescript; |
| | | import com.smartor.service.IIvrLibaExtemplatescriptService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * éç¨æ¨¡æ¿è¯æ¯Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Service |
| | | public class IvrLibaExtemplatescriptServiceImpl implements IIvrLibaExtemplatescriptService |
| | | { |
| | | public class IvrLibaExtemplatescriptServiceImpl implements IIvrLibaExtemplatescriptService { |
| | | @Autowired |
| | | private IvrLibaExtemplatescriptMapper ivrLibaExtemplatescriptMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * |
| | | * @param DetailID æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ä¸»é® |
| | | * @return æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * æ¥è¯¢éç¨æ¨¡æ¿è¯æ¯ |
| | | * |
| | | * @param ID éç¨æ¨¡æ¿è¯æ¯ä¸»é® |
| | | * @return éç¨æ¨¡æ¿è¯æ¯ |
| | | */ |
| | | @Override |
| | | public IvrLibaExtemplatescript selectIvrLibaExtemplatescriptByDetailID(String DetailID) |
| | | { |
| | | return ivrLibaExtemplatescriptMapper.selectIvrLibaExtemplatescriptByDetailID(DetailID); |
| | | public IvrLibaExtemplatescript selectIvrLibaExtemplatescriptByID(String ID) { |
| | | return ivrLibaExtemplatescriptMapper.selectIvrLibaExtemplatescriptByID(ID); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯å表 |
| | | * |
| | | * @param ivrLibaExtemplatescript æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * @return æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * æ¥è¯¢éç¨æ¨¡æ¿è¯æ¯å表 |
| | | * |
| | | * @param ivrLibaExtemplatescript éç¨æ¨¡æ¿è¯æ¯ |
| | | * @return éç¨æ¨¡æ¿è¯æ¯ |
| | | */ |
| | | @Override |
| | | public List<IvrLibaExtemplatescript> selectIvrLibaExtemplatescriptList(IvrLibaExtemplatescript ivrLibaExtemplatescript) |
| | | { |
| | | public List<IvrLibaExtemplatescript> selectIvrLibaExtemplatescriptList(IvrLibaExtemplatescript ivrLibaExtemplatescript) { |
| | | return ivrLibaExtemplatescriptMapper.selectIvrLibaExtemplatescriptList(ivrLibaExtemplatescript); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * |
| | | * @param ivrLibaExtemplatescript æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * æ°å¢éç¨æ¨¡æ¿è¯æ¯ |
| | | * |
| | | * @param ivrLibaExtemplatescript éç¨æ¨¡æ¿è¯æ¯ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrLibaExtemplatescript(IvrLibaExtemplatescript ivrLibaExtemplatescript) |
| | | { |
| | | public int insertIvrLibaExtemplatescript(IvrLibaExtemplatescript ivrLibaExtemplatescript) { |
| | | ivrLibaExtemplatescript.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrLibaExtemplatescriptMapper.insertIvrLibaExtemplatescript(ivrLibaExtemplatescript); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * |
| | | * @param ivrLibaExtemplatescript æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * ä¿®æ¹éç¨æ¨¡æ¿è¯æ¯ |
| | | * |
| | | * @param ivrLibaExtemplatescript éç¨æ¨¡æ¿è¯æ¯ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrLibaExtemplatescript(IvrLibaExtemplatescript ivrLibaExtemplatescript) |
| | | { |
| | | public int updateIvrLibaExtemplatescript(IvrLibaExtemplatescript ivrLibaExtemplatescript) { |
| | | ivrLibaExtemplatescript.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrLibaExtemplatescriptMapper.updateIvrLibaExtemplatescript(ivrLibaExtemplatescript); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ |
| | | * |
| | | * @param DetailIDs éè¦å é¤çæ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ä¸»é® |
| | | * æ¹éå é¤éç¨æ¨¡æ¿è¯æ¯ |
| | | * |
| | | * @param IDs éè¦å é¤çéç¨æ¨¡æ¿è¯æ¯ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaExtemplatescriptByDetailIDs(String[] DetailIDs) |
| | | { |
| | | return ivrLibaExtemplatescriptMapper.deleteIvrLibaExtemplatescriptByDetailIDs(DetailIDs); |
| | | public int deleteIvrLibaExtemplatescriptByIDs(String[] IDs) { |
| | | return ivrLibaExtemplatescriptMapper.deleteIvrLibaExtemplatescriptByIDs(IDs); |
| | | } |
| | | |
| | | /** |
| | | * å 餿©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ä¿¡æ¯ |
| | | * |
| | | * @param DetailID æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯ä¸»é® |
| | | * å é¤éç¨æ¨¡æ¿è¯æ¯ä¿¡æ¯ |
| | | * |
| | | * @param ID éç¨æ¨¡æ¿è¯æ¯ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaExtemplatescriptByDetailID(String DetailID) |
| | | { |
| | | return ivrLibaExtemplatescriptMapper.deleteIvrLibaExtemplatescriptByDetailID(DetailID); |
| | | public int deleteIvrLibaExtemplatescriptByID(String ID) { |
| | | return ivrLibaExtemplatescriptMapper.deleteIvrLibaExtemplatescriptByID(ID); |
| | | } |
| | | } |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.mapper.IvrLibaScriptAssortMapper; |
| | | import com.smartor.service.IIvrLibaScriptAssortService; |
| | | import io.jsonwebtoken.lang.Collections; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | * @author ruoyi |
| | | * @date 2023-12-21 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class IvrLibaScriptAssortServiceImpl implements IIvrLibaScriptAssortService { |
| | | @Autowired |
| | |
| | | return ivrLibaScriptAssortMapper.insertIvrLibaScriptAssort(ivrLibaScriptAssort); |
| | | } |
| | | |
| | | @Override |
| | | public int insertIvrLibaScriptAssortTree(IvrLibaScriptAssortVO ivrLibaScriptAssortVO) { |
| | | Integer i = null; |
| | | if (ObjectUtils.isEmpty(ivrLibaScriptAssortVO)) { |
| | | throw new BaseException("å
¥å为空,è¯·æ£æ¥å,åæ°å¢"); |
| | | } |
| | | Integer seqMax = ivrLibaScriptAssortMapper.selectSeqMax(); |
| | | IvrLibaScriptAssort ivrLibaScriptAssort = DtoConversionUtils.sourceToTarget(ivrLibaScriptAssortVO, IvrLibaScriptAssort.class); |
| | | if (seqMax == null) { |
| | | ivrLibaScriptAssort.setSeqno(1); |
| | | } else { |
| | | ivrLibaScriptAssort.setSeqno(seqMax + 1); |
| | | } |
| | | i = ivrLibaScriptAssortMapper.insertIvrLibaScriptAssort(ivrLibaScriptAssort); |
| | | log.info("é®é¢è¯æ¯åç±»åºä¸çº§æ ç主é®:{}", ivrLibaScriptAssort.getId()); |
| | | |
| | | //æ°å¢äºçº§æ |
| | | if (CollectionUtils.isNotEmpty(ivrLibaScriptAssortVO.getIvrLibaScriptAssortList())) { |
| | | for (IvrLibaScriptAssort ivrLibaScriptAssort1 : ivrLibaScriptAssortVO.getIvrLibaScriptAssortList()) { |
| | | Integer seqMax1 = ivrLibaScriptAssortMapper.selectSeqMax(); |
| | | ivrLibaScriptAssort1.setPid(ivrLibaScriptAssort.getId()); |
| | | if (seqMax == null) { |
| | | ivrLibaScriptAssort1.setSeqno(1); |
| | | } else { |
| | | ivrLibaScriptAssort1.setSeqno(seqMax1 + 1); |
| | | } |
| | | |
| | | ivrLibaScriptAssortMapper.insertIvrLibaScriptAssort(ivrLibaScriptAssort1); |
| | | } |
| | | } |
| | | |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®é¢è¯æ¯åç±»åº |
| | | * |
| | |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaScriptAssortByIds(Long[] ids) { |
| | | return ivrLibaScriptAssortMapper.deleteIvrLibaScriptAssortByIds(ids); |
| | | public Integer deleteIvrLibaScriptAssortByIds(Long[] ids) { |
| | | Integer i = null; |
| | | for (Long id : ids) { |
| | | i = ivrLibaScriptAssortMapper.deleteIvrLibaScriptAssortById(id); |
| | | //æ¥è¯¢å é¤idæå¯¹å°±çåæ°æ® |
| | | IvrLibaScriptAssort ivrLibaScriptAssort = new IvrLibaScriptAssort(); |
| | | ivrLibaScriptAssort.setPid(id); |
| | | List<IvrLibaScriptAssort> ivrLibaScriptAssorts = ivrLibaScriptAssortMapper.selectIvrLibaScriptAssortList(ivrLibaScriptAssort); |
| | | |
| | | if (CollectionUtils.isNotEmpty(ivrLibaScriptAssorts)) { |
| | | for (IvrLibaScriptAssort ivrLibaScriptAssort1 : ivrLibaScriptAssorts) { |
| | | ivrLibaScriptAssort1.setPid(999999999L); |
| | | ivrLibaScriptAssortMapper.updateIvrLibaScriptAssort(ivrLibaScriptAssort1); |
| | | } |
| | | } |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.*; |
| | |
| | | List<IvrLibaScriptTargetoption> ivrLibaScriptTargetoptions = ivrLibaScriptTargetoptionMapper.selectIvrLibaScriptTargetoptionList(ivrLibaScriptTargetoption); |
| | | scriptVO.setIvrLibaScriptTargetoptionList(ivrLibaScriptTargetoptions); |
| | | |
| | | //æ¥è¯¢é®é¢ææ æ¥å£ |
| | | IvrLibaScriptTarget ivrLibaScriptTarget = new IvrLibaScriptTarget(); |
| | | ivrLibaScriptTarget.setScriptid(ivrLibaScripts.get(0).getId()); |
| | | List<IvrLibaScriptTarget> ivrLibaScriptTargets = ivrLibaScriptTargetMapper.selectIvrLibaScriptTargetList(ivrLibaScriptTarget); |
| | | scriptVO.setIvrLibaScriptTargetList(ivrLibaScriptTargets); |
| | | // //æ¥è¯¢é®é¢ææ æ¥å£ |
| | | // IvrLibaScriptTarget ivrLibaScriptTarget = new IvrLibaScriptTarget(); |
| | | // ivrLibaScriptTarget.setScriptid(ivrLibaScripts.get(0).getId()); |
| | | // List<IvrLibaScriptTarget> ivrLibaScriptTargets = ivrLibaScriptTargetMapper.selectIvrLibaScriptTargetList(ivrLibaScriptTarget); |
| | | // scriptVO.setIvrLibaScriptTargetList(ivrLibaScriptTargets); |
| | | |
| | | return scriptVO; |
| | | } |
| | |
| | | i = ivrLibaScriptMapper.updateIvrLibaScript(ivrLibaScript); |
| | | } |
| | | log.info("é®é¢è¡¨å¯¹åºçid为ï¼{}", ivrLibaScript.getId()); |
| | | |
| | | //对é®é¢ææ è¿è¡å¤ç |
| | | if (CollectionUtils.isNotEmpty(ivrLibaScriptVO.getIvrLibaScriptTargetList())) { |
| | | for (IvrLibaScriptTarget ivrLibaScriptTarget : ivrLibaScriptVO.getIvrLibaScriptTargetList()) { |
| | | if (ivrLibaScriptTarget.getIsoperation() != null && ivrLibaScriptTarget.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | ivrLibaScriptTarget.setScriptid(ivrLibaScript.getId()); |
| | | ivrLibaScriptTargetMapper.insertIvrLibaScriptTarget(ivrLibaScriptTarget); |
| | | } else if (ivrLibaScriptTarget.getIsoperation() != null && ivrLibaScriptTarget.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | | ivrLibaScriptTarget.setScriptid(ivrLibaScript.getId()); |
| | | ivrLibaScriptTargetMapper.updateIvrLibaScriptTarget(ivrLibaScriptTarget); |
| | | } else if (ivrLibaScriptTarget.getIsoperation() != null && ivrLibaScriptTarget.getIsoperation() == 3) { |
| | | //å é¤ |
| | | if (ivrLibaScriptTarget.getId() == null) { |
| | | log.info("å é¤å¤±è´¥,é®é¢ææ id为空"); |
| | | } else { |
| | | ivrLibaScriptTargetMapper.deleteIvrLibaScriptTargetByQuestionTargetID(ivrLibaScriptTarget.getId()); |
| | | } |
| | | } |
| | | } |
| | | if (ivrLibaScript.getId() == null) { |
| | | throw new BaseException("è¯æ¯ID为空,è¯·æ£æ¥è¯æ¯å
¥åä¿¡æ¯æ¯å¦å®æ´"); |
| | | } |
| | | // //对é®é¢ææ è¿è¡å¤ç |
| | | // if (CollectionUtils.isNotEmpty(ivrLibaScriptVO.getIvrLibaScriptTargetList())) { |
| | | // for (IvrLibaScriptTarget ivrLibaScriptTarget : ivrLibaScriptVO.getIvrLibaScriptTargetList()) { |
| | | // if (ivrLibaScriptTarget.getIsoperation() != null && ivrLibaScriptTarget.getIsoperation() == 1) { |
| | | // //æ°å¢ |
| | | // ivrLibaScriptTarget.setScriptid(ivrLibaScript.getId()); |
| | | // ivrLibaScriptTargetMapper.insertIvrLibaScriptTarget(ivrLibaScriptTarget); |
| | | // } else if (ivrLibaScriptTarget.getIsoperation() != null && ivrLibaScriptTarget.getIsoperation() == 2) { |
| | | // //ä¿®æ¹ |
| | | // ivrLibaScriptTarget.setScriptid(ivrLibaScript.getId()); |
| | | // ivrLibaScriptTargetMapper.updateIvrLibaScriptTarget(ivrLibaScriptTarget); |
| | | // } else if (ivrLibaScriptTarget.getIsoperation() != null && ivrLibaScriptTarget.getIsoperation() == 3) { |
| | | // //å é¤ |
| | | // if (ivrLibaScriptTarget.getId() == null) { |
| | | // log.info("å é¤å¤±è´¥,é®é¢ææ id为空"); |
| | | // } else { |
| | | // ivrLibaScriptTargetMapper.deleteIvrLibaScriptTargetByQuestionTargetID(ivrLibaScriptTarget.getId()); |
| | | // } |
| | | // } |
| | | // } |
| | | // } |
| | | |
| | | //对é®é¢ææ é项è¿è¡å¤ç |
| | | if (CollectionUtils.isNotEmpty(ivrLibaScriptVO.getIvrLibaScriptTargetoptionList())) { |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.HeCategory; |
| | | import com.smartor.domain.HeCategoryVO; |
| | | import com.smartor.domain.IvrLibaTargetAssort; |
| | | import com.smartor.domain.IvrLibaTargetAssortVO; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.mapper.IvrLibaTargetAssortMapper; |
| | | import com.smartor.service.IIvrLibaTargetAssortService; |
| | | import io.jsonwebtoken.lang.Collections; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class IvrLibaTargetAssortServiceImpl implements IIvrLibaTargetAssortService { |
| | | @Autowired |
| | |
| | | return ivrLibaTargetAssortMapper.insertIvrLibaTargetAssort(ivrLibaTargetAssort); |
| | | } |
| | | |
| | | @Override |
| | | public int insertIvrLibaTargetAssortTree(IvrLibaTargetAssortVO ivrLibaTargetAssortVO) { |
| | | Integer i = null; |
| | | if (ObjectUtils.isEmpty(ivrLibaTargetAssortVO)) { |
| | | throw new BaseException("å
¥å为空,è¯·æ£æ¥å,åæ°å¢"); |
| | | } |
| | | Integer seqMax = ivrLibaTargetAssortMapper.selectSeqMax(); |
| | | IvrLibaTargetAssort ivrLibaTargetAssort = DtoConversionUtils.sourceToTarget(ivrLibaTargetAssortVO, IvrLibaTargetAssort.class); |
| | | ivrLibaTargetAssort.setSeqno(1); |
| | | if (seqMax != null) { |
| | | ivrLibaTargetAssort.setSeqno(seqMax + 1); |
| | | } |
| | | i = ivrLibaTargetAssortMapper.insertIvrLibaTargetAssort(ivrLibaTargetAssort); |
| | | log.info("ææ åç±»ä¸çº§æ ç主é®:{}", ivrLibaTargetAssort.getId()); |
| | | |
| | | //æ°å¢äºçº§æ |
| | | if (CollectionUtils.isNotEmpty(ivrLibaTargetAssortVO.getIvrLibaTargetAssortList())) { |
| | | for (IvrLibaTargetAssort ivrLibaTargetAssort1 : ivrLibaTargetAssortVO.getIvrLibaTargetAssortList()) { |
| | | int seqMax1 = ivrLibaTargetAssortMapper.selectSeqMax(); |
| | | ivrLibaTargetAssort1.setPid(ivrLibaTargetAssort.getId()); |
| | | ivrLibaTargetAssort1.setSeqno(1); |
| | | if (seqMax != null) { |
| | | ivrLibaTargetAssort1.setSeqno(seqMax1 + 1); |
| | | } |
| | | |
| | | ivrLibaTargetAssortMapper.insertIvrLibaTargetAssort(ivrLibaTargetAssort1); |
| | | } |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ åç±» |
| | | * |
| | |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTargetAssortByIds(Long[] ids) { |
| | | return ivrLibaTargetAssortMapper.deleteIvrLibaTargetAssortByIds(ids); |
| | | public Integer deleteIvrLibaTargetAssortByIds(Long[] ids) { |
| | | Integer i = null; |
| | | for (Long id : ids) { |
| | | i = ivrLibaTargetAssortMapper.deleteIvrLibaTargetAssortById(id); |
| | | IvrLibaTargetAssort ivrLibaTargetAssort = new IvrLibaTargetAssort(); |
| | | ivrLibaTargetAssort.setPid(id); |
| | | |
| | | //å°å é¤çidçäºçº§èåï¼æ¾å°æªåç±»ä¸ |
| | | List<IvrLibaTargetAssort> ivrLibaTargetAssorts = ivrLibaTargetAssortMapper.selectIvrLibaTargetAssortList(ivrLibaTargetAssort); |
| | | if (CollectionUtils.isNotEmpty(ivrLibaTargetAssorts)) { |
| | | for (IvrLibaTargetAssort ivrLibaTargetAssort1 : ivrLibaTargetAssorts) { |
| | | ivrLibaTargetAssort1.setPid(999999999L); |
| | | ivrLibaTargetAssortMapper.updateIvrLibaTargetAssort(ivrLibaTargetAssort1); |
| | | } |
| | | } |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.IvrLibaTemplateAssort; |
| | | import com.smartor.domain.IvrLibaTemplateAssortVO; |
| | | import com.smartor.mapper.IvrLibaTemplateAssortMapper; |
| | | import com.smartor.service.IIvrLibaTemplateAssortService; |
| | | import io.jsonwebtoken.lang.Collections; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | | * 模æ¿åç±»Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class IvrLibaTemplateAssortServiceImpl implements IIvrLibaTemplateAssortService { |
| | | @Autowired |
| | | private IvrLibaTemplateAssortMapper ivrLibaTemplateAssortMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿åç±» |
| | | * |
| | | * @param id 模æ¿åç±»ä¸»é® |
| | | * @return 模æ¿åç±» |
| | | */ |
| | | @Override |
| | | public IvrLibaTemplateAssort selectIvrLibaTemplateAssortById(Long id) { |
| | | return ivrLibaTemplateAssortMapper.selectIvrLibaTemplateAssortById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿åç±»å表 |
| | | * |
| | | * @param ivrLibaScriptAssort 模æ¿åç±» |
| | | * @return 模æ¿åç±» |
| | | */ |
| | | @Override |
| | | public List<IvrLibaTemplateAssortVO> selectIvrLibaTemplateAssortList(IvrLibaTemplateAssort ivrLibaScriptAssort) { |
| | | List<IvrLibaTemplateAssort> ivrLibaTemplateAssorts = ivrLibaTemplateAssortMapper.selectIvrLibaTemplateAssortList(ivrLibaScriptAssort); |
| | | //å°pid为空çï¼è¿æ»¤æ |
| | | ivrLibaTemplateAssorts = ivrLibaTemplateAssorts.stream().filter(assort -> assort.getPid() == null).collect(Collectors.toList()); |
| | | |
| | | List<IvrLibaTemplateAssortVO> ivrLibaTemplateAssortVOS = DtoConversionUtils.sourceToTarget(ivrLibaTemplateAssorts, IvrLibaTemplateAssortVO.class); |
| | | //éåæ¥åºæ¥çæ°æ®ï¼éè¿ id=pid è·åä»ä»¬çåæ°æ® |
| | | for (IvrLibaTemplateAssortVO ivrLibaTemplateAssortVO : ivrLibaTemplateAssortVOS) { |
| | | if (ivrLibaTemplateAssortVO.getPid() != null) { |
| | | continue; |
| | | } |
| | | IvrLibaTemplateAssort ivrLibaTemplateAssort = new IvrLibaTemplateAssort(); |
| | | ivrLibaTemplateAssort.setPid(ivrLibaTemplateAssortVO.getId()); |
| | | List<IvrLibaTemplateAssort> ivrLibaTemplateAssorts1 = ivrLibaTemplateAssortMapper.selectIvrLibaTemplateAssortList(ivrLibaTemplateAssort); |
| | | if (!Collections.isEmpty(ivrLibaTemplateAssorts1)) { |
| | | ivrLibaTemplateAssortVO.setIvrLibaTemplateAssortList(ivrLibaTemplateAssorts1); |
| | | } |
| | | } |
| | | return ivrLibaTemplateAssortVOS; |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿åç±» |
| | | * |
| | | * @param ivrLibaTemplateAssort 模æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrLibaTemplateAssort(IvrLibaTemplateAssort ivrLibaTemplateAssort) { |
| | | ivrLibaTemplateAssort.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTemplateAssortMapper.insertIvrLibaTemplateAssort(ivrLibaTemplateAssort); |
| | | } |
| | | |
| | | @Override |
| | | public int insertIvrLibaTemplateAssortTree(IvrLibaTemplateAssortVO ivrLibaTemplateAssortVO) { |
| | | Integer i = null; |
| | | if (ObjectUtils.isEmpty(ivrLibaTemplateAssortVO)) { |
| | | throw new BaseException("å
¥å为空,è¯·æ£æ¥å,åæ°å¢"); |
| | | } |
| | | Integer seqMax = ivrLibaTemplateAssortMapper.selectSeqMax(); |
| | | IvrLibaTemplateAssort ivrLibaTemplateAssort = DtoConversionUtils.sourceToTarget(ivrLibaTemplateAssortVO, IvrLibaTemplateAssort.class); |
| | | ivrLibaTemplateAssort.setSeqno(1); |
| | | if (seqMax != null) { |
| | | ivrLibaTemplateAssort.setSeqno(seqMax + 1); |
| | | } |
| | | i = ivrLibaTemplateAssortMapper.insertIvrLibaTemplateAssort(ivrLibaTemplateAssort); |
| | | log.info("鮿¨¡æ¿åç±»ä¸çº§æ ç主é®:{}", ivrLibaTemplateAssort.getId()); |
| | | |
| | | //æ°å¢äºçº§æ |
| | | if (CollectionUtils.isNotEmpty(ivrLibaTemplateAssortVO.getIvrLibaTemplateAssortList())) { |
| | | for (IvrLibaTemplateAssort ivrLibaTemplateAssort1 : ivrLibaTemplateAssortVO.getIvrLibaTemplateAssortList()) { |
| | | int seqMax1 = ivrLibaTemplateAssortMapper.selectSeqMax(); |
| | | ivrLibaTemplateAssort1.setPid(ivrLibaTemplateAssort.getId()); |
| | | ivrLibaTemplateAssort1.setSeqno(seqMax1 + 1); |
| | | ivrLibaTemplateAssortMapper.insertIvrLibaTemplateAssort(ivrLibaTemplateAssort1); |
| | | } |
| | | } |
| | | |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿åç±» |
| | | * |
| | | * @param ivrLibaTemplateAssort 模æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrLibaTemplateAssort(IvrLibaTemplateAssort ivrLibaTemplateAssort) { |
| | | ivrLibaTemplateAssort.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTemplateAssortMapper.updateIvrLibaTemplateAssort(ivrLibaTemplateAssort); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿åç±» |
| | | * |
| | | * @param ids éè¦å é¤ç模æ¿åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public Integer deleteIvrLibaTemplateAssortByIds(Long[] ids) { |
| | | Integer i = null; |
| | | for (Long id : ids) { |
| | | i = ivrLibaTemplateAssortMapper.deleteIvrLibaTemplateAssortById(id); |
| | | IvrLibaTemplateAssort ivrLibaTemplateAssort = new IvrLibaTemplateAssort(); |
| | | ivrLibaTemplateAssort.setPid(id); |
| | | List<IvrLibaTemplateAssort> ivrLibaTemplateAssorts = ivrLibaTemplateAssortMapper.selectIvrLibaTemplateAssortList(ivrLibaTemplateAssort); |
| | | if (CollectionUtils.isNotEmpty(ivrLibaTemplateAssorts)) { |
| | | for (IvrLibaTemplateAssort ivrLibaTemplateAssort1 : ivrLibaTemplateAssorts) { |
| | | ivrLibaTemplateAssort1.setPid(999999999L); |
| | | ivrLibaTemplateAssortMapper.updateIvrLibaTemplateAssort(ivrLibaTemplateAssort1); |
| | | } |
| | | } |
| | | |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿åç±»ä¿¡æ¯ |
| | | * |
| | | * @param id 模æ¿åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTemplateAssortById(Long id) { |
| | | return ivrLibaTemplateAssortMapper.deleteIvrLibaTemplateAssortById(id); |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.IvrLibaTemplateScript; |
| | | import com.smartor.mapper.IvrLibaTemplateScriptMapper; |
| | | import com.smartor.service.IIvrLibaTemplateScriptService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模çé®é¢è¯æ¯åºServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Service |
| | | public class IvrLibaTemplateScriptServiceImpl implements IIvrLibaTemplateScriptService { |
| | | @Autowired |
| | | private IvrLibaTemplateScriptMapper ivrLibaTemplateScriptMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢è¯æ¯åº |
| | | * |
| | | * @param ID 模çé®é¢è¯æ¯åºä¸»é® |
| | | * @return 模çé®é¢è¯æ¯åº |
| | | */ |
| | | @Override |
| | | public IvrLibaTemplateScript selectIvrLibaTemplateScriptByID(Long ID) { |
| | | return ivrLibaTemplateScriptMapper.selectIvrLibaTemplateScriptByID(ID); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢è¯æ¯åºå表 |
| | | * |
| | | * @param ivrLibaTemplateScript 模çé®é¢è¯æ¯åº |
| | | * @return 模çé®é¢è¯æ¯åº |
| | | */ |
| | | @Override |
| | | public List<IvrLibaTemplateScript> selectIvrLibaTemplateScriptList(IvrLibaTemplateScript ivrLibaTemplateScript) { |
| | | return ivrLibaTemplateScriptMapper.selectIvrLibaTemplateScriptList(ivrLibaTemplateScript); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡çé®é¢è¯æ¯åº |
| | | * |
| | | * @param ivrLibaTemplateScript 模çé®é¢è¯æ¯åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrLibaTemplateScript(IvrLibaTemplateScript ivrLibaTemplateScript) { |
| | | ivrLibaTemplateScript.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTemplateScriptMapper.insertIvrLibaTemplateScript(ivrLibaTemplateScript); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡çé®é¢è¯æ¯åº |
| | | * |
| | | * @param ivrLibaTemplateScript 模çé®é¢è¯æ¯åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrLibaTemplateScript(IvrLibaTemplateScript ivrLibaTemplateScript) { |
| | | ivrLibaTemplateScript.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTemplateScriptMapper.updateIvrLibaTemplateScript(ivrLibaTemplateScript); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡çé®é¢è¯æ¯åº |
| | | * |
| | | * @param IDs éè¦å é¤ç模çé®é¢è¯æ¯åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @Override |
| | | public int deleteIvrLibaTemplateScriptByIDs(Long[] IDs) { |
| | | Integer i = null; |
| | | for (Long id : IDs) { |
| | | i = ivrLibaTemplateScriptMapper.deleteIvrLibaTemplateScriptByID(id); |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡çé®é¢è¯æ¯åºä¿¡æ¯ |
| | | * |
| | | * @param ID 模çé®é¢è¯æ¯åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @Override |
| | | public int deleteIvrLibaTemplateScriptByID(Long ID) { |
| | | return ivrLibaTemplateScriptMapper.deleteIvrLibaTemplateScriptByID(ID); |
| | | } |
| | | } |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.mapper.*; |
| | | import com.smartor.service.IIvrLibaTemplateService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.IvrLibaTemplateMapper; |
| | | import com.smartor.domain.IvrLibaTemplate; |
| | | import com.smartor.service.IIvrLibaTemplateService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è¯æ¯æ¨¡æ¿åºServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * 模æ¿åºServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class IvrLibaTemplateServiceImpl implements IIvrLibaTemplateService |
| | | { |
| | | public class IvrLibaTemplateServiceImpl implements IIvrLibaTemplateService { |
| | | @Autowired |
| | | private IvrLibaTemplateMapper ivrLibaTemplateMapper; |
| | | |
| | | @Autowired |
| | | private IvrLibaTemplateTagMapper ivrLibaTemplateTagMapper; |
| | | |
| | | @Autowired |
| | | private IvrLibaTemplateTargetMapper ivrLibaTemplateTargetMapper; |
| | | |
| | | @Autowired |
| | | private IvrLibaTemplateTargetoptionMapper ivrLibaTemplateTargetOptionMapper; |
| | | |
| | | @Autowired |
| | | private IvrLibaTemplateScriptMapper ivrLibaTemplateScriptMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯æ¯æ¨¡æ¿åº |
| | | * |
| | | * @param templateID è¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * @return è¯æ¯æ¨¡æ¿åº |
| | | * æ¥è¯¢æ¨¡æ¿åº |
| | | * |
| | | * @param ID 模æ¿åºä¸»é® |
| | | * @return 模æ¿åº |
| | | */ |
| | | @Override |
| | | public IvrLibaTemplate selectIvrLibaTemplateByTemplateID(String templateID) |
| | | { |
| | | return ivrLibaTemplateMapper.selectIvrLibaTemplateByTemplateID(templateID); |
| | | public IvrLibaTemplate selectIvrLibaTemplateByID(Long ID) { |
| | | return ivrLibaTemplateMapper.selectIvrLibaTemplateByID(ID); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯æ¯æ¨¡æ¿åºå表 |
| | | * |
| | | * @param ivrLibaTemplate è¯æ¯æ¨¡æ¿åº |
| | | * @return è¯æ¯æ¨¡æ¿åº |
| | | * æ¥è¯¢æ¨¡æ¿åºå表 |
| | | * |
| | | * @param ivrLibaTemplate 模æ¿åº |
| | | * @return 模æ¿åº |
| | | */ |
| | | @Override |
| | | public List<IvrLibaTemplate> selectIvrLibaTemplateList(IvrLibaTemplate ivrLibaTemplate) |
| | | { |
| | | public List<IvrLibaTemplate> selectIvrLibaTemplateList(IvrLibaTemplate ivrLibaTemplate) { |
| | | return ivrLibaTemplateMapper.selectIvrLibaTemplateList(ivrLibaTemplate); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯æ¯æ¨¡æ¿åº |
| | | * |
| | | * @param ivrLibaTemplate è¯æ¯æ¨¡æ¿åº |
| | | * æ°å¢æ¨¡æ¿åº |
| | | * |
| | | * @param ivrLibaTemplate 模æ¿åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrLibaTemplate(IvrLibaTemplate ivrLibaTemplate) |
| | | { |
| | | public int insertIvrLibaTemplate(IvrLibaTemplate ivrLibaTemplate) { |
| | | ivrLibaTemplate.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTemplateMapper.insertIvrLibaTemplate(ivrLibaTemplate); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯æ¯æ¨¡æ¿åº |
| | | * |
| | | * @param ivrLibaTemplate è¯æ¯æ¨¡æ¿åº |
| | | * ä¿®æ¹æ¨¡æ¿åº |
| | | * |
| | | * @param ivrLibaTemplate 模æ¿åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrLibaTemplate(IvrLibaTemplate ivrLibaTemplate) |
| | | { |
| | | public int updateIvrLibaTemplate(IvrLibaTemplate ivrLibaTemplate) { |
| | | ivrLibaTemplate.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTemplateMapper.updateIvrLibaTemplate(ivrLibaTemplate); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯æ¯æ¨¡æ¿åº |
| | | * |
| | | * @param templateIDs éè¦å é¤çè¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * æ¹éå 餿¨¡æ¿åº |
| | | * |
| | | * @param IDs éè¦å é¤ç模æ¿åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTemplateByTemplateIDs(String[] templateIDs) |
| | | { |
| | | return ivrLibaTemplateMapper.deleteIvrLibaTemplateByTemplateIDs(templateIDs); |
| | | public int deleteIvrLibaTemplateByIDs(Long[] IDs) { |
| | | Integer i = null; |
| | | for (Long id : IDs) { |
| | | i = ivrLibaTemplateMapper.deleteIvrLibaTemplateByID(id); |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯æ¯æ¨¡æ¿åºä¿¡æ¯ |
| | | * |
| | | * @param templateID è¯æ¯æ¨¡æ¿åºä¸»é® |
| | | * å 餿¨¡æ¿åºä¿¡æ¯ |
| | | * |
| | | * @param ID 模æ¿åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTemplateByTemplateID(String templateID) |
| | | { |
| | | return ivrLibaTemplateMapper.deleteIvrLibaTemplateByTemplateID(templateID); |
| | | public int deleteIvrLibaTemplateByID(Long ID) { |
| | | return ivrLibaTemplateMapper.deleteIvrLibaTemplateByID(ID); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æä¿®æ¹é®é¢è¯¦æ
|
| | | * |
| | | * @param ivrLibaTemplateVO |
| | | * @return |
| | | */ |
| | | @Override |
| | | public Integer saveOrUpdateTemplate(IvrLibaTemplateVO ivrLibaTemplateVO) { |
| | | Integer i = null; |
| | | IvrLibaTemplate ivrLibaTemplate = DtoConversionUtils.sourceToTarget(ivrLibaTemplateVO, IvrLibaTemplate.class); |
| | | if (ivrLibaTemplateVO.getIsoperation() != null && ivrLibaTemplateVO.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | i = ivrLibaTemplateMapper.insertIvrLibaTemplate(ivrLibaTemplate); |
| | | } else if (ivrLibaTemplateVO.getIsoperation() != null && ivrLibaTemplateVO.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | | i = ivrLibaTemplateMapper.updateIvrLibaTemplate(ivrLibaTemplate); |
| | | } |
| | | log.info("æ°å¢æä¿®æ¹æ¨¡æ¿è¯¦æ
çid为ï¼{}", ivrLibaTemplate.getID()); |
| | | |
| | | //å¯¹æ¨¡æ¿æ ç¾è¿è¡å¤ç |
| | | if (CollectionUtils.isNotEmpty(ivrLibaTemplateVO.getIvrLibaTemplateTagList())) { |
| | | for (IvrLibaTemplateTag ivrLibaTemplateTag : ivrLibaTemplateVO.getIvrLibaTemplateTagList()) { |
| | | if (ivrLibaTemplateTag.getIsoperation() != null && ivrLibaTemplateTag.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | ivrLibaTemplateTag.setTemplateid(ivrLibaTemplate.getID()); |
| | | ivrLibaTemplateTagMapper.insertIvrLibaTemplateTag(ivrLibaTemplateTag); |
| | | } else if (ivrLibaTemplateTag.getIsoperation() != null && ivrLibaTemplateTag.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | | ivrLibaTemplateTag.setTemplateid(ivrLibaTemplate.getID()); |
| | | ivrLibaTemplateTagMapper.updateIvrLibaTemplateTag(ivrLibaTemplateTag); |
| | | } else if (ivrLibaTemplateTag.getIsoperation() != null && ivrLibaTemplateTag.getIsoperation() == 3) { |
| | | //å é¤ |
| | | if (ivrLibaTemplateTag.getId() == null) { |
| | | log.info("å é¤å¤±è´¥,æ¨¡æ¿ææ id为空"); |
| | | } else { |
| | | ivrLibaTemplateTagMapper.deleteIvrLibaTemplateTagById(ivrLibaTemplateTag.getId()); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | //对模æ¿è¯æ¯åé项è¿è¡å¤çï¼è¯æ¯è¡¨ä¸ææ 表è¿è¡åå¹¶äºï¼ï¼ |
| | | if (CollectionUtils.isNotEmpty(ivrLibaTemplateVO.getIvrLibaTemplateScriptVOList())) { |
| | | for (IvrLibaTemplateScriptVO ivrLibaTemplateScriptVO : ivrLibaTemplateVO.getIvrLibaTemplateScriptVOList()) { |
| | | if (ivrLibaTemplateScriptVO.getIsoperation() != null && ivrLibaTemplateScriptVO.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | IvrLibaTemplateScript ivrLibaTemplateScript = DtoConversionUtils.sourceToTarget(ivrLibaTemplateScriptVO, IvrLibaTemplateScript.class); |
| | | ivrLibaTemplateScript.setTemplateID(ivrLibaTemplate.getID()); |
| | | ivrLibaTemplateScriptMapper.insertIvrLibaTemplateScript(ivrLibaTemplateScript); |
| | | //对é项ç®è¿è¡å¤ç |
| | | dealOption(ivrLibaTemplateScriptVO.getIvrLibaTemplateTargetoptionList(), ivrLibaTemplateScript, ivrLibaTemplate.getID()); |
| | | |
| | | } else if (ivrLibaTemplateScriptVO.getIsoperation() != null && ivrLibaTemplateScriptVO.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | | IvrLibaTemplateScript ivrLibaTemplateScript = DtoConversionUtils.sourceToTarget(ivrLibaTemplateScriptVO, IvrLibaTemplateScript.class); |
| | | ivrLibaTemplateScript.setTemplateID(ivrLibaTemplate.getID()); |
| | | ivrLibaTemplateScriptMapper.updateIvrLibaTemplateScript(ivrLibaTemplateScript); |
| | | //对é项ç®è¿è¡å¤ç |
| | | dealOption(ivrLibaTemplateScriptVO.getIvrLibaTemplateTargetoptionList(), ivrLibaTemplateScript, ivrLibaTemplate.getID()); |
| | | |
| | | } else if (ivrLibaTemplateScriptVO.getIsoperation() != null && ivrLibaTemplateScriptVO.getIsoperation() == 3) { |
| | | //å é¤ |
| | | if (ivrLibaTemplateScriptVO.getID() == null) { |
| | | log.info("å é¤å¤±è´¥,模æ¿è¯æ¯id为空"); |
| | | } else { |
| | | ivrLibaTemplateTagMapper.deleteIvrLibaTemplateTagById(ivrLibaTemplateScriptVO.getID()); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * é项å¤ç |
| | | * |
| | | * @param ivrLibaTemplateTargetoptionList |
| | | * @param ivrLibaTemplateScript |
| | | * @param tmpID |
| | | */ |
| | | private void dealOption(List<IvrLibaTemplateTargetoption> ivrLibaTemplateTargetoptionList, IvrLibaTemplateScript ivrLibaTemplateScript, Long tmpID) { |
| | | //å¯¹æ¨¡æ¿ææ é项è¿è¡å¤ç |
| | | if (CollectionUtils.isNotEmpty(ivrLibaTemplateTargetoptionList)) { |
| | | for (IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption : ivrLibaTemplateTargetoptionList) { |
| | | if (ivrLibaTemplateTargetoption.getIsoperation() != null && ivrLibaTemplateTargetoption.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | ivrLibaTemplateTargetoption.setTemplateID(tmpID); |
| | | ivrLibaTemplateTargetoption.setTargetid(ivrLibaTemplateScript.getTargetid()); |
| | | ivrLibaTemplateTargetoption.setScriptid(ivrLibaTemplateScript.getScriptid()); |
| | | ivrLibaTemplateTargetOptionMapper.insertIvrLibaTemplateTargetoption(ivrLibaTemplateTargetoption); |
| | | } else if (ivrLibaTemplateTargetoption.getIsoperation() != null && ivrLibaTemplateTargetoption.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | | ivrLibaTemplateTargetoption.setTemplateID(tmpID); |
| | | ivrLibaTemplateTargetoption.setTargetid(ivrLibaTemplateScript.getTargetid()); |
| | | ivrLibaTemplateTargetoption.setScriptid(ivrLibaTemplateScript.getScriptid()); |
| | | ivrLibaTemplateTargetOptionMapper.updateIvrLibaTemplateTargetoption(ivrLibaTemplateTargetoption); |
| | | } else if (ivrLibaTemplateTargetoption.getIsoperation() != null && ivrLibaTemplateTargetoption.getIsoperation() == 3) { |
| | | //å é¤ |
| | | if (ivrLibaTemplateTargetoption.getId() == null) { |
| | | log.info("å é¤å¤±è´¥,æ¨¡æ¿ææ é项id为空"); |
| | | } else { |
| | | ivrLibaTemplateTargetOptionMapper.deleteIvrLibaTemplateTargetoptionById(ivrLibaTemplateTargetoption.getId()); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿è¯¦æ
æ ¹æ®æ¡ä»¶ |
| | | */ |
| | | @Override |
| | | public IvrLibaTemplateVO selectInfoByCondition(IvrLibaTemplateVO ivrLibaTemplateVO) { |
| | | log.info("æ¥è¯¢æ¨¡æ¿è¯¦æ
æ ¹æ®æ¡ä»¶çå
¥å为 : {}", ivrLibaTemplateVO); |
| | | //å
æ ¹æ®æ¡ä»¶æ¥è¯¢é®é¢è¡¨ä¿¡æ¯ |
| | | IvrLibaTemplate ivrLibaTemplate = DtoConversionUtils.sourceToTarget(ivrLibaTemplateVO, IvrLibaTemplate.class); |
| | | List<IvrLibaTemplate> ivrLibaTemplates = selectIvrLibaTemplateList(ivrLibaTemplate); |
| | | if (CollectionUtils.isEmpty(ivrLibaTemplates)) { |
| | | log.info("æä¾çæ¡ä»¶,æ¥è¯¢æ¨¡æ¿è¯¦æ
æ°æ®ä¸ºç©ºï¼{}", ivrLibaTemplates); |
| | | throw new BaseException("æä¾çæ¡ä»¶,æ¥è¯¢æ¨¡æ¿è¯¦æ
æ°æ®ä¸ºç©º"); |
| | | } |
| | | |
| | | log.info("ivrLibaTemplatesçæ¥è¯¢ç»æä¸º:{},æ°é为 : {}", ivrLibaTemplates.get(0), ivrLibaTemplates.size()); |
| | | //å®ä¹IvrLibaTemplateVO ç¨äºè¿å |
| | | IvrLibaTemplateVO templateVO = DtoConversionUtils.sourceToTarget(ivrLibaTemplates.get(0), IvrLibaTemplateVO.class); |
| | | |
| | | //è·åtagä¿¡æ¯ |
| | | IvrLibaTemplateTag ivrLibaTemplateTag = new IvrLibaTemplateTag(); |
| | | ivrLibaTemplateTag.setTemplateid(ivrLibaTemplates.get(0).getID()); |
| | | List<IvrLibaTemplateTag> ivrLibaTemplateTags = ivrLibaTemplateTagMapper.selectIvrLibaTemplateTagList(ivrLibaTemplateTag); |
| | | |
| | | //æ¥è¯¢è¯æ¯ |
| | | IvrLibaTemplateScript ivrLibaTemplateScript = new IvrLibaTemplateScript(); |
| | | ivrLibaTemplateScript.setTemplateID(ivrLibaTemplates.get(0).getID()); |
| | | List<IvrLibaTemplateScript> ivrLibaTemplateScripts = ivrLibaTemplateScriptMapper.selectIvrLibaTemplateScriptList(ivrLibaTemplateScript); |
| | | List<IvrLibaTemplateScriptVO> ivrLibaTemplateScriptVOS = DtoConversionUtils.sourceToTarget(ivrLibaTemplateScripts, IvrLibaTemplateScriptVO.class); |
| | | |
| | | //éè¿è¯æ¯IDè·åé项 |
| | | for (IvrLibaTemplateScriptVO ivrLibaTemplateScriptVO : ivrLibaTemplateScriptVOS) { |
| | | log.info("ivrLibaTemplateScriptVOç主é®id为ï¼{}", ivrLibaTemplateScriptVO.getID()); |
| | | IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption = new IvrLibaTemplateTargetoption(); |
| | | ivrLibaTemplateTargetoption.setScriptid(ivrLibaTemplateScriptVO.getID()); |
| | | List<IvrLibaTemplateTargetoption> ivrLibaTemplateTargetoptions = ivrLibaTemplateTargetOptionMapper.selectIvrLibaTemplateTargetoptionList(ivrLibaTemplateTargetoption); |
| | | ivrLibaTemplateScriptVO.setIvrLibaTemplateTargetoptionList(ivrLibaTemplateTargetoptions); |
| | | } |
| | | |
| | | //æ°æ®ç»è£
|
| | | templateVO.setIvrLibaTemplateTagList(ivrLibaTemplateTags); |
| | | templateVO.setIvrLibaTemplateScriptVOList(ivrLibaTemplateScriptVOS); |
| | | return templateVO; |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.IvrLibaTemplateTag; |
| | | import com.smartor.mapper.IvrLibaTemplateTagMapper; |
| | | import com.smartor.service.IIvrLibaTemplateTagService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ ç¾Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Service |
| | | public class IvrLibaTemplateTagServiceImpl implements IIvrLibaTemplateTagService { |
| | | @Autowired |
| | | private IvrLibaTemplateTagMapper ivrLibaTemplateTagMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿æ ç¾ |
| | | * |
| | | * @param id æ¨¡æ¿æ ç¾ä¸»é® |
| | | * @return æ¨¡æ¿æ ç¾ |
| | | */ |
| | | @Override |
| | | public IvrLibaTemplateTag selectIvrLibaTemplateTagById(Long id) { |
| | | return ivrLibaTemplateTagMapper.selectIvrLibaTemplateTagById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿æ ç¾å表 |
| | | * |
| | | * @param ivrLibaTemplateTag æ¨¡æ¿æ ç¾ |
| | | * @return æ¨¡æ¿æ ç¾ |
| | | */ |
| | | @Override |
| | | public List<IvrLibaTemplateTag> selectIvrLibaTemplateTagList(IvrLibaTemplateTag ivrLibaTemplateTag) { |
| | | return ivrLibaTemplateTagMapper.selectIvrLibaTemplateTagList(ivrLibaTemplateTag); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿æ ç¾ |
| | | * |
| | | * @param ivrLibaTemplateTag æ¨¡æ¿æ ç¾ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrLibaTemplateTag(IvrLibaTemplateTag ivrLibaTemplateTag) { |
| | | ivrLibaTemplateTag.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTemplateTagMapper.insertIvrLibaTemplateTag(ivrLibaTemplateTag); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿æ ç¾ |
| | | * |
| | | * @param ivrLibaTemplateTag æ¨¡æ¿æ ç¾ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrLibaTemplateTag(IvrLibaTemplateTag ivrLibaTemplateTag) { |
| | | ivrLibaTemplateTag.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTemplateTagMapper.updateIvrLibaTemplateTag(ivrLibaTemplateTag); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿æ ç¾ |
| | | * |
| | | * @param ids éè¦å é¤çæ¨¡æ¿æ ç¾ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @Override |
| | | public int deleteIvrLibaTemplateTagByIds(Long[] ids) { |
| | | Integer i = null; |
| | | for (Long id : ids) { |
| | | i = ivrLibaTemplateTagMapper.deleteIvrLibaTemplateTagById(id); |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿æ ç¾ä¿¡æ¯ |
| | | * |
| | | * @param id æ¨¡æ¿æ ç¾ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTemplateTagById(Long id) { |
| | | return ivrLibaTemplateTagMapper.deleteIvrLibaTemplateTagById(id); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.IvrLibaTemplateTarget; |
| | | import com.smartor.mapper.IvrLibaTemplateTargetMapper; |
| | | import com.smartor.service.IIvrLibaTemplateTargetService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模çé®é¢ææ åºServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Service |
| | | public class IvrLibaTemplateTargetServiceImpl implements IIvrLibaTemplateTargetService { |
| | | @Autowired |
| | | private IvrLibaTemplateTargetMapper ivrLibaTemplateTargetMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢ææ åº |
| | | * |
| | | * @param ID 模çé®é¢ææ åºä¸»é® |
| | | * @return 模çé®é¢ææ åº |
| | | */ |
| | | @Override |
| | | public IvrLibaTemplateTarget selectIvrLibaTemplateTargetByID(Long ID) { |
| | | return ivrLibaTemplateTargetMapper.selectIvrLibaTemplateTargetByID(ID); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡çé®é¢ææ åºå表 |
| | | * |
| | | * @param ivrLibaTemplateTarget 模çé®é¢ææ åº |
| | | * @return 模çé®é¢ææ åº |
| | | */ |
| | | @Override |
| | | public List<IvrLibaTemplateTarget> selectIvrLibaTemplateTargetList(IvrLibaTemplateTarget ivrLibaTemplateTarget) { |
| | | return ivrLibaTemplateTargetMapper.selectIvrLibaTemplateTargetList(ivrLibaTemplateTarget); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡çé®é¢ææ åº |
| | | * |
| | | * @param ivrLibaTemplateTarget 模çé®é¢ææ åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrLibaTemplateTarget(IvrLibaTemplateTarget ivrLibaTemplateTarget) { |
| | | ivrLibaTemplateTarget.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTemplateTargetMapper.insertIvrLibaTemplateTarget(ivrLibaTemplateTarget); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡çé®é¢ææ åº |
| | | * |
| | | * @param ivrLibaTemplateTarget 模çé®é¢ææ åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrLibaTemplateTarget(IvrLibaTemplateTarget ivrLibaTemplateTarget) { |
| | | ivrLibaTemplateTarget.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTemplateTargetMapper.updateIvrLibaTemplateTarget(ivrLibaTemplateTarget); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡çé®é¢ææ åº |
| | | * |
| | | * @param IDs éè¦å é¤ç模çé®é¢ææ åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @Override |
| | | public int deleteIvrLibaTemplateTargetByIDs(Long[] IDs) { |
| | | Integer i = null; |
| | | for (Long id : IDs) { |
| | | i = ivrLibaTemplateTargetMapper.deleteIvrLibaTemplateTargetByID(id); |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡çé®é¢ææ åºä¿¡æ¯ |
| | | * |
| | | * @param ID 模çé®é¢ææ åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTemplateTargetByID(Long ID) { |
| | | return ivrLibaTemplateTargetMapper.deleteIvrLibaTemplateTargetByID(ID); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.IvrLibaTemplateTargetoption; |
| | | import com.smartor.mapper.IvrLibaTemplateTargetoptionMapper; |
| | | import com.smartor.service.IIvrLibaTemplateTargetoptionService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¨¡æ¿ææ é项åºServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Service |
| | | public class IvrLibaTemplateTargetoptionServiceImpl implements IIvrLibaTemplateTargetoptionService { |
| | | @Autowired |
| | | private IvrLibaTemplateTargetoptionMapper ivrLibaTemplateTargetoptionMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿ææ éé¡¹åº |
| | | * |
| | | * @param id æ¨¡æ¿ææ é项åºä¸»é® |
| | | * @return æ¨¡æ¿ææ éé¡¹åº |
| | | */ |
| | | @Override |
| | | public IvrLibaTemplateTargetoption selectIvrLibaTemplateTargetoptionById(Long id) { |
| | | return ivrLibaTemplateTargetoptionMapper.selectIvrLibaTemplateTargetoptionById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿ææ é项åºå表 |
| | | * |
| | | * @param ivrLibaTemplateTargetoption æ¨¡æ¿ææ éé¡¹åº |
| | | * @return æ¨¡æ¿ææ éé¡¹åº |
| | | */ |
| | | @Override |
| | | public List<IvrLibaTemplateTargetoption> selectIvrLibaTemplateTargetoptionList(IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption) { |
| | | return ivrLibaTemplateTargetoptionMapper.selectIvrLibaTemplateTargetoptionList(ivrLibaTemplateTargetoption); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTemplateTargetoption æ¨¡æ¿ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrLibaTemplateTargetoption(IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption) { |
| | | ivrLibaTemplateTargetoption.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTemplateTargetoptionMapper.insertIvrLibaTemplateTargetoption(ivrLibaTemplateTargetoption); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTemplateTargetoption æ¨¡æ¿ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrLibaTemplateTargetoption(IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption) { |
| | | ivrLibaTemplateTargetoption.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTemplateTargetoptionMapper.updateIvrLibaTemplateTargetoption(ivrLibaTemplateTargetoption); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿ææ éé¡¹åº |
| | | * |
| | | * @param ids éè¦å é¤çæ¨¡æ¿ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public int deleteIvrLibaTemplateTargetoptionByIds(Long[] ids) { |
| | | Integer i = null; |
| | | for (Long id : ids) { |
| | | i = ivrLibaTemplateTargetoptionMapper.deleteIvrLibaTemplateTargetoptionById(id); |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿ææ é项åºä¿¡æ¯ |
| | | * |
| | | * @param id æ¨¡æ¿ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public int deleteIvrLibaTemplateTargetoptionById(Long id) { |
| | | return ivrLibaTemplateTargetoptionMapper.deleteIvrLibaTemplateTargetoptionById(id); |
| | | } |
| | | } |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.IvrLibaScriptAssort; |
| | | import com.smartor.domain.IvrLibaScriptAssortVO; |
| | | import com.smartor.domain.SvyCategory; |
| | | import com.smartor.domain.SvyCategoryVO; |
| | | import com.smartor.mapper.SvyCategoryMapper; |
| | | import com.smartor.service.ISvyCategoryService; |
| | | import io.jsonwebtoken.lang.Collections; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyCategoryMapper; |
| | | import com.smartor.domain.SvyCategory; |
| | | import com.smartor.service.ISvyCategoryService; |
| | | |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | | * é®å·åç±»Serviceä¸å¡å±å¤ç |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class SvyCategoryServiceImpl implements ISvyCategoryService |
| | | { |
| | | public class SvyCategoryServiceImpl implements ISvyCategoryService { |
| | | @Autowired |
| | | private SvyCategoryMapper svyCategoryMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·åç±» |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * |
| | | * @param categoryname é®å·åç±»ä¸»é® |
| | | * @return é®å·åç±» |
| | | */ |
| | | @Override |
| | | public List<SvyCategory> selectSvyCategoryById(String categoryname) |
| | | { |
| | | public List<SvyCategory> selectSvyCategoryById(String categoryname) { |
| | | return svyCategoryMapper.selectSvyCategoryById(categoryname); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·åç±»å表 |
| | | * |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return é®å·åç±» |
| | | */ |
| | | @Override |
| | | public List<SvyCategory> selectSvyCategoryList(SvyCategory svyCategory) |
| | | { |
| | | return svyCategoryMapper.selectSvyCategoryList(svyCategory); |
| | | public List<SvyCategoryVO> selectSvyCategoryList(SvyCategory svyCategory) { |
| | | List<SvyCategory> svyCategories = svyCategoryMapper.selectSvyCategoryList(svyCategory); |
| | | //å°pid为空çï¼è¿æ»¤æ |
| | | svyCategories = svyCategories.stream().filter(assort -> assort.getPid() == null).collect(Collectors.toList()); |
| | | |
| | | List<SvyCategoryVO> svyCategoryVOS = DtoConversionUtils.sourceToTarget(svyCategories, SvyCategoryVO.class); |
| | | //éåæ¥åºæ¥çæ°æ®ï¼éè¿ id=pid è·åä»ä»¬çåæ°æ® |
| | | for (SvyCategoryVO svyCategoryVO : svyCategoryVOS) { |
| | | if (svyCategoryVO.getPid() != null) { |
| | | continue; |
| | | } |
| | | SvyCategory svyCategory1 = new SvyCategory(); |
| | | svyCategory1.setPid(svyCategoryVO.getId()); |
| | | List<SvyCategory> svyCategoryList = svyCategoryMapper.selectSvyCategoryList(svyCategory1); |
| | | if (!Collections.isEmpty(svyCategoryList)) { |
| | | svyCategoryVO.setSvyCategoryList(svyCategoryList); |
| | | } |
| | | } |
| | | return svyCategoryVOS; |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·åç±» |
| | | * |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyCategory(SvyCategory svyCategory) |
| | | { |
| | | public int insertSvyCategory(SvyCategory svyCategory) { |
| | | svyCategory.setCreateTime(DateUtils.getNowDate()); |
| | | return svyCategoryMapper.insertSvyCategory(svyCategory); |
| | | } |
| | | |
| | | @Override |
| | | public int insertSvyCategoryTree(SvyCategoryVO svyCategoryVO) { |
| | | Integer i = null; |
| | | if (ObjectUtils.isEmpty(svyCategoryVO)) { |
| | | throw new BaseException("å
¥å为空,è¯·æ£æ¥å,åæ°å¢"); |
| | | } |
| | | SvyCategory svyCategory = DtoConversionUtils.sourceToTarget(svyCategoryVO, SvyCategory.class); |
| | | i = svyCategoryMapper.insertSvyCategory(svyCategory); |
| | | log.info("é®é¢è¯æ¯åç±»åºä¸çº§æ ç主é®:{}", svyCategory.getId()); |
| | | |
| | | //æ°å¢äºçº§æ |
| | | if (CollectionUtils.isNotEmpty(svyCategoryVO.getSvyCategoryList())) { |
| | | for (SvyCategory svyCategory1 : svyCategoryVO.getSvyCategoryList()) { |
| | | svyCategory1.setPid(svyCategory.getId()); |
| | | svyCategoryMapper.insertSvyCategory(svyCategory1); |
| | | } |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·åç±» |
| | | * |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyCategory(SvyCategory svyCategory) |
| | | { |
| | | public int updateSvyCategory(SvyCategory svyCategory) { |
| | | svyCategory.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyCategoryMapper.updateSvyCategory(svyCategory); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·åç±» |
| | | * |
| | | * |
| | | * @param ids éè¦å é¤çé®å·åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyCategoryByIds(Long[] ids) |
| | | { |
| | | return svyCategoryMapper.deleteSvyCategoryByIds(ids); |
| | | public int deleteSvyCategoryByIds(Long[] ids) { |
| | | Integer i = null; |
| | | for (Long id : ids) { |
| | | i = svyCategoryMapper.deleteSvyCategoryById(id); |
| | | } |
| | | |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·åç±»ä¿¡æ¯ |
| | | * |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyCategoryById(Long id) |
| | | { |
| | | public int deleteSvyCategoryById(Long id) { |
| | | return svyCategoryMapper.deleteSvyCategoryById(id); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.SvyLibTitleCategory; |
| | | import com.smartor.domain.SvyLibTitleCategoryVO; |
| | | import com.smartor.mapper.SvyLibTitleCategoryMapper; |
| | | import com.smartor.service.ISvyLibTitleCategoryService; |
| | | import io.jsonwebtoken.lang.Collections; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | | * é®å·æ¨¡æ¿åç±»Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class SvyLibTitleCategoryServiceImpl implements ISvyLibTitleCategoryService { |
| | | @Autowired |
| | | private SvyLibTitleCategoryMapper svyLibTitleCategoryMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·æ¨¡æ¿åç±» |
| | | * |
| | | * @param id é®å·æ¨¡æ¿åç±»ä¸»é® |
| | | * @return é®å·æ¨¡æ¿åç±» |
| | | */ |
| | | @Override |
| | | public SvyLibTitleCategory selectSvyLibTitleCategoryById(Long id) { |
| | | return svyLibTitleCategoryMapper.selectSvyLibTitleCategoryById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·æ¨¡æ¿åç±»å表 |
| | | * |
| | | * @param svyLibTitleCategory é®å·æ¨¡æ¿åç±» |
| | | * @return é®å·æ¨¡æ¿åç±» |
| | | */ |
| | | @Override |
| | | public List<SvyLibTitleCategoryVO> selectSvyLibTitleCategoryList(SvyLibTitleCategory svyLibTitleCategory) { |
| | | List<SvyLibTitleCategory> svyLibTitleCategories = svyLibTitleCategoryMapper.selectSvyLibTitleCategoryList(svyLibTitleCategory); |
| | | //å°pid为空çï¼è¿æ»¤æ |
| | | svyLibTitleCategories = svyLibTitleCategories.stream().filter(assort -> assort.getPid() == null).collect(Collectors.toList()); |
| | | |
| | | List<SvyLibTitleCategoryVO> svyLibTitleCategoryVOList = DtoConversionUtils.sourceToTarget(svyLibTitleCategories, SvyLibTitleCategoryVO.class); |
| | | //éåæ¥åºæ¥çæ°æ®ï¼éè¿ id=pid è·åä»ä»¬çåæ°æ® |
| | | for (SvyLibTitleCategoryVO svyLibTitleCategoryVO : svyLibTitleCategoryVOList) { |
| | | if (svyLibTitleCategoryVO.getPid() != null) { |
| | | continue; |
| | | } |
| | | SvyLibTitleCategory svyLibTitleCategory1 = new SvyLibTitleCategory(); |
| | | svyLibTitleCategory1.setPid(svyLibTitleCategoryVO.getId()); |
| | | List<SvyLibTitleCategory> svyLibTitleCategoryList = svyLibTitleCategoryMapper.selectSvyLibTitleCategoryList(svyLibTitleCategory1); |
| | | if (!Collections.isEmpty(svyLibTitleCategoryList)) { |
| | | svyLibTitleCategoryVO.setSvyLibTitleCategoryList(svyLibTitleCategoryList); |
| | | } |
| | | } |
| | | return svyLibTitleCategoryVOList; |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·æ¨¡æ¿åç±» |
| | | * |
| | | * @param svyLibTitleCategory é®å·æ¨¡æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibTitleCategory(SvyLibTitleCategory svyLibTitleCategory) { |
| | | svyLibTitleCategory.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibTitleCategoryMapper.insertSvyLibTitleCategory(svyLibTitleCategory); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·æ¨¡æ¿åç±» |
| | | * |
| | | * @param svyLibTitleCategory é®å·æ¨¡æ¿åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibTitleCategory(SvyLibTitleCategory svyLibTitleCategory) { |
| | | svyLibTitleCategory.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibTitleCategoryMapper.updateSvyLibTitleCategory(svyLibTitleCategory); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·æ¨¡æ¿åç±» |
| | | * |
| | | * @param ids éè¦å é¤çé®å·æ¨¡æ¿åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTitleCategoryByIds(Long[] ids) { |
| | | Integer i = null; |
| | | for (Long id : ids) { |
| | | i = svyLibTitleCategoryMapper.deleteSvyLibTitleCategoryById(id); |
| | | SvyLibTitleCategory svyLibTitleCategory = new SvyLibTitleCategory(); |
| | | svyLibTitleCategory.setPid(id); |
| | | |
| | | //æ¾å°æªåé
ä¸é¢ |
| | | List<SvyLibTitleCategory> svyLibTitleCategoryList = svyLibTitleCategoryMapper.selectSvyLibTitleCategoryList(svyLibTitleCategory); |
| | | if (CollectionUtils.isNotEmpty(svyLibTitleCategoryList)) { |
| | | for (SvyLibTitleCategory svyLibTitleCategory1 : svyLibTitleCategoryList) { |
| | | svyLibTitleCategory1.setPid(999999999L); |
| | | svyLibTitleCategoryMapper.updateSvyLibTitleCategory(svyLibTitleCategory1); |
| | | } |
| | | } |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | @Override |
| | | public int insertSvyLibTitleCategoryTree(SvyLibTitleCategoryVO svyLibTitleCategoryVO) { |
| | | Integer i = null; |
| | | if (ObjectUtils.isEmpty(svyLibTitleCategoryVO)) { |
| | | throw new BaseException("å
¥å为空,è¯·æ£æ¥å,åæ°å¢"); |
| | | } |
| | | Integer seqMax = svyLibTitleCategoryMapper.selectSeqMax(); |
| | | SvyLibTitleCategory svyLibTitleCategory = DtoConversionUtils.sourceToTarget(svyLibTitleCategoryVO, SvyLibTitleCategory.class); |
| | | svyLibTitleCategory.setSeqno(1); |
| | | if (seqMax != null) { |
| | | svyLibTitleCategory.setSeqno(seqMax + 1); |
| | | } |
| | | |
| | | i = svyLibTitleCategoryMapper.insertSvyLibTitleCategory(svyLibTitleCategory); |
| | | log.info("é®é¢è¯æ¯åç±»åºä¸çº§æ ç主é®:{}", svyLibTitleCategory.getId()); |
| | | |
| | | //æ°å¢äºçº§æ |
| | | if (CollectionUtils.isNotEmpty(svyLibTitleCategoryVO.getSvyLibTitleCategoryList())) { |
| | | for (SvyLibTitleCategory svyLibTitleCategory1 : svyLibTitleCategoryVO.getSvyLibTitleCategoryList()) { |
| | | Integer seqMax1 = svyLibTitleCategoryMapper.selectSeqMax(); |
| | | svyLibTitleCategory1.setPid(svyLibTitleCategory.getId()); |
| | | svyLibTitleCategory1.setSeqno(1); |
| | | if (seqMax1 != null) { |
| | | svyLibTitleCategory1.setSeqno(seqMax1 + 1); |
| | | } |
| | | svyLibTitleCategoryMapper.insertSvyLibTitleCategory(svyLibTitleCategory1); |
| | | } |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | } |
| | | |
| | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.mapper.Icd10AssociationMapper; |
| | | import com.smartor.mapper.SvyLibTopicMapper; |
| | | import com.smartor.mapper.SvyTopicoptionMapper; |
| | | import com.smartor.mapper.*; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyLibTitleMapper; |
| | | import com.smartor.service.ISvyLibTitleService; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class SvyLibTitleServiceImpl implements ISvyLibTitleService { |
| | | @Autowired |
| | |
| | | @Autowired |
| | | private SvyLibTopicMapper svyLibTopicMapper; |
| | | @Autowired |
| | | private SvyTopicoptionMapper svyTopicoptionMapper; |
| | | private SvyLibTopicoptionMapper svyLibTopicoptionMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å· |
| | |
| | | //è·åé¢ç®é项 |
| | | a: |
| | | for (int j = 0; j < svyLibTopics.size(); j++) { |
| | | if (svyLibTopics.get(j).getTopictype() == 3) { |
| | | log.info("é®é¢id为ï¼{}", svyLibTopics.get(j).getSvyTopicId()); |
| | | if (svyLibTopics.get(j).getTopictype() != null && svyLibTopics.get(j).getTopictype() == 3 || svyLibTopics.get(j).getSvyTopicId() == null) { |
| | | //ä½çé¢ï¼ä¸éè¦é项 |
| | | continue a; |
| | | } else { |
| | | SvyTopicoption svyTopicoption = new SvyTopicoption(); |
| | | svyTopicoption.setTopicid(svyLibTopics.get(j).getSvyTopicId()); |
| | | List<SvyTopicoption> svyTopicoptions = svyTopicoptionMapper.selectSvyTopicoptionList(svyTopicoption); |
| | | SvyLibTopicoption svyLibTopicoption = new SvyLibTopicoption(); |
| | | svyLibTopicoption.setTopicid(svyLibTopics.get(j).getSvyTopicId()); |
| | | List<SvyLibTopicoption> svyLibTopicoptions = svyLibTopicoptionMapper.selectSvyLibTopicoptionList(svyLibTopicoption); |
| | | //å°æ¥è¯¢åºçéé¡¹ç®æ¾å°é¢ç®ä¸ |
| | | svyLibTopics.get(j).setSvyTopicoptions(svyTopicoptions); |
| | | svyLibTopics.get(j).setSvyLibTopicoptions(svyLibTopicoptions); |
| | | } |
| | | } |
| | | //å°é¢ç®æ¾å°é®å·åè¡¨ä¸ |
| | |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æä¿®æ¹é®å·æ¨¡æ¿ä¿¡æ¯ |
| | | * |
| | | * @param svyLibTitle |
| | | * @return |
| | | */ |
| | | @Override |
| | | public Integer saveOrUpdateTitle(SvyLibTitle svyLibTitle) { |
| | | Integer i = null; |
| | | if (svyLibTitle.getIsoperation() != null && svyLibTitle.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | svyLibTitle.setCreateTime(DateUtils.getNowDate()); |
| | | i = svyLibTitleMapper.insertSvyLibTitle(svyLibTitle); |
| | | } else if (svyLibTitle.getIsoperation() != null && svyLibTitle.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | | svyLibTitle.setUpdateTime(DateUtils.getNowDate()); |
| | | i = svyLibTitleMapper.updateSvyLibTitle(svyLibTitle); |
| | | } |
| | | |
| | | //å¤çé¢ç® |
| | | if (CollectionUtils.isNotEmpty(svyLibTitle.getSvyLibTopics())) { |
| | | for (SvyLibTopic svyLibTopic : svyLibTitle.getSvyLibTopics()) { |
| | | //对é¢ç®è¿è¡å¤ç |
| | | if (svyLibTopic.getIsoperation() != null && svyLibTopic.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | svyLibTopic.setSvyid(svyLibTitle.getSvyid()); |
| | | //é¢ç®çé项ç®ï¼ç´æ¥ç¨svy_topicoption表ï¼ç¨svyTopicidå»å
³è |
| | | svyLibTopicMapper.insertSvyLibTopic(svyLibTopic); |
| | | } else if (svyLibTitle.getIsoperation() != null && svyLibTopic.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | | svyLibTopic.setSvyid(svyLibTitle.getSvyid()); |
| | | svyLibTopicMapper.updateSvyLibTopic(svyLibTopic); |
| | | } |
| | | |
| | | //对é¢ç®é项è¿è¡å¤ç |
| | | if (CollectionUtils.isNotEmpty(svyLibTopic.getSvyLibTopicoptions())) { |
| | | for (SvyLibTopicoption svyLibTopicoption : svyLibTopic.getSvyLibTopicoptions()) { |
| | | if (svyLibTopicoption.getIsoperation() != null && svyLibTopicoption.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | svyLibTopicoption.setTopicid(svyLibTopic.getTopicid()); |
| | | svyLibTopicoptionMapper.insertSvyLibTopicoption(svyLibTopicoption); |
| | | } else if (svyLibTopicoption.getIsoperation() != null && svyLibTopicoption.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | | svyLibTopicoption.setTopicid(svyLibTopic.getTopicid()); |
| | | svyLibTopicoptionMapper.updateSvyLibTopicoption(svyLibTopicoption); |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.SvyLibTopicCategory; |
| | | import com.smartor.domain.SvyLibTopicCategoryVO; |
| | | import com.smartor.mapper.SvyLibTopicCategoryMapper; |
| | | import com.smartor.service.ISvyLibTopicCategoryService; |
| | | import io.jsonwebtoken.lang.Collections; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | | * é®å·é¢ç®åç±»Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-27 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class SvyLibTopicCategoryServiceImpl implements ISvyLibTopicCategoryService { |
| | | @Autowired |
| | | private SvyLibTopicCategoryMapper svyLibTopicCategoryMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®åç±» |
| | | * |
| | | * @param id é®å·é¢ç®åç±»ä¸»é® |
| | | * @return é®å·é¢ç®åç±» |
| | | */ |
| | | @Override |
| | | public SvyLibTopicCategory selectSvyLibTopicCategoryById(Long id) { |
| | | return svyLibTopicCategoryMapper.selectSvyLibTopicCategoryById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®åç±»å表 |
| | | * |
| | | * @param svyLibTopicCategory é®å·é¢ç®åç±» |
| | | * @return é®å·é¢ç®åç±» |
| | | */ |
| | | @Override |
| | | public List<SvyLibTopicCategoryVO> selectSvyLibTopicCategoryList(SvyLibTopicCategory svyLibTopicCategory) { |
| | | List<SvyLibTopicCategory> svyLibTopicCategories = svyLibTopicCategoryMapper.selectSvyLibTopicCategoryList(svyLibTopicCategory); |
| | | //å°pid为空çï¼è¿æ»¤æ |
| | | svyLibTopicCategories = svyLibTopicCategories.stream().filter(assort -> assort.getPid() == null).collect(Collectors.toList()); |
| | | |
| | | List<SvyLibTopicCategoryVO> SvyLibTopicCategoryVO = DtoConversionUtils.sourceToTarget(svyLibTopicCategories, SvyLibTopicCategoryVO.class); |
| | | //éåæ¥åºæ¥çæ°æ®ï¼éè¿ id=pid è·åä»ä»¬çåæ°æ® |
| | | for (SvyLibTopicCategoryVO svyLibTopicCategoryVO : SvyLibTopicCategoryVO) { |
| | | if (svyLibTopicCategoryVO.getPid() != null) { |
| | | continue; |
| | | } |
| | | SvyLibTopicCategory svyLibTopicCategory1 = new SvyLibTopicCategory(); |
| | | svyLibTopicCategory1.setPid(svyLibTopicCategoryVO.getId()); |
| | | List<SvyLibTopicCategory> svyLibTopicCategories1 = svyLibTopicCategoryMapper.selectSvyLibTopicCategoryList(svyLibTopicCategory1); |
| | | if (!Collections.isEmpty(svyLibTopicCategories1)) { |
| | | svyLibTopicCategoryVO.setSvyLibTopicCategoryList(svyLibTopicCategories1); |
| | | } |
| | | } |
| | | return SvyLibTopicCategoryVO; |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·é¢ç®åç±» |
| | | * |
| | | * @param svyLibTopicCategory é®å·é¢ç®åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibTopicCategory(SvyLibTopicCategory svyLibTopicCategory) { |
| | | svyLibTopicCategory.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibTopicCategoryMapper.insertSvyLibTopicCategory(svyLibTopicCategory); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç®åç±» |
| | | * |
| | | * @param svyLibTopicCategory é®å·é¢ç®åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibTopicCategory(SvyLibTopicCategory svyLibTopicCategory) { |
| | | svyLibTopicCategory.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibTopicCategoryMapper.updateSvyLibTopicCategory(svyLibTopicCategory); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é¢ç®åç±» |
| | | * |
| | | * @param ids éè¦å é¤çé®å·é¢ç®åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTopicCategoryByIds(Long[] ids) { |
| | | Integer i = null; |
| | | for (Long id : ids) { |
| | | i = svyLibTopicCategoryMapper.deleteSvyLibTopicCategoryById(id); |
| | | SvyLibTopicCategory svyLibTopicCategory = new SvyLibTopicCategory(); |
| | | svyLibTopicCategory.setPid(id); |
| | | List<SvyLibTopicCategory> svyLibTopicCategories = svyLibTopicCategoryMapper.selectSvyLibTopicCategoryList(svyLibTopicCategory); |
| | | if (CollectionUtils.isNotEmpty(svyLibTopicCategories)) { |
| | | for (SvyLibTopicCategory svyLibTopicCategory1 : svyLibTopicCategories) { |
| | | svyLibTopicCategory1.setPid(999999999L); |
| | | svyLibTopicCategoryMapper.updateSvyLibTopicCategory(svyLibTopicCategory1); |
| | | } |
| | | } |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | @Override |
| | | public int insertSvyLibTopicCategoryTree(SvyLibTopicCategoryVO svyLibTopicCategoryVO) { |
| | | Integer i = null; |
| | | if (ObjectUtils.isEmpty(svyLibTopicCategoryVO)) { |
| | | throw new BaseException("å
¥å为空,è¯·æ£æ¥å,åæ°å¢"); |
| | | } |
| | | Integer seqMax = svyLibTopicCategoryMapper.selectSeqMax(); |
| | | SvyLibTopicCategory svyLibTopicCategory = DtoConversionUtils.sourceToTarget(svyLibTopicCategoryVO, SvyLibTopicCategory.class); |
| | | svyLibTopicCategory.setSeqno(1); |
| | | if (seqMax != null) { |
| | | svyLibTopicCategory.setSeqno(seqMax + 1); |
| | | } |
| | | i = svyLibTopicCategoryMapper.insertSvyLibTopicCategory(svyLibTopicCategory); |
| | | log.info("é®é¢è¯æ¯åç±»åºä¸çº§æ ç主é®:{}", svyLibTopicCategory.getId()); |
| | | |
| | | //æ°å¢äºçº§æ |
| | | if (CollectionUtils.isNotEmpty(svyLibTopicCategoryVO.getSvyLibTopicCategoryList())) { |
| | | for (SvyLibTopicCategory svyLibTopicCategory1 : svyLibTopicCategoryVO.getSvyLibTopicCategoryList()) { |
| | | Integer seqMax1 = svyLibTopicCategoryMapper.selectSeqMax(); |
| | | svyLibTopicCategory1.setPid(svyLibTopicCategory.getId()); |
| | | svyLibTopicCategory1.setSeqno(1); |
| | | if (seqMax1 != null) { |
| | | svyLibTopicCategory1.setSeqno(seqMax1 + 1); |
| | | } |
| | | svyLibTopicCategoryMapper.insertSvyLibTopicCategory(svyLibTopicCategory1); |
| | | } |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·é¢ç®åç±»ä¿¡æ¯ |
| | | * |
| | | * @param id é®å·é¢ç®åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTopicCategoryById(Long id) { |
| | | return svyLibTopicCategoryMapper.deleteSvyLibTopicCategoryById(id); |
| | | } |
| | | } |
| | |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.mapper.SvyLibTopicoptionMapper; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.catalina.User; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | |
| | | import org.apache.poi.ss.usermodel.Sheet; |
| | | import org.apache.poi.ss.usermodel.Workbook; |
| | | import org.apache.poi.xssf.usermodel.XSSFWorkbook; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyLibTopicMapper; |
| | |
| | | * @author ruoyi |
| | | * @date 2023-03-03 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class SvyLibTopicServiceImpl implements ISvyLibTopicService { |
| | | @Autowired |
| | | private SvyLibTopicMapper svyLibTopicMapper; |
| | | |
| | | // @Autowired |
| | | // private SvyLibTopicoptionMapper svyLibTopicoptionMapper; |
| | | @Autowired |
| | | private SvyLibTopicoptionMapper svyLibTopicoptionMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç® |
| | |
| | | */ |
| | | @Override |
| | | public List<SvyLibTopic> selectSvyLibTopicList(SvyLibTopic svyLibTopic) { |
| | | return svyLibTopicMapper.selectSvyLibTopicList(svyLibTopic); |
| | | //æ·»å é¢ç® |
| | | |
| | | List<SvyLibTopic> svyLibTopics = svyLibTopicMapper.selectSvyLibTopicList(svyLibTopic); |
| | | //è·åé¢ç®é项 |
| | | |
| | | for (int j = 0; j < svyLibTopics.size(); j++) { |
| | | log.info("é®é¢id为ï¼{}", svyLibTopics.get(j).getSvyTopicId()); |
| | | if (svyLibTopics.get(j).getTopictype() != null && svyLibTopics.get(j).getTopictype() == 3 || svyLibTopics.get(j).getSvyTopicId() == null) { |
| | | //ä½çé¢ï¼ä¸éè¦é项 |
| | | continue; |
| | | } else { |
| | | SvyLibTopicoption svyLibTopicoption = new SvyLibTopicoption(); |
| | | svyLibTopicoption.setTopicid(svyLibTopics.get(j).getSvyTopicId()); |
| | | List<SvyLibTopicoption> svyLibTopicoptions = svyLibTopicoptionMapper.selectSvyLibTopicoptionList(svyLibTopicoption); |
| | | //å°æ¥è¯¢åºçéé¡¹ç®æ¾å°é¢ç®ä¸ |
| | | svyLibTopics.get(j).setSvyLibTopicoptions(svyLibTopicoptions); |
| | | } |
| | | } |
| | | return svyLibTopics; |
| | | } |
| | | |
| | | /** |
| | |
| | | return svyLibTopicMapper.insertSvyLibTopic(svyLibTopic); |
| | | } |
| | | |
| | | @Override |
| | | public Integer saveOrUpdateTopic(SvyLibTopic svyLibTopic) { |
| | | Integer i = null; |
| | | |
| | | //对é¢ç®è¿è¡å¤ç |
| | | if (svyLibTopic.getIsoperation() != null && svyLibTopic.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | i = svyLibTopicMapper.insertSvyLibTopic(svyLibTopic); |
| | | } else if (svyLibTopic.getIsoperation() != null && svyLibTopic.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | | i = svyLibTopicMapper.updateSvyLibTopic(svyLibTopic); |
| | | } |
| | | |
| | | //对é¢ç®é项è¿è¡å¤ç |
| | | if (CollectionUtils.isNotEmpty(svyLibTopic.getSvyLibTopicoptions())) { |
| | | for (SvyLibTopicoption svyLibTopicoption : svyLibTopic.getSvyLibTopicoptions()) { |
| | | if (svyLibTopicoption.getIsoperation() != null && svyLibTopicoption.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | svyLibTopicoption.setTopicid(svyLibTopic.getTopicid()); |
| | | svyLibTopicoptionMapper.insertSvyLibTopicoption(svyLibTopicoption); |
| | | } else if (svyLibTopicoption.getIsoperation() != null && svyLibTopicoption.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | | svyLibTopicoption.setTopicid(svyLibTopic.getTopicid()); |
| | | svyLibTopicoptionMapper.updateSvyLibTopicoption(svyLibTopicoption); |
| | | } |
| | | } |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç® |
| | | * |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.HeLibraryAssortMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.HeLibraryAssort" id="HeLibraryAssortResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="assortname" column="assortname"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="seqno" column="seqno"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectHeLibraryAssortVo"> |
| | | select id, |
| | | assortname, |
| | | orgid, |
| | | del_flag, |
| | | update_by, |
| | | update_time, |
| | | create_by, |
| | | create_time, |
| | | isupload, |
| | | upload_time, |
| | | pid, |
| | | guid, |
| | | seqno |
| | | from he_library_assort |
| | | </sql> |
| | | |
| | | <select id="selectHeLibraryAssortList" parameterType="com.smartor.domain.HeLibraryAssort" |
| | | resultMap="HeLibraryAssortResult"> |
| | | <include refid="selectHeLibraryAssortVo"/> |
| | | <where> |
| | | <if test="assortname != null and assortname != ''">and assortname like concat('%', #{assortname}, '%')</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="seqno != null ">and seqno = #{seqno}</if> |
| | | and del_flag != 1 |
| | | </where> |
| | | order by seqno asc |
| | | </select> |
| | | |
| | | <select id="selectSeqMax" resultType="integer"> |
| | | select max(seqno) seqno |
| | | from he_library_assort |
| | | |
| | | </select> |
| | | |
| | | <select id="selectHeLibraryAssortById" parameterType="Long" resultMap="HeLibraryAssortResult"> |
| | | <include refid="selectHeLibraryAssortVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertHeLibraryAssort" parameterType="com.smartor.domain.HeLibraryAssort" useGeneratedKeys="true" |
| | | keyProperty="id"> |
| | | insert into he_library_assort |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="assortname != null">assortname,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="seqno != null">seqno,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="assortname != null">#{assortname},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="seqno != null">#{seqno},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateHeLibraryAssort" parameterType="com.smartor.domain.HeLibraryAssort"> |
| | | update he_library_assort |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="assortname != null">assortname = #{assortname},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deleteHeLibraryAssortById" parameterType="Long"> |
| | | update he_library_assort |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteHeLibraryAssortByIds" parameterType="String"> |
| | | delete from he_library_assort where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.HeLibraryMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.HeLibrary" id="HeLibraryResult"> |
| | | <result property="id" column="id" /> |
| | | <result property="classification" column="classification" /> |
| | | <result property="assortid" column="assortid" /> |
| | | <result property="preachname" column="preachname" /> |
| | | <result property="version" column="version" /> |
| | | <result property="preachform" column="preachform" /> |
| | | <result property="preachdescription" column="preachdescription" /> |
| | | <result property="preachcontent" column="preachcontent" /> |
| | | <result property="templateid" column="templateid" /> |
| | | <result property="preachcode" column="preachcode" /> |
| | | <result property="centerlibraryid" column="centerlibraryid" /> |
| | | <result property="isenable" column="isenable" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | <result property="islocal" column="islocal" /> |
| | | <result property="centerlibrarycode" column="centerlibrarycode" /> |
| | | <result property="pid" column="pid" /> |
| | | <result property="guid" column="guid" /> |
| | | <result property="parameter" column="parameter" /> |
| | | <result property="isavailable" column="isavailable" /> |
| | | <result property="suitdisease" column="suitdisease" /> |
| | | <result property="suitway" column="suitway" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectHeLibraryVo"> |
| | | select id, classification, assortid, preachname, version, preachform, preachdescription, preachcontent, templateid, preachcode, centerlibraryid, isenable, orgid, update_by, update_time, del_flag, create_by, create_time, isupload, upload_time, islocal, centerlibrarycode, pid, guid, parameter, isavailable, suitdisease, suitway from he_library |
| | | </sql> |
| | | |
| | | <select id="selectHeLibraryList" parameterType="com.smartor.domain.HeLibrary" resultMap="HeLibraryResult"> |
| | | <include refid="selectHeLibraryVo"/> |
| | | <where> |
| | | <if test="id != null "> and id = #{id}</if> |
| | | <if test="classification != null and classification != ''"> and classification = #{classification}</if> |
| | | <if test="assortid != null "> and assortid = #{assortid}</if> |
| | | <if test="preachname != null and preachname != ''"> and preachname like concat('%', #{preachname}, '%')</if> |
| | | <if test="version != null "> and version = #{version}</if> |
| | | <if test="preachform != null "> and preachform = #{preachform}</if> |
| | | <if test="preachdescription != null and preachdescription != ''"> and preachdescription = #{preachdescription}</if> |
| | | <if test="preachcontent != null and preachcontent != ''"> and preachcontent = #{preachcontent}</if> |
| | | <if test="templateid != null "> and templateid = #{templateid}</if> |
| | | <if test="preachcode != null and preachcode != ''"> and preachcode = #{preachcode}</if> |
| | | <if test="centerlibraryid != null "> and centerlibraryid = #{centerlibraryid}</if> |
| | | <if test="isenable != null "> and isenable = #{isenable}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | <if test="islocal != null "> and islocal = #{islocal}</if> |
| | | <if test="centerlibrarycode != null and centerlibrarycode != ''"> and centerlibrarycode = #{centerlibrarycode}</if> |
| | | <if test="pid != null "> and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''"> and guid = #{guid}</if> |
| | | <if test="parameter != null and parameter != ''"> and parameter = #{parameter}</if> |
| | | <if test="isavailable != null and isavailable != ''"> and isavailable = #{isavailable}</if> |
| | | <if test="suitdisease != null and suitdisease != ''"> and suitdisease = #{suitdisease}</if> |
| | | <if test="suitway != null and suitway != ''"> and suitway = #{suitway}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectHeLibraryById" parameterType="Long" resultMap="HeLibraryResult"> |
| | | <include refid="selectHeLibraryVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertHeLibrary" parameterType="com.smartor.domain.HeLibrary" useGeneratedKeys="true" keyProperty="id"> |
| | | insert into he_library |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="classification != null">classification,</if> |
| | | <if test="assortid != null">assortid,</if> |
| | | <if test="preachname != null">preachname,</if> |
| | | <if test="version != null">version,</if> |
| | | <if test="preachform != null">preachform,</if> |
| | | <if test="preachdescription != null">preachdescription,</if> |
| | | <if test="preachcontent != null">preachcontent,</if> |
| | | <if test="templateid != null">templateid,</if> |
| | | <if test="preachcode != null">preachcode,</if> |
| | | <if test="centerlibraryid != null">centerlibraryid,</if> |
| | | <if test="isenable != null">isenable,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="islocal != null">islocal,</if> |
| | | <if test="centerlibrarycode != null">centerlibrarycode,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="parameter != null">parameter,</if> |
| | | <if test="isavailable != null">isavailable,</if> |
| | | <if test="suitdisease != null">suitdisease,</if> |
| | | <if test="suitway != null">suitway,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="classification != null">#{classification},</if> |
| | | <if test="assortid != null">#{assortid},</if> |
| | | <if test="preachname != null">#{preachname},</if> |
| | | <if test="version != null">#{version},</if> |
| | | <if test="preachform != null">#{preachform},</if> |
| | | <if test="preachdescription != null">#{preachdescription},</if> |
| | | <if test="preachcontent != null">#{preachcontent},</if> |
| | | <if test="templateid != null">#{templateid},</if> |
| | | <if test="preachcode != null">#{preachcode},</if> |
| | | <if test="centerlibraryid != null">#{centerlibraryid},</if> |
| | | <if test="isenable != null">#{isenable},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="islocal != null">#{islocal},</if> |
| | | <if test="centerlibrarycode != null">#{centerlibrarycode},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="parameter != null">#{parameter},</if> |
| | | <if test="isavailable != null">#{isavailable},</if> |
| | | <if test="suitdisease != null">#{suitdisease},</if> |
| | | <if test="suitway != null">#{suitway},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateHeLibrary" parameterType="com.smartor.domain.HeLibrary"> |
| | | update he_library |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="classification != null">classification = #{classification},</if> |
| | | <if test="assortid != null">assortid = #{assortid},</if> |
| | | <if test="preachname != null">preachname = #{preachname},</if> |
| | | <if test="version != null">version = #{version},</if> |
| | | <if test="preachform != null">preachform = #{preachform},</if> |
| | | <if test="preachdescription != null">preachdescription = #{preachdescription},</if> |
| | | <if test="preachcontent != null">preachcontent = #{preachcontent},</if> |
| | | <if test="templateid != null">templateid = #{templateid},</if> |
| | | <if test="preachcode != null">preachcode = #{preachcode},</if> |
| | | <if test="centerlibraryid != null">centerlibraryid = #{centerlibraryid},</if> |
| | | <if test="isenable != null">isenable = #{isenable},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="islocal != null">islocal = #{islocal},</if> |
| | | <if test="centerlibrarycode != null">centerlibrarycode = #{centerlibrarycode},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="parameter != null">parameter = #{parameter},</if> |
| | | <if test="isavailable != null">isavailable = #{isavailable},</if> |
| | | <if test="suitdisease != null">suitdisease = #{suitdisease},</if> |
| | | <if test="suitway != null">suitway = #{suitway},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteHeLibraryById" parameterType="Long"> |
| | | delete from he_library where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteHeLibraryByIds" parameterType="String"> |
| | | delete from he_library where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.HeLibraryTagMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.HeLibraryTag" id="HeLibraryTagResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="tagcategoryid" column="tagcategoryid"/> |
| | | <result property="tagid" column="tagid"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="heid" column="heid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectHeLibraryTagVo"> |
| | | select id, |
| | | tagcategoryid, |
| | | tagid, |
| | | orgid, |
| | | del_flag, |
| | | update_by, |
| | | update_time, |
| | | create_by, |
| | | create_time, |
| | | isupload, |
| | | upload_time, |
| | | heid, |
| | | pid, |
| | | guid |
| | | from he_library_tag |
| | | </sql> |
| | | |
| | | <select id="selectHeLibraryTagList" parameterType="com.smartor.domain.HeLibraryTag" resultMap="HeLibraryTagResult"> |
| | | <include refid="selectHeLibraryTagVo"/> |
| | | <where> |
| | | <if test="tagcategoryid != null ">and tagcategoryid = #{tagcategoryid}</if> |
| | | <if test="tagid != null ">and tagid = #{tagid}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="heid != null ">and heid = #{heid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectHeLibraryTagById" parameterType="Long" resultMap="HeLibraryTagResult"> |
| | | <include refid="selectHeLibraryTagVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertHeLibraryTag" parameterType="com.smartor.domain.HeLibraryTag" useGeneratedKeys="true" |
| | | keyProperty="id"> |
| | | insert into he_library_tag |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="tagcategoryid != null">tagcategoryid,</if> |
| | | <if test="tagid != null">tagid,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="heid != null">heid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="tagcategoryid != null">#{tagcategoryid},</if> |
| | | <if test="tagid != null">#{tagid},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="heid != null">#{heid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateHeLibraryTag" parameterType="com.smartor.domain.HeLibraryTag"> |
| | | update he_library_tag |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="tagcategoryid != null">tagcategoryid = #{tagcategoryid},</if> |
| | | <if test="tagid != null">tagid = #{tagid},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="heid != null">heid = #{heid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deleteHeLibraryTagById" parameterType="Long"> |
| | | update he_library_tag |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteHeLibraryTagByIds" parameterType="String"> |
| | | delete from he_library_tag where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.IvrLibaExtemplateCategoryMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.IvrLibaExtemplateCategory" id="IvrLibaExtemplateCategoryResult"> |
| | | <result property="intertcatid" column="intertcatid"/> |
| | | <result property="categoryname" column="categoryname"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="seqno" column="seqno"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaExtemplateCategoryVo"> |
| | | select intertcatid, |
| | | categoryname, |
| | | orgid, |
| | | del_flag, |
| | | update_by, |
| | | update_time, |
| | | create_by, |
| | | create_time, |
| | | isupload, |
| | | upload_time, |
| | | pid, |
| | | seqno, |
| | | guid |
| | | from ivr_liba_extemplate_category |
| | | </sql> |
| | | |
| | | <select id="selectIvrLibaExtemplateCategoryList" parameterType="com.smartor.domain.IvrLibaExtemplateCategory" |
| | | resultMap="IvrLibaExtemplateCategoryResult"> |
| | | <include refid="selectIvrLibaExtemplateCategoryVo"/> |
| | | <where> |
| | | <if test="categoryname != null and categoryname != ''">and categoryname like concat('%', #{categoryname}, |
| | | '%') |
| | | </if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="seqno != null ">and seqno = #{seqno}</if> |
| | | and del_flag = 0 |
| | | </where> |
| | | order by seqno asc |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaExtemplateCategoryByIntertcatid" parameterType="Long" |
| | | resultMap="IvrLibaExtemplateCategoryResult"> |
| | | <include refid="selectIvrLibaExtemplateCategoryVo"/> |
| | | where intertcatid = #{intertcatid} and del_flag = 0 |
| | | </select> |
| | | |
| | | <select id="selectSeqMax" resultType="integer"> |
| | | select max(seqno) seqno |
| | | from ivr_liba_extemplate_category |
| | | |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaExtemplateCategory" parameterType="com.smartor.domain.IvrLibaExtemplateCategory" |
| | | useGeneratedKeys="true" keyProperty="intertcatid"> |
| | | insert into ivr_liba_extemplate_category |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="categoryname != null">categoryname,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="seqno != null">seqno,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="categoryname != null">#{categoryname},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="seqno != null">#{seqno},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrLibaExtemplateCategory" parameterType="com.smartor.domain.IvrLibaExtemplateCategory"> |
| | | update ivr_liba_extemplate_category |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="categoryname != null">categoryname = #{categoryname},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="seqno != null">seqno = #{seqno},</if> |
| | | </trim> |
| | | where intertcatid = #{intertcatid} |
| | | </update> |
| | | |
| | | <update id="deleteIvrLibaExtemplateCategoryByIntertcatid" parameterType="Long"> |
| | | update ivr_liba_extemplate_category |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | </trim> |
| | | where intertcatid = #{intertcatid} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaExtemplateCategoryByIntertcatids" parameterType="String"> |
| | | delete from ivr_liba_extemplate_category where intertcatid in |
| | | <foreach item="intertcatid" collection="array" open="(" separator="," close=")"> |
| | | #{intertcatid} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.IvrLibaExtemplateMapper"> |
| | | |
| | | <resultMap type="IvrLibaExtemplate" id="IvrLibaExtemplateResult"> |
| | | <result property="subModuleID" column="subModuleID" /> |
| | | <result property="subModuleName" column="subModuleName" /> |
| | | <result property="language" column="language" /> |
| | | <result property="note" column="note" /> |
| | | <result property="version" column="version" /> |
| | | <result property="isEnable" column="isEnable" /> |
| | | <result property="isDel" column="isDel" /> |
| | | <result property="addUserID" column="addUserID" /> |
| | | <result property="addTime" column="addTime" /> |
| | | <result property="modifyUserID" column="modifyUserID" /> |
| | | <result property="modifyTime" column="modifyTime" /> |
| | | <result property="GroupID" column="GroupID" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | <result property="orgid" column="orgid" /> |
| | | |
| | | <resultMap type="com.smartor.domain.IvrLibaExtemplate" id="IvrLibaExtemplateResult"> |
| | | <result property="ID" column="ID"/> |
| | | <result property="extName" column="extName"/> |
| | | <result property="language" column="language"/> |
| | | <result property="note" column="note"/> |
| | | <result property="version" column="version"/> |
| | | <result property="isEnable" column="isEnable"/> |
| | | <result property="groupID" column="GroupID"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaExtemplateVo"> |
| | | select subModuleID, subModuleName, language, note, version, isEnable, isDel, addUserID, addTime, modifyUserID, modifyTime, GroupID, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid from ivr_liba_extemplate |
| | | select ID, |
| | | extName, language, note, version, isEnable, GroupID, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid |
| | | from ivr_liba_extemplate |
| | | </sql> |
| | | |
| | | <select id="selectIvrLibaExtemplateList" parameterType="IvrLibaExtemplate" resultMap="IvrLibaExtemplateResult"> |
| | | <select id="selectIvrLibaExtemplateList" parameterType="com.smartor.domain.IvrLibaExtemplate" |
| | | resultMap="IvrLibaExtemplateResult"> |
| | | <include refid="selectIvrLibaExtemplateVo"/> |
| | | <where> |
| | | <if test="subModuleName != null and subModuleName != ''"> and subModuleName like concat('%', #{subModuleName}, '%')</if> |
| | | <if test="language != null and language != ''"> and language = #{language}</if> |
| | | <if test="note != null and note != ''"> and note = #{note}</if> |
| | | <if test="version != null "> and version = #{version}</if> |
| | | <if test="isEnable != null "> and isEnable = #{isEnable}</if> |
| | | <if test="isDel != null "> and isDel = #{isDel}</if> |
| | | <if test="addUserID != null and addUserID != ''"> and addUserID = #{addUserID}</if> |
| | | <if test="addTime != null "> and addTime = #{addTime}</if> |
| | | <if test="modifyUserID != null and modifyUserID != ''"> and modifyUserID = #{modifyUserID}</if> |
| | | <if test="modifyTime != null "> and modifyTime = #{modifyTime}</if> |
| | | <if test="GroupID != null "> and GroupID = #{GroupID}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <where> |
| | | <if test="extName != null and extName != ''">and extName like concat('%', #{extName}, '%')</if> |
| | | <if test="language != null and language != ''">and language = #{language}</if> |
| | | <if test="note != null and note != ''">and note = #{note}</if> |
| | | <if test="version != null and version != ''">and version = #{version}</if> |
| | | <if test="isEnable != null ">and isEnable = #{isEnable}</if> |
| | | <if test="groupID != null ">and GroupID = #{groupID}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaExtemplateBySubModuleID" parameterType="String" resultMap="IvrLibaExtemplateResult"> |
| | | |
| | | <select id="selectIvrLibaExtemplateByID" parameterType="String" resultMap="IvrLibaExtemplateResult"> |
| | | <include refid="selectIvrLibaExtemplateVo"/> |
| | | where subModuleID = #{subModuleID} |
| | | where ID = #{ID} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaExtemplate" parameterType="IvrLibaExtemplate"> |
| | | |
| | | <insert id="insertIvrLibaExtemplate" parameterType="com.smartor.domain.IvrLibaExtemplate"> |
| | | insert into ivr_liba_extemplate |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="subModuleID != null">subModuleID,</if> |
| | | <if test="subModuleName != null and subModuleName != ''">subModuleName,</if> |
| | | <if test="ID != null">ID,</if> |
| | | <if test="extName != null and extName != ''">extName,</if> |
| | | <if test="language != null and language != ''">language,</if> |
| | | <if test="note != null">note,</if> |
| | | <if test="version != null">version,</if> |
| | | <if test="version != null and version != ''">version,</if> |
| | | <if test="isEnable != null">isEnable,</if> |
| | | <if test="isDel != null">isDel,</if> |
| | | <if test="addUserID != null">addUserID,</if> |
| | | <if test="addTime != null">addTime,</if> |
| | | <if test="modifyUserID != null">modifyUserID,</if> |
| | | <if test="modifyTime != null">modifyTime,</if> |
| | | <if test="GroupID != null">GroupID,</if> |
| | | <if test="groupID != null">GroupID,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | </trim> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="subModuleID != null">#{subModuleID},</if> |
| | | <if test="subModuleName != null and subModuleName != ''">#{subModuleName},</if> |
| | | <if test="ID != null">#{ID},</if> |
| | | <if test="extName != null and extName != ''">#{extName},</if> |
| | | <if test="language != null and language != ''">#{language},</if> |
| | | <if test="note != null">#{note},</if> |
| | | <if test="version != null">#{version},</if> |
| | | <if test="version != null and version != ''">#{version},</if> |
| | | <if test="isEnable != null">#{isEnable},</if> |
| | | <if test="isDel != null">#{isDel},</if> |
| | | <if test="addUserID != null">#{addUserID},</if> |
| | | <if test="addTime != null">#{addTime},</if> |
| | | <if test="modifyUserID != null">#{modifyUserID},</if> |
| | | <if test="modifyTime != null">#{modifyTime},</if> |
| | | <if test="GroupID != null">#{GroupID},</if> |
| | | <if test="groupID != null">#{groupID},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | </trim> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrLibaExtemplate" parameterType="IvrLibaExtemplate"> |
| | | <update id="updateIvrLibaExtemplate" parameterType="com.smartor.domain.IvrLibaExtemplate"> |
| | | update ivr_liba_extemplate |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="subModuleName != null and subModuleName != ''">subModuleName = #{subModuleName},</if> |
| | | <if test="extName != null and extName != ''">extName = #{extName},</if> |
| | | <if test="language != null and language != ''">language = #{language},</if> |
| | | <if test="note != null">note = #{note},</if> |
| | | <if test="version != null">version = #{version},</if> |
| | | <if test="version != null and version != ''">version = #{version},</if> |
| | | <if test="isEnable != null">isEnable = #{isEnable},</if> |
| | | <if test="isDel != null">isDel = #{isDel},</if> |
| | | <if test="addUserID != null">addUserID = #{addUserID},</if> |
| | | <if test="addTime != null">addTime = #{addTime},</if> |
| | | <if test="modifyUserID != null">modifyUserID = #{modifyUserID},</if> |
| | | <if test="modifyTime != null">modifyTime = #{modifyTime},</if> |
| | | <if test="GroupID != null">GroupID = #{GroupID},</if> |
| | | <if test="groupID != null">GroupID = #{groupID},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | </trim> |
| | | where subModuleID = #{subModuleID} |
| | | where ID = #{ID} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaExtemplateBySubModuleID" parameterType="String"> |
| | | delete from ivr_liba_extemplate where subModuleID = #{subModuleID} |
| | | <delete id="deleteIvrLibaExtemplateByID" parameterType="String"> |
| | | delete |
| | | from ivr_liba_extemplate |
| | | where ID = #{ID} |
| | | </delete> |
| | | |
| | | <delete id="deleteIvrLibaExtemplateBySubModuleIDs" parameterType="String"> |
| | | delete from ivr_liba_extemplate where subModuleID in |
| | | <foreach item="subModuleID" collection="array" open="(" separator="," close=")"> |
| | | #{subModuleID} |
| | | <delete id="deleteIvrLibaExtemplateByIDs" parameterType="String"> |
| | | delete from ivr_liba_extemplate where ID in |
| | | <foreach item="ID" collection="array" open="(" separator="," close=")"> |
| | | #{ID} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.IvrLibaExtemplatescriptMapper"> |
| | | |
| | | <resultMap type="IvrLibaExtemplatescript" id="IvrLibaExtemplatescriptResult"> |
| | | <result property="DetailID" column="DetailID" /> |
| | | <result property="subModuleID" column="subModuleID" /> |
| | | <result property="switchID" column="switchID" /> |
| | | <result property="switchText" column="switchText" /> |
| | | <result property="switchWav" column="switchWav" /> |
| | | <result property="selfRegex" column="selfRegex" /> |
| | | <result property="isEnable" column="isEnable" /> |
| | | <result property="isDel" column="isDel" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | <result property="orgid" column="orgid" /> |
| | | |
| | | <resultMap type="com.smartor.domain.IvrLibaExtemplatescript" id="IvrLibaExtemplatescriptResult"> |
| | | <result property="ID" column="ID"/> |
| | | <result property="extID" column="extID"/> |
| | | <result property="switchID" column="switchID"/> |
| | | <result property="switchText" column="switchText"/> |
| | | <result property="switchWav" column="switchWav"/> |
| | | <result property="selfRegex" column="selfRegex"/> |
| | | <result property="isEnable" column="isEnable"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaExtemplatescriptVo"> |
| | | select DetailID, subModuleID, switchID, switchText, switchWav, selfRegex, isEnable, isDel, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid from ivr_liba_extemplatescript |
| | | select ID, |
| | | extID, |
| | | switchID, |
| | | switchText, |
| | | switchWav, |
| | | selfRegex, |
| | | isEnable, |
| | | del_flag, |
| | | update_by, |
| | | update_time, |
| | | create_by, |
| | | create_time, |
| | | isupload, |
| | | upload_time, |
| | | orgid, |
| | | pid, |
| | | guid |
| | | from ivr_liba_extemplatescript |
| | | </sql> |
| | | |
| | | <select id="selectIvrLibaExtemplatescriptList" parameterType="IvrLibaExtemplatescript" resultMap="IvrLibaExtemplatescriptResult"> |
| | | <select id="selectIvrLibaExtemplatescriptList" parameterType="com.smartor.domain.IvrLibaExtemplatescript" |
| | | resultMap="IvrLibaExtemplatescriptResult"> |
| | | <include refid="selectIvrLibaExtemplatescriptVo"/> |
| | | <where> |
| | | <if test="subModuleID != null and subModuleID != ''"> and subModuleID = #{subModuleID}</if> |
| | | <if test="switchID != null "> and switchID = #{switchID}</if> |
| | | <if test="switchText != null and switchText != ''"> and switchText = #{switchText}</if> |
| | | <if test="switchWav != null and switchWav != ''"> and switchWav = #{switchWav}</if> |
| | | <if test="selfRegex != null and selfRegex != ''"> and selfRegex = #{selfRegex}</if> |
| | | <if test="isEnable != null "> and isEnable = #{isEnable}</if> |
| | | <if test="isDel != null "> and isDel = #{isDel}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <where> |
| | | <if test="extID != null and extID != ''">and extID = #{extID}</if> |
| | | <if test="switchID != null ">and switchID = #{switchID}</if> |
| | | <if test="switchText != null and switchText != ''">and switchText = #{switchText}</if> |
| | | <if test="switchWav != null and switchWav != ''">and switchWav = #{switchWav}</if> |
| | | <if test="selfRegex != null and selfRegex != ''">and selfRegex = #{selfRegex}</if> |
| | | <if test="isEnable != null ">and isEnable = #{isEnable}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaExtemplatescriptByDetailID" parameterType="String" resultMap="IvrLibaExtemplatescriptResult"> |
| | | |
| | | <select id="selectIvrLibaExtemplatescriptByID" parameterType="String" resultMap="IvrLibaExtemplatescriptResult"> |
| | | <include refid="selectIvrLibaExtemplatescriptVo"/> |
| | | where DetailID = #{DetailID} |
| | | where ID = #{ID} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaExtemplatescript" parameterType="IvrLibaExtemplatescript"> |
| | | |
| | | <insert id="insertIvrLibaExtemplatescript" parameterType="com.smartor.domain.IvrLibaExtemplatescript"> |
| | | insert into ivr_liba_extemplatescript |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="DetailID != null">DetailID,</if> |
| | | <if test="subModuleID != null and subModuleID != ''">subModuleID,</if> |
| | | <if test="ID != null">ID,</if> |
| | | <if test="extID != null and extID != ''">extID,</if> |
| | | <if test="switchID != null">switchID,</if> |
| | | <if test="switchText != null">switchText,</if> |
| | | <if test="switchWav != null">switchWav,</if> |
| | | <if test="selfRegex != null">selfRegex,</if> |
| | | <if test="isEnable != null">isEnable,</if> |
| | | <if test="isDel != null">isDel,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | </trim> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="DetailID != null">#{DetailID},</if> |
| | | <if test="subModuleID != null and subModuleID != ''">#{subModuleID},</if> |
| | | <if test="ID != null">#{ID},</if> |
| | | <if test="extID != null and extID != ''">#{extID},</if> |
| | | <if test="switchID != null">#{switchID},</if> |
| | | <if test="switchText != null">#{switchText},</if> |
| | | <if test="switchWav != null">#{switchWav},</if> |
| | | <if test="selfRegex != null">#{selfRegex},</if> |
| | | <if test="isEnable != null">#{isEnable},</if> |
| | | <if test="isDel != null">#{isDel},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | </trim> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrLibaExtemplatescript" parameterType="IvrLibaExtemplatescript"> |
| | | <update id="updateIvrLibaExtemplatescript" parameterType="com.smartor.domain.IvrLibaExtemplatescript"> |
| | | update ivr_liba_extemplatescript |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="subModuleID != null and subModuleID != ''">subModuleID = #{subModuleID},</if> |
| | | <if test="extID != null and extID != ''">extID = #{extID},</if> |
| | | <if test="switchID != null">switchID = #{switchID},</if> |
| | | <if test="switchText != null">switchText = #{switchText},</if> |
| | | <if test="switchWav != null">switchWav = #{switchWav},</if> |
| | | <if test="selfRegex != null">selfRegex = #{selfRegex},</if> |
| | | <if test="isEnable != null">isEnable = #{isEnable},</if> |
| | | <if test="isDel != null">isDel = #{isDel},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | </trim> |
| | | where DetailID = #{DetailID} |
| | | where ID = #{ID} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaExtemplatescriptByDetailID" parameterType="String"> |
| | | delete from ivr_liba_extemplatescript where DetailID = #{DetailID} |
| | | <delete id="deleteIvrLibaExtemplatescriptByID" parameterType="String"> |
| | | delete |
| | | from ivr_liba_extemplatescript |
| | | where ID = #{ID} |
| | | </delete> |
| | | |
| | | <delete id="deleteIvrLibaExtemplatescriptByDetailIDs" parameterType="String"> |
| | | delete from ivr_liba_extemplatescript where DetailID in |
| | | <foreach item="DetailID" collection="array" open="(" separator="," close=")"> |
| | | #{DetailID} |
| | | <delete id="deleteIvrLibaExtemplatescriptByIDs" parameterType="String"> |
| | | delete from ivr_liba_extemplatescript where ID in |
| | | <foreach item="ID" collection="array" open="(" separator="," close=")"> |
| | | #{ID} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="seqno" column="seqno"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaScriptAssortVo"> |
| | | select id, index_assort_name, del_flag, create_time, update_time, pid |
| | | select id, index_assort_name, del_flag, create_time, update_time, pid, seqno |
| | | from ivr_liba_script_assort |
| | | </sql> |
| | | |
| | |
| | | #{indexAssortName}, '%') |
| | | </if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | and del_flag=0 |
| | | </where> |
| | | order by seqno asc |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaScriptAssortById" parameterType="Long" resultMap="IvrLibaScriptAssortResult"> |
| | |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaScriptAssort" parameterType="com.smartor.domain.IvrLibaScriptAssort"> |
| | | <select id="selectSeqMax" resultType="integer"> |
| | | select max(seqno) seqno |
| | | from ivr_liba_script_assort |
| | | |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaScriptAssort" parameterType="com.smartor.domain.IvrLibaScriptAssort" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into ivr_liba_script_assort |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | | <if test="indexAssortName != null and indexAssortName != ''">index_assort_name,</if> |
| | | <if test="delFlag != null">del_flag,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="seqno != null">seqno,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id},</if> |
| | | <if test="indexAssortName != null and indexAssortName != ''">#{indexAssortName},</if> |
| | | <if test="delFlag != null">#{delFlag},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="seqno != null">#{seqno},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="seqno != null">seqno = #{seqno},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaScriptAssortById" parameterType="Long"> |
| | | delete |
| | | from ivr_liba_script_assort |
| | | <update id="deleteIvrLibaScriptAssortById" parameterType="Long"> |
| | | update ivr_liba_script_assort |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null">del_flag = 1,</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </delete> |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaScriptAssortByIds" parameterType="String"> |
| | | delete from ivr_liba_script_assort where id in |
| | |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="parameter" column="parameter"/> |
| | | <result property="suitway" column="suitway"/> |
| | | <result property="isAvailable" column="isAvailable"/> |
| | | <result property="campus" column="campus"/> |
| | | <result property="deptNames" column="deptNames"/> |
| | | <result property="deptIds" column="deptIds"/> |
| | | <result property="tag" column="tag"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaScriptVo"> |
| | | select id, |
| | | suitway, |
| | | campus, |
| | | deptNames, |
| | | deptIds, |
| | | questiontitle, |
| | | isenable, |
| | | isAvailable, |
| | | questiontext, |
| | | questionvoice, |
| | | nomatchtext, |
| | |
| | | questiontype, |
| | | targetid, |
| | | targetname, |
| | | targetoptions, language, remark, version, usestate, adduserid, addtime, modifyuserid, modifytime, assortid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid |
| | | tag, |
| | | targetoptions, language, remark, version, usestate, adduserid, addtime, modifyuserid, modifytime, assortid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, parameter |
| | | from ivr_liba_script |
| | | </sql> |
| | | |
| | |
| | | <where> |
| | | <if test="id != null ">and id = #{id}</if> |
| | | <if test="questiontitle != null and questiontitle != ''">and questiontitle = #{questiontitle}</if> |
| | | <if test="deptIds != null and deptIds != ''">and deptIds = #{deptIds}</if> |
| | | <if test="deptNames != null and deptNames != ''">and deptNames like concat('%', #{deptNames}, '%')</if> |
| | | <if test="campus != null and campus != ''">and campus = #{campus}</if> |
| | | <if test="tag != null and tag != ''">and tag = #{tag}</if> |
| | | <if test="suitway != null and suitway != ''">and suitway = #{suitway}</if> |
| | | <if test="isAvailable != null and isAvailable != ''">and isAvailable = #{isAvailable}</if> |
| | | <if test="isenable != null ">and isenable = #{isenable}</if> |
| | | <if test="questiontext != null and questiontext != ''">and questiontext = #{questiontext}</if> |
| | | <if test="questionvoice != null and questionvoice != ''">and questionvoice = #{questionvoice}</if> |
| | |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="parameter != null and parameter != ''">and parameter = #{parameter}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | insert into ivr_liba_script |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="questiontitle != null">questiontitle,</if> |
| | | <if test="suitway != null">suitway,</if> |
| | | <if test="campus != null">campus,</if> |
| | | <if test="deptIds != null">deptIds,</if> |
| | | <if test="deptNames != null">deptNames,</if> |
| | | <if test="tag != null">tag,</if> |
| | | <if test="isAvailable != null">isAvailable,</if> |
| | | <if test="isenable != null">isenable,</if> |
| | | <if test="questiontext != null">questiontext,</if> |
| | | <if test="questionvoice != null">questionvoice,</if> |
| | |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="parameter != null">parameter,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="questiontitle != null">#{questiontitle},</if> |
| | | <if test="suitway != null">#{suitway},</if> |
| | | <if test="campus != null">#{campus},</if> |
| | | <if test="deptIds != null">#{deptIds},</if> |
| | | <if test="deptNames != null">#{deptNames},</if> |
| | | <if test="tag != null">#{tag},</if> |
| | | <if test="isAvailable != null">#{isAvailable},</if> |
| | | <if test="isenable != null">#{isenable},</if> |
| | | <if test="questiontext != null">#{questiontext},</if> |
| | | <if test="questionvoice != null">#{questionvoice},</if> |
| | |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="parameter != null">#{parameter},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | update ivr_liba_script |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="questiontitle != null">questiontitle = #{questiontitle},</if> |
| | | <if test="suitway != null">suitway = #{suitway},</if> |
| | | <if test="isAvailable != null">isAvailable = #{isAvailable},</if> |
| | | <if test="isenable != null">isenable = #{isenable},</if> |
| | | <if test="questiontext != null">questiontext = #{questiontext},</if> |
| | | <if test="questionvoice != null">questionvoice = #{questionvoice},</if> |
| | |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="parameter != null">parameter = #{parameter},</if> |
| | | <if test="deptNames != null">deptNames = #{deptNames},</if> |
| | | <if test="deptIds != null">deptIds = #{deptIds},</if> |
| | | <if test="campus != null">campus = #{campus},</if> |
| | | <if test="tag != null">tag = #{tag},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaScriptByQuestionid" parameterType="Integer"> |
| | | delete |
| | | from ivr_liba_script |
| | | <update id="deleteIvrLibaScriptByQuestionid" parameterType="Integer"> |
| | | update ivr_liba_script |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </delete> |
| | | </update> |
| | | |
| | | </mapper> |
| | |
| | | <resultMap type="com.smartor.domain.IvrLibaScriptTargetoption" id="IvrLibaScriptTargetoptionResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="targetid" column="targetid"/> |
| | | <result property="targetname" column="targetname"/> |
| | | <result property="scriptid" column="scriptid"/> |
| | | <result property="targettype" column="targettype"/> |
| | | <result property="categoryName" column="categoryName"/> |
| | |
| | | <sql id="selectIvrLibaScriptTargetoptionVo"> |
| | | select id, |
| | | targetid, |
| | | targetname, |
| | | scriptid, |
| | | targettype, |
| | | categoryName, |
| | |
| | | <include refid="selectIvrLibaScriptTargetoptionVo"/> |
| | | <where> |
| | | <if test="targetid != null and targetid != ''">and targetid = #{targetid}</if> |
| | | <if test="targetname != null and targetname != ''">and targetname = #{targetname}</if> |
| | | <if test="scriptid != null ">and scriptid = #{scriptid}</if> |
| | | <if test="targettype != null and targettype != ''">and targettype = #{targettype}</if> |
| | | <if test="categoryName != null and categoryName != ''">and categoryName like concat('%', #{categoryName}, |
| | |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | | <if test="targetid != null and targetid != ''">targetid,</if> |
| | | <if test="targetname != null and targetname != ''">targetname,</if> |
| | | <if test="scriptid != null">scriptid,</if> |
| | | <if test="targettype != null and targettype != ''">targettype,</if> |
| | | <if test="categoryName != null and categoryName != ''">categoryName,</if> |
| | |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id},</if> |
| | | <if test="targetid != null and targetid != ''">#{targetid},</if> |
| | | <if test="targetname != null and targetname != ''">#{targetname},</if> |
| | | <if test="scriptid != null ">#{scriptid},</if> |
| | | <if test="targettype != null and targettype != ''">#{targettype},</if> |
| | | <if test="categoryName != null and categoryName != ''">#{categoryName},</if> |
| | |
| | | update ivr_liba_script_targetoption |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="targetid != null and targetid != ''">targetid = #{targetid},</if> |
| | | <if test="targetname != null and targetname != ''">targetname = #{targetname},</if> |
| | | <if test="scriptid != null">scriptid = #{scriptid},</if> |
| | | <if test="targettype != null and targettype != ''">targettype = #{targettype},</if> |
| | | <if test="categoryName != null and categoryName != ''">categoryName = #{categoryName},</if> |
| | |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="seqno" column="seqno"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTargetAssortVo"> |
| | | select id, index_assort_name, del_flag, create_time, update_time, pid |
| | | select id, index_assort_name, del_flag, create_time, update_time, pid, seqno |
| | | from ivr_liba_target_assort |
| | | </sql> |
| | | |
| | |
| | | #{indexAssortName}, '%') |
| | | </if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | and del_flag=0 |
| | | </where> |
| | | order by seqno asc |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaTargetAssortById" parameterType="Long" resultMap="IvrLibaTargetAssortResult"> |
| | |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaTargetAssort" parameterType="com.smartor.domain.IvrLibaTargetAssort"> |
| | | <insert id="insertIvrLibaTargetAssort" parameterType="com.smartor.domain.IvrLibaTargetAssort" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into ivr_liba_target_assort |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | | <if test="indexAssortName != null and indexAssortName != ''">index_assort_name,</if> |
| | | <if test="delFlag != null">del_flag,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="seqno != null">seqno,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id},</if> |
| | | <if test="indexAssortName != null and indexAssortName != ''">#{indexAssortName},</if> |
| | | <if test="delFlag != null">#{delFlag},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="seqno != null">#{seqno},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="seqno != null">seqno = #{seqno},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTargetAssortById" parameterType="Long"> |
| | | delete |
| | | from ivr_liba_target_assort |
| | | <update id="deleteIvrLibaTargetAssortById" parameterType="Long"> |
| | | update ivr_liba_target_assort |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null">del_flag = 1,</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </delete> |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTargetAssortByIds" parameterType="String"> |
| | | delete from ivr_liba_target_assort where id in |
| | |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | |
| | | <select id="selectSeqMax" resultType="integer"> |
| | | select max(seqno) seqno |
| | | from ivr_liba_target_assort |
| | | |
| | | </select> |
| | | </mapper> |
| | |
| | | <result property="isAvailable" column="isAvailable"/> |
| | | <result property="suitDisease" column="suitDisease"/> |
| | | <result property="suitWay" column="suitWay"/> |
| | | <result property="parameter" column="parameter"/> |
| | | </resultMap> |
| | | |
| | | <resultMap type="com.smartor.domain.IvrLibaTargetVO" id="IvrLibaTargetVOResult"> |
| | |
| | | <result property="isAvailable" column="isAvailable"/> |
| | | <result property="suitDisease" column="suitDisease"/> |
| | | <result property="suitWay" column="suitWay"/> |
| | | <result property="parameter" column="parameter"/> |
| | | <collection property="targetoptionList" javaType="java.util.List" resultMap="IvrLibaTargetoptionResult"/> |
| | | </resultMap> |
| | | |
| | |
| | | targettype, |
| | | targetname, |
| | | targetdesc, language, version, isenable, isabnormal, warnup, warndown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, assortid, |
| | | isAvailable, suitDisease, suitWay |
| | | isAvailable, suitDisease, suitWay,parameter |
| | | from ivr_liba_target |
| | | </sql> |
| | | |
| | |
| | | <include refid="selectIvrLibaTargetVo"/> |
| | | <where> |
| | | del_flag != 1 |
| | | <if test="targetID != null ">and targetID = #{targetID}</if> |
| | | <if test="groupid != null and groupid != ''">and groupid = #{groupid}</if> |
| | | <if test="targettype != null and targettype != ''">and targettype = #{targettype}</if> |
| | | <if test="targetname != null and targetname != ''">and targetname like concat('%', #{targetname}, '%')</if> |
| | |
| | | <if test="isAvailable != null">and isAvailable=#{isAvailable},</if> |
| | | <if test="suitDisease != null and suitDisease != ''">and suitDisease = #{suitDisease},</if> |
| | | <if test="suitWay != null and suitWay != ''">and suitWay = #{suitWay},</if> |
| | | <if test="parameter != null and parameter != ''">and parameter = #{parameter},</if> |
| | | |
| | | </where> |
| | | </select> |
| | |
| | | a.isAvailable, |
| | | a.suitDisease, |
| | | a.suitWay, |
| | | a.parameter, |
| | | b.targetoptionid, |
| | | b.targettype, |
| | | b.categoryName, |
| | |
| | | <if test="isAvailable != null">a.isAvailable=#{isAvailable},</if> |
| | | <if test="suitDisease != null and suitDisease != ''">a.suitDisease = #{suitDisease},</if> |
| | | <if test="suitWay != null and suitWay != ''">a.suitWay = #{suitWay},</if> |
| | | <if test="parameter != null and parameter != ''">a.parameter = #{parameter},</if> |
| | | </where> |
| | | ORDER BY a.targetID |
| | | </select> |
| | |
| | | <if test="isAvailable != null">isAvailable,</if> |
| | | <if test="suitDisease != null and suitDisease != ''">suitDisease,</if> |
| | | <if test="suitWay != null and suitWay != ''">suitWay,</if> |
| | | <if test="parameter != null and parameter != ''">parameter,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="groupid != null">#{groupid},</if> |
| | |
| | | <if test="isAvailable != null">#{isAvailable},</if> |
| | | <if test="suitDisease != null and suitDisease != ''">#{suitDisease},</if> |
| | | <if test="suitWay != null and suitWay != ''">#{suitWay},</if> |
| | | <if test="parameter != null and parameter != ''">#{parameter},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="suitDisease != null and suitDisease != ''">suitDisease = #{suitDisease},</if> |
| | | <if test="suitWay != null and suitWay != ''">suitWay = #{suitWay},</if> |
| | | <if test="isAvailable != null and isAvailable != ''">isAvailable = #{isAvailable},</if> |
| | | <if test="parameter != null and parameter != ''">parameter = #{parameter},</if> |
| | | </trim> |
| | | where targetID = #{targetID} |
| | | </update> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.IvrLibaTemplateAssortMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.IvrLibaTemplateAssort" id="IvrLibaTemplateAssortResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="indexAssortName" column="index_assort_name"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="seqno" column="seqno"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTemplateAssortVo"> |
| | | select id, index_assort_name, del_flag, create_time, update_time, pid, seqno |
| | | from ivr_liba_template_assort |
| | | </sql> |
| | | |
| | | <select id="selectIvrLibaTemplateAssortList" parameterType="com.smartor.domain.IvrLibaTemplateAssort" |
| | | resultMap="IvrLibaTemplateAssortResult"> |
| | | <include refid="selectIvrLibaTemplateAssortVo"/> |
| | | <where> |
| | | <if test="indexAssortName != null and indexAssortName != ''">and index_assort_name like concat('%', |
| | | #{indexAssortName}, '%') |
| | | </if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | </where> |
| | | order by seqno asc |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaTemplateAssortById" parameterType="Long" resultMap="IvrLibaTemplateAssortResult"> |
| | | <include refid="selectIvrLibaTemplateAssortVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaTemplateAssort" parameterType="com.smartor.domain.IvrLibaTemplateAssort" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into ivr_liba_template_assort |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="indexAssortName != null and indexAssortName != ''">index_assort_name,</if> |
| | | <if test="delFlag != null">del_flag,</if> |
| | | <if test="seqno != null">seqno,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="pid != null">pid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="indexAssortName != null and indexAssortName != ''">#{indexAssortName},</if> |
| | | <if test="delFlag != null">#{delFlag},</if> |
| | | <if test="seqno != null">#{seqno},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrLibaTemplateAssort" parameterType="com.smartor.domain.IvrLibaTemplateAssort"> |
| | | update ivr_liba_template_assort |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="indexAssortName != null and indexAssortName != ''">index_assort_name = #{indexAssortName},</if> |
| | | <if test="delFlag != null">del_flag = #{delFlag},</if> |
| | | <if test="seqno != null">seqno = #{seqno},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deleteIvrLibaTemplateAssortById" parameterType="Long"> |
| | | update ivr_liba_template_assort |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null">del_flag = 1,</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTemplateAssortByIds" parameterType="String"> |
| | | delete from ivr_liba_template_assort where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | |
| | | <select id="selectSeqMax" resultType="integer"> |
| | | select max(seqno) seqno |
| | | from iivr_liba_template_assort |
| | | |
| | | </select> |
| | | </mapper> |
| | |
| | | <mapper namespace="com.smartor.mapper.IvrLibaTemplateMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.IvrLibaTemplate" id="IvrLibaTemplateResult"> |
| | | <result property="templateID" column="templateID"/> |
| | | <result property="ID" column="ID"/> |
| | | <result property="targetid" column="targetid"/> |
| | | <result property="targetname" column="targetname"/> |
| | | <result property="templateName" column="templateName"/> |
| | | <result property="silencetime" column="silencetime"/> |
| | | <result property="slienceRepeatTimes" column="slienceRepeatTimes"/> |
| | |
| | | <result property="icd10code" column="icd10code"/> |
| | | <result property="icd10codename" column="icd10codename"/> |
| | | <result property="atuoTaskDayOffset" column="atuoTaskDayOffset"/> |
| | | <result property="deptIds" column="DeptIds"/> |
| | | <result property="deptNames" column="DeptNames"/> |
| | | <result property="deptIds" column="deptIds"/> |
| | | <result property="deptNames" column="deptNames"/> |
| | | <result property="fKsdm" column="F_KSDM"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="assortid" column="assortid"/> |
| | | <result property="parameter" column="parameter"/> |
| | | <result property="version" column="version"/> |
| | | <result property="usestate" column="usestate"/> |
| | | <result property="campus" column="campus"/> |
| | | <result property="tag" column="tag"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTemplateVo"> |
| | | select templateID, |
| | | select ID, |
| | | targetid, |
| | | targetname, |
| | | templateName, |
| | | silencetime, |
| | | slienceRepeatTimes, |
| | | nomatchRepeatTimes, |
| | | firstQuestionNum, |
| | | submodule, language, note, isEnable, addUserID, addTime, modifyUserID, modifyTime, groupID, labelInfo, submoduleID, playType, icd10code, icd10codename, atuoTaskDayOffset, DeptIds, DeptNames, F_KSDM, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid |
| | | version, |
| | | usestate, |
| | | campus, |
| | | tag, |
| | | submodule, language, note, isEnable, addUserID, addTime, modifyUserID, modifyTime, groupID, labelInfo, submoduleID, playType, icd10code, icd10codename, atuoTaskDayOffset, deptIds, deptNames, F_KSDM, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, assortid, parameter |
| | | from ivr_liba_template |
| | | </sql> |
| | | |
| | |
| | | <if test="templateName != null and templateName != ''">and templateName like concat('%', #{templateName}, |
| | | '%') |
| | | </if> |
| | | <if test="targetid != null ">and targetid = #{targetid}</if> |
| | | <if test="targetname != null and targetname !='' ">and targetname = #{targetname}</if> |
| | | <if test="version != null and version !='' ">and version = #{version}</if> |
| | | <if test="usestate != null and usestate !='' ">and usestate = #{usestate}</if> |
| | | <if test="silencetime != null ">and silencetime = #{silencetime}</if> |
| | | <if test="slienceRepeatTimes != null ">and slienceRepeatTimes = #{slienceRepeatTimes}</if> |
| | | <if test="nomatchRepeatTimes != null ">and nomatchRepeatTimes = #{nomatchRepeatTimes}</if> |
| | |
| | | <if test="language != null and language != ''">and language = #{language}</if> |
| | | <if test="note != null and note != ''">and note = #{note}</if> |
| | | <if test="isEnable != null ">and isEnable = #{isEnable}</if> |
| | | <if test="isDel != null ">and isDel = #{isDel}</if> |
| | | <if test="addUserID != null and addUserID != ''">and addUserID = #{addUserID}</if> |
| | | <if test="addTime != null ">and addTime = #{addTime}</if> |
| | | <if test="modifyUserID != null and modifyUserID != ''">and modifyUserID = #{modifyUserID}</if> |
| | |
| | | <if test="submoduleID != null and submoduleID != ''">and submoduleID = #{submoduleID}</if> |
| | | <if test="playType != null ">and playType = #{playType}</if> |
| | | <if test="icd10code != null and icd10code != ''">and icd10code = #{icd10code}</if> |
| | | <if test="campus != null and campus != ''">and campus = #{campus}</if> |
| | | <if test="icd10codename != null and icd10codename != ''">and icd10codename like concat('%', |
| | | #{icd10codename}, '%') |
| | | </if> |
| | | <if test="deptNames != null and deptNames != ''">and deptNames like concat('%', |
| | | #{deptNames}, '%') |
| | | </if> |
| | | <if test="atuoTaskDayOffset != null ">and atuoTaskDayOffset = #{atuoTaskDayOffset}</if> |
| | | <if test="DeptIds != null and DeptIds != ''">and DeptIds = #{DeptIds}</if> |
| | | <if test="DeptNames != null and DeptNames != ''">and DeptNames = #{DeptNames}</if> |
| | | <if test="deptIds != null and deptIds != ''">and deptIds = #{deptIds}</if> |
| | | <if test="fKsdm != null and fKsdm != ''">and F_KSDM = #{fKsdm}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="assortid != null">and assortid = #{assortid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="assortid != null ">and assortid = #{assortid}</if> |
| | | <if test="parameter != null and parameter != ''">and parameter = #{parameter}</if> |
| | | <if test="tag != null and tag != ''">and tag = #{tag}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaTemplateByTemplateID" parameterType="String" resultMap="IvrLibaTemplateResult"> |
| | | <select id="selectIvrLibaTemplateByID" parameterType="Long" resultMap="IvrLibaTemplateResult"> |
| | | <include refid="selectIvrLibaTemplateVo"/> |
| | | where templateID = #{templateID} |
| | | where ID = #{ID} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaTemplate" parameterType="com.smartor.domain.IvrLibaTemplate"> |
| | | <insert id="insertIvrLibaTemplate" parameterType="com.smartor.domain.IvrLibaTemplate" useGeneratedKeys="true" |
| | | keyProperty="ID"> |
| | | insert into ivr_liba_template |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="templateID != null">templateID,</if> |
| | | <if test="templateName != null and templateName != ''">templateName,</if> |
| | | <if test="targetid != null">targetid,</if> |
| | | <if test="targetname != null and targetname != ''">targetname,</if> |
| | | <if test="version != null and version != ''">version,</if> |
| | | <if test="campus != null and campus != ''">campus,</if> |
| | | <if test="usestate != null and usestate != ''">usestate,</if> |
| | | <if test="silencetime != null">silencetime,</if> |
| | | <if test="slienceRepeatTimes != null">slienceRepeatTimes,</if> |
| | | <if test="nomatchRepeatTimes != null">nomatchRepeatTimes,</if> |
| | |
| | | <if test="icd10code != null">icd10code,</if> |
| | | <if test="icd10codename != null">icd10codename,</if> |
| | | <if test="atuoTaskDayOffset != null">atuoTaskDayOffset,</if> |
| | | <if test="DeptIds != null">DeptIds,</if> |
| | | <if test="DeptNames != null">DeptNames,</if> |
| | | <if test="deptIds != null">deptIds,</if> |
| | | <if test="deptNames != null">deptNames,</if> |
| | | <if test="fKsdm != null">F_KSDM,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="assortid != null">assortid,</if> |
| | | <if test="parameter != null">parameter,</if> |
| | | <if test="tag != null">tag,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="templateID != null">#{templateID},</if> |
| | | <if test="templateName != null and templateName != ''">#{templateName},</if> |
| | | <if test="targetid != null ">#{targetid},</if> |
| | | <if test="targetname != null and targetname != ''">#{targetname},</if> |
| | | <if test="version != null and version != ''">#{version},</if> |
| | | <if test="campus != null and campus != ''">#{campus},</if> |
| | | <if test="usestate != null and usestate != ''">#{usestate},</if> |
| | | <if test="silencetime != null">#{silencetime},</if> |
| | | <if test="slienceRepeatTimes != null">#{slienceRepeatTimes},</if> |
| | | <if test="nomatchRepeatTimes != null">#{nomatchRepeatTimes},</if> |
| | |
| | | <if test="icd10code != null">#{icd10code},</if> |
| | | <if test="icd10codename != null">#{icd10codename},</if> |
| | | <if test="atuoTaskDayOffset != null">#{atuoTaskDayOffset},</if> |
| | | <if test="DeptIds != null">#{DeptIds},</if> |
| | | <if test="DeptNames != null">#{DeptNames},</if> |
| | | <if test="deptIds != null">#{deptIds},</if> |
| | | <if test="deptNames != null">#{deptNames},</if> |
| | | <if test="fKsdm != null">#{fKsdm},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="assortid != null">#{assortid},</if> |
| | | <if test="parameter != null">#{parameter},</if> |
| | | <if test="tag != null">#{tag},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | update ivr_liba_template |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="templateName != null and templateName != ''">templateName = #{templateName},</if> |
| | | <if test="targetid != null ">targetid = #{targetid},</if> |
| | | <if test="targetname != null and targetname != ''">targetname = #{targetname},</if> |
| | | <if test="version != null and version != ''">version = #{version},</if> |
| | | <if test="campus != null and campus != ''">campus = #{campus},</if> |
| | | <if test="usestate != null and usestate != ''">usestate = #{usestate},</if> |
| | | <if test="silencetime != null">silencetime = #{silencetime},</if> |
| | | <if test="slienceRepeatTimes != null">slienceRepeatTimes = #{slienceRepeatTimes},</if> |
| | | <if test="nomatchRepeatTimes != null">nomatchRepeatTimes = #{nomatchRepeatTimes},</if> |
| | |
| | | <if test="icd10code != null">icd10code = #{icd10code},</if> |
| | | <if test="icd10codename != null">icd10codename = #{icd10codename},</if> |
| | | <if test="atuoTaskDayOffset != null">atuoTaskDayOffset = #{atuoTaskDayOffset},</if> |
| | | <if test="DeptIds != null">DeptIds = #{DeptIds},</if> |
| | | <if test="DeptNames != null">DeptNames = #{DeptNames},</if> |
| | | <if test="deptIds != null">deptIds = #{deptIds},</if> |
| | | <if test="deptNames != null">deptNames = #{deptNames},</if> |
| | | <if test="fKsdm != null">F_KSDM = #{fKsdm},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="assortid != null">orgid = #{assortid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="assortid != null">assortid = #{assortid},</if> |
| | | <if test="parameter != null">parameter = #{parameter},</if> |
| | | <if test="tag != null">tag = #{tag},</if> |
| | | </trim> |
| | | where templateID = #{templateID} |
| | | where ID = #{ID} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTemplateByTemplateID" parameterType="String"> |
| | | delete |
| | | from ivr_liba_template |
| | | where templateID = #{templateID} |
| | | </delete> |
| | | <update id="deleteIvrLibaTemplateByID" parameterType="Long"> |
| | | update ivr_liba_template |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | </trim> |
| | | where ID = #{ID} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTemplateByTemplateIDs" parameterType="String"> |
| | | delete from ivr_liba_template where templateID in |
| | | <foreach item="templateID" collection="array" open="(" separator="," close=")"> |
| | | #{templateID} |
| | | <delete id="deleteIvrLibaTemplateByIDs" parameterType="String"> |
| | | delete from ivr_liba_template where ID in |
| | | <foreach item="ID" collection="array" open="(" separator="," close=")"> |
| | | #{ID} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.IvrLibaTemplateScriptMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.IvrLibaTemplateScript" id="IvrLibaTemplateScriptResult"> |
| | | <result property="ID" column="ID"/> |
| | | <result property="templateQuestionNum" column="templateQuestionNum"/> |
| | | <result property="templateID" column="templateID"/> |
| | | <result property="scriptID" column="scriptID"/> |
| | | <result property="questionPoint" column="questionPoint"/> |
| | | <result property="questionText" column="questionText"/> |
| | | <result property="questionVoice" column="questionVoice"/> |
| | | <result property="noMatchText" column="noMatchText"/> |
| | | <result property="noMatchVoice" column="noMatchVoice"/> |
| | | <result property="slienceText" column="slienceText"/> |
| | | <result property="slienceVoice" column="slienceVoice"/> |
| | | <result property="submoduleText" column="submoduleText"/> |
| | | <result property="submoduleVoice" column="submoduleVoice"/> |
| | | <result property="noClearlyText" column="noClearlyText"/> |
| | | <result property="noClearlyVoice" column="noClearlyVoice"/> |
| | | <result property="categoryName" column="categoryName"/> |
| | | <result property="targetOptions" column="targetOptions"/> |
| | | <result property="language" column="language"/> |
| | | <result property="playWavOnly" column="playWavOnly"/> |
| | | <result property="isEnable" column="isEnable"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="targetid" column="targetid"/> |
| | | <result property="targettype" column="targettype"/> |
| | | <result property="targetvalue" column="targettalue"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTemplateScriptVo"> |
| | | select ID, |
| | | templateQuestionNum, |
| | | templateID, |
| | | scriptID, |
| | | questionPoint, |
| | | questionText, |
| | | questionVoice, |
| | | noMatchText, |
| | | noMatchVoice, |
| | | slienceText, |
| | | slienceVoice, |
| | | submoduleText, |
| | | submoduleVoice, |
| | | noClearlyText, |
| | | noClearlyVoice, |
| | | categoryName, |
| | | targetid, |
| | | targettype, |
| | | targetvalue, |
| | | targetOptions, language, playWavOnly, isEnable, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid |
| | | from ivr_liba_template_script |
| | | </sql> |
| | | |
| | | <select id="selectIvrLibaTemplateScriptList" parameterType="com.smartor.domain.IvrLibaTemplateScript" |
| | | resultMap="IvrLibaTemplateScriptResult"> |
| | | <include refid="selectIvrLibaTemplateScriptVo"/> |
| | | <where> |
| | | <if test="templateQuestionNum != null ">and templateQuestionNum = #{templateQuestionNum}</if> |
| | | <if test="templateID != null ">and templateID = #{templateID}</if> |
| | | <if test="questionPoint != null and questionPoint != ''">and questionPoint = #{questionPoint}</if> |
| | | <if test="questionText != null and questionText != ''">and questionText = #{questionText}</if> |
| | | <if test="questionVoice != null and questionVoice != ''">and questionVoice = #{questionVoice}</if> |
| | | <if test="noMatchText != null and noMatchText != ''">and noMatchText = #{noMatchText}</if> |
| | | <if test="noMatchVoice != null and noMatchVoice != ''">and noMatchVoice = #{noMatchVoice}</if> |
| | | <if test="slienceText != null and slienceText != ''">and slienceText = #{slienceText}</if> |
| | | <if test="slienceVoice != null and slienceVoice != ''">and slienceVoice = #{slienceVoice}</if> |
| | | <if test="submoduleText != null and submoduleText != ''">and submoduleText = #{submoduleText}</if> |
| | | <if test="submoduleVoice != null and submoduleVoice != ''">and submoduleVoice = #{submoduleVoice}</if> |
| | | <if test="noClearlyText != null and noClearlyText != ''">and noClearlyText = #{noClearlyText}</if> |
| | | <if test="noClearlyVoice != null and noClearlyVoice != ''">and noClearlyVoice = #{noClearlyVoice}</if> |
| | | <if test="categoryName != null and categoryName != ''">and categoryName like concat('%', #{categoryName}, |
| | | '%') |
| | | </if> |
| | | <if test="targetOptions != null and targetOptions != ''">and targetOptions = #{targetOptions}</if> |
| | | <if test="language != null and language != ''">and language = #{language}</if> |
| | | <if test="playWavOnly != null ">and playWavOnly = #{playWavOnly}</if> |
| | | <if test="isEnable != null ">and isEnable = #{isEnable}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="targetid != null ">and targetid = #{targetid}</if> |
| | | <if test="targettype != null and targettype != ''">and targettype = #{targettype}</if> |
| | | <if test="targetvalue != null and targetvalue != ''">and targetvalue = #{targetvalue}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaTemplateScriptByID" parameterType="Long" resultMap="IvrLibaTemplateScriptResult"> |
| | | <include refid="selectIvrLibaTemplateScriptVo"/> |
| | | where ID = #{ID} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaTemplateScript" parameterType="com.smartor.domain.IvrLibaTemplateScript"> |
| | | insert into ivr_liba_template_script |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="templateQuestionNum != null">templateQuestionNum,</if> |
| | | <if test="templateID != null">templateID,</if> |
| | | <if test="scriptID != null">scriptID,</if> |
| | | <if test="questionPoint != null and questionPoint != ''">questionPoint,</if> |
| | | <if test="questionText != null">questionText,</if> |
| | | <if test="questionVoice != null">questionVoice,</if> |
| | | <if test="noMatchText != null">noMatchText,</if> |
| | | <if test="noMatchVoice != null">noMatchVoice,</if> |
| | | <if test="slienceText != null">slienceText,</if> |
| | | <if test="slienceVoice != null">slienceVoice,</if> |
| | | <if test="submoduleText != null">submoduleText,</if> |
| | | <if test="submoduleVoice != null">submoduleVoice,</if> |
| | | <if test="noClearlyText != null">noClearlyText,</if> |
| | | <if test="noClearlyVoice != null">noClearlyVoice,</if> |
| | | <if test="categoryName != null">categoryName,</if> |
| | | <if test="targetOptions != null">targetOptions,</if> |
| | | <if test="language != null and language != ''">language,</if> |
| | | <if test="playWavOnly != null">playWavOnly,</if> |
| | | <if test="isEnable != null">isEnable,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="targetvalue != null">targetvalue,</if> |
| | | <if test="targettype != null">targettype,</if> |
| | | <if test="targetid != null">targetid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="templateQuestionNum != null">#{templateQuestionNum},</if> |
| | | <if test="templateID != null">#{templateID},</if> |
| | | <if test="scriptID != null">#{scriptID},</if> |
| | | <if test="questionPoint != null and questionPoint != ''">#{questionPoint},</if> |
| | | <if test="questionText != null">#{questionText},</if> |
| | | <if test="questionVoice != null">#{questionVoice},</if> |
| | | <if test="noMatchText != null">#{noMatchText},</if> |
| | | <if test="noMatchVoice != null">#{noMatchVoice},</if> |
| | | <if test="slienceText != null">#{slienceText},</if> |
| | | <if test="slienceVoice != null">#{slienceVoice},</if> |
| | | <if test="submoduleText != null">#{submoduleText},</if> |
| | | <if test="submoduleVoice != null">#{submoduleVoice},</if> |
| | | <if test="noClearlyText != null">#{noClearlyText},</if> |
| | | <if test="noClearlyVoice != null">#{noClearlyVoice},</if> |
| | | <if test="categoryName != null">#{categoryName},</if> |
| | | <if test="targetOptions != null">#{targetOptions},</if> |
| | | <if test="language != null and language != ''">#{language},</if> |
| | | <if test="playWavOnly != null">#{playWavOnly},</if> |
| | | <if test="isEnable != null">#{isEnable},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="targetvalue != null">#{targetvalue},</if> |
| | | <if test="targettype != null">#{targettype},</if> |
| | | <if test="targetid != null">#{targetid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrLibaTemplateScript" parameterType="com.smartor.domain.IvrLibaTemplateScript"> |
| | | update ivr_liba_template_script |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="templateQuestionNum != null">templateQuestionNum = #{templateQuestionNum},</if> |
| | | <if test="templateID != null">templateID = #{templateID},</if> |
| | | <if test="scriptID != null">scriptID = #{scriptID},</if> |
| | | <if test="questionPoint != null and questionPoint != ''">questionPoint = #{questionPoint},</if> |
| | | <if test="questionText != null">questionText = #{questionText},</if> |
| | | <if test="questionVoice != null">questionVoice = #{questionVoice},</if> |
| | | <if test="noMatchText != null">noMatchText = #{noMatchText},</if> |
| | | <if test="noMatchVoice != null">noMatchVoice = #{noMatchVoice},</if> |
| | | <if test="slienceText != null">slienceText = #{slienceText},</if> |
| | | <if test="slienceVoice != null">slienceVoice = #{slienceVoice},</if> |
| | | <if test="submoduleText != null">submoduleText = #{submoduleText},</if> |
| | | <if test="submoduleVoice != null">submoduleVoice = #{submoduleVoice},</if> |
| | | <if test="noClearlyText != null">noClearlyText = #{noClearlyText},</if> |
| | | <if test="noClearlyVoice != null">noClearlyVoice = #{noClearlyVoice},</if> |
| | | <if test="categoryName != null">categoryName = #{categoryName},</if> |
| | | <if test="targetOptions != null">targetOptions = #{targetOptions},</if> |
| | | <if test="language != null and language != ''">language = #{language},</if> |
| | | <if test="playWavOnly != null">playWavOnly = #{playWavOnly},</if> |
| | | <if test="isEnable != null">isEnable = #{isEnable},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="targetvalue != null">targetvalue = #{targetvalue},</if> |
| | | <if test="targettype != null">targettype = #{targettype},</if> |
| | | <if test="targetid != null">targetid = #{targetid},</if> |
| | | </trim> |
| | | where ID = #{ID} |
| | | </update> |
| | | |
| | | <update id="deleteIvrLibaTemplateScriptByID" parameterType="Long"> |
| | | update ivr_liba_template_script |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | </trim> |
| | | where ID = #{ID} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTemplateScriptByIDs" parameterType="String"> |
| | | delete from ivr_liba_template_script where ID in |
| | | <foreach item="ID" collection="array" open="(" separator="," close=")"> |
| | | #{ID} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.IvrLibaTemplateTagMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.IvrLibaTemplateTag" id="IvrLibaTemplateTagResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="tagcategoryid" column="tagcategoryid"/> |
| | | <result property="tagid" column="tagid"/> |
| | | <result property="templateid" column="templateid"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="targetid" column="targetid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="guid" column="guid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTemplateTagVo"> |
| | | select id, |
| | | tagcategoryid, |
| | | templateid, |
| | | tagid, |
| | | orgid, |
| | | del_flag, |
| | | update_by, |
| | | update_time, |
| | | create_by, |
| | | create_time, |
| | | isupload, |
| | | upload_time, |
| | | targetid, |
| | | pid, |
| | | guid |
| | | from ivr_liba_template_tag |
| | | </sql> |
| | | |
| | | <select id="selectIvrLibaTemplateTagList" parameterType="com.smartor.domain.IvrLibaTemplateTag" |
| | | resultMap="IvrLibaTemplateTagResult"> |
| | | <include refid="selectIvrLibaTemplateTagVo"/> |
| | | <where> |
| | | <if test="tagcategoryid != null ">and tagcategoryid = #{tagcategoryid}</if> |
| | | <if test="templateid != null ">and templateid = #{templateid}</if> |
| | | <if test="tagid != null ">and tagid = #{tagid}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="targetid != null ">and targetid = #{targetid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaTemplateTagById" parameterType="Long" resultMap="IvrLibaTemplateTagResult"> |
| | | <include refid="selectIvrLibaTemplateTagVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaTemplateTag" parameterType="com.smartor.domain.IvrLibaTemplateTag" useGeneratedKeys="true" |
| | | keyProperty="id"> |
| | | insert into ivr_liba_template_tag |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="tagcategoryid != null">tagcategoryid,</if> |
| | | <if test="templateid != null">templateid,</if> |
| | | <if test="tagid != null">tagid,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="targetid != null">targetid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="tagcategoryid != null">#{tagcategoryid},</if> |
| | | <if test="templateid != null">#{templateid},</if> |
| | | <if test="tagid != null">#{tagid},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="targetid != null">#{targetid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrLibaTemplateTag" parameterType="com.smartor.domain.IvrLibaTemplateTag"> |
| | | update ivr_liba_template_tag |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="tagcategoryid != null">tagcategoryid = #{tagcategoryid},</if> |
| | | <if test="tagid != null">tagid = #{tagid},</if> |
| | | <if test="templateid != null">templateid = #{templateid},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="targetid != null">targetid = #{targetid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTemplateTagById" parameterType="Long"> |
| | | update ivr_liba_template_tag |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteIvrLibaTemplateTagByIds" parameterType="String"> |
| | | delete from ivr_liba_template_tag where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
ÎļþÃû´Ó smartor/src/main/resources/mapper/smartor/IvrLibaTemplatetargetMapper.xml ÐÞ¸Ä |
| | |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.IvrLibaTemplatetargetMapper"> |
| | | <mapper namespace="com.smartor.mapper.IvrLibaTemplateTargetMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.IvrLibaTemplatetarget" id="IvrLibaTemplatetargetResult"> |
| | | <result property="templateTargetID" column="templateTargetID"/> |
| | | <resultMap type="com.smartor.domain.IvrLibaTemplateTarget" id="IvrLibaTemplateTargetResult"> |
| | | <result property="ID" column="ID"/> |
| | | <result property="templateQuestionID" column="templateQuestionID"/> |
| | | <result property="templateQuestionNum" column="templateQuestionNum"/> |
| | | <result property="nextQuestionNum" column="nextQuestionNum"/> |
| | |
| | | <result property="regexUsedType" column="regexUsedType"/> |
| | | <result property="language" column="language"/> |
| | | <result property="isEnable" column="isEnable"/> |
| | | <result property="isDel" column="isDel"/> |
| | | <result property="playType" column="playType"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTemplatetargetVo"> |
| | | select templateTargetID, |
| | | <sql id="selectIvrLibaTemplateTargetVo"> |
| | | select ID, |
| | | templateQuestionID, |
| | | templateQuestionNum, |
| | | nextQuestionNum, |
| | |
| | | questionTargetID, |
| | | basicRegex, |
| | | selfRegex, |
| | | regexUsedType, language, isEnable, isDel, playType, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid |
| | | from ivr_liba_templatetarget |
| | | regexUsedType, language, isEnable, playType, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid |
| | | from ivr_liba_template_target |
| | | </sql> |
| | | |
| | | <select id="selectIvrLibaTemplatetargetList" parameterType="com.smartor.domain.IvrLibaTemplatetarget" |
| | | resultMap="IvrLibaTemplatetargetResult"> |
| | | <include refid="selectIvrLibaTemplatetargetVo"/> |
| | | <select id="selectIvrLibaTemplateTargetList" parameterType="com.smartor.domain.IvrLibaTemplateTarget" |
| | | resultMap="IvrLibaTemplateTargetResult"> |
| | | <include refid="selectIvrLibaTemplateTargetVo"/> |
| | | <where> |
| | | <if test="templateQuestionID != null and templateQuestionID != ''">and templateQuestionID = |
| | | #{templateQuestionID} |
| | | </if> |
| | | <if test="templateQuestionID != null ">and templateQuestionID = #{templateQuestionID}</if> |
| | | <if test="templateQuestionNum != null ">and templateQuestionNum = #{templateQuestionNum}</if> |
| | | <if test="nextQuestionNum != null ">and nextQuestionNum = #{nextQuestionNum}</if> |
| | | <if test="templateID != null and templateID != ''">and templateID = #{templateID}</if> |
| | | <if test="templateID != null ">and templateID = #{templateID}</if> |
| | | <if test="switchID != null ">and switchID = #{switchID}</if> |
| | | <if test="switchDescription != null and switchDescription != ''">and switchDescription = |
| | | #{switchDescription} |
| | |
| | | <if test="regexUsedType != null and regexUsedType != ''">and regexUsedType = #{regexUsedType}</if> |
| | | <if test="language != null and language != ''">and language = #{language}</if> |
| | | <if test="isEnable != null ">and isEnable = #{isEnable}</if> |
| | | <if test="isDel != null ">and isDel = #{isDel}</if> |
| | | <if test="playType != null ">and playType = #{playType}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaTemplatetargetByTemplateTargetID" parameterType="String" |
| | | resultMap="IvrLibaTemplatetargetResult"> |
| | | <include refid="selectIvrLibaTemplatetargetVo"/> |
| | | where templateTargetID = #{templateTargetID} |
| | | <select id="selectIvrLibaTemplateTargetByID" parameterType="Long" resultMap="IvrLibaTemplateTargetResult"> |
| | | <include refid="selectIvrLibaTemplateTargetVo"/> |
| | | where ID = #{ID} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaTemplatetarget" parameterType="com.smartor.domain.IvrLibaTemplatetarget"> |
| | | insert into ivr_liba_templatetarget |
| | | <insert id="insertIvrLibaTemplateTarget" parameterType="com.smartor.domain.IvrLibaTemplateTarget"> |
| | | insert into ivr_liba_template_target |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="templateTargetID != null">templateTargetID,</if> |
| | | <if test="templateQuestionID != null and templateQuestionID != ''">templateQuestionID,</if> |
| | | <if test="templateQuestionID != null">templateQuestionID,</if> |
| | | <if test="templateQuestionNum != null">templateQuestionNum,</if> |
| | | <if test="nextQuestionNum != null">nextQuestionNum,</if> |
| | | <if test="templateID != null and templateID != ''">templateID,</if> |
| | | <if test="templateID != null">templateID,</if> |
| | | <if test="switchID != null">switchID,</if> |
| | | <if test="switchDescription != null">switchDescription,</if> |
| | | <if test="switchText != null">switchText,</if> |
| | |
| | | <if test="basicRegex != null">basicRegex,</if> |
| | | <if test="selfRegex != null">selfRegex,</if> |
| | | <if test="regexUsedType != null">regexUsedType,</if> |
| | | <if test="language != null and language != ''">language,</if> |
| | | <if test="language != null">language,</if> |
| | | <if test="isEnable != null">isEnable,</if> |
| | | <if test="isDel != null">isDel,</if> |
| | | <if test="playType != null">playType,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="templateTargetID != null">#{templateTargetID},</if> |
| | | <if test="templateQuestionID != null and templateQuestionID != ''">#{templateQuestionID},</if> |
| | | <if test="templateQuestionID != null">#{templateQuestionID},</if> |
| | | <if test="templateQuestionNum != null">#{templateQuestionNum},</if> |
| | | <if test="nextQuestionNum != null">#{nextQuestionNum},</if> |
| | | <if test="templateID != null and templateID != ''">#{templateID},</if> |
| | | <if test="templateID != null">#{templateID},</if> |
| | | <if test="switchID != null">#{switchID},</if> |
| | | <if test="switchDescription != null">#{switchDescription},</if> |
| | | <if test="switchText != null">#{switchText},</if> |
| | |
| | | <if test="basicRegex != null">#{basicRegex},</if> |
| | | <if test="selfRegex != null">#{selfRegex},</if> |
| | | <if test="regexUsedType != null">#{regexUsedType},</if> |
| | | <if test="language != null and language != ''">#{language},</if> |
| | | <if test="language != null">#{language},</if> |
| | | <if test="isEnable != null">#{isEnable},</if> |
| | | <if test="isDel != null">#{isDel},</if> |
| | | <if test="playType != null">#{playType},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrLibaTemplatetarget" parameterType="com.smartor.domain.IvrLibaTemplatetarget"> |
| | | update ivr_liba_templatetarget |
| | | <update id="updateIvrLibaTemplateTarget" parameterType="com.smartor.domain.IvrLibaTemplateTarget"> |
| | | update ivr_liba_template_target |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="templateQuestionID != null and templateQuestionID != ''">templateQuestionID = |
| | | #{templateQuestionID}, |
| | | </if> |
| | | <if test="templateQuestionID != null">templateQuestionID = #{templateQuestionID},</if> |
| | | <if test="templateQuestionNum != null">templateQuestionNum = #{templateQuestionNum},</if> |
| | | <if test="nextQuestionNum != null">nextQuestionNum = #{nextQuestionNum},</if> |
| | | <if test="templateID != null and templateID != ''">templateID = #{templateID},</if> |
| | | <if test="templateID != null">templateID = #{templateID},</if> |
| | | <if test="switchID != null">switchID = #{switchID},</if> |
| | | <if test="switchDescription != null">switchDescription = #{switchDescription},</if> |
| | | <if test="switchText != null">switchText = #{switchText},</if> |
| | |
| | | <if test="basicRegex != null">basicRegex = #{basicRegex},</if> |
| | | <if test="selfRegex != null">selfRegex = #{selfRegex},</if> |
| | | <if test="regexUsedType != null">regexUsedType = #{regexUsedType},</if> |
| | | <if test="language != null and language != ''">language = #{language},</if> |
| | | <if test="language != null">language = #{language},</if> |
| | | <if test="isEnable != null">isEnable = #{isEnable},</if> |
| | | <if test="isDel != null">isDel = #{isDel},</if> |
| | | <if test="playType != null">playType = #{playType},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | </trim> |
| | | where templateTargetID = #{templateTargetID} |
| | | where ID = #{ID} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTemplatetargetByTemplateTargetID" parameterType="String"> |
| | | delete |
| | | from ivr_liba_templatetarget |
| | | where templateTargetID = #{templateTargetID} |
| | | </delete> |
| | | <update id="deleteIvrLibaTemplateTargetByID" parameterType="Long"> |
| | | update ivr_liba_template_target |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | </trim> |
| | | where ID = #{ID} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTemplatetargetByTemplateTargetIDs" parameterType="String"> |
| | | delete from ivr_liba_templatetarget where templateTargetID in |
| | | <foreach item="templateTargetID" collection="array" open="(" separator="," close=")"> |
| | | #{templateTargetID} |
| | | <delete id="deleteIvrLibaTemplateTargetByIDs" parameterType="String"> |
| | | delete from ivr_liba_template_target where ID in |
| | | <foreach item="ID" collection="array" open="(" separator="," close=")"> |
| | | #{ID} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.IvrLibaTemplateTargetoptionMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.IvrLibaTemplateTargetoption" id="IvrLibaTemplateTargetoptionResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="targetid" column="targetid"/> |
| | | <result property="targetname" column="targetname"/> |
| | | <result property="templateID" column="templateID"/> |
| | | <result property="targettype" column="targettype"/> |
| | | <result property="categoryName" column="categoryName"/> |
| | | <result property="targetvalue" column="targetvalue"/> |
| | | <result property="targetregex" column="targetregex"/> |
| | | <result property="optiondesc" column="optiondesc"/> |
| | | <result property="language" column="language"/> |
| | | <result property="version" column="version"/> |
| | | <result property="groupid" column="groupid"/> |
| | | <result property="isabnormal" column="isabnormal"/> |
| | | <result property="warnup" column="warnup"/> |
| | | <result property="warndown" column="warndown"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="scriptid" column="scriptid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTemplateTargetoptionVo"> |
| | | select id, |
| | | targetid, |
| | | scriptid, |
| | | targetname, |
| | | templateID, |
| | | targettype, |
| | | categoryName, |
| | | targetvalue, |
| | | targetregex, |
| | | optiondesc, language, version, groupid, isabnormal, warnup, warndown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid |
| | | from ivr_liba_template_targetoption |
| | | </sql> |
| | | |
| | | <select id="selectIvrLibaTemplateTargetoptionList" parameterType="com.smartor.domain.IvrLibaTemplateTargetoption" |
| | | resultMap="IvrLibaTemplateTargetoptionResult"> |
| | | <include refid="selectIvrLibaTemplateTargetoptionVo"/> |
| | | <where> |
| | | <if test="targetid != null ">and targetid = #{targetid}</if> |
| | | <if test="targetname != null ">and targetname = #{targetname}</if> |
| | | <if test="templateID != null ">and templateID = #{templateID}</if> |
| | | <if test="scriptid != null ">and scriptid = #{scriptid}</if> |
| | | <if test="targettype != null and targettype != ''">and targettype = #{targettype}</if> |
| | | <if test="categoryName != null and categoryName != ''">and categoryName like concat('%', #{categoryName}, |
| | | '%') |
| | | </if> |
| | | <if test="targetvalue != null and targetvalue != ''">and targetvalue = #{targetvalue}</if> |
| | | <if test="targetregex != null and targetregex != ''">and targetregex = #{targetregex}</if> |
| | | <if test="optiondesc != null and optiondesc != ''">and optiondesc = #{optiondesc}</if> |
| | | <if test="language != null and language != ''">and language = #{language}</if> |
| | | <if test="version != null and version != ''">and version = #{version}</if> |
| | | <if test="groupid != null and groupid != ''">and groupid = #{groupid}</if> |
| | | <if test="isabnormal != null ">and isabnormal = #{isabnormal}</if> |
| | | <if test="warnup != null ">and warnup = #{warnup}</if> |
| | | <if test="warndown != null ">and warndown = #{warndown}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaTemplateTargetoptionById" parameterType="Long" |
| | | resultMap="IvrLibaTemplateTargetoptionResult"> |
| | | <include refid="selectIvrLibaTemplateTargetoptionVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaTemplateTargetoption" parameterType="com.smartor.domain.IvrLibaTemplateTargetoption" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into ivr_liba_template_targetoption |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="targetid != null">targetid,</if> |
| | | <if test="targetname != null">targetname,</if> |
| | | <if test="templateID != null">templateID,</if> |
| | | <if test="scriptid != null">scriptid,</if> |
| | | <if test="targettype != null and targettype != ''">targettype,</if> |
| | | <if test="categoryName != null and categoryName != ''">categoryName,</if> |
| | | <if test="targetvalue != null">targetvalue,</if> |
| | | <if test="targetregex != null">targetregex,</if> |
| | | <if test="optiondesc != null">optiondesc,</if> |
| | | <if test="language != null and language != ''">language,</if> |
| | | <if test="version != null and version != ''">version,</if> |
| | | <if test="groupid != null">groupid,</if> |
| | | <if test="isabnormal != null">isabnormal,</if> |
| | | <if test="warnup != null">warnup,</if> |
| | | <if test="warndown != null">warndown,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="targetid != null">#{targetid},</if> |
| | | <if test="targetname != null">#{targetname},</if> |
| | | <if test="templateID != null">#{templateID},</if> |
| | | <if test="scriptid != null">#{scriptid},</if> |
| | | <if test="targettype != null and targettype != ''">#{targettype},</if> |
| | | <if test="categoryName != null and categoryName != ''">#{categoryName},</if> |
| | | <if test="targetvalue != null">#{targetvalue},</if> |
| | | <if test="targetregex != null">#{targetregex},</if> |
| | | <if test="optiondesc != null">#{optiondesc},</if> |
| | | <if test="language != null and language != ''">#{language},</if> |
| | | <if test="version != null and version != ''">#{version},</if> |
| | | <if test="groupid != null">#{groupid},</if> |
| | | <if test="isabnormal != null">#{isabnormal},</if> |
| | | <if test="warnup != null">#{warnup},</if> |
| | | <if test="warndown != null">#{warndown},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrLibaTemplateTargetoption" parameterType="com.smartor.domain.IvrLibaTemplateTargetoption"> |
| | | update ivr_liba_template_targetoption |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="targetid != null">targetid = #{targetid},</if> |
| | | <if test="scriptid != null">scriptid = #{scriptid},</if> |
| | | <if test="targetname != null">targetname = #{targetname},</if> |
| | | <if test="templateid != null">templateID = #{templateid},</if> |
| | | <if test="targettype != null and targettype != ''">targettype = #{targettype},</if> |
| | | <if test="categoryName != null and categoryName != ''">categoryName = #{categoryName},</if> |
| | | <if test="targetvalue != null">targetvalue = #{targetvalue},</if> |
| | | <if test="targetregex != null">targetregex = #{targetregex},</if> |
| | | <if test="optiondesc != null">optiondesc = #{optiondesc},</if> |
| | | <if test="language != null and language != ''">language = #{language},</if> |
| | | <if test="version != null and version != ''">version = #{version},</if> |
| | | <if test="groupid != null">groupid = #{groupid},</if> |
| | | <if test="isabnormal != null">isabnormal = #{isabnormal},</if> |
| | | <if test="warnup != null">warnup = #{warnup},</if> |
| | | <if test="warndown != null">warndown = #{warndown},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deleteIvrLibaTemplateTargetoptionById" parameterType="Long"> |
| | | update ivr_liba_template_targetoption |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTemplateTargetoptionByIds" parameterType="String"> |
| | | delete from ivr_liba_template_targetoption where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyCategoryVo"> |
| | |
| | | create_by, |
| | | create_time, |
| | | isupload, |
| | | pid, |
| | | guid, |
| | | upload_time |
| | | from svy_category |
| | | </sql> |
| | |
| | | and categoryname = #{categoryname} |
| | | </if> |
| | | </where> |
| | | group by a.categoryname |
| | | group by a.categoryname |
| | | </select> |
| | | |
| | | <insert id="insertSvyCategory" parameterType="com.smartor.domain.SvyCategory" useGeneratedKeys="true" |
| | |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="categoryname != null">#{categoryname},</if> |
| | |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyCategoryById" parameterType="Long"> |
| | | delete |
| | | from svy_category |
| | | <update id="deleteSvyCategoryById" parameterType="Long"> |
| | | update svy_category |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </delete> |
| | | </update> |
| | | |
| | | <delete id="deleteSvyCategoryByIds" parameterType="String"> |
| | | delete from svy_category where id in |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.SvyLibTitleCategoryMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.SvyLibTitleCategory" id="SvyLibTitleCategoryResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="name" column="name"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="seqno" column="seqno"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTitleCategoryVo"> |
| | | select id, |
| | | name, |
| | | pid, |
| | | guid, |
| | | del_flag, |
| | | create_by, |
| | | create_time, |
| | | update_by, |
| | | update_time, |
| | | orgid, |
| | | seqno |
| | | from svy_lib_title_category |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibTitleCategoryList" parameterType="com.smartor.domain.SvyLibTitleCategory" |
| | | resultMap="SvyLibTitleCategoryResult"> |
| | | <include refid="selectSvyLibTitleCategoryVo"/> |
| | | <where> |
| | | del_flag=0 |
| | | <if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="orgid != null ">and orgid = #{orgid}</if> |
| | | <if test="seqno != null ">and seqno = #{seqno}</if> |
| | | |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibTitleCategoryById" parameterType="Long" resultMap="SvyLibTitleCategoryResult"> |
| | | <include refid="selectSvyLibTitleCategoryVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibTitleCategory" parameterType="com.smartor.domain.SvyLibTitleCategory" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into svy_lib_title_category |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="name != null">name,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="delFlag != null">del_flag,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="seqno != null">seqno,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="name != null">#{name},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="delFlag != null">#{delFlag},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="seqno != null">#{seqno},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibTitleCategory" parameterType="com.smartor.domain.SvyLibTitleCategory"> |
| | | update svy_lib_title_category |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="name != null">name = #{name},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="delFlag != null">del_flag = #{delFlag},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="seqno != null">seqno = #{seqno},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deleteSvyLibTitleCategoryById" parameterType="Long"> |
| | | update svy_lib_title_category |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null">del_flag = 1,</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibTitleCategoryByIds" parameterType="String"> |
| | | delete from svy_lib_title_category where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | |
| | | <select id="selectSeqMax" resultType="integer"> |
| | | select max(seqno) seqno |
| | | from ivr_liba_extemplate_category |
| | | |
| | | </select> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.SvyLibTopicCategoryMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.SvyLibTopicCategory" id="SvyLibTopicCategoryResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="name" column="name"/> |
| | | <result property="topicid" column="topicid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="seqno" column="seqno"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTopicCategoryVo"> |
| | | select id, |
| | | name, |
| | | topicid, |
| | | pid, |
| | | guid, |
| | | del_flag, |
| | | create_by, |
| | | create_time, |
| | | update_by, |
| | | update_time, |
| | | seqno, |
| | | orgid |
| | | from svy_lib_topic_category |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibTopicCategoryList" parameterType="com.smartor.domain.SvyLibTopicCategory" |
| | | resultMap="SvyLibTopicCategoryResult"> |
| | | <include refid="selectSvyLibTopicCategoryVo"/> |
| | | <where> |
| | | del_flat=0 |
| | | <if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if> |
| | | <if test="topicid != null ">and topicid = #{topicid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="orgid != null ">and orgid = #{orgid}</if> |
| | | <if test="seqno != null ">and seqno = #{seqno}</if> |
| | | </where> |
| | | order by seqno asc |
| | | </select> |
| | | |
| | | <select id="selectSvyLibTopicCategoryById" parameterType="Long" resultMap="SvyLibTopicCategoryResult"> |
| | | <include refid="selectSvyLibTopicCategoryVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibTopicCategory" parameterType="com.smartor.domain.SvyLibTopicCategory" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into svy_lib_topic_category |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="name != null">name,</if> |
| | | <if test="seqno != null">seqno,</if> |
| | | <if test="topicid != null">topicid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="delFlag != null">del_flag,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="name != null">#{name},</if> |
| | | <if test="seqno != null">#{seqno},</if> |
| | | <if test="topicid != null">#{topicid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="delFlag != null">#{delFlag},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibTopicCategory" parameterType="com.smartor.domain.SvyLibTopicCategory"> |
| | | update svy_lib_topic_category |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="name != null">name = #{name},</if> |
| | | <if test="seqno != null">seqno = #{seqno},</if> |
| | | <if test="topicid != null">topicid = #{topicid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="delFlag != null">del_flag = #{delFlag},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibTopicCategoryByIds" parameterType="String"> |
| | | delete |
| | | from svy_lib_topic_category |
| | | where id = #{id} |
| | | </delete> |
| | | |
| | | <update id="deleteSvyLibTopicCategoryById" parameterType="Long"> |
| | | update svy_lib_topic_category |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null">del_flag = ,</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | |
| | | <select id="selectSeqMax" resultType="integer"> |
| | | select max(seqno) seqno |
| | | from iivr_liba_template_assort |
| | | |
| | | </select> |
| | | </mapper> |
| | |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="tag" column="tag"/> |
| | | <result property="categoryid" column="categoryid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTopicVo"> |
| | |
| | | isupload, |
| | | upload_time, |
| | | tag, |
| | | categoryid, |
| | | svy_topicid as svyTopicId |
| | | from svy_lib_topic |
| | | </sql> |
| | |
| | | <where> |
| | | <if test="oldid != null ">and oldid = #{oldid}</if> |
| | | <if test="topictype != null ">and topictype = #{topictype}</if> |
| | | <if test="categoryid != null ">and categoryid = #{categoryid}</if> |
| | | <if test="topic != null and topic != ''">and topic = #{topic}</if> |
| | | <if test="ishide != null ">and ishide = #{ishide}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="tag != null">tag,</if> |
| | | <if test="svyTopicId != null">svy_topicid,</if> |
| | | <if test="categoryid != null">categoryid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="oldid != null">#{oldid},</if> |
| | |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="tag != null">#{tag},</if> |
| | | <if test="svyTopicId != null">#{svyTopicId},</if> |
| | | <if test="categoryid != null">#{categoryid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="categoryid != null">categoryid = #{categoryid},</if> |
| | | </trim> |
| | | where topicid = #{topicid} |
| | | </update> |
| | |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.SvyLibTopicoptionMapper"> |
| | | |
| | | <resultMap type="SvyLibTopicoption" id="SvyLibTopicoptionResult"> |
| | | <resultMap type="com.smartor.domain.SvyLibTopicoption" id="SvyLibTopicoptionResult"> |
| | | <result property="optionid" column="optionid"/> |
| | | <result property="topicid" column="topicid"/> |
| | | <result property="svyid" column="svyid"/> |
| | |
| | | from svy_lib_topicoption |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibTopicoptionList" parameterType="SvyLibTopicoption" resultMap="SvyLibTopicoptionResult"> |
| | | <select id="selectSvyLibTopicoptionList" parameterType="com.smartor.domain.SvyLibTopicoption" resultMap="SvyLibTopicoptionResult"> |
| | | <include refid="selectSvyLibTopicoptionVo"/> |
| | | <where> |
| | | <if test="topicid != null ">and topicid = #{topicid}</if> |
| | |
| | | where optionid = #{optionid} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibTopicoption" parameterType="SvyLibTopicoption" useGeneratedKeys="true" |
| | | <insert id="insertSvyLibTopicoption" parameterType="com.smartor.domain.SvyLibTopicoption" useGeneratedKeys="true" |
| | | keyProperty="optionid"> |
| | | insert into svy_lib_topicoption |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibTopicoption" parameterType="SvyLibTopicoption"> |
| | | <update id="updateSvyLibTopicoption" parameterType="com.smartor.domain.SvyLibTopicoption"> |
| | | update svy_lib_topicoption |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="topicid != null">topicid = #{topicid},</if> |