¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.SvyLibTemplateScriptWjx; |
| | | import com.smartor.service.ISvyLibTemplateScriptWjxService; |
| | | 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 2024-07-08 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/srcriptwjx") |
| | | public class SvyLibTemplateScriptWjxController extends BaseController |
| | | { |
| | | @Autowired |
| | | private ISvyLibTemplateScriptWjxService svyLibTemplateScriptWjxService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å·é¢ç®å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyLibTemplateScriptWjx svyLibTemplateScriptWjx) |
| | | { |
| | | startPage(); |
| | | List<SvyLibTemplateScriptWjx> list = svyLibTemplateScriptWjxService.selectSvyLibTemplateScriptWjxList(svyLibTemplateScriptWjx); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ¨¡æ¿é®å·é¢ç®å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:export')") |
| | | @Log(title = "模æ¿é®å·é¢ç®", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyLibTemplateScriptWjx svyLibTemplateScriptWjx) |
| | | { |
| | | List<SvyLibTemplateScriptWjx> list = svyLibTemplateScriptWjxService.selectSvyLibTemplateScriptWjxList(svyLibTemplateScriptWjx); |
| | | ExcelUtil<SvyLibTemplateScriptWjx> util = new ExcelUtil<SvyLibTemplateScriptWjx>(SvyLibTemplateScriptWjx.class); |
| | | util.exportExcel(response, list, "模æ¿é®å·é¢ç®æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·å模æ¿é®å·é¢ç®è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | return success(svyLibTemplateScriptWjxService.selectSvyLibTemplateScriptWjxById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿é®å·é¢ç® |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:add')") |
| | | @Log(title = "模æ¿é®å·é¢ç®", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SvyLibTemplateScriptWjx svyLibTemplateScriptWjx) |
| | | { |
| | | return toAjax(svyLibTemplateScriptWjxService.insertSvyLibTemplateScriptWjx(svyLibTemplateScriptWjx)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿é®å·é¢ç® |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:edit')") |
| | | @Log(title = "模æ¿é®å·é¢ç®", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SvyLibTemplateScriptWjx svyLibTemplateScriptWjx) |
| | | { |
| | | return toAjax(svyLibTemplateScriptWjxService.updateSvyLibTemplateScriptWjx(svyLibTemplateScriptWjx)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿é®å·é¢ç® |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:remove')") |
| | | @Log(title = "模æ¿é®å·é¢ç®", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(svyLibTemplateScriptWjxService.deleteSvyLibTemplateScriptWjxByIds(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.SvyLibTemplateTargetoptionWjx; |
| | | import com.smartor.service.ISvyLibTemplateTargetoptionWjxService; |
| | | 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 2024-07-08 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/optionwjx") |
| | | public class SvyLibTemplateTargetoptionWjxController extends BaseController |
| | | { |
| | | @Autowired |
| | | private ISvyLibTemplateTargetoptionWjxService svyLibTemplateTargetoptionWjxService; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢ææ é项åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyLibTemplateTargetoptionWjx svyLibTemplateTargetoptionWjx) |
| | | { |
| | | startPage(); |
| | | List<SvyLibTemplateTargetoptionWjx> list = svyLibTemplateTargetoptionWjxService.selectSvyLibTemplateTargetoptionWjxList(svyLibTemplateTargetoptionWjx); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºé®å·é®é¢ææ é项åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:export')") |
| | | @Log(title = "é®å·é®é¢ææ é项åº", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyLibTemplateTargetoptionWjx svyLibTemplateTargetoptionWjx) |
| | | { |
| | | List<SvyLibTemplateTargetoptionWjx> list = svyLibTemplateTargetoptionWjxService.selectSvyLibTemplateTargetoptionWjxList(svyLibTemplateTargetoptionWjx); |
| | | ExcelUtil<SvyLibTemplateTargetoptionWjx> util = new ExcelUtil<SvyLibTemplateTargetoptionWjx>(SvyLibTemplateTargetoptionWjx.class); |
| | | util.exportExcel(response, list, "é®å·é®é¢ææ éé¡¹åºæ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åé®å·é®é¢ææ é项åºè¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | return success(svyLibTemplateTargetoptionWjxService.selectSvyLibTemplateTargetoptionWjxById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·é®é¢ææ éé¡¹åº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:add')") |
| | | @Log(title = "é®å·é®é¢ææ é项åº", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SvyLibTemplateTargetoptionWjx svyLibTemplateTargetoptionWjx) |
| | | { |
| | | return toAjax(svyLibTemplateTargetoptionWjxService.insertSvyLibTemplateTargetoptionWjx(svyLibTemplateTargetoptionWjx)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é®é¢ææ éé¡¹åº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:edit')") |
| | | @Log(title = "é®å·é®é¢ææ é项åº", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SvyLibTemplateTargetoptionWjx svyLibTemplateTargetoptionWjx) |
| | | { |
| | | return toAjax(svyLibTemplateTargetoptionWjxService.updateSvyLibTemplateTargetoptionWjx(svyLibTemplateTargetoptionWjx)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·é®é¢ææ éé¡¹åº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:remove')") |
| | | @Log(title = "é®å·é®é¢ææ é项åº", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(svyLibTemplateTargetoptionWjxService.deleteSvyLibTemplateTargetoptionWjxByIds(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.SvyLibTemplateWjx; |
| | | import com.smartor.service.ISvyLibTemplateWjxService; |
| | | 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 2024-07-08 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/templatewjx") |
| | | public class SvyLibTemplateWjxController extends BaseController |
| | | { |
| | | @Autowired |
| | | private ISvyLibTemplateWjxService svyLibTemplateWjxService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å·å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyLibTemplateWjx svyLibTemplateWjx) |
| | | { |
| | | startPage(); |
| | | List<SvyLibTemplateWjx> list = svyLibTemplateWjxService.selectSvyLibTemplateWjxList(svyLibTemplateWjx); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ¨¡æ¿é®å·å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:export')") |
| | | @Log(title = "模æ¿é®å·", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyLibTemplateWjx svyLibTemplateWjx) |
| | | { |
| | | List<SvyLibTemplateWjx> list = svyLibTemplateWjxService.selectSvyLibTemplateWjxList(svyLibTemplateWjx); |
| | | ExcelUtil<SvyLibTemplateWjx> util = new ExcelUtil<SvyLibTemplateWjx>(SvyLibTemplateWjx.class); |
| | | util.exportExcel(response, list, "模æ¿é®å·æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·å模æ¿é®å·è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:query')") |
| | | @GetMapping(value = "/{svyid}") |
| | | public AjaxResult getInfo(@PathVariable("svyid") Long svyid) |
| | | { |
| | | return success(svyLibTemplateWjxService.selectSvyLibTemplateWjxBySvyid(svyid)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿é®å· |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:add')") |
| | | @Log(title = "模æ¿é®å·", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SvyLibTemplateWjx svyLibTemplateWjx) |
| | | { |
| | | return toAjax(svyLibTemplateWjxService.insertSvyLibTemplateWjx(svyLibTemplateWjx)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿é®å· |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:edit')") |
| | | @Log(title = "模æ¿é®å·", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SvyLibTemplateWjx svyLibTemplateWjx) |
| | | { |
| | | return toAjax(svyLibTemplateWjxService.updateSvyLibTemplateWjx(svyLibTemplateWjx)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿é®å· |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:wjx:remove')") |
| | | @Log(title = "模æ¿é®å·", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{svyids}") |
| | | public AjaxResult remove(@PathVariable Long[] svyids) |
| | | { |
| | | return toAjax(svyLibTemplateWjxService.deleteSvyLibTemplateWjxBySvyids(svyids)); |
| | | } |
| | | } |
| | |
| | | * @author ruoyi |
| | | * @date 2023-12-21 |
| | | */ |
| | | |
| | | @Data |
| | | @ApiModel(value = "IvrLibaScriptTargetoption", description = "é®é¢è¯æ¯ææ é项åºå¯¹è±¡") |
| | | public class IvrLibaScriptTargetoption extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | @Excel(name = "GUID") |
| | | private String guid; |
| | | |
| | | @ApiModelProperty(value = "é项éå æ è¯") |
| | | private String appendflag; |
| | | |
| | | @ApiModelProperty(value = "éä»¶ä¿¡æ¯") |
| | | private String appenddesc; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getTargetid() { |
| | | return targetid; |
| | | } |
| | | |
| | | public void setTargetid(Long targetid) { |
| | | this.targetid = targetid; |
| | | } |
| | | |
| | | public String getTargetname() { |
| | | return targetname; |
| | | } |
| | | |
| | | public void setTargetname(String targetname) { |
| | | this.targetname = targetname; |
| | | } |
| | | |
| | | public Long getScriptid() { |
| | | return scriptid; |
| | | } |
| | | |
| | | public void setScriptid(Long scriptid) { |
| | | this.scriptid = scriptid; |
| | | } |
| | | |
| | | public String getTargettype() { |
| | | return targettype; |
| | | } |
| | | |
| | | public void setTargettype(String targettype) { |
| | | this.targettype = targettype; |
| | | } |
| | | |
| | | public String getCategoryName() { |
| | | return categoryName; |
| | | } |
| | | |
| | | public void setCategoryName(String categoryName) { |
| | | this.categoryName = categoryName; |
| | | } |
| | | |
| | | public String getTargetvalue() { |
| | | return targetvalue; |
| | | } |
| | | |
| | | public void setTargetvalue(String targetvalue) { |
| | | this.targetvalue = targetvalue; |
| | | } |
| | | |
| | | public String getTargetregex() { |
| | | return targetregex; |
| | | } |
| | | |
| | | public void setTargetregex(String targetregex) { |
| | | this.targetregex = targetregex; |
| | | } |
| | | |
| | | public String getTargetregex2() { |
| | | return targetregex2; |
| | | } |
| | | |
| | | public void setTargetregex2(String targetregex2) { |
| | | this.targetregex2 = targetregex2; |
| | | } |
| | | |
| | | public String getNodynamiccruxsJson() { |
| | | return nodynamiccruxsJson; |
| | | } |
| | | |
| | | public void setNodynamiccruxsJson(String nodynamiccruxsJson) { |
| | | this.nodynamiccruxsJson = nodynamiccruxsJson; |
| | | } |
| | | |
| | | public String getDynamiccruxsJson() { |
| | | return dynamiccruxsJson; |
| | | } |
| | | |
| | | public void setDynamiccruxsJson(String dynamiccruxsJson) { |
| | | this.dynamiccruxsJson = dynamiccruxsJson; |
| | | } |
| | | |
| | | public List<String> getNodynamiccruxs() { |
| | | return nodynamiccruxs; |
| | | } |
| | | |
| | | public void setNodynamiccruxs(List<String> nodynamiccruxs) { |
| | | this.nodynamiccruxs = nodynamiccruxs; |
| | | } |
| | | |
| | | public List<String> getDynamiccruxs() { |
| | | return dynamiccruxs; |
| | | } |
| | | |
| | | public void setDynamiccruxs(List<String> dynamiccruxs) { |
| | | this.dynamiccruxs = dynamiccruxs; |
| | | } |
| | | |
| | | public String getOptiondesc() { |
| | | return optiondesc; |
| | | } |
| | | |
| | | public void setOptiondesc(String optiondesc) { |
| | | this.optiondesc = optiondesc; |
| | | } |
| | | |
| | | public String getLanguage() { |
| | | return language; |
| | | } |
| | | |
| | | public void setLanguage(String language) { |
| | | this.language = language; |
| | | } |
| | | |
| | | public Long getVersion() { |
| | | return version; |
| | | } |
| | | |
| | | public void setVersion(Long version) { |
| | | this.version = version; |
| | | } |
| | | |
| | | public String getGroupid() { |
| | | return groupid; |
| | | } |
| | | |
| | | public void setGroupid(String groupid) { |
| | | this.groupid = groupid; |
| | | } |
| | | |
| | | public Long getIsabnormal() { |
| | | return isabnormal; |
| | | } |
| | | |
| | | public void setIsabnormal(Long isabnormal) { |
| | | this.isabnormal = isabnormal; |
| | | } |
| | | |
| | | public Long getWarnup() { |
| | | return warnup; |
| | | } |
| | | |
| | | public void setWarnup(Long warnup) { |
| | | this.warnup = warnup; |
| | | } |
| | | |
| | | public Long getWarndown() { |
| | | return warndown; |
| | | } |
| | | |
| | | public void setWarndown(Long warndown) { |
| | | this.warndown = warndown; |
| | | } |
| | | |
| | | public String getDelFlag() { |
| | | return delFlag; |
| | | } |
| | | |
| | | public void setDelFlag(String delFlag) { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public Long getIsupload() { |
| | | return isupload; |
| | | } |
| | | |
| | | public void setIsupload(Long isupload) { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Date getUploadTime() { |
| | | return uploadTime; |
| | | } |
| | | |
| | | public void setUploadTime(Date uploadTime) { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public String getOrgid() { |
| | | return orgid; |
| | | } |
| | | |
| | | public void setOrgid(String orgid) { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public Long getPid() { |
| | | return pid; |
| | | } |
| | | |
| | | public void setPid(Long pid) { |
| | | this.pid = pid; |
| | | } |
| | | |
| | | public String getGuid() { |
| | | return guid; |
| | | } |
| | | |
| | | public void setGuid(String guid) { |
| | | this.guid = guid; |
| | | } |
| | | |
| | | public Integer getIsoperation() { |
| | | return isoperation; |
| | | } |
| | | |
| | | public void setIsoperation(Integer isoperation) { |
| | | this.isoperation = isoperation; |
| | | } |
| | | } |
| | |
| | | |
| | | @ApiModelProperty(value = "æ»æ¡æ°") |
| | | private Integer allitems; |
| | | |
| | | @ApiModelProperty(value = "é项éå æ è¯") |
| | | private String appendflag; |
| | | |
| | | @ApiModelProperty(value = "éä»¶ä¿¡æ¯") |
| | | private String appenddesc; |
| | | /** |
| | | * pageNum |
| | | */ |
| | |
| | | @ApiModelProperty(value = "æ¯å¦æ¯ç¨æ·éæ©çé项") |
| | | private Boolean isUserOperation = false; |
| | | |
| | | |
| | | /** |
| | | * ä¸ä¸é¢ |
| | | */ |
| | | @ApiModelProperty(value = "ä¸ä¸é¢") |
| | | private Integer nextQuestion; |
| | | |
| | | @ApiModelProperty(value = "é项éå æ è¯") |
| | | private String appendflag; |
| | | |
| | | @ApiModelProperty(value = "éä»¶ä¿¡æ¯") |
| | | private String appenddesc; |
| | | |
| | | |
| | | } |
| | |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | @ApiModelProperty(value = "é项éå æ è¯") |
| | | private String appendflag; |
| | | |
| | | @ApiModelProperty(value = "éä»¶ä¿¡æ¯") |
| | | private String appenddesc; |
| | | |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | 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_template_script_wjx |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-07-08 |
| | | */ |
| | | @Data |
| | | public class SvyLibTemplateScriptWjx extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long id; |
| | | |
| | | /** |
| | | * èçæ¬ID |
| | | */ |
| | | @ApiModelProperty(value = "èçæ¬ID") |
| | | private Long oldid; |
| | | |
| | | /** |
| | | * é®å·æ¨¡æ¿ID |
| | | */ |
| | | @ApiModelProperty(value = "é®å·æ¨¡æ¿ID") |
| | | private Long svyid; |
| | | |
| | | /** |
| | | * é¢ç®ç±»å;æä¸¾ 1.åé 2å¤é 3填空 4å
¶å® |
| | | */ |
| | | @ApiModelProperty(value = "é¢ç®ç±»å;æä¸¾ 1.åé 2å¤é 3填空 4å
¶å®") |
| | | private String scriptType; |
| | | |
| | | /** |
| | | * é¢ç®æ é¢ |
| | | */ |
| | | @ApiModelProperty(value = "é¢ç®æ é¢") |
| | | private String scriptTopic; |
| | | |
| | | /** |
| | | * é¢ç®è¯æ¯å
容 |
| | | */ |
| | | @ApiModelProperty(value = "é¢ç®è¯æ¯å
容") |
| | | private String script; |
| | | |
| | | /** |
| | | * é¢ç®å
容 |
| | | */ |
| | | @ApiModelProperty(value = "é¢ç®å
容") |
| | | private String scriptContent; |
| | | |
| | | /** |
| | | * é¢ç®ç¼å· |
| | | */ |
| | | @ApiModelProperty(value = "é¢ç®ç¼å·") |
| | | private String seqno; |
| | | |
| | | /** |
| | | * é®é¢å¾ç |
| | | */ |
| | | @ApiModelProperty(value = "é®é¢å¾ç") |
| | | private String scriptPicture; |
| | | |
| | | /** |
| | | * é¢ç®æ ç¾ |
| | | */ |
| | | @ApiModelProperty(value = "é¢ç®æ ç¾") |
| | | private String tag; |
| | | |
| | | /** |
| | | * æåº |
| | | */ |
| | | @ApiModelProperty(value = "æåº") |
| | | private Long sort; |
| | | |
| | | /** |
| | | * æ¯å¦å¿
å¡« 0å¿
å¡« 1ä¸å¿
å¡« |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å¿
å¡« 0å¿
å¡« 1ä¸å¿
å¡«") |
| | | private String ismandatory; |
| | | |
| | | /** |
| | | * æ¯å¦éè |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦éè") |
| | | private Long ishide; |
| | | |
| | | /** |
| | | * å 餿 å¿ï¼0ï¼æªå é¤ 1ï¼å·²å é¤ï¼ |
| | | */ |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ å¿ï¼0ï¼æªä¸ä¼ 1ï¼å·²ä¸ä¼ ï¼ |
| | | */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ å¿") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * svy_topic表çtopicid |
| | | */ |
| | | @ApiModelProperty(value = "svy_topic表çtopicid") |
| | | private Long svyTopicid; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * åç±»id |
| | | */ |
| | | @ApiModelProperty(value = "åç±»id") |
| | | private Long categoryid; |
| | | |
| | | /** |
| | | * éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3 |
| | | */ |
| | | @ApiModelProperty(value = "éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3") |
| | | private String suitway; |
| | | |
| | | /** |
| | | * æ¯å¦å¯ç¨ 0å¯ç¨ 1ä¸å¯ç¨ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å¯ç¨ 0å¯ç¨ 1ä¸å¯ç¨") |
| | | private String isavailable; |
| | | |
| | | /** |
| | | * è¯è¨ |
| | | */ |
| | | @ApiModelProperty(value = "è¯è¨") |
| | | private String language; |
| | | |
| | | /** |
| | | * å
¶å®æ°æ®ï¼åå¨åéï¼ |
| | | */ |
| | | @ApiModelProperty(value = "å
¶å®æ°æ®") |
| | | private String otherdata; |
| | | |
| | | /** |
| | | * å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼ |
| | | */ |
| | | @ApiModelProperty(value = "å¼ç±»å") |
| | | private String valueType; |
| | | |
| | | /** |
| | | * åå¤ï¼æé®é¢çåå¤ï¼ç»é®çé¢ç¨çï¼ |
| | | */ |
| | | @ApiModelProperty(value = "åå¤") |
| | | private String reply; |
| | | |
| | | /** |
| | | * åå¼ç±»åï¼1ï¼æ°åï¼2ï¼ç级 |
| | | */ |
| | | @ApiModelProperty(value = "åå¼ç±»åï¼1ï¼æ°åï¼2ï¼ç级") |
| | | private String scoretype; |
| | | |
| | | /** |
| | | * é¢ç®åå¼ï¼æ°å1,2çï¼åæ¯AãBï¼Cï¼Dçï¼ |
| | | */ |
| | | @ApiModelProperty(value = "é¢ç®åå¼ï¼æ°å1,2çï¼åæ¯AãBï¼Cï¼Dçï¼") |
| | | private String score; |
| | | |
| | | /** |
| | | * é®é¢æè¿° |
| | | */ |
| | | @ApiModelProperty(value = "é®é¢æè¿°") |
| | | private String scriptDesc; |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | |
| | | } |
| | |
| | | @ApiModelProperty(value = "é项å¾çè·¯å¾") |
| | | private String picturePath; |
| | | |
| | | @ApiModelProperty(value = "é项éå æ è¯") |
| | | private String appendflag; |
| | | |
| | | @ApiModelProperty(value = "éä»¶ä¿¡æ¯") |
| | | private String appenddesc; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | 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_template_targetoption_wjx |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-07-08 |
| | | */ |
| | | @Data |
| | | public class SvyLibTemplateTargetoptionWjx extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** ä¸»é® */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long id; |
| | | |
| | | /** åç»ID */ |
| | | @ApiModelProperty(value = "åç»ID") |
| | | private String groupid; |
| | | |
| | | /** |
| | | * æåº |
| | | */ |
| | | @ApiModelProperty(value = "æåº") |
| | | private Long sort; |
| | | |
| | | /** ç±»å«åç§° */ |
| | | @ApiModelProperty(value = "ç±»å«åç§°") |
| | | private String categoryName; |
| | | |
| | | /** é®é¢id */ |
| | | @ApiModelProperty(value = "é®é¢id") |
| | | private Long scriptid; |
| | | |
| | | /** 模æ¿ID */ |
| | | @ApiModelProperty(value = "模æ¿ID") |
| | | private Long templateID; |
| | | |
| | | /** æ¨¡æ¿ææ ç±»å */ |
| | | @ApiModelProperty(value = "æ¨¡æ¿ææ ç±»å") |
| | | private String targettype; |
| | | |
| | | /** ææ ID */ |
| | | @ApiModelProperty(value = "ææ ID") |
| | | private Long targetid; |
| | | |
| | | /** ææ åç§° */ |
| | | @ApiModelProperty(value = "ææ åç§°") |
| | | private String targetname; |
| | | |
| | | /** æ¨¡æ¿ææ å¼ */ |
| | | @ApiModelProperty(value = "æ¨¡æ¿ææ å¼") |
| | | private String targetvalue; |
| | | |
| | | /** é¢è¦æ è¯ï¼0ï¼ä¸ç¨é¢è¦ï¼1ï¼éè¦é¢è¦ï¼ */ |
| | | @ApiModelProperty(value = "é¢è¦æ è¯") |
| | | private Long isabnormal; |
| | | |
| | | /** é¢è¦éå¼ä¸é* */ |
| | | @ApiModelProperty(value = "é¢è¦éå¼ä¸é*") |
| | | private Long warnup; |
| | | |
| | | /** é¢è¦éå¼ä¸é* */ |
| | | @ApiModelProperty(value = "é¢è¦éå¼ä¸é*") |
| | | private Long warndown; |
| | | |
| | | /** æ¨¡æ¿ææ æ£å */ |
| | | @ApiModelProperty(value = "æ¨¡æ¿ææ æ£å") |
| | | private String targetregex; |
| | | |
| | | /** æ¨¡æ¿ææ æ£å2 */ |
| | | @ApiModelProperty(value = "æ¨¡æ¿ææ æ£å2") |
| | | private String targetregex2; |
| | | |
| | | /** æ£åå
³é®å(ä¸å«) */ |
| | | @ApiModelProperty(value = "æ£åå
³é®å(ä¸å«)") |
| | | private String dynamiccruxs; |
| | | |
| | | /** æ£åå
³é®å(å«) */ |
| | | @ApiModelProperty(value = "æ£åå
³é®å(å«)") |
| | | private String nodynamiccruxs; |
| | | |
| | | /** é项æè¿° */ |
| | | @ApiModelProperty(value = "é项æè¿°") |
| | | private String optioncontent; |
| | | |
| | | /** ä¸ä¸ä¸ªè¯æ¯ç¼å· */ |
| | | @ApiModelProperty(value = "ä¸ä¸ä¸ªè¯æ¯ç¼å·") |
| | | private Long nextQuestion; |
| | | |
| | | /** è¯è¨ */ |
| | | @ApiModelProperty(value = "è¯è¨") |
| | | private String language; |
| | | |
| | | /** çæ¬ */ |
| | | @ApiModelProperty(value = "çæ¬") |
| | | private String version; |
| | | |
| | | /** å 餿 å¿ï¼0ï¼æªå é¤ 1ï¼å·²å é¤ï¼ */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ å¿ï¼0ï¼æªä¸ä¼ 1ï¼å·²ä¸ä¼ ï¼ */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ å¿") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** æºæID */ |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** ç¶ID */ |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** GUID */ |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** é项å¾çè·¯å¾ */ |
| | | @ApiModelProperty(value = "é项å¾çè·¯å¾") |
| | | private String picturePath; |
| | | |
| | | /** åæ° */ |
| | | @ApiModelProperty(value = "åæ°") |
| | | private String score; |
| | | |
| | | /** é项éå æ è¯ï¼0-æ éå ï¼1-æéä»¶ï¼ */ |
| | | @ApiModelProperty(value = "é项éå æ è¯ï¼0-æ éå ï¼1-æéä»¶ï¼") |
| | | private String appendflag; |
| | | |
| | | /** éä»¶ä¿¡æ¯ */ |
| | | @ApiModelProperty(value = "éä»¶ä¿¡æ¯") |
| | | private String appenddesc; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | 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_template_wjx |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-07-08 |
| | | */ |
| | | @Data |
| | | public class SvyLibTemplateWjx extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long svyid; |
| | | |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @ApiModelProperty(value = "模æ¿ID") |
| | | private Long templateid; |
| | | |
| | | /** |
| | | * é®å·åç±»ID |
| | | */ |
| | | @ApiModelProperty(value = "é®å·åç±»ID") |
| | | private Long categoryid; |
| | | |
| | | /** |
| | | * é®å·ä»£ç |
| | | */ |
| | | @ApiModelProperty(value = "é®å·ä»£ç ") |
| | | private String svycode; |
| | | |
| | | /** |
| | | * é®å·åç§° |
| | | */ |
| | | @ApiModelProperty(value = "é®å·åç§°") |
| | | private String svyname; |
| | | |
| | | /** |
| | | * é®å·æè¿° |
| | | */ |
| | | @ApiModelProperty(value = "é®å·æè¿°") |
| | | private String description; |
| | | |
| | | /** |
| | | * é®å·ä»ç» |
| | | */ |
| | | @ApiModelProperty(value = "é®å·ä»ç»") |
| | | private String introduce; |
| | | |
| | | /** |
| | | * é®å·æç¤º |
| | | */ |
| | | @ApiModelProperty(value = "é®å·æç¤º") |
| | | private String submitprompt; |
| | | |
| | | /** |
| | | * æ ç¾ |
| | | */ |
| | | @ApiModelProperty(value = "æ ç¾") |
| | | private String tag; |
| | | |
| | | /** |
| | | * çæ¬ |
| | | */ |
| | | @ApiModelProperty(value = "çæ¬") |
| | | private BigDecimal version; |
| | | |
| | | /** |
| | | * ä¸å¿åºä»£ç |
| | | */ |
| | | @ApiModelProperty(value = "ä¸å¿åºä»£ç ") |
| | | private String centerlibrarycode; |
| | | |
| | | /** |
| | | * ä¸å¿åºID |
| | | */ |
| | | @ApiModelProperty(value = "ä¸å¿åºID") |
| | | private Long centerlibraryid; |
| | | |
| | | /** |
| | | * æ¯å¦æ¬å° |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦æ¬å°") |
| | | private Long islocal; |
| | | |
| | | /** |
| | | * æ¯å¦å¯ç¨ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å¯ç¨") |
| | | private String isenable; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 å¿ï¼0ï¼æªå é¤ 1ï¼å·²å é¤ï¼ |
| | | */ |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ å¿ï¼0ï¼æªä¸ä¼ 1ï¼å·²ä¸ä¼ ï¼ |
| | | */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ å¿") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * é®é¢id |
| | | */ |
| | | @ApiModelProperty(value = "é®é¢id") |
| | | private String topicid; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * ç§å®¤åç§° |
| | | */ |
| | | @ApiModelProperty(value = "ç§å®¤åç§°") |
| | | private String deptNames; |
| | | |
| | | /** |
| | | * æ ç¾ä¿¡æ¯ |
| | | */ |
| | | @ApiModelProperty(value = "æ ç¾ä¿¡æ¯") |
| | | private String labelInfo; |
| | | |
| | | /** |
| | | * é¢åº |
| | | */ |
| | | @ApiModelProperty(value = "é¢åº") |
| | | private String campus; |
| | | |
| | | /** |
| | | * éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3 |
| | | */ |
| | | @ApiModelProperty(value = "éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3") |
| | | private String suitway; |
| | | |
| | | /** |
| | | * å
¶å®æ°æ®ï¼åå¨åéï¼ |
| | | */ |
| | | @ApiModelProperty(value = "å
¶å®æ°æ®") |
| | | private String otherdata; |
| | | |
| | | /** |
| | | * å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼ |
| | | */ |
| | | @ApiModelProperty(value = "å¼ç±»å") |
| | | private String valueType; |
| | | |
| | | /** |
| | | * åå¤ï¼æé®é¢çåå¤ï¼ç»é®çé¢ç¨çï¼ |
| | | */ |
| | | @ApiModelProperty(value = "åå¤") |
| | | private String reply; |
| | | |
| | | /** |
| | | * é®é¢æ»åå¼ |
| | | */ |
| | | @ApiModelProperty(value = "é®é¢æ»åå¼") |
| | | private String scriptScore; |
| | | |
| | | /** |
| | | * åæ°ç±»å |
| | | */ |
| | | @ApiModelProperty(value = "åæ°ç±»å") |
| | | private String scoreType; |
| | | |
| | | } |
| | |
| | | private String categoryName; |
| | | |
| | | /** |
| | | * é®é¢ç¹ |
| | | */ |
| | | @ApiModelProperty(value = "é®é¢ç¹") |
| | | private String scriptPoint; |
| | | |
| | | /** |
| | | * è¯æ¯å
容 |
| | | */ |
| | | @ApiModelProperty(value = "è¯æ¯å
容") |
| | | private String scriptContent; |
| | | |
| | | /** |
| | | * è¯æ¯è¯é³ |
| | | */ |
| | | @ApiModelProperty(value = "è¯æ¯è¯é³") |
| | | private String scriptVoice; |
| | | |
| | | /** |
| | | * æ å¹é
è¯æ¯ |
| | | */ |
| | | @ApiModelProperty(value = "æ å¹é
è¯æ¯") |
| | | private String noMatchText; |
| | | |
| | | /** |
| | | * æ å¹é
è¯æ¯è¯é³ |
| | | */ |
| | | @ApiModelProperty(value = "æ å¹é
è¯æ¯è¯é³") |
| | | private String noMatchVoice; |
| | | |
| | | /** |
| | | * éé»è¯æ¯ |
| | | */ |
| | | @ApiModelProperty(value = "éé»è¯æ¯") |
| | | private String slienceText; |
| | | |
| | | /** |
| | | * éé»è¯æ¯è¯é³ |
| | | */ |
| | | @ApiModelProperty(value = "éé»è¯æ¯è¯é³") |
| | | private String slienceVoice; |
| | | |
| | | /** |
| | | * éç¨åºå¹é
åè¯æ¯ |
| | | */ |
| | | @ApiModelProperty(value = "éç¨åºå¹é
åè¯æ¯") |
| | | private String submoduleText; |
| | | |
| | | /** |
| | | * éç¨åºå¹é
åè¯æ¯è¯é³ |
| | | */ |
| | | @ApiModelProperty(value = "éç¨åºå¹é
åè¯æ¯è¯é³") |
| | | private String submoduleVoice; |
| | | |
| | | /** |
| | | * å¬ä¸æ¸
è¯æ¯ |
| | | */ |
| | | @ApiModelProperty(value = "å¬ä¸æ¸
è¯æ¯") |
| | | private String noClearlyText; |
| | | |
| | | /** |
| | | * å¬ä¸æ¸
è¯æ¯è¯é³ |
| | | */ |
| | | @ApiModelProperty(value = "å¬ä¸æ¸
è¯æ¯è¯é³") |
| | | private String noClearlyVoice; |
| | | |
| | | /** |
| | | * æ¯å¦å¿
å¡«,1:å¿
å¡« 2ï¼å¯ä»¥ä¸å¡« ï¼ç»äººå·¥ç¨çï¼AIä¸ç¨éµå®ï¼ |
| | |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | /** |
| | | * åªè½ææ¾WAVç±»å |
| | | */ |
| | | @ApiModelProperty(value = "åªè½ææ¾WAVç±»å") |
| | | private Long playWavOnly; |
| | | |
| | | /** |
| | | * æåº |
| | |
| | | @ApiModelProperty(value = "ç±»å«å") |
| | | private String categoryName; |
| | | |
| | | /** |
| | | * é®é¢ç¹ |
| | | */ |
| | | @ApiModelProperty(value = "é®é¢ç¹") |
| | | private String scriptPoint; |
| | | |
| | | /** |
| | | * è¯æ¯å
容 |
| | |
| | | @ApiModelProperty(value = "è¯æ¯å
容") |
| | | private String scriptContent; |
| | | |
| | | /** |
| | | * è¯æ¯è¯é³ |
| | | */ |
| | | @ApiModelProperty(value = "è¯æ¯è¯é³") |
| | | private String scriptVoice; |
| | | |
| | | /** |
| | | * æ å¹é
è¯æ¯ |
| | | */ |
| | | @ApiModelProperty(value = "æ å¹é
è¯æ¯") |
| | | private String noMatchText; |
| | | |
| | | /** |
| | | * æ å¹é
è¯æ¯è¯é³ |
| | | */ |
| | | @ApiModelProperty(value = "æ å¹é
è¯æ¯è¯é³") |
| | | private String noMatchVoice; |
| | | |
| | | /** |
| | | * éé»è¯æ¯ |
| | | */ |
| | | @ApiModelProperty(value = "éé»è¯æ¯") |
| | | private String slienceText; |
| | | |
| | | /** |
| | | * éé»è¯æ¯è¯é³ |
| | | */ |
| | | @ApiModelProperty(value = "éé»è¯æ¯è¯é³") |
| | | private String slienceVoice; |
| | | |
| | | /** |
| | | * éç¨åºå¹é
åè¯æ¯ |
| | | */ |
| | | @ApiModelProperty(value = "éç¨åºå¹é
åè¯æ¯") |
| | | private String submoduleText; |
| | | |
| | | /** |
| | | * éç¨åºå¹é
åè¯æ¯è¯é³ |
| | | */ |
| | | @ApiModelProperty(value = "éç¨åºå¹é
åè¯æ¯è¯é³") |
| | | private String submoduleVoice; |
| | | |
| | | /** |
| | | * å¬ä¸æ¸
è¯æ¯ |
| | | */ |
| | | @ApiModelProperty(value = "å¬ä¸æ¸
è¯æ¯") |
| | | private String noClearlyText; |
| | | |
| | | /** |
| | | * å¬ä¸æ¸
è¯æ¯è¯é³ |
| | | */ |
| | | @ApiModelProperty(value = "å¬ä¸æ¸
è¯æ¯è¯é³") |
| | | private String noClearlyVoice; |
| | | |
| | | /** |
| | | * æ¯å¦å¿
å¡«,1:å¿
å¡« 2ï¼å¯ä»¥ä¸å¡« ï¼ç»äººå·¥ç¨çï¼AIä¸ç¨éµå®ï¼ |
| | |
| | | @ApiModelProperty(value = "æ¯å¦å¿
å¡«,1:å¿
å¡« 2ï¼å¯ä»¥ä¸å¡« ") |
| | | private String isMust; |
| | | |
| | | /** |
| | | * åªè½ææ¾WAVç±»å |
| | | */ |
| | | @ApiModelProperty(value = "åªè½ææ¾WAVç±»å") |
| | | private Long playWavOnly; |
| | | |
| | | /** |
| | | * å 餿 è®° |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.SvyLibTemplateScriptWjx; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模æ¿é®å·é¢ç®Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-07-08 |
| | | */ |
| | | @Mapper |
| | | public interface SvyLibTemplateScriptWjxMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å·é¢ç® |
| | | * |
| | | * @param id 模æ¿é®å·é¢ç®ä¸»é® |
| | | * @return 模æ¿é®å·é¢ç® |
| | | */ |
| | | public SvyLibTemplateScriptWjx selectSvyLibTemplateScriptWjxById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å·é¢ç®å表 |
| | | * |
| | | * @param svyLibTemplateScriptWjx 模æ¿é®å·é¢ç® |
| | | * @return 模æ¿é®å·é¢ç®éå |
| | | */ |
| | | public List<SvyLibTemplateScriptWjx> selectSvyLibTemplateScriptWjxList(SvyLibTemplateScriptWjx svyLibTemplateScriptWjx); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿é®å·é¢ç® |
| | | * |
| | | * @param svyLibTemplateScriptWjx 模æ¿é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTemplateScriptWjx(SvyLibTemplateScriptWjx svyLibTemplateScriptWjx); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿é®å·é¢ç® |
| | | * |
| | | * @param svyLibTemplateScriptWjx 模æ¿é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTemplateScriptWjx(SvyLibTemplateScriptWjx svyLibTemplateScriptWjx); |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿é®å·é¢ç® |
| | | * |
| | | * @param id 模æ¿é®å·é¢ç®ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTemplateScriptWjxById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿é®å·é¢ç® |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTemplateScriptWjxByIds(Long[] ids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.SvyLibTemplateTargetoptionWjx; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·é®é¢ææ é项åºMapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-07-08 |
| | | */ |
| | | @Mapper |
| | | public interface SvyLibTemplateTargetoptionWjxMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢ææ éé¡¹åº |
| | | * |
| | | * @param id é®å·é®é¢ææ é项åºä¸»é® |
| | | * @return é®å·é®é¢ææ éé¡¹åº |
| | | */ |
| | | public SvyLibTemplateTargetoptionWjx selectSvyLibTemplateTargetoptionWjxById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢ææ é项åºå表 |
| | | * |
| | | * @param svyLibTemplateTargetoptionWjx é®å·é®é¢ææ éé¡¹åº |
| | | * @return é®å·é®é¢ææ é项åºéå |
| | | */ |
| | | public List<SvyLibTemplateTargetoptionWjx> selectSvyLibTemplateTargetoptionWjxList(SvyLibTemplateTargetoptionWjx svyLibTemplateTargetoptionWjx); |
| | | |
| | | /** |
| | | * æ°å¢é®å·é®é¢ææ éé¡¹åº |
| | | * |
| | | * @param svyLibTemplateTargetoptionWjx é®å·é®é¢ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTemplateTargetoptionWjx(SvyLibTemplateTargetoptionWjx svyLibTemplateTargetoptionWjx); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é®é¢ææ éé¡¹åº |
| | | * |
| | | * @param svyLibTemplateTargetoptionWjx é®å·é®é¢ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTemplateTargetoptionWjx(SvyLibTemplateTargetoptionWjx svyLibTemplateTargetoptionWjx); |
| | | |
| | | /** |
| | | * å é¤é®å·é®é¢ææ éé¡¹åº |
| | | * |
| | | * @param id é®å·é®é¢ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTemplateTargetoptionWjxById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é®é¢ææ éé¡¹åº |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTemplateTargetoptionWjxByIds(Long[] ids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.smartor.domain.SvyLibTemplateWjx; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * 模æ¿é®å·Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-07-08 |
| | | */ |
| | | @Mapper |
| | | public interface SvyLibTemplateWjxMapper { |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å· |
| | | * |
| | | * @param svyid 模æ¿é®å·ä¸»é® |
| | | * @return 模æ¿é®å· |
| | | */ |
| | | public SvyLibTemplateWjx selectSvyLibTemplateWjxBySvyid(Long svyid); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å·å表 |
| | | * |
| | | * @param svyLibTemplateWjx 模æ¿é®å· |
| | | * @return 模æ¿é®å·éå |
| | | */ |
| | | public List<SvyLibTemplateWjx> selectSvyLibTemplateWjxList(SvyLibTemplateWjx svyLibTemplateWjx); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿é®å· |
| | | * |
| | | * @param svyLibTemplateWjx 模æ¿é®å· |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTemplateWjx(SvyLibTemplateWjx svyLibTemplateWjx); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿é®å· |
| | | * |
| | | * @param svyLibTemplateWjx 模æ¿é®å· |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTemplateWjx(SvyLibTemplateWjx svyLibTemplateWjx); |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿é®å· |
| | | * |
| | | * @param svyid 模æ¿é®å·ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTemplateWjxBySvyid(Long svyid); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿é®å· |
| | | * |
| | | * @param svyids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTemplateWjxBySvyids(Long[] svyids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.SvyLibTemplateScriptWjx; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模æ¿é®å·é¢ç®Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-07-08 |
| | | */ |
| | | public interface ISvyLibTemplateScriptWjxService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å·é¢ç® |
| | | * |
| | | * @param id 模æ¿é®å·é¢ç®ä¸»é® |
| | | * @return 模æ¿é®å·é¢ç® |
| | | */ |
| | | public SvyLibTemplateScriptWjx selectSvyLibTemplateScriptWjxById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å·é¢ç®å表 |
| | | * |
| | | * @param svyLibTemplateScriptWjx 模æ¿é®å·é¢ç® |
| | | * @return 模æ¿é®å·é¢ç®éå |
| | | */ |
| | | public List<SvyLibTemplateScriptWjx> selectSvyLibTemplateScriptWjxList(SvyLibTemplateScriptWjx svyLibTemplateScriptWjx); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿é®å·é¢ç® |
| | | * |
| | | * @param svyLibTemplateScriptWjx 模æ¿é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTemplateScriptWjx(SvyLibTemplateScriptWjx svyLibTemplateScriptWjx); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿é®å·é¢ç® |
| | | * |
| | | * @param svyLibTemplateScriptWjx 模æ¿é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTemplateScriptWjx(SvyLibTemplateScriptWjx svyLibTemplateScriptWjx); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿é®å·é¢ç® |
| | | * |
| | | * @param ids éè¦å é¤ç模æ¿é®å·é¢ç®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTemplateScriptWjxByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿é®å·é¢ç®ä¿¡æ¯ |
| | | * |
| | | * @param id 模æ¿é®å·é¢ç®ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTemplateScriptWjxById(Long id); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.SvyLibTemplateTargetoptionWjx; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·é®é¢ææ é项åºServiceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-07-08 |
| | | */ |
| | | public interface ISvyLibTemplateTargetoptionWjxService |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢ææ éé¡¹åº |
| | | * |
| | | * @param id é®å·é®é¢ææ é项åºä¸»é® |
| | | * @return é®å·é®é¢ææ éé¡¹åº |
| | | */ |
| | | public SvyLibTemplateTargetoptionWjx selectSvyLibTemplateTargetoptionWjxById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢ææ é项åºå表 |
| | | * |
| | | * @param svyLibTemplateTargetoptionWjx é®å·é®é¢ææ éé¡¹åº |
| | | * @return é®å·é®é¢ææ é项åºéå |
| | | */ |
| | | public List<SvyLibTemplateTargetoptionWjx> selectSvyLibTemplateTargetoptionWjxList(SvyLibTemplateTargetoptionWjx svyLibTemplateTargetoptionWjx); |
| | | |
| | | /** |
| | | * æ°å¢é®å·é®é¢ææ éé¡¹åº |
| | | * |
| | | * @param svyLibTemplateTargetoptionWjx é®å·é®é¢ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTemplateTargetoptionWjx(SvyLibTemplateTargetoptionWjx svyLibTemplateTargetoptionWjx); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é®é¢ææ éé¡¹åº |
| | | * |
| | | * @param svyLibTemplateTargetoptionWjx é®å·é®é¢ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTemplateTargetoptionWjx(SvyLibTemplateTargetoptionWjx svyLibTemplateTargetoptionWjx); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é®é¢ææ éé¡¹åº |
| | | * |
| | | * @param ids éè¦å é¤çé®å·é®é¢ææ é项åºä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTemplateTargetoptionWjxByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å é¤é®å·é®é¢ææ é项åºä¿¡æ¯ |
| | | * |
| | | * @param id é®å·é®é¢ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTemplateTargetoptionWjxById(Long id); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.SvyLibTemplateWjx; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模æ¿é®å·Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-07-08 |
| | | */ |
| | | public interface ISvyLibTemplateWjxService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å· |
| | | * |
| | | * @param svyid 模æ¿é®å·ä¸»é® |
| | | * @return 模æ¿é®å· |
| | | */ |
| | | public SvyLibTemplateWjx selectSvyLibTemplateWjxBySvyid(Long svyid); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å·å表 |
| | | * |
| | | * @param svyLibTemplateWjx 模æ¿é®å· |
| | | * @return 模æ¿é®å·éå |
| | | */ |
| | | public List<SvyLibTemplateWjx> selectSvyLibTemplateWjxList(SvyLibTemplateWjx svyLibTemplateWjx); |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿é®å· |
| | | * |
| | | * @param svyLibTemplateWjx 模æ¿é®å· |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTemplateWjx(SvyLibTemplateWjx svyLibTemplateWjx); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿é®å· |
| | | * |
| | | * @param svyLibTemplateWjx 模æ¿é®å· |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTemplateWjx(SvyLibTemplateWjx svyLibTemplateWjx); |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿é®å· |
| | | * |
| | | * @param svyids éè¦å é¤ç模æ¿é®å·ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTemplateWjxBySvyids(Long[] svyids); |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿é®å·ä¿¡æ¯ |
| | | * |
| | | * @param svyid 模æ¿é®å·ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTemplateWjxBySvyid(Long svyid); |
| | | } |
| | |
| | | private String accessKeySecret; |
| | | |
| | | @Autowired |
| | | private SvyLibTemplateMapper svyLibTitleMapper; |
| | | private SvyLibTemplateWjxMapper svyLibTitleMapper; |
| | | |
| | | @Autowired |
| | | private SvyLibScriptMapper svyLibTopicMapper; |
| | | private SvyLibTemplateScriptWjxMapper svyLibTopicMapper; |
| | | |
| | | @Autowired |
| | | private SvyLibTopicdirectionMapper svyLibTopicdirectionMapper; |
| | | |
| | | @Autowired |
| | | private SvyLibScriptOptionMapper svyLibTopicoptionMapper; |
| | | private SvyLibTemplateTargetoptionWjxMapper svyLibTopicoptionMapper; |
| | | // |
| | | // @Autowired |
| | | // private ISvyLibTitleService svyLibTitleService; |
| | |
| | | } |
| | | |
| | | public String explainHTML2() throws IOException { |
| | | |
| | | String folderPath = "E:\\pc2"; |
| | | // è·åæä»¶å¤¹ä¸çæææä»¶ |
| | | File[] files = new File(folderPath).listFiles(); |
| | |
| | | String fileContent = new String(Files.readAllBytes(file.toPath())); |
| | | |
| | | Document parse = Jsoup.parse(fileContent); |
| | | Element body = parse.body(); |
| | | Elements elementsByClass3 = body.getElementsByClass("topic__type-des"); |
| | | String desc = elementsByClass3.text(); |
| | | |
| | | //ä¿åtitle |
| | | String title = parse.title(); |
| | | SvyLibTemplate svyLibTitle = new SvyLibTemplate(); |
| | | SvyLibTemplateWjx svyLibTitle = new SvyLibTemplateWjx(); |
| | | // svyLibTitle.setCategoryid(System.currentTimeMillis()); |
| | | svyLibTitle.setSvyname(title); |
| | | svyLibTitle.setDescription(desc); |
| | | svyLibTitle.setDelFlag("0"); |
| | | svyLibTitle.setIsupload(0L); |
| | | svyLibTitleMapper.insertSvyLibTemplate(svyLibTitle); |
| | | |
| | | Element body = parse.body(); |
| | | svyLibTitleMapper.insertSvyLibTemplateWjx(svyLibTitle); |
| | | |
| | | |
| | | Elements elementsByClass = body.getElementsByClass("topic__type-body"); |
| | | Elements children = elementsByClass.get(0).children(); |
| | | for (Element element : children) { |
| | |
| | | String legend = element.getElementsByTag("legend").text(); |
| | | System.out.println("é¢ç®ï¼ " + legend); |
| | | //å°é¢ç®ä¿åå°è¡¨ä¸ |
| | | SvyLibScript svyLibTopic = new SvyLibScript(); |
| | | SvyLibTemplateScriptWjx svyLibTopic = new SvyLibTemplateScriptWjx(); |
| | | svyLibTopic.setSvyid(svyLibTitle.getSvyid()); |
| | | |
| | | //å¤æè¯¥é¢ç®ä¸æ¯å¦æé项 |
| | |
| | | if (spans.size() != 0) { |
| | | Elements radio__type = spans.get(0).getElementsByClass("radio__type"); |
| | | if (radio__type.size() != 0) { |
| | | svyLibTopic.setScripttype("1"); |
| | | svyLibTopic.setScriptType("1"); |
| | | } else { |
| | | Elements checkbox__type = spans.get(0).getElementsByClass("checkbox__type"); |
| | | if (checkbox__type.size() != 0) { |
| | | svyLibTopic.setScripttype("2"); |
| | | svyLibTopic.setScriptType("2"); |
| | | } |
| | | } |
| | | |
| | | } |
| | | svyLibTopic.setScriptcode(IdUtils.simpleUUID()); |
| | | svyLibTopic.setSeqno(IdUtils.simpleUUID()); |
| | | svyLibTopic.setScriptContent(legend); |
| | | svyLibTopic.setDelFlag("0"); |
| | | svyLibTopic.setIsupload(0L); |
| | | svyLibTopic.setOrgid(fileName); |
| | | try { |
| | | svyLibTopicMapper.insertSvyLibScript(svyLibTopic); |
| | | svyLibTopicMapper.insertSvyLibTemplateScriptWjx(svyLibTopic); |
| | | } catch (Exception e) { |
| | | noExpiain(fileName.substring(0, fileName.length() - 5) + "åºå¼å¸¸äº1", fileContent); |
| | | continue a; |
| | |
| | | String text = label.text(); |
| | | //å°é¢ç®ååº |
| | | // item = item + "------" + text; |
| | | SvyLibScriptOption svyLibTopicoption = new SvyLibScriptOption(); |
| | | svyLibTopicoption.setTopicid(svyLibTopic.getId()); |
| | | svyLibTopicoption.setSvyid(svyLibTitle.getSvyid()); |
| | | SvyLibTemplateTargetoptionWjx svyLibTopicoption = new SvyLibTemplateTargetoptionWjx(); |
| | | svyLibTopicoption.setScriptid(svyLibTopic.getId()); |
| | | svyLibTopicoption.setTemplateID(svyLibTitle.getSvyid()); |
| | | svyLibTopicoption.setSort(i); |
| | | svyLibTopicoption.setOptioncode(IdUtils.simpleUUID()); |
| | | svyLibTopicoption.setGuid(IdUtils.simpleUUID()); |
| | | svyLibTopicoption.setOptioncontent(text); |
| | | svyLibTopicoption.setDelFlag("0"); |
| | | svyLibTopicoption.setIsupload(0L); |
| | | try { |
| | | svyLibTopicoptionMapper.insertSvyLibScriptOption(svyLibTopicoption); |
| | | svyLibTopicoptionMapper.insertSvyLibTemplateTargetoptionWjx(svyLibTopicoption); |
| | | } catch (Exception e) { |
| | | noExpiain(fileName.substring(0, fileName.length() - 5) + "åºå¼å¸¸äº2", fileContent); |
| | | continue a; |
| | |
| | | //å°é¢ç®ä¿åå°è¡¨ä¸ |
| | | Elements elementsByClass2 = element.getElementsByClass("ui-control-group ui-matrix"); |
| | | if (elementsByClass2.size() > 0) { |
| | | SvyLibScript svyLibTopic2 = new SvyLibScript(); |
| | | SvyLibTemplateScriptWjx svyLibTopic2 = new SvyLibTemplateScriptWjx(); |
| | | svyLibTopic2.setSvyid(svyLibTitle.getSvyid()); |
| | | svyLibTopic2.setScriptcode(IdUtils.simpleUUID()); |
| | | svyLibTopic2.setSeqno(IdUtils.simpleUUID()); |
| | | svyLibTopic2.setScriptContent(legend); |
| | | svyLibTopic2.setDelFlag("0"); |
| | | svyLibTopic.setIsupload(0L); |
| | | svyLibTopic2.setScripttype("4"); |
| | | svyLibTopic2.setScriptType("4"); |
| | | svyLibTopic2.setOrgid(fileName); |
| | | try { |
| | | svyLibTopicMapper.insertSvyLibScript(svyLibTopic2); |
| | | svyLibTopicMapper.insertSvyLibTemplateScriptWjx(svyLibTopic2); |
| | | } catch (Exception e) { |
| | | noExpiain(fileName.substring(0, fileName.length() - 5) + "åºå¼å¸¸äº22", fileContent); |
| | | continue a; |
| | |
| | | |
| | | |
| | | //å°é¢ç®ä¿åå°è¡¨ä¸ |
| | | SvyLibScript svyLibTopic3 = new SvyLibScript(); |
| | | SvyLibTemplateScriptWjx svyLibTopic3 = new SvyLibTemplateScriptWjx(); |
| | | svyLibTopic3.setSvyid(svyLibTitle.getSvyid()); |
| | | svyLibTopic3.setScriptcode(IdUtils.simpleUUID()); |
| | | svyLibTopic3.setSeqno(IdUtils.simpleUUID()); |
| | | svyLibTopic3.setScriptContent(legend); |
| | | svyLibTopic3.setDelFlag("0"); |
| | | svyLibTopic3.setIsupload(0L); |
| | | svyLibTopic3.setScripttype("3"); |
| | | svyLibTopic3.setScriptType("3"); |
| | | svyLibTopic3.setOrgid(fileName); |
| | | try { |
| | | svyLibTopicMapper.insertSvyLibScript(svyLibTopic3); |
| | | svyLibTopicMapper.insertSvyLibTemplateScriptWjx(svyLibTopic3); |
| | | } catch (Exception e) { |
| | | noExpiain(fileName.substring(0, fileName.length() - 5) + "åºå¼å¸¸äº33", fileContent); |
| | | continue a; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.SvyLibTemplateScriptWjx; |
| | | import com.smartor.mapper.SvyLibTemplateScriptWjxMapper; |
| | | import com.smartor.service.ISvyLibTemplateScriptWjxService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * 模æ¿é®å·é¢ç®Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-07-08 |
| | | */ |
| | | @Service |
| | | public class SvyLibTemplateScriptWjxServiceImpl implements ISvyLibTemplateScriptWjxService { |
| | | @Autowired |
| | | private SvyLibTemplateScriptWjxMapper svyLibTemplateScriptWjxMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å·é¢ç® |
| | | * |
| | | * @param id 模æ¿é®å·é¢ç®ä¸»é® |
| | | * @return 模æ¿é®å·é¢ç® |
| | | */ |
| | | @Override |
| | | public SvyLibTemplateScriptWjx selectSvyLibTemplateScriptWjxById(Long id) { |
| | | return svyLibTemplateScriptWjxMapper.selectSvyLibTemplateScriptWjxById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å·é¢ç®å表 |
| | | * |
| | | * @param svyLibTemplateScriptWjx 模æ¿é®å·é¢ç® |
| | | * @return 模æ¿é®å·é¢ç® |
| | | */ |
| | | @Override |
| | | public List<SvyLibTemplateScriptWjx> selectSvyLibTemplateScriptWjxList(SvyLibTemplateScriptWjx svyLibTemplateScriptWjx) { |
| | | return svyLibTemplateScriptWjxMapper.selectSvyLibTemplateScriptWjxList(svyLibTemplateScriptWjx); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿é®å·é¢ç® |
| | | * |
| | | * @param svyLibTemplateScriptWjx 模æ¿é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibTemplateScriptWjx(SvyLibTemplateScriptWjx svyLibTemplateScriptWjx) { |
| | | svyLibTemplateScriptWjx.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibTemplateScriptWjxMapper.insertSvyLibTemplateScriptWjx(svyLibTemplateScriptWjx); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿é®å·é¢ç® |
| | | * |
| | | * @param svyLibTemplateScriptWjx 模æ¿é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibTemplateScriptWjx(SvyLibTemplateScriptWjx svyLibTemplateScriptWjx) { |
| | | svyLibTemplateScriptWjx.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibTemplateScriptWjxMapper.updateSvyLibTemplateScriptWjx(svyLibTemplateScriptWjx); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿é®å·é¢ç® |
| | | * |
| | | * @param ids éè¦å é¤ç模æ¿é®å·é¢ç®ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTemplateScriptWjxByIds(Long[] ids) { |
| | | return svyLibTemplateScriptWjxMapper.deleteSvyLibTemplateScriptWjxByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿é®å·é¢ç®ä¿¡æ¯ |
| | | * |
| | | * @param id 模æ¿é®å·é¢ç®ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTemplateScriptWjxById(Long id) { |
| | | return svyLibTemplateScriptWjxMapper.deleteSvyLibTemplateScriptWjxById(id); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.SvyLibTemplateTargetoptionWjx; |
| | | import com.smartor.mapper.SvyLibTemplateTargetoptionWjxMapper; |
| | | import com.smartor.service.ISvyLibTemplateTargetoptionWjxService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é®å·é®é¢ææ é项åºServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-07-08 |
| | | */ |
| | | @Service |
| | | public class SvyLibTemplateTargetoptionWjxServiceImpl implements ISvyLibTemplateTargetoptionWjxService |
| | | { |
| | | @Autowired |
| | | private SvyLibTemplateTargetoptionWjxMapper svyLibTemplateTargetoptionWjxMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢ææ éé¡¹åº |
| | | * |
| | | * @param id é®å·é®é¢ææ é项åºä¸»é® |
| | | * @return é®å·é®é¢ææ éé¡¹åº |
| | | */ |
| | | @Override |
| | | public SvyLibTemplateTargetoptionWjx selectSvyLibTemplateTargetoptionWjxById(Long id) |
| | | { |
| | | return svyLibTemplateTargetoptionWjxMapper.selectSvyLibTemplateTargetoptionWjxById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢ææ é项åºå表 |
| | | * |
| | | * @param svyLibTemplateTargetoptionWjx é®å·é®é¢ææ éé¡¹åº |
| | | * @return é®å·é®é¢ææ éé¡¹åº |
| | | */ |
| | | @Override |
| | | public List<SvyLibTemplateTargetoptionWjx> selectSvyLibTemplateTargetoptionWjxList(SvyLibTemplateTargetoptionWjx svyLibTemplateTargetoptionWjx) |
| | | { |
| | | return svyLibTemplateTargetoptionWjxMapper.selectSvyLibTemplateTargetoptionWjxList(svyLibTemplateTargetoptionWjx); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·é®é¢ææ éé¡¹åº |
| | | * |
| | | * @param svyLibTemplateTargetoptionWjx é®å·é®é¢ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibTemplateTargetoptionWjx(SvyLibTemplateTargetoptionWjx svyLibTemplateTargetoptionWjx) |
| | | { |
| | | svyLibTemplateTargetoptionWjx.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibTemplateTargetoptionWjxMapper.insertSvyLibTemplateTargetoptionWjx(svyLibTemplateTargetoptionWjx); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é®é¢ææ éé¡¹åº |
| | | * |
| | | * @param svyLibTemplateTargetoptionWjx é®å·é®é¢ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibTemplateTargetoptionWjx(SvyLibTemplateTargetoptionWjx svyLibTemplateTargetoptionWjx) |
| | | { |
| | | svyLibTemplateTargetoptionWjx.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibTemplateTargetoptionWjxMapper.updateSvyLibTemplateTargetoptionWjx(svyLibTemplateTargetoptionWjx); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é®é¢ææ éé¡¹åº |
| | | * |
| | | * @param ids éè¦å é¤çé®å·é®é¢ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTemplateTargetoptionWjxByIds(Long[] ids) |
| | | { |
| | | return svyLibTemplateTargetoptionWjxMapper.deleteSvyLibTemplateTargetoptionWjxByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·é®é¢ææ é项åºä¿¡æ¯ |
| | | * |
| | | * @param id é®å·é®é¢ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTemplateTargetoptionWjxById(Long id) |
| | | { |
| | | return svyLibTemplateTargetoptionWjxMapper.deleteSvyLibTemplateTargetoptionWjxById(id); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.SvyLibTemplateWjx; |
| | | import com.smartor.mapper.SvyLibTemplateWjxMapper; |
| | | import com.smartor.service.ISvyLibTemplateWjxService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 模æ¿é®å·Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-07-08 |
| | | */ |
| | | @Service |
| | | public class SvyLibTemplateWjxServiceImpl implements ISvyLibTemplateWjxService |
| | | { |
| | | @Autowired |
| | | private SvyLibTemplateWjxMapper svyLibTemplateWjxMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å· |
| | | * |
| | | * @param svyid 模æ¿é®å·ä¸»é® |
| | | * @return 模æ¿é®å· |
| | | */ |
| | | @Override |
| | | public SvyLibTemplateWjx selectSvyLibTemplateWjxBySvyid(Long svyid) |
| | | { |
| | | return svyLibTemplateWjxMapper.selectSvyLibTemplateWjxBySvyid(svyid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¨¡æ¿é®å·å表 |
| | | * |
| | | * @param svyLibTemplateWjx 模æ¿é®å· |
| | | * @return 模æ¿é®å· |
| | | */ |
| | | @Override |
| | | public List<SvyLibTemplateWjx> selectSvyLibTemplateWjxList(SvyLibTemplateWjx svyLibTemplateWjx) |
| | | { |
| | | return svyLibTemplateWjxMapper.selectSvyLibTemplateWjxList(svyLibTemplateWjx); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¨¡æ¿é®å· |
| | | * |
| | | * @param svyLibTemplateWjx 模æ¿é®å· |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibTemplateWjx(SvyLibTemplateWjx svyLibTemplateWjx) |
| | | { |
| | | svyLibTemplateWjx.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibTemplateWjxMapper.insertSvyLibTemplateWjx(svyLibTemplateWjx); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿é®å· |
| | | * |
| | | * @param svyLibTemplateWjx 模æ¿é®å· |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibTemplateWjx(SvyLibTemplateWjx svyLibTemplateWjx) |
| | | { |
| | | svyLibTemplateWjx.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibTemplateWjxMapper.updateSvyLibTemplateWjx(svyLibTemplateWjx); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿¨¡æ¿é®å· |
| | | * |
| | | * @param svyids éè¦å é¤ç模æ¿é®å·ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTemplateWjxBySvyids(Long[] svyids) |
| | | { |
| | | return svyLibTemplateWjxMapper.deleteSvyLibTemplateWjxBySvyids(svyids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿é®å·ä¿¡æ¯ |
| | | * |
| | | * @param svyid 模æ¿é®å·ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTemplateWjxBySvyid(Long svyid) |
| | | { |
| | | return svyLibTemplateWjxMapper.deleteSvyLibTemplateWjxBySvyid(svyid); |
| | | } |
| | | } |
| | |
| | | <result property="guid" column="guid"/> |
| | | <result property="nodynamiccruxsJson" column="nodynamiccruxs"/> |
| | | <result property="dynamiccruxsJson" column="dynamiccruxs"/> |
| | | <result property="appendflag" column="appendflag"/> |
| | | <result property="appenddesc" column="appenddesc"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaScriptTargetoptionVo"> |
| | | select id, |
| | | targetid, |
| | | targetname, |
| | | appendflag, |
| | | appenddesc, |
| | | scriptid, |
| | | targettype, |
| | | categoryName, |
| | |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="nodynamiccruxsJson != null ">and nodynamiccruxs = #{nodynamiccruxsJson}</if> |
| | | <if test="dynamiccruxsJson != null ">and dynamiccruxs = #{dynamiccruxsJson}</if> |
| | | <if test="appendflag != null">and appendflag = #{appendflag}</if> |
| | | <if test="appenddesc != null">and appenddesc = #{appenddesc}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="guid != null">guid,</if> |
| | | <if test="nodynamiccruxsJson != null ">nodynamiccruxs,</if> |
| | | <if test="dynamiccruxsJson != null ">dynamiccruxs,</if> |
| | | <if test="appendflag != null">appendflag,</if> |
| | | <if test="appenddesc != null">appenddesc,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id},</if> |
| | |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="nodynamiccruxsJson != null ">#{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null ">#{dynamiccruxsJson},</if> |
| | | <if test="appendflag != null">#{appendflag},</if> |
| | | <if test="appenddesc != null">#{appenddesc},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="nodynamiccruxsJson != null ">nodynamiccruxs = #{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null ">dynamiccruxs = #{dynamiccruxsJson},</if> |
| | | <if test="appendflag != null">appendflag = #{appendflag},</if> |
| | | <if test="appenddesc != null">appenddesc = #{appenddesc},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="orderno" column="orderno"/> |
| | | <result property="appendflag" column="appendflag"/> |
| | | <result property="appenddesc" column="appenddesc"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTargetoptionVo"> |
| | | select targetoptionid, |
| | | targetid, |
| | | appendflag, |
| | | appenddesc, |
| | | targettype, |
| | | categoryName, |
| | | targetvalue, |
| | |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="nodynamiccruxsJson != null">and nodynamiccruxs = #{nodynamiccruxsJson}</if> |
| | | <if test="dynamiccruxsJson != null">and dynamiccruxs = #{dynamiccruxsJson}</if> |
| | | |
| | | <if test="appendflag != null">and appendflag = #{appendflag}</if> |
| | | <if test="appenddesc != null">and appenddesc = #{appenddesc}</if> |
| | | </where> |
| | | order by guid asc |
| | | </select> |
| | |
| | | <if test="nodynamiccruxsJson != null">nodynamiccruxs,</if> |
| | | <if test="dynamiccruxsJson != null">dynamiccruxs,</if> |
| | | <if test="orderno != null">orderno,</if> |
| | | <if test="appendflag != null">appendflag,</if> |
| | | <if test="appenddesc != null">appenddesc,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="targetid != null">#{targetid},</if> |
| | |
| | | <if test="nodynamiccruxsJson != null">#{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null">#{dynamiccruxsJson},</if> |
| | | <if test="orderno != null">#{orderno},</if> |
| | | <if test="appendflag != null">#{appendflag},</if> |
| | | <if test="appenddesc != null">#{appenddesc},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="nodynamiccruxsJson != null">nodynamiccruxs = #{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null">dynamiccruxs = #{dynamiccruxsJson},</if> |
| | | <if test="orderno != null">orderno = #{orderno},</if> |
| | | <if test="appendflag != null">appendflag = #{appendflag},</if> |
| | | <if test="appenddesc != null">appenddesc = #{appenddesc},</if> |
| | | </trim> |
| | | where targetoptionid = #{targetoptionid} |
| | | </update> |
| | |
| | | <result property="guid" column="guid"/> |
| | | <result property="scriptid" column="scriptid"/> |
| | | <result property="nextQuestion" column="next_question"/> |
| | | <result property="appendflag" column="appendflag"/> |
| | | <result property="appenddesc" column="appenddesc"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTemplateTargetoptionVo"> |
| | | select id, |
| | | targetid, |
| | | appendflag, |
| | | appenddesc, |
| | | scriptid, |
| | | targetname, |
| | | templateID, |
| | |
| | | dynamiccruxs, |
| | | targetid, |
| | | next_question, |
| | | optiondesc, language, version, groupid, isabnormal, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid |
| | | optiondesc, language, version, groupid, isabnormal, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid |
| | | from ivr_liba_template_targetoption |
| | | </sql> |
| | | |
| | |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="nodynamiccruxsJson != null ">and nodynamiccruxs = #{nodynamiccruxsJson}</if> |
| | | <if test="dynamiccruxsJson != null ">and dynamiccruxs = #{dynamiccruxsJson}</if> |
| | | <if test="appendflag != null">and appendflag = #{appendflag}</if> |
| | | <if test="appenddesc != null">and appenddesc = #{appenddesc}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="nextQuestion != null">next_question,</if> |
| | | <if test="nodynamiccruxsJson != null ">nodynamiccruxs,</if> |
| | | <if test="dynamiccruxsJson != null ">dynamiccruxs,</if> |
| | | <if test="appendflag != null">appendflag,</if> |
| | | <if test="appenddesc != null">appenddesc,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="targetid != null">#{targetid},</if> |
| | |
| | | <if test="nextQuestion != null">#{nextQuestion},</if> |
| | | <if test="nodynamiccruxsJson != null ">#{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null ">#{dynamiccruxsJson},</if> |
| | | <if test="appendflag != null">#{appendflag},</if> |
| | | <if test="appenddesc != null">#{appenddesc},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="nextQuestion != null">next_question = #{nextQuestion},</if> |
| | | <if test="nodynamiccruxsJson != null ">nodynamiccruxs = #{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null ">dynamiccruxs = #{dynamiccruxsJson},</if> |
| | | <if test="appendflag != null">appendflag = #{appendflag},</if> |
| | | <if test="appenddesc != null">appenddesc = #{appenddesc},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="appendflag" column="appendflag"/> |
| | | <result property="appenddesc" column="appenddesc"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibScriptOptionVo"> |
| | | select id, |
| | | topicid, |
| | | svyid, |
| | | appendflag, |
| | | appenddesc, |
| | | topictype, |
| | | optioncode, |
| | | optioncontent, |
| | |
| | | <if test="oldid != null ">and oldid = #{oldid}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="appendflag != null">and appendflag = #{appendflag}</if> |
| | | <if test="appenddesc != null">and appenddesc = #{appenddesc}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="appendflag != null">appendflag,</if> |
| | | <if test="appenddesc != null">appenddesc,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="topicid != null">#{topicid},</if> |
| | |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="appendflag != null">#{appendflag},</if> |
| | | <if test="appenddesc != null">#{appenddesc},</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="appendflag != null">appendflag = #{appendflag},</if> |
| | | <if test="appenddesc != null">appenddesc = #{appenddesc},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </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.SvyLibTemplateScriptWjxMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.SvyLibTemplateScriptWjx" id="SvyLibTemplateScriptWjxResult"> |
| | | <result property="id" column="id" /> |
| | | <result property="oldid" column="oldid" /> |
| | | <result property="svyid" column="svyid" /> |
| | | <result property="scriptType" column="script_type" /> |
| | | <result property="scriptTopic" column="script_topic" /> |
| | | <result property="script" column="script" /> |
| | | <result property="scriptContent" column="script_content" /> |
| | | <result property="seqno" column="seqno" /> |
| | | <result property="scriptPicture" column="script_picture" /> |
| | | <result property="tag" column="tag" /> |
| | | <result property="sort" column="sort" /> |
| | | <result property="ismandatory" column="ismandatory" /> |
| | | <result property="ishide" column="ishide" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <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="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | <result property="svyTopicid" column="svy_topicid" /> |
| | | <result property="pid" column="pid" /> |
| | | <result property="guid" column="guid" /> |
| | | <result property="categoryid" column="categoryid" /> |
| | | <result property="suitway" column="suitway" /> |
| | | <result property="isavailable" column="isavailable" /> |
| | | <result property="language" column="language" /> |
| | | <result property="otherdata" column="otherdata" /> |
| | | <result property="valueType" column="value_type" /> |
| | | <result property="reply" column="reply" /> |
| | | <result property="scoretype" column="scoretype" /> |
| | | <result property="score" column="score" /> |
| | | <result property="scriptDesc" column="script_desc" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTemplateScriptWjxVo"> |
| | | select id, oldid, svyid, script_type, script_topic, script, script_content, seqno, script_picture, tag, sort, ismandatory, ishide, del_flag, orgid, create_by, create_time, update_by, update_time, isupload, upload_time, svy_topicid, pid, guid, categoryid, suitway, isavailable, language, otherdata, value_type, reply, scoretype, score, script_desc from svy_lib_template_script_wjx |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibTemplateScriptWjxList" parameterType="com.smartor.domain.SvyLibTemplateScriptWjx" resultMap="SvyLibTemplateScriptWjxResult"> |
| | | <include refid="selectSvyLibTemplateScriptWjxVo"/> |
| | | <where> |
| | | <if test="oldid != null "> and oldid = #{oldid}</if> |
| | | <if test="svyid != null "> and svyid = #{svyid}</if> |
| | | <if test="scriptType != null and scriptType != ''"> and script_type = #{scriptType}</if> |
| | | <if test="scriptTopic != null and scriptTopic != ''"> and script_topic = #{scriptTopic}</if> |
| | | <if test="script != null and script != ''"> and script = #{script}</if> |
| | | <if test="scriptContent != null and scriptContent != ''"> and script_content = #{scriptContent}</if> |
| | | <if test="seqno != null and seqno != ''"> and seqno = #{seqno}</if> |
| | | <if test="scriptPicture != null and scriptPicture != ''"> and script_picture = #{scriptPicture}</if> |
| | | <if test="tag != null and tag != ''"> and tag = #{tag}</if> |
| | | <if test="sort != null "> and sort = #{sort}</if> |
| | | <if test="ismandatory != null and ismandatory != ''"> and ismandatory = #{ismandatory}</if> |
| | | <if test="ishide != null "> and ishide = #{ishide}</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="svyTopicid != null "> and svy_topicid = #{svyTopicid}</if> |
| | | <if test="pid != null "> and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''"> and guid = #{guid}</if> |
| | | <if test="categoryid != null "> and categoryid = #{categoryid}</if> |
| | | <if test="suitway != null and suitway != ''"> and suitway = #{suitway}</if> |
| | | <if test="isavailable != null and isavailable != ''"> and isavailable = #{isavailable}</if> |
| | | <if test="language != null and language != ''"> and language = #{language}</if> |
| | | <if test="otherdata != null and otherdata != ''"> and otherdata = #{otherdata}</if> |
| | | <if test="valueType != null and valueType != ''"> and value_type = #{valueType}</if> |
| | | <if test="reply != null and reply != ''"> and reply = #{reply}</if> |
| | | <if test="scoretype != null and scoretype != ''"> and scoretype = #{scoretype}</if> |
| | | <if test="score != null and score != ''"> and score = #{score}</if> |
| | | <if test="scriptDesc != null and scriptDesc != ''"> and script_desc = #{scriptDesc}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibTemplateScriptWjxById" parameterType="Long" resultMap="SvyLibTemplateScriptWjxResult"> |
| | | <include refid="selectSvyLibTemplateScriptWjxVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibTemplateScriptWjx" parameterType="com.smartor.domain.SvyLibTemplateScriptWjx" useGeneratedKeys="true" keyProperty="id"> |
| | | insert into svy_lib_template_script_wjx |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="oldid != null">oldid,</if> |
| | | <if test="svyid != null">svyid,</if> |
| | | <if test="scriptType != null">script_type,</if> |
| | | <if test="scriptTopic != null">script_topic,</if> |
| | | <if test="script != null">script,</if> |
| | | <if test="scriptContent != null">script_content,</if> |
| | | <if test="seqno != null">seqno,</if> |
| | | <if test="scriptPicture != null">script_picture,</if> |
| | | <if test="tag != null">tag,</if> |
| | | <if test="sort != null">sort,</if> |
| | | <if test="ismandatory != null">ismandatory,</if> |
| | | <if test="ishide != null">ishide,</if> |
| | | <if test="delFlag != null">del_flag,</if> |
| | | <if test="orgid != null">orgid,</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="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="svyTopicid != null">svy_topicid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="categoryid != null">categoryid,</if> |
| | | <if test="suitway != null">suitway,</if> |
| | | <if test="isavailable != null">isavailable,</if> |
| | | <if test="language != null">language,</if> |
| | | <if test="otherdata != null">otherdata,</if> |
| | | <if test="valueType != null">value_type,</if> |
| | | <if test="reply != null">reply,</if> |
| | | <if test="scoretype != null">scoretype,</if> |
| | | <if test="score != null">score,</if> |
| | | <if test="scriptDesc != null">script_desc,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="oldid != null">#{oldid},</if> |
| | | <if test="svyid != null">#{svyid},</if> |
| | | <if test="scriptType != null">#{scriptType},</if> |
| | | <if test="scriptTopic != null">#{scriptTopic},</if> |
| | | <if test="script != null">#{script},</if> |
| | | <if test="scriptContent != null">#{scriptContent},</if> |
| | | <if test="seqno != null">#{seqno},</if> |
| | | <if test="scriptPicture != null">#{scriptPicture},</if> |
| | | <if test="tag != null">#{tag},</if> |
| | | <if test="sort != null">#{sort},</if> |
| | | <if test="ismandatory != null">#{ismandatory},</if> |
| | | <if test="ishide != null">#{ishide},</if> |
| | | <if test="delFlag != null">#{delFlag},</if> |
| | | <if test="orgid != null">#{orgid},</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="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="svyTopicid != null">#{svyTopicid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="categoryid != null">#{categoryid},</if> |
| | | <if test="suitway != null">#{suitway},</if> |
| | | <if test="isavailable != null">#{isavailable},</if> |
| | | <if test="language != null">#{language},</if> |
| | | <if test="otherdata != null">#{otherdata},</if> |
| | | <if test="valueType != null">#{valueType},</if> |
| | | <if test="reply != null">#{reply},</if> |
| | | <if test="scoretype != null">#{scoretype},</if> |
| | | <if test="score != null">#{score},</if> |
| | | <if test="scriptDesc != null">#{scriptDesc},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibTemplateScriptWjx" parameterType="com.smartor.domain.SvyLibTemplateScriptWjx"> |
| | | update svy_lib_template_script_wjx |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="oldid != null">oldid = #{oldid},</if> |
| | | <if test="svyid != null">svyid = #{svyid},</if> |
| | | <if test="scriptType != null">script_type = #{scriptType},</if> |
| | | <if test="scriptTopic != null">script_topic = #{scriptTopic},</if> |
| | | <if test="script != null">script = #{script},</if> |
| | | <if test="scriptContent != null">script_content = #{scriptContent},</if> |
| | | <if test="seqno != null">seqno = #{seqno},</if> |
| | | <if test="scriptPicture != null">script_picture = #{scriptPicture},</if> |
| | | <if test="tag != null">tag = #{tag},</if> |
| | | <if test="sort != null">sort = #{sort},</if> |
| | | <if test="ismandatory != null">ismandatory = #{ismandatory},</if> |
| | | <if test="ishide != null">ishide = #{ishide},</if> |
| | | <if test="delFlag != null">del_flag = #{delFlag},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</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="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="svyTopicid != null">svy_topicid = #{svyTopicid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="categoryid != null">categoryid = #{categoryid},</if> |
| | | <if test="suitway != null">suitway = #{suitway},</if> |
| | | <if test="isavailable != null">isavailable = #{isavailable},</if> |
| | | <if test="language != null">language = #{language},</if> |
| | | <if test="otherdata != null">otherdata = #{otherdata},</if> |
| | | <if test="valueType != null">value_type = #{valueType},</if> |
| | | <if test="reply != null">reply = #{reply},</if> |
| | | <if test="scoretype != null">scoretype = #{scoretype},</if> |
| | | <if test="score != null">score = #{score},</if> |
| | | <if test="scriptDesc != null">script_desc = #{scriptDesc},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibTemplateScriptWjxById" parameterType="Long"> |
| | | delete from svy_lib_template_script_wjx where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyLibTemplateScriptWjxByIds" parameterType="String"> |
| | | delete from svy_lib_template_script_wjx where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | |
| | | <result property="guid" column="guid"/> |
| | | <result property="picturePath" column="picture_path"/> |
| | | <result property="score" column="score"/> |
| | | <result property="appendflag" column="appendflag"/> |
| | | <result property="appenddesc" column="appenddesc"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTemplateTargetoptionVo"> |
| | | select id, |
| | | groupid, |
| | | score, |
| | | appendflag, |
| | | appenddesc, |
| | | categoryName, |
| | | scriptid, |
| | | templateID, |
| | |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="score != null and score != ''">and score = #{score}</if> |
| | | <if test="picturePath != null and picturePath != ''">and picture_path = #{picturePath}</if> |
| | | <if test="appendflag != null">and appendflag = #{appendflag}</if> |
| | | <if test="appenddesc != null">and appenddesc = #{appenddesc}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="guid != null">guid,</if> |
| | | <if test="picturePath != null">picture_path,</if> |
| | | <if test="score != null">score,</if> |
| | | <if test="appendflag != null">appendflag,</if> |
| | | <if test="appenddesc != null">appenddesc,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="groupid != null">#{groupid},</if> |
| | |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="picturePath != null">#{picturePath},</if> |
| | | <if test="score != null">#{score},</if> |
| | | <if test="appendflag != null">#{appendflag},</if> |
| | | <if test="appenddesc != null">#{appenddesc},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="picturePath != null">picture_path = #{picturePath},</if> |
| | | <if test="score != null">score = #{score},</if> |
| | | <if test="appendflag != null">appendflag = #{appendflag},</if> |
| | | <if test="appenddesc != null">appenddesc = #{appenddesc},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </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.SvyLibTemplateTargetoptionWjxMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.SvyLibTemplateTargetoptionWjx" id="SvyLibTemplateTargetoptionWjxResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="groupid" column="groupid"/> |
| | | <result property="categoryName" column="categoryName"/> |
| | | <result property="scriptid" column="scriptid"/> |
| | | <result property="templateID" column="templateID"/> |
| | | <result property="targettype" column="targettype"/> |
| | | <result property="targetid" column="targetid"/> |
| | | <result property="targetname" column="targetname"/> |
| | | <result property="targetvalue" column="targetvalue"/> |
| | | <result property="isabnormal" column="isabnormal"/> |
| | | <result property="warnup" column="warnup"/> |
| | | <result property="warndown" column="warndown"/> |
| | | <result property="targetregex" column="targetregex"/> |
| | | <result property="targetregex2" column="targetregex2"/> |
| | | <result property="dynamiccruxs" column="dynamiccruxs"/> |
| | | <result property="nodynamiccruxs" column="nodynamiccruxs"/> |
| | | <result property="optioncontent" column="optioncontent"/> |
| | | <result property="nextQuestion" column="next_question"/> |
| | | <result property="language" column="language"/> |
| | | <result property="version" column="version"/> |
| | | <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="picturePath" column="picture_path"/> |
| | | <result property="score" column="score"/> |
| | | <result property="appendflag" column="appendflag"/> |
| | | <result property="appenddesc" column="appenddesc"/> |
| | | <result property="sort" column="sort"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTemplateTargetoptionWjxVo"> |
| | | select id, |
| | | groupid, |
| | | sort, |
| | | categoryName, |
| | | scriptid, |
| | | templateID, |
| | | targettype, |
| | | targetid, |
| | | targetname, |
| | | targetvalue, |
| | | isabnormal, |
| | | warnup, |
| | | warndown, |
| | | targetregex, |
| | | targetregex2, |
| | | dynamiccruxs, |
| | | nodynamiccruxs, |
| | | optioncontent, |
| | | next_question, language, version, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, picture_path, score, appendflag, appenddesc |
| | | from svy_lib_template_targetoption_wjx |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibTemplateTargetoptionWjxList" |
| | | parameterType="com.smartor.domain.SvyLibTemplateTargetoptionWjx" |
| | | resultMap="SvyLibTemplateTargetoptionWjxResult"> |
| | | <include refid="selectSvyLibTemplateTargetoptionWjxVo"/> |
| | | <where> |
| | | <if test="groupid != null and groupid != ''">and groupid = #{groupid}</if> |
| | | <if test="categoryName != null and categoryName != ''">and categoryName like concat('%', #{categoryName}, |
| | | '%') |
| | | </if> |
| | | <if test="scriptid != null ">and scriptid = #{scriptid}</if> |
| | | <if test="templateID != null ">and templateID = #{templateID}</if> |
| | | <if test="targettype != null and targettype != ''">and targettype = #{targettype}</if> |
| | | <if test="targetid != null ">and targetid = #{targetid}</if> |
| | | <if test="targetname != null and targetname != ''">and targetname like concat('%', #{targetname}, '%')</if> |
| | | <if test="targetvalue != null and targetvalue != ''">and targetvalue = #{targetvalue}</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="targetregex != null and targetregex != ''">and targetregex = #{targetregex}</if> |
| | | <if test="targetregex2 != null and targetregex2 != ''">and targetregex2 = #{targetregex2}</if> |
| | | <if test="dynamiccruxs != null and dynamiccruxs != ''">and dynamiccruxs = #{dynamiccruxs}</if> |
| | | <if test="nodynamiccruxs != null and nodynamiccruxs != ''">and nodynamiccruxs = #{nodynamiccruxs}</if> |
| | | <if test="optioncontent != null and optioncontent != ''">and optioncontent = #{optioncontent}</if> |
| | | <if test="nextQuestion != null ">and next_question = #{nextQuestion}</if> |
| | | <if test="language != null and language != ''">and language = #{language}</if> |
| | | <if test="version != null and version != ''">and version = #{version}</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="picturePath != null and picturePath != ''">and picture_path = #{picturePath}</if> |
| | | <if test="score != null and score != ''">and score = #{score}</if> |
| | | <if test="appendflag != null and appendflag != ''">and appendflag = #{appendflag}</if> |
| | | <if test="appenddesc != null and appenddesc != ''">and appenddesc = #{appenddesc}</if> |
| | | <if test="sort != null">and sort = #{sort}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibTemplateTargetoptionWjxById" parameterType="Long" |
| | | resultMap="SvyLibTemplateTargetoptionWjxResult"> |
| | | <include refid="selectSvyLibTemplateTargetoptionWjxVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibTemplateTargetoptionWjx" parameterType="com.smartor.domain.SvyLibTemplateTargetoptionWjx" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into svy_lib_template_targetoption_wjx |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="groupid != null">groupid,</if> |
| | | <if test="categoryName != null">categoryName,</if> |
| | | <if test="scriptid != null">scriptid,</if> |
| | | <if test="templateID != null">templateID,</if> |
| | | <if test="targettype != null">targettype,</if> |
| | | <if test="targetid != null">targetid,</if> |
| | | <if test="targetname != null">targetname,</if> |
| | | <if test="targetvalue != null">targetvalue,</if> |
| | | <if test="isabnormal != null">isabnormal,</if> |
| | | <if test="warnup != null">warnup,</if> |
| | | <if test="warndown != null">warndown,</if> |
| | | <if test="targetregex != null">targetregex,</if> |
| | | <if test="targetregex2 != null">targetregex2,</if> |
| | | <if test="dynamiccruxs != null">dynamiccruxs,</if> |
| | | <if test="nodynamiccruxs != null">nodynamiccruxs,</if> |
| | | <if test="optioncontent != null">optioncontent,</if> |
| | | <if test="nextQuestion != null">next_question,</if> |
| | | <if test="language != null">language,</if> |
| | | <if test="version != null">version,</if> |
| | | <if test="delFlag != null">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="picturePath != null">picture_path,</if> |
| | | <if test="score != null">score,</if> |
| | | <if test="appendflag != null">appendflag,</if> |
| | | <if test="appenddesc != null">appenddesc,</if> |
| | | <if test="sort != null">sort,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="groupid != null">#{groupid},</if> |
| | | <if test="categoryName != null">#{categoryName},</if> |
| | | <if test="scriptid != null">#{scriptid},</if> |
| | | <if test="templateID != null">#{templateID},</if> |
| | | <if test="targettype != null">#{targettype},</if> |
| | | <if test="targetid != null">#{targetid},</if> |
| | | <if test="targetname != null">#{targetname},</if> |
| | | <if test="targetvalue != null">#{targetvalue},</if> |
| | | <if test="isabnormal != null">#{isabnormal},</if> |
| | | <if test="warnup != null">#{warnup},</if> |
| | | <if test="warndown != null">#{warndown},</if> |
| | | <if test="targetregex != null">#{targetregex},</if> |
| | | <if test="targetregex2 != null">#{targetregex2},</if> |
| | | <if test="dynamiccruxs != null">#{dynamiccruxs},</if> |
| | | <if test="nodynamiccruxs != null">#{nodynamiccruxs},</if> |
| | | <if test="optioncontent != null">#{optioncontent},</if> |
| | | <if test="nextQuestion != null">#{nextQuestion},</if> |
| | | <if test="language != null">#{language},</if> |
| | | <if test="version != null">#{version},</if> |
| | | <if test="delFlag != null">#{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="picturePath != null">#{picturePath},</if> |
| | | <if test="score != null">#{score},</if> |
| | | <if test="appendflag != null">#{appendflag},</if> |
| | | <if test="appenddesc != null">#{appenddesc},</if> |
| | | <if test="sort != null">#{sort},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibTemplateTargetoptionWjx" parameterType="com.smartor.domain.SvyLibTemplateTargetoptionWjx"> |
| | | update svy_lib_template_targetoption_wjx |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="groupid != null">groupid = #{groupid},</if> |
| | | <if test="categoryName != null">categoryName = #{categoryName},</if> |
| | | <if test="scriptid != null">scriptid = #{scriptid},</if> |
| | | <if test="templateID != null">templateID = #{templateID},</if> |
| | | <if test="targettype != null">targettype = #{targettype},</if> |
| | | <if test="targetid != null">targetid = #{targetid},</if> |
| | | <if test="targetname != null">targetname = #{targetname},</if> |
| | | <if test="targetvalue != null">targetvalue = #{targetvalue},</if> |
| | | <if test="isabnormal != null">isabnormal = #{isabnormal},</if> |
| | | <if test="warnup != null">warnup = #{warnup},</if> |
| | | <if test="warndown != null">warndown = #{warndown},</if> |
| | | <if test="targetregex != null">targetregex = #{targetregex},</if> |
| | | <if test="targetregex2 != null">targetregex2 = #{targetregex2},</if> |
| | | <if test="dynamiccruxs != null">dynamiccruxs = #{dynamiccruxs},</if> |
| | | <if test="nodynamiccruxs != null">nodynamiccruxs = #{nodynamiccruxs},</if> |
| | | <if test="optioncontent != null">optioncontent = #{optioncontent},</if> |
| | | <if test="nextQuestion != null">next_question = #{nextQuestion},</if> |
| | | <if test="language != null">language = #{language},</if> |
| | | <if test="version != null">version = #{version},</if> |
| | | <if test="delFlag != null">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="picturePath != null">picture_path = #{picturePath},</if> |
| | | <if test="score != null">score = #{score},</if> |
| | | <if test="appendflag != null">appendflag = #{appendflag},</if> |
| | | <if test="appenddesc != null">appenddesc = #{appenddesc},</if> |
| | | <if test="sort != null">sort = #{sort},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibTemplateTargetoptionWjxById" parameterType="Long"> |
| | | delete |
| | | from svy_lib_template_targetoption_wjx |
| | | where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyLibTemplateTargetoptionWjxByIds" parameterType="String"> |
| | | delete from svy_lib_template_targetoption_wjx 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.SvyLibTemplateWjxMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.SvyLibTemplateWjx" id="SvyLibTemplateWjxResult"> |
| | | <result property="svyid" column="svyid"/> |
| | | <result property="templateid" column="templateid"/> |
| | | <result property="categoryid" column="categoryid"/> |
| | | <result property="svycode" column="svycode"/> |
| | | <result property="svyname" column="svyname"/> |
| | | <result property="description" column="description"/> |
| | | <result property="introduce" column="introduce"/> |
| | | <result property="submitprompt" column="submitprompt"/> |
| | | <result property="tag" column="tag"/> |
| | | <result property="version" column="version"/> |
| | | <result property="centerlibrarycode" column="centerlibrarycode"/> |
| | | <result property="centerlibraryid" column="centerlibraryid"/> |
| | | <result property="islocal" column="islocal"/> |
| | | <result property="isenable" column="isenable"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <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="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="topicid" column="topicid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="deptNames" column="dept_names"/> |
| | | <result property="labelInfo" column="label_info"/> |
| | | <result property="campus" column="campus"/> |
| | | <result property="suitway" column="suitway"/> |
| | | <result property="otherdata" column="otherdata"/> |
| | | <result property="valueType" column="value_type"/> |
| | | <result property="reply" column="reply"/> |
| | | <result property="scriptScore" column="script_score"/> |
| | | <result property="scoreType" column="score_type"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTemplateWjxVo"> |
| | | select svyid, |
| | | templateid, |
| | | categoryid, |
| | | svycode, |
| | | svyname, |
| | | description, |
| | | introduce, |
| | | submitprompt, |
| | | tag, |
| | | version, |
| | | centerlibrarycode, |
| | | centerlibraryid, |
| | | islocal, |
| | | isenable, |
| | | orgid, |
| | | del_flag, |
| | | create_by, |
| | | create_time, |
| | | update_by, |
| | | update_time, |
| | | isupload, |
| | | upload_time, |
| | | topicid, |
| | | pid, |
| | | guid, |
| | | dept_names, |
| | | label_info, |
| | | campus, |
| | | suitway, |
| | | otherdata, |
| | | value_type, |
| | | reply, |
| | | script_score, |
| | | score_type |
| | | from svy_lib_template_wjx |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibTemplateWjxList" parameterType="com.smartor.domain.SvyLibTemplateWjx" |
| | | resultMap="SvyLibTemplateWjxResult"> |
| | | <include refid="selectSvyLibTemplateWjxVo"/> |
| | | <where> |
| | | <if test="templateid != null ">and templateid = #{templateid}</if> |
| | | <if test="categoryid != null ">and categoryid = #{categoryid}</if> |
| | | <if test="svycode != null and svycode != ''">and svycode = #{svycode}</if> |
| | | <if test="svyname != null and svyname != ''">and svyname like concat('%', #{svyname}, '%')</if> |
| | | <if test="description != null and description != ''">and description = #{description}</if> |
| | | <if test="introduce != null and introduce != ''">and introduce = #{introduce}</if> |
| | | <if test="submitprompt != null and submitprompt != ''">and submitprompt = #{submitprompt}</if> |
| | | <if test="tag != null and tag != ''">and tag = #{tag}</if> |
| | | <if test="version != null ">and version = #{version}</if> |
| | | <if test="centerlibrarycode != null and centerlibrarycode != ''">and centerlibrarycode = |
| | | #{centerlibrarycode} |
| | | </if> |
| | | <if test="centerlibraryid != null ">and centerlibraryid = #{centerlibraryid}</if> |
| | | <if test="islocal != null ">and islocal = #{islocal}</if> |
| | | <if test="isenable != null and isenable != ''">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="topicid != null and topicid != ''">and topicid = #{topicid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="deptNames != null and deptNames != ''">and dept_names = #{deptNames}</if> |
| | | <if test="labelInfo != null and labelInfo != ''">and label_info = #{labelInfo}</if> |
| | | <if test="campus != null and campus != ''">and campus = #{campus}</if> |
| | | <if test="suitway != null and suitway != ''">and suitway = #{suitway}</if> |
| | | <if test="otherdata != null and otherdata != ''">and otherdata = #{otherdata}</if> |
| | | <if test="valueType != null and valueType != ''">and value_type = #{valueType}</if> |
| | | <if test="reply != null and reply != ''">and reply = #{reply}</if> |
| | | <if test="scriptScore != null and scriptScore != ''">and script_score = #{scriptScore}</if> |
| | | <if test="scoreType != null and scoreType != ''">and score_type = #{scoreType}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibTemplateWjxBySvyid" parameterType="Long" resultMap="SvyLibTemplateWjxResult"> |
| | | <include refid="selectSvyLibTemplateWjxVo"/> |
| | | where svyid = #{svyid} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibTemplateWjx" parameterType="com.smartor.domain.SvyLibTemplateWjx" useGeneratedKeys="true" |
| | | keyProperty="svyid"> |
| | | insert into svy_lib_template_wjx |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="templateid != null">templateid,</if> |
| | | <if test="categoryid != null">categoryid,</if> |
| | | <if test="svycode != null">svycode,</if> |
| | | <if test="svyname != null">svyname,</if> |
| | | <if test="description != null">description,</if> |
| | | <if test="introduce != null">introduce,</if> |
| | | <if test="submitprompt != null">submitprompt,</if> |
| | | <if test="tag != null">tag,</if> |
| | | <if test="version != null">version,</if> |
| | | <if test="centerlibrarycode != null">centerlibrarycode,</if> |
| | | <if test="centerlibraryid != null">centerlibraryid,</if> |
| | | <if test="islocal != null">islocal,</if> |
| | | <if test="isenable != null">isenable,</if> |
| | | <if test="orgid != null">orgid,</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="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="topicid != null">topicid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="deptNames != null">dept_names,</if> |
| | | <if test="labelInfo != null">label_info,</if> |
| | | <if test="campus != null">campus,</if> |
| | | <if test="suitway != null">suitway,</if> |
| | | <if test="otherdata != null">otherdata,</if> |
| | | <if test="valueType != null">value_type,</if> |
| | | <if test="reply != null">reply,</if> |
| | | <if test="scriptScore != null">script_score,</if> |
| | | <if test="scoreType != null">score_type,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="templateid != null">#{templateid},</if> |
| | | <if test="categoryid != null">#{categoryid},</if> |
| | | <if test="svycode != null">#{svycode},</if> |
| | | <if test="svyname != null">#{svyname},</if> |
| | | <if test="description != null">#{description},</if> |
| | | <if test="introduce != null">#{introduce},</if> |
| | | <if test="submitprompt != null">#{submitprompt},</if> |
| | | <if test="tag != null">#{tag},</if> |
| | | <if test="version != null">#{version},</if> |
| | | <if test="centerlibrarycode != null">#{centerlibrarycode},</if> |
| | | <if test="centerlibraryid != null">#{centerlibraryid},</if> |
| | | <if test="islocal != null">#{islocal},</if> |
| | | <if test="isenable != null">#{isenable},</if> |
| | | <if test="orgid != null">#{orgid},</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="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="topicid != null">#{topicid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="deptNames != null">#{deptNames},</if> |
| | | <if test="labelInfo != null">#{labelInfo},</if> |
| | | <if test="campus != null">#{campus},</if> |
| | | <if test="suitway != null">#{suitway},</if> |
| | | <if test="otherdata != null">#{otherdata},</if> |
| | | <if test="valueType != null">#{valueType},</if> |
| | | <if test="reply != null">#{reply},</if> |
| | | <if test="scriptScore != null">#{scriptScore},</if> |
| | | <if test="scoreType != null">#{scoreType},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibTemplateWjx" parameterType="com.smartor.domain.SvyLibTemplateWjx"> |
| | | update svy_lib_template_wjx |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="templateid != null">templateid = #{templateid},</if> |
| | | <if test="categoryid != null">categoryid = #{categoryid},</if> |
| | | <if test="svycode != null">svycode = #{svycode},</if> |
| | | <if test="svyname != null">svyname = #{svyname},</if> |
| | | <if test="description != null">description = #{description},</if> |
| | | <if test="introduce != null">introduce = #{introduce},</if> |
| | | <if test="submitprompt != null">submitprompt = #{submitprompt},</if> |
| | | <if test="tag != null">tag = #{tag},</if> |
| | | <if test="version != null">version = #{version},</if> |
| | | <if test="centerlibrarycode != null">centerlibrarycode = #{centerlibrarycode},</if> |
| | | <if test="centerlibraryid != null">centerlibraryid = #{centerlibraryid},</if> |
| | | <if test="islocal != null">islocal = #{islocal},</if> |
| | | <if test="isenable != null">isenable = #{isenable},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</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="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="topicid != null">topicid = #{topicid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="deptNames != null">dept_names = #{deptNames},</if> |
| | | <if test="labelInfo != null">label_info = #{labelInfo},</if> |
| | | <if test="campus != null">campus = #{campus},</if> |
| | | <if test="suitway != null">suitway = #{suitway},</if> |
| | | <if test="otherdata != null">otherdata = #{otherdata},</if> |
| | | <if test="valueType != null">value_type = #{valueType},</if> |
| | | <if test="reply != null">reply = #{reply},</if> |
| | | <if test="scriptScore != null">script_score = #{scriptScore},</if> |
| | | <if test="scoreType != null">score_type = #{scoreType},</if> |
| | | </trim> |
| | | where svyid = #{svyid} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibTemplateWjxBySvyid" parameterType="Long"> |
| | | delete |
| | | from svy_lib_template_wjx |
| | | where svyid = #{svyid} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyLibTemplateWjxBySvyids" parameterType="String"> |
| | | delete from svy_lib_template_wjx where svyid in |
| | | <foreach item="svyid" collection="array" open="(" separator="," close=")"> |
| | | #{svyid} |
| | | </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.SvyTaskTemplateScriptMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.SvyTaskTemplateScript" id="SvyTaskTemplateScriptResult"> |
| | | <result property="ID" column="ID" /> |
| | | <result property="taskid" column="taskid" /> |
| | | <result property="scriptno" column="scriptno" /> |
| | | <result property="templateID" column="templateID" /> |
| | | <result property="scriptid" column="scriptid" /> |
| | | <result property="scriptDesc" column="script_desc" /> |
| | | <result property="language" column="language" /> |
| | | <result property="categoryName" column="categoryName" /> |
| | | <result property="scriptPoint" column="script_point" /> |
| | | <result property="scriptContent" column="script_content" /> |
| | | <result property="scriptVoice" column="script_voice" /> |
| | | <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="isMust" column="is_must" /> |
| | | <result property="playWavOnly" column="playWavOnly" /> |
| | | <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="valueType" column="value_type" /> |
| | | <result property="targetOptions" column="targetOptions" /> |
| | | <result property="targettype" column="targettype" /> |
| | | <result property="targetid" column="targetid" /> |
| | | <result property="targetvalue" column="targetvalue" /> |
| | | <result property="nextScriptno" column="next_scriptno" /> |
| | | <result property="scriptResult" column="script_result" /> |
| | | <result property="otherdata" column="otherdata" /> |
| | | <result property="picturePath" column="picture_path" /> |
| | | <result property="sort" column="sort" /> |
| | | <result property="scriptTopic" column="script_topic" /> |
| | | <result property="ID" column="ID"/> |
| | | <result property="taskid" column="taskid"/> |
| | | <result property="scriptno" column="scriptno"/> |
| | | <result property="templateID" column="templateID"/> |
| | | <result property="scriptid" column="scriptid"/> |
| | | <result property="scriptDesc" column="script_desc"/> |
| | | <result property="language" column="language"/> |
| | | <result property="categoryName" column="categoryName"/> |
| | | <result property="scriptContent" column="script_content"/> |
| | | <result property="isMust" column="is_must"/> |
| | | <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="valueType" column="value_type"/> |
| | | <result property="targetOptions" column="targetOptions"/> |
| | | <result property="targettype" column="targettype"/> |
| | | <result property="targetid" column="targetid"/> |
| | | <result property="targetvalue" column="targetvalue"/> |
| | | <result property="nextScriptno" column="next_scriptno"/> |
| | | <result property="scriptResult" column="script_result"/> |
| | | <result property="otherdata" column="otherdata"/> |
| | | <result property="picturePath" column="picture_path"/> |
| | | <result property="sort" column="sort"/> |
| | | <result property="scriptTopic" column="script_topic"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyTaskTemplateScriptVo"> |
| | | select ID,sort,script_desc, taskid, scriptno, templateID, scriptid, script_topic, language, categoryName, script_point, script_content, script_voice, noMatchText, noMatchVoice, slienceText, slienceVoice, submoduleText, submoduleVoice, noClearlyText, noClearlyVoice, is_must, playWavOnly, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, value_type, targetOptions, targettype, targetid, targetvalue, next_scriptno, script_result, otherdata, picture_path from svy_task_template_script |
| | | select ID, |
| | | sort, |
| | | script_desc, |
| | | taskid, |
| | | scriptno, |
| | | templateID, |
| | | scriptid, |
| | | script_topic, language, categoryName, script_content, is_must, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, value_type, targetOptions, targettype, targetid, targetvalue, next_scriptno, script_result, otherdata, picture_path |
| | | from svy_task_template_script |
| | | </sql> |
| | | |
| | | <select id="selectSvyTaskTemplateScriptList" parameterType="com.smartor.domain.SvyTaskTemplateScript" resultMap="SvyTaskTemplateScriptResult"> |
| | | <select id="selectSvyTaskTemplateScriptList" parameterType="com.smartor.domain.SvyTaskTemplateScript" |
| | | resultMap="SvyTaskTemplateScriptResult"> |
| | | <include refid="selectSvyTaskTemplateScriptVo"/> |
| | | <where> |
| | | <if test="taskid != null "> and taskid = #{taskid}</if> |
| | | <if test="scriptno != null "> and scriptno = #{scriptno}</if> |
| | | <if test="templateID != null "> and templateID = #{templateID}</if> |
| | | <if test="scriptid != null "> and scriptid = #{scriptid}</if> |
| | | <if test="scriptDesc != null and scriptDesc != ''"> and script_desc = #{scriptDesc}</if> |
| | | <if test="language != null and language != ''"> and language = #{language}</if> |
| | | <if test="categoryName != null and categoryName != ''"> and categoryName like concat('%', #{categoryName}, '%')</if> |
| | | <if test="scriptPoint != null and scriptPoint != ''"> and script_point = #{scriptPoint}</if> |
| | | <if test="scriptContent != null and scriptContent != ''"> and script_content = #{scriptContent}</if> |
| | | <if test="scriptVoice != null and scriptVoice != ''"> and script_voice = #{scriptVoice}</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="isMust != null and isMust != ''"> and is_must = #{isMust}</if> |
| | | <if test="playWavOnly != null "> and playWavOnly = #{playWavOnly}</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="valueType != null "> and value_type = #{valueType}</if> |
| | | <if test="targetOptions != null and targetOptions != ''"> and targetOptions = #{targetOptions}</if> |
| | | <if test="targettype != null and targettype != ''"> and targettype = #{targettype}</if> |
| | | <if test="targetid != null "> and targetid = #{targetid}</if> |
| | | <if test="targetvalue != null and targetvalue != ''"> and targetvalue = #{targetvalue}</if> |
| | | <if test="nextScriptno != null "> and next_scriptno = #{nextScriptno}</if> |
| | | <if test="scriptResult != null and scriptResult != ''"> and script_result = #{scriptResult}</if> |
| | | <if test="otherdata != null and otherdata != ''"> and otherdata = #{otherdata}</if> |
| | | <if test="picturePath != null and picturePath != ''"> and picture_path = #{picturePath}</if> |
| | | <if test="scriptTopic != null and scriptTopic != ''"> and script_topic = #{scriptTopic}</if> |
| | | <if test="taskid != null ">and taskid = #{taskid}</if> |
| | | <if test="scriptno != null ">and scriptno = #{scriptno}</if> |
| | | <if test="templateID != null ">and templateID = #{templateID}</if> |
| | | <if test="scriptid != null ">and scriptid = #{scriptid}</if> |
| | | <if test="scriptDesc != null and scriptDesc != ''">and script_desc = #{scriptDesc}</if> |
| | | <if test="language != null and language != ''">and language = #{language}</if> |
| | | <if test="categoryName != null and categoryName != ''">and categoryName like concat('%', #{categoryName}, |
| | | '%') |
| | | </if> |
| | | <if test="scriptContent != null and scriptContent != ''">and script_content = #{scriptContent}</if> |
| | | <if test="isMust != null and isMust != ''">and is_must = #{isMust}</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="valueType != null ">and value_type = #{valueType}</if> |
| | | <if test="targetOptions != null and targetOptions != ''">and targetOptions = #{targetOptions}</if> |
| | | <if test="targettype != null and targettype != ''">and targettype = #{targettype}</if> |
| | | <if test="targetid != null ">and targetid = #{targetid}</if> |
| | | <if test="targetvalue != null and targetvalue != ''">and targetvalue = #{targetvalue}</if> |
| | | <if test="nextScriptno != null ">and next_scriptno = #{nextScriptno}</if> |
| | | <if test="scriptResult != null and scriptResult != ''">and script_result = #{scriptResult}</if> |
| | | <if test="otherdata != null and otherdata != ''">and otherdata = #{otherdata}</if> |
| | | <if test="picturePath != null and picturePath != ''">and picture_path = #{picturePath}</if> |
| | | <if test="scriptTopic != null and scriptTopic != ''">and script_topic = #{scriptTopic}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | where ID = #{ID} |
| | | </select> |
| | | |
| | | <insert id="insertSvyTaskTemplateScript" parameterType="com.smartor.domain.SvyTaskTemplateScript" useGeneratedKeys="true" keyProperty="ID"> |
| | | <insert id="insertSvyTaskTemplateScript" parameterType="com.smartor.domain.SvyTaskTemplateScript" |
| | | useGeneratedKeys="true" keyProperty="ID"> |
| | | insert into svy_task_template_script |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="taskid != null">taskid,</if> |
| | |
| | | <if test="scriptDesc != null">script_desc,</if> |
| | | <if test="language != null">language,</if> |
| | | <if test="categoryName != null">categoryName,</if> |
| | | <if test="scriptPoint != null">script_point,</if> |
| | | <if test="scriptContent != null">script_content,</if> |
| | | <if test="scriptVoice != null">script_voice,</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="isMust != null">is_must,</if> |
| | | <if test="playWavOnly != null">playWavOnly,</if> |
| | | <if test="delFlag != null">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | |
| | | <if test="picturePath != null">picture_path,</if> |
| | | <if test="sort != null">sort,</if> |
| | | <if test="scriptTopic != null">script_topic,</if> |
| | | </trim> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="taskid != null">#{taskid},</if> |
| | | <if test="scriptno != null">#{scriptno},</if> |
| | |
| | | <if test="scriptDesc != null">#{scriptDesc},</if> |
| | | <if test="language != null">#{language},</if> |
| | | <if test="categoryName != null">#{categoryName},</if> |
| | | <if test="scriptPoint != null">#{scriptPoint},</if> |
| | | <if test="scriptContent != null">#{scriptContent},</if> |
| | | <if test="scriptVoice != null">#{scriptVoice},</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="isMust != null">#{isMust},</if> |
| | | <if test="playWavOnly != null">#{playWavOnly},</if> |
| | | <if test="delFlag != null">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | |
| | | <if test="picturePath != null">#{picturePath},</if> |
| | | <if test="sort != null">#{sort},</if> |
| | | <if test="scriptTopic != null">#{scriptTopic},</if> |
| | | </trim> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyTaskTemplateScript" parameterType="com.smartor.domain.SvyTaskTemplateScript"> |
| | |
| | | <if test="scriptDesc != null">script_desc = #{scriptDesc},</if> |
| | | <if test="language != null">language = #{language},</if> |
| | | <if test="categoryName != null">categoryName = #{categoryName},</if> |
| | | <if test="scriptPoint != null">script_point = #{scriptPoint},</if> |
| | | <if test="scriptContent != null">script_content = #{scriptContent},</if> |
| | | <if test="scriptVoice != null">script_voice = #{scriptVoice},</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="isMust != null">is_must = #{isMust},</if> |
| | | <if test="playWavOnly != null">playWavOnly = #{playWavOnly},</if> |
| | | <if test="delFlag != null">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | |
| | | </update> |
| | | |
| | | <delete id="deleteSvyTaskTemplateScriptByID" parameterType="Long"> |
| | | delete from svy_task_template_script where ID = #{ID} |
| | | delete |
| | | from svy_task_template_script |
| | | where ID = #{ID} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyTaskTemplateScriptByIDs" parameterType="String"> |