已删除6个文件
已添加26个文件
已修改104个文件
已重命名1个文件
| | |
| | | <artifactId>spring-boot-devtools</artifactId> |
| | | <optional>true</optional> <!-- 表示ä¾èµä¸ä¼ä¼ é --> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-thymeleaf</artifactId> |
| | | </dependency> |
| | | |
| | | <!-- swagger3--> |
| | | <dependency> |
| | |
| | | " | | \\ / \\ / \n" + |
| | | " ''-' `'-' `-..-' "); |
| | | //å¼å¯SOCKET |
| | | new SocketCommunication().socketCommunication(); |
| | | // new SocketCommunication().socketCommunication(); |
| | | } |
| | | } |
| | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.smartor.domain.BaseTag; |
| | | import com.smartor.service.IBaseTagService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | @ApiOperation("æ¥è¯¢æ ç¾å表") |
| | | @PreAuthorize("@ss.hasPermi('system:tag:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(BaseTag baseTag) { |
| | | startPage(); |
| | | public TableDataInfo list(@RequestBody BaseTag baseTag) { |
| | | PageUtils.startPageByPost(baseTag.getPageNum(), baseTag.getPageSize()); |
| | | if (baseTag.getTagcategoryid() == 0) baseTag.setTagcategoryid(null); |
| | | List<BaseTag> list = baseTagService.selectBaseTagList(baseTag); |
| | | return getDataTable(list); |
| | | } |
| | |
| | | @ApiOperation("æ°å¢æ ç¾") |
| | | @PreAuthorize("@ss.hasPermi('system:tag:add')") |
| | | @Log(title = "æ ç¾", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody BaseTag baseTag) { |
| | | return toAjax(baseTagService.insertBaseTag(baseTag)); |
| | | } |
| | |
| | | @ApiOperation("ä¿®æ¹æ ç¾") |
| | | @PreAuthorize("@ss.hasPermi('system:tag:edit')") |
| | | @Log(title = "æ ç¾", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody BaseTag baseTag) { |
| | | return toAjax(baseTagService.updateBaseTag(baseTag)); |
| | | } |
| | |
| | | @ApiImplicitParam(name = "remove", value = "主é®ID", dataType = "long", dataTypeClass = Array.class) |
| | | @PreAuthorize("@ss.hasPermi('system:tag:remove')") |
| | | @Log(title = "æ ç¾", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{tagids}") |
| | | @GetMapping("/remove/{tagids}") |
| | | public AjaxResult remove(@PathVariable Long[] tagids) { |
| | | return toAjax(baseTagService.deleteBaseTagByTagids(tagids)); |
| | | } |
| | |
| | | * æ¥è¯¢æ ç¾åç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:tagcategory:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(BaseTagcategory baseTagcategory) { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody BaseTagcategory baseTagcategory) { |
| | | startPage(); |
| | | List<BaseTagcategory> list = baseTagcategoryService.selectBaseTagcategoryList(baseTagcategory); |
| | | return getDataTable(list); |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:tagcategory:add')") |
| | | @Log(title = "æ ç¾åç±»", businessType = BusinessType.INSERT) |
| | | @ApiOperation("æ°å¢æ ç¾åç±»") |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody BaseTagcategory baseTagcategory) { |
| | | return toAjax(baseTagcategoryService.insertBaseTagcategory(baseTagcategory)); |
| | | } |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:tagcategory:edit')") |
| | | @Log(title = "æ ç¾åç±»", businessType = BusinessType.UPDATE) |
| | | @ApiOperation("ä¿®æ¹æ ç¾åç±»") |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody BaseTagcategory baseTagcategory) { |
| | | return toAjax(baseTagcategoryService.updateBaseTagcategory(baseTagcategory)); |
| | | } |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:tagcategory:remove')") |
| | | @Log(title = "æ ç¾åç±»", businessType = BusinessType.DELETE) |
| | | @ApiOperation("æ ¹æ®åç±»IDå 餿 ç¾åç±»") |
| | | @DeleteMapping("/{tagcategoryids}") |
| | | @GetMapping("/remove/{tagcategoryids}") |
| | | public AjaxResult remove(@PathVariable Long[] tagcategoryids) { |
| | | return toAjax(baseTagcategoryService.deleteBaseTagcategoryByTagcategoryids(tagcategoryids)); |
| | | } |
| | |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | |
| | | * æ¥è¯¢ç¨æ·å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:info:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(BaseUserInfo baseUserInfo) { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody BaseUserInfo baseUserInfo) { |
| | | startPage(); |
| | | List<BaseUserInfo> list = baseUserInfoService.selectBaseUserInfoList(baseUserInfo); |
| | | return getDataTable(list); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:info:add')") |
| | | @Log(title = "ç¨æ·", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody BaseUserInfo baseUserInfo) { |
| | | return toAjax(baseUserInfoService.insertBaseUserInfo(baseUserInfo)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:info:edit')") |
| | | @Log(title = "ç¨æ·", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody BaseUserInfo baseUserInfo) { |
| | | return toAjax(baseUserInfoService.updateBaseUserInfo(baseUserInfo)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:info:remove')") |
| | | @Log(title = "ç¨æ·", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{userids}") |
| | | @GetMapping("/remove/{userids}") |
| | | public AjaxResult remove(@PathVariable Long[] userids) { |
| | | return toAjax(baseUserInfoService.deleteBaseUserInfoByUserids(userids)); |
| | | } |
| | |
| | | /** |
| | | * è·å人åçèç³»æ¹å¼ |
| | | * |
| | | * @param personNo 人åç¼å· |
| | | * @param personCode 人åç¼å· |
| | | * @param noticeWay éç¥æ¹å¼ |
| | | * @return |
| | | */ |
| | | @RequestMapping("/reportContent") |
| | | public AjaxResult getContact(String personCode, String noticeWay) { |
| | | @GetMapping("/reportContent") |
| | | public AjaxResult getContact(@RequestParam("personCode") String personCode, @RequestParam("noticeWay") String noticeWay) { |
| | | if (StringUtils.isEmpty(personCode) || StringUtils.isEmpty(noticeWay)) { |
| | | return error("è¾å
¥æè¯¯ï¼è¯·æ£æ¥"); |
| | | } |
| | |
| | | * æ¥è¯¢ã请填ååè½åç§°ãå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:equipmentinfo:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(Equipmentinfo equipmentinfo) { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody Equipmentinfo equipmentinfo) { |
| | | startPage(); |
| | | List<Equipmentinfo> list = equipmentinfoService.selectEquipmentinfoList(equipmentinfo); |
| | | return getDataTable(list); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:equipmentinfo:add')") |
| | | @Log(title = "ã请填ååè½åç§°ã", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody Equipmentinfo equipmentinfo) { |
| | | return toAjax(equipmentinfoService.insertEquipmentinfo(equipmentinfo)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:equipmentinfo:edit')") |
| | | @Log(title = "ã请填ååè½åç§°ã", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody Equipmentinfo equipmentinfo) { |
| | | return toAjax(equipmentinfoService.updateEquipmentinfo(equipmentinfo)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:equipmentinfo:remove')") |
| | | @Log(title = "ã请填ååè½åç§°ã", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(equipmentinfoService.deleteEquipmentinfoByIds(ids)); |
| | | } |
| | |
| | | package com.smartor.controller; |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.smartor.domain.HeCategoryVO; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | |
| | | |
| | | /** |
| | | * 宣æåç±»Controller |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | @Api("宣æåç±»(宣æç±»å«)") |
| | | @RestController |
| | | @RequestMapping("/smartor/hecategory") |
| | | public class HeCategoryController extends BaseController |
| | | { |
| | | public class HeCategoryController extends BaseController { |
| | | @Autowired |
| | | private IHeCategoryService heCategoryService; |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåç±»å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
æ¡£æ¡å表") |
| | | @ApiOperation("æ¥è¯¢å®£æåç±»å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:hecategory:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(HeCategory heCategory) |
| | | { |
| | | @PostMapping("/selectHeCategoryList") |
| | | public TableDataInfo selectHeCategorylist(@RequestBody HeCategory heCategory) { |
| | | startPage(); |
| | | List<HeCategory> list = heCategoryService.selectHeCategoryList(heCategory); |
| | | List<HeCategoryVO> list = heCategoryService.selectHeCategoryList(heCategory); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:hecategory:export')") |
| | | @Log(title = "宣æåç±»", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, HeCategory heCategory) |
| | | { |
| | | List<HeCategory> list = heCategoryService.selectHeCategoryList(heCategory); |
| | | ExcelUtil<HeCategory> util = new ExcelUtil<HeCategory>(HeCategory.class); |
| | | public void export(HttpServletResponse response, HeCategory heCategory) { |
| | | List<HeCategoryVO> list = heCategoryService.selectHeCategoryList(heCategory); |
| | | ExcelUtil<HeCategoryVO> util = new ExcelUtil<HeCategoryVO>(HeCategoryVO.class); |
| | | util.exportExcel(response, list, "宣æåç±»æ°æ®"); |
| | | } |
| | | |
| | |
| | | @ApiOperation("è·å宣æå类详ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:hecategory:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(heCategoryService.selectHeCategoryById(id)); |
| | | } |
| | | |
| | |
| | | @ApiOperation("æ°å¢å®£æåç±»") |
| | | @PreAuthorize("@ss.hasPermi('smartor:hecategory:add')") |
| | | @Log(title = "宣æåç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody HeCategory heCategory) |
| | | { |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody HeCategory heCategory) { |
| | | return toAjax(heCategoryService.insertHeCategory(heCategory)); |
| | | } |
| | | |
| | |
| | | @ApiOperation("ä¿®æ¹å®£æåç±»") |
| | | @PreAuthorize("@ss.hasPermi('smartor:hecategory:edit')") |
| | | @Log(title = "宣æåç±»", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody HeCategory heCategory) |
| | | { |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody HeCategory heCategory) { |
| | | return toAjax(heCategoryService.updateHeCategory(heCategory)); |
| | | } |
| | | |
| | |
| | | @ApiOperation("å é¤å®£æåç±»") |
| | | @PreAuthorize("@ss.hasPermi('smartor:hecategory:remove')") |
| | | @Log(title = "宣æåç±»", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(heCategoryService.deleteHeCategoryByIds(ids)); |
| | | } |
| | | } |
| | |
| | | * æ¥è¯¢å®£æåºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:helibrary:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(HeLocallibrary heLocallibrary) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody HeLocallibrary heLocallibrary) |
| | | { |
| | | startPage(); |
| | | List<HeLocallibrary> list = heLocallibraryService.selectHeLocallibraryList(heLocallibrary); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:helibrary:add')") |
| | | @Log(title = "宣æåº", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("add") |
| | | public AjaxResult add(@RequestBody HeLocallibrary heLocallibrary) |
| | | { |
| | | return toAjax(heLocallibraryService.insertHeLocallibrary(heLocallibrary)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:helibrary:edit')") |
| | | @Log(title = "宣æåº", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody HeLocallibrary heLocallibrary) |
| | | { |
| | | return toAjax(heLocallibraryService.updateHeLocallibrary(heLocallibrary)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:helibrary:remove')") |
| | | @Log(title = "宣æåº", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(heLocallibraryService.deleteHeLocallibraryByIds(ids)); |
| | |
| | | private IntelligenceCenterService intelligenceCenterService; |
| | | |
| | | @PostMapping("/processList") |
| | | public void processList(@RequestBody List<Map<String, Object>> list) { |
| | | public void processlist(@RequestBody List<Map<String, Object>> list) { |
| | | for (Map<String, Object> map : list) { |
| | | // éå list ä¸çæ¯ä¸ª map |
| | | for (Map.Entry<String, Object> entry : map.entrySet()) { |
| | |
| | | * æ¥è¯¢AIæå¾åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibIntent ivrLibIntent) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibIntent ivrLibIntent) |
| | | { |
| | | startPage(); |
| | | List<IvrLibIntent> list = ivrLibIntentService.selectIvrLibIntentList(ivrLibIntent); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:add')") |
| | | @Log(title = "AIæå¾åº", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibIntent ivrLibIntent) |
| | | { |
| | | return toAjax(ivrLibIntentService.insertIvrLibIntent(ivrLibIntent)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:edit')") |
| | | @Log(title = "AIæå¾åº", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibIntent ivrLibIntent) |
| | | { |
| | | return toAjax(ivrLibIntentService.updateIvrLibIntent(ivrLibIntent)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:remove')") |
| | | @Log(title = "AIæå¾åº", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{intentids}") |
| | | @GetMapping("/remove/{intentids}") |
| | | public AjaxResult remove(@PathVariable Long[] intentids) |
| | | { |
| | | return toAjax(ivrLibIntentService.deleteIvrLibIntentByIntentids(intentids)); |
| | |
| | | * æ¥è¯¢AIæå¾åºåç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibIntentcategory ivrLibIntentcategory) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibIntentcategory ivrLibIntentcategory) |
| | | { |
| | | startPage(); |
| | | List<IvrLibIntentcategory> list = ivrLibIntentcategoryService.selectIvrLibIntentcategoryList(ivrLibIntentcategory); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:add')") |
| | | @Log(title = "AIæå¾åºåç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibIntentcategory ivrLibIntentcategory) |
| | | { |
| | | return toAjax(ivrLibIntentcategoryService.insertIvrLibIntentcategory(ivrLibIntentcategory)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:edit')") |
| | | @Log(title = "AIæå¾åºåç±»", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibIntentcategory ivrLibIntentcategory) |
| | | { |
| | | return toAjax(ivrLibIntentcategoryService.updateIvrLibIntentcategory(ivrLibIntentcategory)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:remove')") |
| | | @Log(title = "AIæå¾åºåç±»", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{intertcatids}") |
| | | @GetMapping("/remove/{intertcatids}") |
| | | public AjaxResult remove(@PathVariable Long[] intertcatids) |
| | | { |
| | | return toAjax(ivrLibIntentcategoryService.deleteIvrLibIntentcategoryByIntertcatids(intertcatids)); |
| | |
| | | * æ¥è¯¢AIè¯æ¯åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscript:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibScript ivrLibScript) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibScript ivrLibScript) |
| | | { |
| | | startPage(); |
| | | List<IvrLibScript> list = ivrLibScriptService.selectIvrLibScriptList(ivrLibScript); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscript:add')") |
| | | @Log(title = "AIè¯æ¯åº", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibScript ivrLibScript) |
| | | { |
| | | return toAjax(ivrLibScriptService.insertIvrLibScript(ivrLibScript)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscript:edit')") |
| | | @Log(title = "AIè¯æ¯åº", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibScript ivrLibScript) |
| | | { |
| | | return toAjax(ivrLibScriptService.updateIvrLibScript(ivrLibScript)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscript:remove')") |
| | | @Log(title = "AIè¯æ¯åº", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{scriptids}") |
| | | @GetMapping("/remove/{scriptids}") |
| | | public AjaxResult remove(@PathVariable Long[] scriptids) |
| | | { |
| | | return toAjax(ivrLibScriptService.deleteIvrLibScriptByScriptids(scriptids)); |
| | |
| | | * æ¥è¯¢AIè¯æ¯åºåç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibScriptcategory ivrLibScriptcategory) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibScriptcategory ivrLibScriptcategory) |
| | | { |
| | | startPage(); |
| | | List<IvrLibScriptcategory> list = ivrLibScriptcategoryService.selectIvrLibScriptcategoryList(ivrLibScriptcategory); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:add')") |
| | | @Log(title = "AIè¯æ¯åºåç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibScriptcategory ivrLibScriptcategory) |
| | | { |
| | | return toAjax(ivrLibScriptcategoryService.insertIvrLibScriptcategory(ivrLibScriptcategory)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:edit')") |
| | | @Log(title = "AIè¯æ¯åºåç±»", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibScriptcategory ivrLibScriptcategory) |
| | | { |
| | | return toAjax(ivrLibScriptcategoryService.updateIvrLibScriptcategory(ivrLibScriptcategory)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:remove')") |
| | | @Log(title = "AIè¯æ¯åºåç±»", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{categoryids}") |
| | | @GetMapping("/remove/{categoryids}") |
| | | public AjaxResult remove(@PathVariable Long[] categoryids) |
| | | { |
| | | return toAjax(ivrLibScriptcategoryService.deleteIvrLibScriptcategoryByCategoryids(categoryids)); |
| | |
| | | * æ¥è¯¢AIè¯æ¯æ¨¡åå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptmodel:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibScriptmodel ivrLibScriptmodel) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibScriptmodel ivrLibScriptmodel) |
| | | { |
| | | startPage(); |
| | | List<IvrLibScriptmodel> list = ivrLibScriptmodelService.selectIvrLibScriptmodelList(ivrLibScriptmodel); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptmodel:add')") |
| | | @Log(title = "AIè¯æ¯æ¨¡å", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibScriptmodel ivrLibScriptmodel) |
| | | { |
| | | return toAjax(ivrLibScriptmodelService.insertIvrLibScriptmodel(ivrLibScriptmodel)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptmodel:edit')") |
| | | @Log(title = "AIè¯æ¯æ¨¡å", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibScriptmodel ivrLibScriptmodel) |
| | | { |
| | | return toAjax(ivrLibScriptmodelService.updateIvrLibScriptmodel(ivrLibScriptmodel)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptmodel:remove')") |
| | | @Log(title = "AIè¯æ¯æ¨¡å", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{modelids}") |
| | | @GetMapping("/remove/{modelids}") |
| | | public AjaxResult remove(@PathVariable Long[] modelids) |
| | | { |
| | | return toAjax(ivrLibScriptmodelService.deleteIvrLibScriptmodelByModelids(modelids)); |
| | |
| | | package com.smartor.controller; |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | |
| | | /** |
| | | * æ©å±è¯æ¯æ¨¡æ¿åºController |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/ivrextemplate") |
| | | public class IvrLibaExtemplateController extends BaseController |
| | | { |
| | | public class IvrLibaExtemplateController extends BaseController { |
| | | @Autowired |
| | | private IIvrLibaExtemplateService ivrLibaExtemplateService; |
| | | |
| | |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplate:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibaExtemplate ivrLibaExtemplate) |
| | | { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaExtemplate ivrLibaExtemplate) { |
| | | startPage(); |
| | | List<IvrLibaExtemplate> list = ivrLibaExtemplateService.selectIvrLibaExtemplateList(ivrLibaExtemplate); |
| | | return getDataTable(list); |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplate:export')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaExtemplate ivrLibaExtemplate) |
| | | { |
| | | public void export(HttpServletResponse response, IvrLibaExtemplate ivrLibaExtemplate) { |
| | | List<IvrLibaExtemplate> list = ivrLibaExtemplateService.selectIvrLibaExtemplateList(ivrLibaExtemplate); |
| | | ExcelUtil<IvrLibaExtemplate> util = new ExcelUtil<IvrLibaExtemplate>(IvrLibaExtemplate.class); |
| | | util.exportExcel(response, list, "æ©å±è¯æ¯æ¨¡æ¿åºæ°æ®"); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplate:query')") |
| | | @GetMapping(value = "/{subModuleID}") |
| | | public AjaxResult getInfo(@PathVariable("subModuleID") String subModuleID) |
| | | { |
| | | public AjaxResult getInfo(@PathVariable("subModuleID") String subModuleID) { |
| | | return success(ivrLibaExtemplateService.selectIvrLibaExtemplateBySubModuleID(subModuleID)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplate:add')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody IvrLibaExtemplate ivrLibaExtemplate) |
| | | { |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaExtemplate ivrLibaExtemplate) { |
| | | return toAjax(ivrLibaExtemplateService.insertIvrLibaExtemplate(ivrLibaExtemplate)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplate:edit')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody IvrLibaExtemplate ivrLibaExtemplate) |
| | | { |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaExtemplate ivrLibaExtemplate) { |
| | | return toAjax(ivrLibaExtemplateService.updateIvrLibaExtemplate(ivrLibaExtemplate)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplate:remove')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{subModuleIDs}") |
| | | public AjaxResult remove(@PathVariable String[] subModuleIDs) |
| | | { |
| | | @GetMapping("/remove/{subModuleIDs}") |
| | | public AjaxResult remove(@PathVariable String[] subModuleIDs) { |
| | | return toAjax(ivrLibaExtemplateService.deleteIvrLibaExtemplateBySubModuleIDs(subModuleIDs)); |
| | | } |
| | | } |
| | |
| | | package com.smartor.controller; |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | * æ¥è¯¢æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplatescript:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibaExtemplatescript ivrLibaExtemplatescript) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaExtemplatescript ivrLibaExtemplatescript) |
| | | { |
| | | startPage(); |
| | | List<IvrLibaExtemplatescript> list = ivrLibaExtemplatescriptService.selectIvrLibaExtemplatescriptList(ivrLibaExtemplatescript); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplatescript:add')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaExtemplatescript ivrLibaExtemplatescript) |
| | | { |
| | | return toAjax(ivrLibaExtemplatescriptService.insertIvrLibaExtemplatescript(ivrLibaExtemplatescript)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplatescript:edit')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaExtemplatescript ivrLibaExtemplatescript) |
| | | { |
| | | return toAjax(ivrLibaExtemplatescriptService.updateIvrLibaExtemplatescript(ivrLibaExtemplatescript)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrextemplatescript:remove')") |
| | | @Log(title = "æ©å±è¯æ¯æ¨¡æ¿åºè¯æ¯", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{DetailIDs}") |
| | | @GetMapping("/remove/{DetailIDs}") |
| | | public AjaxResult remove(@PathVariable String[] DetailIDs) |
| | | { |
| | | return toAjax(ivrLibaExtemplatescriptService.deleteIvrLibaExtemplatescriptByDetailIDs(DetailIDs)); |
| | |
| | | * æ¥è¯¢è¯æ¯åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibascript:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibaScript ivrLibaScript) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaScript ivrLibaScript) |
| | | { |
| | | startPage(); |
| | | List<IvrLibaScript> list = ivrLibaScriptService.selectIvrLibaScriptList(ivrLibaScript); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibascript:add')") |
| | | @Log(title = "è¯æ¯åº", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaScript ivrLibaScript) |
| | | { |
| | | return toAjax(ivrLibaScriptService.insertIvrLibaScript(ivrLibaScript)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibascript:edit')") |
| | | @Log(title = "è¯æ¯åº", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaScript ivrLibaScript) |
| | | { |
| | | return toAjax(ivrLibaScriptService.updateIvrLibaScript(ivrLibaScript)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrlibascript:remove')") |
| | | @Log(title = "è¯æ¯åº", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{questionids}") |
| | | @GetMapping("/remove/{questionids}") |
| | | public AjaxResult remove(@PathVariable String[] questionids) |
| | | { |
| | | return toAjax(ivrLibaScriptService.deleteIvrLibaScriptByQuestionids(questionids)); |
| | |
| | | * æ¥è¯¢è¯æ¯åºè¯æ¯ææ å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscripttarget:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibaScripttarget ivrLibaScripttarget) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaScripttarget ivrLibaScripttarget) |
| | | { |
| | | startPage(); |
| | | List<IvrLibaScripttarget> list = ivrLibaScripttargetService.selectIvrLibaScripttargetList(ivrLibaScripttarget); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscripttarget:add')") |
| | | @Log(title = "è¯æ¯åºè¯æ¯ææ ", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaScripttarget ivrLibaScripttarget) |
| | | { |
| | | return toAjax(ivrLibaScripttargetService.insertIvrLibaScripttarget(ivrLibaScripttarget)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscripttarget:edit')") |
| | | @Log(title = "è¯æ¯åºè¯æ¯ææ ", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaScripttarget ivrLibaScripttarget) |
| | | { |
| | | return toAjax(ivrLibaScripttargetService.updateIvrLibaScripttarget(ivrLibaScripttarget)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscripttarget:remove')") |
| | | @Log(title = "è¯æ¯åºè¯æ¯ææ ", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{questionTargetIDs}") |
| | | @GetMapping("/remove/{questionTargetIDs}") |
| | | public AjaxResult remove(@PathVariable String[] questionTargetIDs) |
| | | { |
| | | return toAjax(ivrLibaScripttargetService.deleteIvrLibaScripttargetByQuestionTargetIDs(questionTargetIDs)); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrLibaTargetAssort; |
| | | import com.smartor.domain.IvrLibaTargetAssortVO; |
| | | import com.smartor.service.IIvrLibaTargetAssortService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ææ åç±»Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/assort") |
| | | public class IvrLibaTargetAssortController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IIvrLibaTargetAssortService ivrLibaTargetAssortService; |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ åç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:assort:list')") |
| | | @PostMapping("/selectIvrLibaTargetAssortList") |
| | | public TableDataInfo list(@RequestBody IvrLibaTargetAssort ivrLibaTargetAssort) |
| | | { |
| | | PageUtils.startPageByPost(ivrLibaTargetAssort.getPageNum(),ivrLibaTargetAssort.getPageSize()); |
| | | List<IvrLibaTargetAssortVO> ivrLibaTargetAssortVOS = ivrLibaTargetAssortService.selectIvrLibaTargetAssortList(ivrLibaTargetAssort); |
| | | return getDataTable(ivrLibaTargetAssortVOS); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºææ åç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:assort:export')") |
| | | @Log(title = "ææ åç±»", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTargetAssort ivrLibaTargetAssort) |
| | | { |
| | | List<IvrLibaTargetAssortVO> list = ivrLibaTargetAssortService.selectIvrLibaTargetAssortList(ivrLibaTargetAssort); |
| | | ExcelUtil<IvrLibaTargetAssortVO> util = new ExcelUtil<IvrLibaTargetAssortVO>(IvrLibaTargetAssortVO.class); |
| | | util.exportExcel(response, list, "ææ åç±»æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åææ å类详ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:assort:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | return success(ivrLibaTargetAssortService.selectIvrLibaTargetAssortById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ææ åç±» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:assort:add')") |
| | | @Log(title = "ææ åç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTargetAssort ivrLibaTargetAssort) |
| | | { |
| | | return toAjax(ivrLibaTargetAssortService.insertIvrLibaTargetAssort(ivrLibaTargetAssort)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ åç±» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:assort:edit')") |
| | | @Log(title = "ææ åç±»", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTargetAssort ivrLibaTargetAssort) |
| | | { |
| | | return toAjax(ivrLibaTargetAssortService.updateIvrLibaTargetAssort(ivrLibaTargetAssort)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿æ åç±» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:assort:remove')") |
| | | @Log(title = "ææ åç±»", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(ivrLibaTargetAssortService.deleteIvrLibaTargetAssortByIds(ids)); |
| | | } |
| | | } |
| | |
| | | package com.smartor.controller; |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import cn.hutool.db.Page; |
| | | 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.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrLibaTarget; |
| | | import com.smartor.service.IIvrLibaTargetService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ææ åºController |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * ææ é项åºController |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/ivrtarget") |
| | | public class IvrLibaTargetController extends BaseController |
| | | { |
| | | @RequestMapping("/smartor/target") |
| | | public class IvrLibaTargetController extends BaseController { |
| | | @Autowired |
| | | private IIvrLibaTargetService ivrLibaTargetService; |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ åºå表 |
| | | * æ¥è¯¢ææ é项åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtarget:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibaTarget ivrLibaTarget) |
| | | { |
| | | startPage(); |
| | | @PreAuthorize("@ss.hasPermi('system:target:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTarget ivrLibaTarget) { |
| | | PageUtils.startPageByPost(ivrLibaTarget.getPageNum(),ivrLibaTarget.getPageSize()); |
| | | List<IvrLibaTarget> list = ivrLibaTargetService.selectIvrLibaTargetList(ivrLibaTarget); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºææ åºå表 |
| | | * å¯¼åºææ é项åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtarget:export')") |
| | | @Log(title = "ææ åº", businessType = BusinessType.EXPORT) |
| | | @PreAuthorize("@ss.hasPermi('system:target:export')") |
| | | @Log(title = "ææ é项åº", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTarget ivrLibaTarget) |
| | | { |
| | | public void export(HttpServletResponse response, IvrLibaTarget ivrLibaTarget) { |
| | | List<IvrLibaTarget> list = ivrLibaTargetService.selectIvrLibaTargetList(ivrLibaTarget); |
| | | ExcelUtil<IvrLibaTarget> util = new ExcelUtil<IvrLibaTarget>(IvrLibaTarget.class); |
| | | util.exportExcel(response, list, "ææ åºæ°æ®"); |
| | | util.exportExcel(response, list, "ææ éé¡¹åºæ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åææ åºè¯¦ç»ä¿¡æ¯ |
| | | * è·åææ é项åºè¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtarget:query')") |
| | | @GetMapping(value = "/{targetID}") |
| | | public AjaxResult getInfo(@PathVariable("targetID") String targetID) |
| | | { |
| | | @PreAuthorize("@ss.hasPermi('system:target:query')") |
| | | @GetMapping(value = "/getInfo/{targetID}") |
| | | public AjaxResult getInfo(@PathVariable("targetID") Long targetID) { |
| | | return success(ivrLibaTargetService.selectIvrLibaTargetByTargetID(targetID)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ææ åº |
| | | * æ°å¢ææ éé¡¹åº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtarget:add')") |
| | | @Log(title = "ææ åº", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody IvrLibaTarget ivrLibaTarget) |
| | | { |
| | | @PreAuthorize("@ss.hasPermi('system:target:add')") |
| | | @Log(title = "ææ é项åº", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTarget ivrLibaTarget) { |
| | | return toAjax(ivrLibaTargetService.insertIvrLibaTarget(ivrLibaTarget)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ åº |
| | | * ä¿®æ¹ææ éé¡¹åº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtarget:edit')") |
| | | @Log(title = "ææ åº", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody IvrLibaTarget ivrLibaTarget) |
| | | { |
| | | @PreAuthorize("@ss.hasPermi('system:target:edit')") |
| | | @Log(title = "ææ é项åº", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTarget ivrLibaTarget) { |
| | | return toAjax(ivrLibaTargetService.updateIvrLibaTarget(ivrLibaTarget)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿æ åº |
| | | * å 餿æ éé¡¹åº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtarget:remove')") |
| | | @Log(title = "ææ åº", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{targetIDs}") |
| | | public AjaxResult remove(@PathVariable String[] targetIDs) |
| | | { |
| | | @PreAuthorize("@ss.hasPermi('system:target:remove')") |
| | | @Log(title = "ææ é项åº", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{targetIDs}") |
| | | public AjaxResult remove(@PathVariable Long[] targetIDs) { |
| | | return toAjax(ivrLibaTargetService.deleteIvrLibaTargetByTargetIDs(targetIDs)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrLibaTargetoption; |
| | | import com.smartor.service.IIvrLibaTargetoptionService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ææ é项åºController |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/targetoption") |
| | | public class IvrLibaTargetoptionController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IIvrLibaTargetoptionService ivrLibaTargetoptionService; |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ é项åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTargetoption ivrLibaTargetoption) |
| | | { |
| | | PageUtils.startPageByPost(ivrLibaTargetoption.getPageNum(),ivrLibaTargetoption.getPageSize()); |
| | | List<IvrLibaTargetoption> list = ivrLibaTargetoptionService.selectIvrLibaTargetoptionList(ivrLibaTargetoption); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºææ é项åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:export')") |
| | | @Log(title = "ææ é项åº", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrLibaTargetoption ivrLibaTargetoption) |
| | | { |
| | | List<IvrLibaTargetoption> list = ivrLibaTargetoptionService.selectIvrLibaTargetoptionList(ivrLibaTargetoption); |
| | | ExcelUtil<IvrLibaTargetoption> util = new ExcelUtil<IvrLibaTargetoption>(IvrLibaTargetoption.class); |
| | | util.exportExcel(response, list, "ææ éé¡¹åºæ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åææ é项åºè¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:query')") |
| | | @GetMapping(value = "/getInfo/{targetoptionid}") |
| | | public AjaxResult getInfo(@PathVariable("targetoptionid") Long targetoptionid) |
| | | { |
| | | return success(ivrLibaTargetoptionService.selectIvrLibaTargetoptionByTargetoptionid(targetoptionid)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ææ éé¡¹åº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:add')") |
| | | @Log(title = "ææ é项åº", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTargetoption ivrLibaTargetoption) |
| | | { |
| | | return toAjax(ivrLibaTargetoptionService.insertIvrLibaTargetoption(ivrLibaTargetoption)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ éé¡¹åº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:edit')") |
| | | @Log(title = "ææ é项åº", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTargetoption ivrLibaTargetoption) |
| | | { |
| | | return toAjax(ivrLibaTargetoptionService.updateIvrLibaTargetoption(ivrLibaTargetoption)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿æ éé¡¹åº |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:targetoption:remove')") |
| | | @Log(title = "ææ é项åº", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{targetoptionids}") |
| | | public AjaxResult remove(@PathVariable Long[] targetoptionids) |
| | | { |
| | | return toAjax(ivrLibaTargetoptionService.deleteIvrLibaTargetoptionByTargetoptionids(targetoptionids)); |
| | | } |
| | | } |
| | |
| | | * æ¥è¯¢è¯æ¯æ¨¡æ¿åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibaTemplate ivrLibaTemplate) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTemplate ivrLibaTemplate) |
| | | { |
| | | startPage(); |
| | | List<IvrLibaTemplate> list = ivrLibaTemplateService.selectIvrLibaTemplateList(ivrLibaTemplate); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:add')") |
| | | @Log(title = "è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTemplate ivrLibaTemplate) |
| | | { |
| | | return toAjax(ivrLibaTemplateService.insertIvrLibaTemplate(ivrLibaTemplate)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:edit')") |
| | | @Log(title = "è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTemplate ivrLibaTemplate) |
| | | { |
| | | return toAjax(ivrLibaTemplateService.updateIvrLibaTemplate(ivrLibaTemplate)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplate:remove')") |
| | | @Log(title = "è¯æ¯æ¨¡æ¿åº", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{templateIDs}") |
| | | @GetMapping("/remove/{templateIDs}") |
| | | public AjaxResult remove(@PathVariable String[] templateIDs) |
| | | { |
| | | return toAjax(ivrLibaTemplateService.deleteIvrLibaTemplateByTemplateIDs(templateIDs)); |
| | |
| | | * æ¥è¯¢è¯æ¯æ¨¡æ¿åºè¯æ¯å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatescript:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibaTemplatescript ivrLibaTemplatescript) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTemplatescript ivrLibaTemplatescript) |
| | | { |
| | | startPage(); |
| | | List<IvrLibaTemplatescript> list = ivrLibaTemplatescriptService.selectIvrLibaTemplatescriptList(ivrLibaTemplatescript); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatescript:add')") |
| | | @Log(title = "è¯æ¯æ¨¡æ¿åºè¯æ¯", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTemplatescript ivrLibaTemplatescript) |
| | | { |
| | | return toAjax(ivrLibaTemplatescriptService.insertIvrLibaTemplatescript(ivrLibaTemplatescript)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatescript:edit')") |
| | | @Log(title = "è¯æ¯æ¨¡æ¿åºè¯æ¯", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTemplatescript ivrLibaTemplatescript) |
| | | { |
| | | return toAjax(ivrLibaTemplatescriptService.updateIvrLibaTemplatescript(ivrLibaTemplatescript)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatescript:remove')") |
| | | @Log(title = "è¯æ¯æ¨¡æ¿åºè¯æ¯", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{templateQuestionIDs}") |
| | | @GetMapping("/remove/{templateQuestionIDs}") |
| | | public AjaxResult remove(@PathVariable String[] templateQuestionIDs) |
| | | { |
| | | return toAjax(ivrLibaTemplatescriptService.deleteIvrLibaTemplatescriptByTemplateQuestionIDs(templateQuestionIDs)); |
| | |
| | | * æ¥è¯¢è¯æ¯æ¨¡æ¿åºè¯æ¯ææ å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatetarget:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrLibaTemplatetarget ivrLibaTemplatetarget) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrLibaTemplatetarget ivrLibaTemplatetarget) |
| | | { |
| | | startPage(); |
| | | List<IvrLibaTemplatetarget> list = ivrLibaTemplatetargetService.selectIvrLibaTemplatetargetList(ivrLibaTemplatetarget); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatetarget:add')") |
| | | @Log(title = "è¯æ¯æ¨¡æ¿åºè¯æ¯ææ ", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrLibaTemplatetarget ivrLibaTemplatetarget) |
| | | { |
| | | return toAjax(ivrLibaTemplatetargetService.insertIvrLibaTemplatetarget(ivrLibaTemplatetarget)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatetarget:edit')") |
| | | @Log(title = "è¯æ¯æ¨¡æ¿åºè¯æ¯ææ ", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrLibaTemplatetarget ivrLibaTemplatetarget) |
| | | { |
| | | return toAjax(ivrLibaTemplatetargetService.updateIvrLibaTemplatetarget(ivrLibaTemplatetarget)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtemplatetarget:remove')") |
| | | @Log(title = "è¯æ¯æ¨¡æ¿åºè¯æ¯ææ ", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{templateTargetIDs}") |
| | | @GetMapping("/remove/{templateTargetIDs}") |
| | | public AjaxResult remove(@PathVariable String[] templateTargetIDs) |
| | | { |
| | | return toAjax(ivrLibaTemplatetargetService.deleteIvrLibaTemplatetargetByTemplateTargetIDs(templateTargetIDs)); |
| | |
| | | * æ¥è¯¢AIå¤å¼åºæ¯ç®¡çå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscene:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrScene ivrScene) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrScene ivrScene) |
| | | { |
| | | startPage(); |
| | | List<IvrScene> list = ivrSceneService.selectIvrSceneList(ivrScene); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscene:add')") |
| | | @Log(title = "AIå¤å¼åºæ¯ç®¡ç", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrScene ivrScene) |
| | | { |
| | | return toAjax(ivrSceneService.insertIvrScene(ivrScene)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscene:edit')") |
| | | @Log(title = "AIå¤å¼åºæ¯ç®¡ç", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrScene ivrScene) |
| | | { |
| | | return toAjax(ivrSceneService.updateIvrScene(ivrScene)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscene:remove')") |
| | | @Log(title = "AIå¤å¼åºæ¯ç®¡ç", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{sceneids}") |
| | | @GetMapping("/remove/{sceneids}") |
| | | public AjaxResult remove(@PathVariable Long[] sceneids) |
| | | { |
| | | return toAjax(ivrSceneService.deleteIvrSceneBySceneids(sceneids)); |
| | |
| | | * æ¥è¯¢AIå¤å¼æ§è¡é
ç½®å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneExecuteconfig ivrSceneExecuteconfig) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneExecuteconfig ivrSceneExecuteconfig) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneExecuteconfig> list = ivrSceneExecuteconfigService.selectIvrSceneExecuteconfigList(ivrSceneExecuteconfig); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:add')") |
| | | @Log(title = "AIå¤å¼æ§è¡é
ç½®", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneExecuteconfig ivrSceneExecuteconfig) |
| | | { |
| | | return toAjax(ivrSceneExecuteconfigService.insertIvrSceneExecuteconfig(ivrSceneExecuteconfig)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:edit')") |
| | | @Log(title = "AIå¤å¼æ§è¡é
ç½®", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneExecuteconfig ivrSceneExecuteconfig) |
| | | { |
| | | return toAjax(ivrSceneExecuteconfigService.updateIvrSceneExecuteconfig(ivrSceneExecuteconfig)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:remove')") |
| | | @Log(title = "AIå¤å¼æ§è¡é
ç½®", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{scenecfgids}") |
| | | @GetMapping("/remove/{scenecfgids}") |
| | | public AjaxResult remove(@PathVariable Long[] scenecfgids) |
| | | { |
| | | return toAjax(ivrSceneExecuteconfigService.deleteIvrSceneExecuteconfigByScenecfgids(scenecfgids)); |
| | |
| | | * æ¥è¯¢AIå¤å¼æµç¨å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflow:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneFlow ivrSceneFlow) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneFlow ivrSceneFlow) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneFlow> list = ivrSceneFlowService.selectIvrSceneFlowList(ivrSceneFlow); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflow:add')") |
| | | @Log(title = "AIå¤å¼æµç¨", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneFlow ivrSceneFlow) |
| | | { |
| | | return toAjax(ivrSceneFlowService.insertIvrSceneFlow(ivrSceneFlow)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflow:edit')") |
| | | @Log(title = "AIå¤å¼æµç¨", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneFlow ivrSceneFlow) |
| | | { |
| | | return toAjax(ivrSceneFlowService.updateIvrSceneFlow(ivrSceneFlow)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflow:remove')") |
| | | @Log(title = "AIå¤å¼æµç¨", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{flowids}") |
| | | @GetMapping("/remove/{flowids}") |
| | | public AjaxResult remove(@PathVariable Long[] flowids) |
| | | { |
| | | return toAjax(ivrSceneFlowService.deleteIvrSceneFlowByFlowids(flowids)); |
| | |
| | | * æ¥è¯¢AIå¤å¼æµç¨èç¹å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneFlownode ivrSceneFlownode) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneFlownode ivrSceneFlownode) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneFlownode> list = ivrSceneFlownodeService.selectIvrSceneFlownodeList(ivrSceneFlownode); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:add')") |
| | | @Log(title = "AIå¤å¼æµç¨èç¹", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneFlownode ivrSceneFlownode) |
| | | { |
| | | return toAjax(ivrSceneFlownodeService.insertIvrSceneFlownode(ivrSceneFlownode)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:edit')") |
| | | @Log(title = "AIå¤å¼æµç¨èç¹", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneFlownode ivrSceneFlownode) |
| | | { |
| | | return toAjax(ivrSceneFlownodeService.updateIvrSceneFlownode(ivrSceneFlownode)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:remove')") |
| | | @Log(title = "AIå¤å¼æµç¨èç¹", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{flownodeids}") |
| | | @GetMapping("/remove/{flownodeids}") |
| | | public AjaxResult remove(@PathVariable Long[] flownodeids) |
| | | { |
| | | return toAjax(ivrSceneFlownodeService.deleteIvrSceneFlownodeByFlownodeids(flownodeids)); |
| | |
| | | * æ¥è¯¢AIå¤å¼æµç¨èç¹åæ¯å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneFlownodebranch ivrSceneFlownodebranch) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneFlownodebranch ivrSceneFlownodebranch) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneFlownodebranch> list = ivrSceneFlownodebranchService.selectIvrSceneFlownodebranchList(ivrSceneFlownodebranch); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:add')") |
| | | @Log(title = "AIå¤å¼æµç¨èç¹åæ¯", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneFlownodebranch ivrSceneFlownodebranch) |
| | | { |
| | | return toAjax(ivrSceneFlownodebranchService.insertIvrSceneFlownodebranch(ivrSceneFlownodebranch)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:edit')") |
| | | @Log(title = "AIå¤å¼æµç¨èç¹åæ¯", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneFlownodebranch ivrSceneFlownodebranch) |
| | | { |
| | | return toAjax(ivrSceneFlownodebranchService.updateIvrSceneFlownodebranch(ivrSceneFlownodebranch)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:remove')") |
| | | @Log(title = "AIå¤å¼æµç¨èç¹åæ¯", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{branchids}") |
| | | @GetMapping("/remove/{branchids}") |
| | | public AjaxResult remove(@PathVariable Long[] branchids) |
| | | { |
| | | return toAjax(ivrSceneFlownodebranchService.deleteIvrSceneFlownodebranchByBranchids(branchids)); |
| | |
| | | * æ¥è¯¢AIå¤å¼å
¨å±é
ç½®å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneGlobalconfig ivrSceneGlobalconfig) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneGlobalconfig ivrSceneGlobalconfig) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneGlobalconfig> list = ivrSceneGlobalconfigService.selectIvrSceneGlobalconfigList(ivrSceneGlobalconfig); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:add')") |
| | | @Log(title = "AIå¤å¼å
¨å±é
ç½®", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneGlobalconfig ivrSceneGlobalconfig) |
| | | { |
| | | return toAjax(ivrSceneGlobalconfigService.insertIvrSceneGlobalconfig(ivrSceneGlobalconfig)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:edit')") |
| | | @Log(title = "AIå¤å¼å
¨å±é
ç½®", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneGlobalconfig ivrSceneGlobalconfig) |
| | | { |
| | | return toAjax(ivrSceneGlobalconfigService.updateIvrSceneGlobalconfig(ivrSceneGlobalconfig)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:remove')") |
| | | @Log(title = "AIå¤å¼å
¨å±é
ç½®", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{gblconfigids}") |
| | | @GetMapping("/remove/{gblconfigids}") |
| | | public AjaxResult remove(@PathVariable Long[] gblconfigids) |
| | | { |
| | | return toAjax(ivrSceneGlobalconfigService.deleteIvrSceneGlobalconfigByGblconfigids(gblconfigids)); |
| | |
| | | * æ¥è¯¢AIå¤å¼æå¾å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrintent:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneIntent ivrSceneIntent) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneIntent ivrSceneIntent) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneIntent> list = ivrSceneIntentService.selectIvrSceneIntentList(ivrSceneIntent); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrintent:add')") |
| | | @Log(title = "AIå¤å¼æå¾", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneIntent ivrSceneIntent) |
| | | { |
| | | return toAjax(ivrSceneIntentService.insertIvrSceneIntent(ivrSceneIntent)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrintent:edit')") |
| | | @Log(title = "AIå¤å¼æå¾", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneIntent ivrSceneIntent) |
| | | { |
| | | return toAjax(ivrSceneIntentService.updateIvrSceneIntent(ivrSceneIntent)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrintent:remove')") |
| | | @Log(title = "AIå¤å¼æå¾", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{sceneintentids}") |
| | | @GetMapping("/remove/{sceneintentids}") |
| | | public AjaxResult remove(@PathVariable Long[] sceneintentids) |
| | | { |
| | | return toAjax(ivrSceneIntentService.deleteIvrSceneIntentBySceneintentids(sceneintentids)); |
| | |
| | | * æ¥è¯¢AIå¤å¼éæ¨é
ç½®å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneRecall ivrSceneRecall) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneRecall ivrSceneRecall) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneRecall> list = ivrSceneRecallService.selectIvrSceneRecallList(ivrSceneRecall); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:add')") |
| | | @Log(title = "AIå¤å¼éæ¨é
ç½®", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneRecall ivrSceneRecall) |
| | | { |
| | | return toAjax(ivrSceneRecallService.insertIvrSceneRecall(ivrSceneRecall)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:edit')") |
| | | @Log(title = "AIå¤å¼éæ¨é
ç½®", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneRecall ivrSceneRecall) |
| | | { |
| | | return toAjax(ivrSceneRecallService.updateIvrSceneRecall(ivrSceneRecall)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:remove')") |
| | | @Log(title = "AIå¤å¼éæ¨é
ç½®", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{recallids}") |
| | | @GetMapping("/remove/{recallids}") |
| | | public AjaxResult remove(@PathVariable Long[] recallids) |
| | | { |
| | | return toAjax(ivrSceneRecallService.deleteIvrSceneRecallByRecallids(recallids)); |
| | |
| | | * æ¥è¯¢AIå¤å¼è¯æ¯å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscript:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneScript ivrSceneScript) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneScript ivrSceneScript) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneScript> list = ivrSceneScriptService.selectIvrSceneScriptList(ivrSceneScript); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscript:add')") |
| | | @Log(title = "AIå¤å¼è¯æ¯", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneScript ivrSceneScript) |
| | | { |
| | | return toAjax(ivrSceneScriptService.insertIvrSceneScript(ivrSceneScript)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscript:edit')") |
| | | @Log(title = "AIå¤å¼è¯æ¯", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneScript ivrSceneScript) |
| | | { |
| | | return toAjax(ivrSceneScriptService.updateIvrSceneScript(ivrSceneScript)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscript:remove')") |
| | | @Log(title = "AIå¤å¼è¯æ¯", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{scenescrids}") |
| | | @GetMapping("/remove/{scenescrids}") |
| | | public AjaxResult remove(@PathVariable Long[] scenescrids) |
| | | { |
| | | return toAjax(ivrSceneScriptService.deleteIvrSceneScriptByScenescrids(scenescrids)); |
| | |
| | | * æ¥è¯¢AIå¤å¼è¯æ¯æ¨¡åå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrSceneScriptmodel ivrSceneScriptmodel) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrSceneScriptmodel ivrSceneScriptmodel) |
| | | { |
| | | startPage(); |
| | | List<IvrSceneScriptmodel> list = ivrSceneScriptmodelService.selectIvrSceneScriptmodelList(ivrSceneScriptmodel); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:add')") |
| | | @Log(title = "AIå¤å¼è¯æ¯æ¨¡å", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneScriptmodel ivrSceneScriptmodel) |
| | | { |
| | | return toAjax(ivrSceneScriptmodelService.insertIvrSceneScriptmodel(ivrSceneScriptmodel)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:edit')") |
| | | @Log(title = "AIå¤å¼è¯æ¯æ¨¡å", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneScriptmodel ivrSceneScriptmodel) |
| | | { |
| | | return toAjax(ivrSceneScriptmodelService.updateIvrSceneScriptmodel(ivrSceneScriptmodel)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:remove')") |
| | | @Log(title = "AIå¤å¼è¯æ¯æ¨¡å", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{scenemodids}") |
| | | @GetMapping("/remove/{scenemodids}") |
| | | public AjaxResult remove(@PathVariable Long[] scenemodids) |
| | | { |
| | | return toAjax(ivrSceneScriptmodelService.deleteIvrSceneScriptmodelByScenemodids(scenemodids)); |
| | |
| | | package com.smartor.controller; |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | |
| | | /** |
| | | * AIæå¡åºæ¯ç®¡çåç±»Controller |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-06 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/ivrscenecategory") |
| | | public class IvrScenecategoryController extends BaseController |
| | | { |
| | | public class IvrScenecategoryController extends BaseController { |
| | | @Autowired |
| | | private IIvrScenecategoryService ivrScenecategoryService; |
| | | |
| | |
| | | * æ¥è¯¢AIæå¡åºæ¯ç®¡çåç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrScenecategory ivrScenecategory) |
| | | { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrScenecategory ivrScenecategory) { |
| | | startPage(); |
| | | List<IvrScenecategory> list = ivrScenecategoryService.selectIvrScenecategoryList(ivrScenecategory); |
| | | return getDataTable(list); |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:export')") |
| | | @Log(title = "AIæå¡åºæ¯ç®¡çåç±»", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrScenecategory ivrScenecategory) |
| | | { |
| | | public void export(HttpServletResponse response, IvrScenecategory ivrScenecategory) { |
| | | List<IvrScenecategory> list = ivrScenecategoryService.selectIvrScenecategoryList(ivrScenecategory); |
| | | ExcelUtil<IvrScenecategory> util = new ExcelUtil<IvrScenecategory>(IvrScenecategory.class); |
| | | util.exportExcel(response, list, "AIæå¡åºæ¯ç®¡çåç±»æ°æ®"); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:query')") |
| | | @GetMapping(value = "/{scenecatid}") |
| | | public AjaxResult getInfo(@PathVariable("scenecatid") Long scenecatid) |
| | | { |
| | | public AjaxResult getInfo(@PathVariable("scenecatid") Long scenecatid) { |
| | | return success(ivrScenecategoryService.selectIvrScenecategoryByScenecatid(scenecatid)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:add')") |
| | | @Log(title = "AIæå¡åºæ¯ç®¡çåç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody IvrScenecategory ivrScenecategory) |
| | | { |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrScenecategory ivrScenecategory) { |
| | | return toAjax(ivrScenecategoryService.insertIvrScenecategory(ivrScenecategory)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:edit')") |
| | | @Log(title = "AIæå¡åºæ¯ç®¡çåç±»", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody IvrScenecategory ivrScenecategory) |
| | | { |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrScenecategory ivrScenecategory) { |
| | | return toAjax(ivrScenecategoryService.updateIvrScenecategory(ivrScenecategory)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:remove')") |
| | | @Log(title = "AIæå¡åºæ¯ç®¡çåç±»", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{scenecatids}") |
| | | public AjaxResult remove(@PathVariable Long[] scenecatids) |
| | | { |
| | | @GetMapping("/remove/{scenecatids}") |
| | | public AjaxResult remove(@PathVariable Long[] scenecatids) { |
| | | return toAjax(ivrScenecategoryService.deleteIvrScenecategoryByScenecatids(scenecatids)); |
| | | } |
| | | } |
| | |
| | | * æ¥è¯¢è¯é³ä»»å¡å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrTask ivrTask) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrTask ivrTask) |
| | | { |
| | | startPage(); |
| | | List<IvrTask> list = ivrTaskService.selectIvrTaskList(ivrTask); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:add')") |
| | | @Log(title = "è¯é³ä»»å¡", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrTask ivrTask) |
| | | { |
| | | return toAjax(ivrTaskService.insertIvrTask(ivrTask)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:edit')") |
| | | @Log(title = "è¯é³ä»»å¡", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrTask ivrTask) |
| | | { |
| | | return toAjax(ivrTaskService.updateIvrTask(ivrTask)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:remove')") |
| | | @Log(title = "è¯é³ä»»å¡", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{taskids}") |
| | | @GetMapping("/remove/{taskids}") |
| | | public AjaxResult remove(@PathVariable Long[] taskids) |
| | | { |
| | | return toAjax(ivrTaskService.deleteIvrTaskByTaskids(taskids)); |
| | |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrTaskcall ivrTaskcall) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrTaskcall ivrTaskcall) |
| | | { |
| | | startPage(); |
| | | List<IvrTaskcall> list = ivrTaskcallService.selectIvrTaskcallList(ivrTaskcall); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:add')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrTaskcall ivrTaskcall) |
| | | { |
| | | return toAjax(ivrTaskcallService.insertIvrTaskcall(ivrTaskcall)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:edit')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrTaskcall ivrTaskcall) |
| | | { |
| | | return toAjax(ivrTaskcallService.updateIvrTaskcall(ivrTaskcall)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:remove')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{callids}") |
| | | @GetMapping("/remove/{callids}") |
| | | public AjaxResult remove(@PathVariable Long[] callids) |
| | | { |
| | | return toAjax(ivrTaskcallService.deleteIvrTaskcallByCallids(callids)); |
| | |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«æç»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcalldetail:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrTaskcalldetail ivrTaskcalldetail) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrTaskcalldetail ivrTaskcalldetail) |
| | | { |
| | | startPage(); |
| | | List<IvrTaskcalldetail> list = ivrTaskcalldetailService.selectIvrTaskcalldetailList(ivrTaskcalldetail); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcalldetail:add')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«æç»", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrTaskcalldetail ivrTaskcalldetail) |
| | | { |
| | | return toAjax(ivrTaskcalldetailService.insertIvrTaskcalldetail(ivrTaskcalldetail)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcalldetail:edit')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«æç»", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrTaskcalldetail ivrTaskcalldetail) |
| | | { |
| | | return toAjax(ivrTaskcalldetailService.updateIvrTaskcalldetail(ivrTaskcalldetail)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcalldetail:remove')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«æç»", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{calldetailids}") |
| | | @GetMapping("/remove/{calldetailids}") |
| | | public AjaxResult remove(@PathVariable String[] calldetailids) |
| | | { |
| | | return toAjax(ivrTaskcalldetailService.deleteIvrTaskcalldetailByCalldetailids(calldetailids)); |
| | |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«è®°å½å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrTaskcallrecord ivrTaskcallrecord) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrTaskcallrecord ivrTaskcallrecord) |
| | | { |
| | | startPage(); |
| | | List<IvrTaskcallrecord> list = ivrTaskcallrecordService.selectIvrTaskcallrecordList(ivrTaskcallrecord); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:add')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«è®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrTaskcallrecord ivrTaskcallrecord) |
| | | { |
| | | return toAjax(ivrTaskcallrecordService.insertIvrTaskcallrecord(ivrTaskcallrecord)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:edit')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«è®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrTaskcallrecord ivrTaskcallrecord) |
| | | { |
| | | return toAjax(ivrTaskcallrecordService.updateIvrTaskcallrecord(ivrTaskcallrecord)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:remove')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«è®°å½", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{uuids}") |
| | | @GetMapping("/remove/{uuids}") |
| | | public AjaxResult remove(@PathVariable String[] uuids) |
| | | { |
| | | return toAjax(ivrTaskcallrecordService.deleteIvrTaskcallrecordByUuids(uuids)); |
| | |
| | | * æ¥è¯¢è¯é³ä»»å¡çä¿¡å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtasksms:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrTasksms ivrTasksms) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrTasksms ivrTasksms) |
| | | { |
| | | startPage(); |
| | | List<IvrTasksms> list = ivrTasksmsService.selectIvrTasksmsList(ivrTasksms); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtasksms:add')") |
| | | @Log(title = "è¯é³ä»»å¡çä¿¡", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrTasksms ivrTasksms) |
| | | { |
| | | return toAjax(ivrTasksmsService.insertIvrTasksms(ivrTasksms)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtasksms:edit')") |
| | | @Log(title = "è¯é³ä»»å¡çä¿¡", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrTasksms ivrTasksms) |
| | | { |
| | | return toAjax(ivrTasksmsService.updateIvrTasksms(ivrTasksms)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtasksms:remove')") |
| | | @Log(title = "è¯é³ä»»å¡çä¿¡", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(ivrTasksmsService.deleteIvrTasksmsByIds(ids)); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import cn.hutool.db.Page; |
| | | 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.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.MedicalHistory; |
| | | import com.smartor.service.IMedicalHistoryService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ç
å²Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-06 |
| | | */ |
| | | @Api(description = "ç
å²") |
| | | @RestController |
| | | @RequestMapping("/medicalhistory") |
| | | public class MedicalHistoryController extends BaseController { |
| | | @Autowired |
| | | private IMedicalHistoryService medicalHistoryService; |
| | | |
| | | /** |
| | | * æ¥è¯¢ç
å²å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:history:list')") |
| | | @PostMapping("/selectMedicalHistoryList") |
| | | @ApiOperation("æ¥è¯¢ç
å²å表") |
| | | public TableDataInfo selectMedicalHistorylist(@RequestBody MedicalHistory medicalHistory) { |
| | | PageUtils.startPageByPost(medicalHistory.getPageNum(),medicalHistory.getPageSize()); |
| | | List<MedicalHistory> list = medicalHistoryService.selectMedicalHistoryList(medicalHistory); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºç
å²å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:history:export')") |
| | | @Log(title = "ç
å²", businessType = BusinessType.EXPORT) |
| | | @ApiOperation("导åºç
å²å表") |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, MedicalHistory medicalHistory) { |
| | | List<MedicalHistory> list = medicalHistoryService.selectMedicalHistoryList(medicalHistory); |
| | | ExcelUtil<MedicalHistory> util = new ExcelUtil<MedicalHistory>(MedicalHistory.class); |
| | | util.exportExcel(response, list, "ç
岿°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åç
å²è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:history:query')") |
| | | @ApiOperation("è·åç
å²è¯¦ç»ä¿¡æ¯") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id,@PathVariable("pid") Long pid) { |
| | | return success(medicalHistoryService.selectMedicalHistoryById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ç
å² |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:history:add')") |
| | | @Log(title = "ç
å²", businessType = BusinessType.INSERT) |
| | | @ApiOperation("æ°å¢ç
å²") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody MedicalHistory medicalHistory) { |
| | | return toAjax(medicalHistoryService.insertMedicalHistory(medicalHistory)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ç
å² |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:history:edit')") |
| | | @Log(title = "ç
å²", businessType = BusinessType.UPDATE) |
| | | @ApiOperation("ä¿®æ¹ç
å²") |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody MedicalHistory medicalHistory) { |
| | | return toAjax(medicalHistoryService.updateMedicalHistory(medicalHistory)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤ç
å² |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:history:remove')") |
| | | @Log(title = "ç
å²", businessType = BusinessType.DELETE) |
| | | @ApiOperation("å é¤ç
å²") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(medicalHistoryService.deleteMedicalHistoryByIds(ids)); |
| | | } |
| | | } |
| | |
| | | * æ¥è¯¢ã请填ååè½åç§°ãå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:file:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(MinioFile minioFile) { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody MinioFile minioFile) { |
| | | startPage(); |
| | | List<MinioFile> list = minioFileService.selectMinioFileList(minioFile); |
| | | return getDataTable(list); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:file:add')") |
| | | @Log(title = "ã请填ååè½åç§°ã", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody MinioFile minioFile) { |
| | | return toAjax(minioFileService.insertMinioFile(minioFile)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:file:edit')") |
| | | @Log(title = "ã请填ååè½åç§°ã", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody MinioFile minioFile) { |
| | | return toAjax(minioFileService.updateMinioFile(minioFile)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:file:remove')") |
| | | @Log(title = "ã请填ååè½åç§°ã", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(minioFileService.deleteMinioFileByIds(ids)); |
| | | } |
| | |
| | | import com.ruoyi.common.core.domain.model.LoginUser; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.PatArchive; |
| | | import com.smartor.domain.PatArchiveReq; |
| | | import com.smartor.domain.PatImportInfoVO; |
| | | import com.smartor.domain.PatUpInfoVO; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.service.IPatArchiveService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | import java.util.concurrent.Executor; |
| | | import java.util.concurrent.Executors; |
| | | |
| | | /** |
| | | * æ£è
æ¡£æ¡Controller |
| | |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
æ¡£æ¡å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patarchive:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatArchive patArchive) { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody PatArchive patArchive) { |
| | | startPage(); |
| | | List<PatArchive> list = patArchiveService.selectPatArchiveList(patArchive); |
| | | return getDataTable(list); |
| | |
| | | */ |
| | | @ApiOperation("è·åæ£è
æ¡£æ¡è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patarchive:query')") |
| | | @GetMapping(value = "/{patid}") |
| | | @GetMapping(value = "/getInfo/{patid}") |
| | | @ApiImplicitParam(name = "patid", value = "æ£è
id") |
| | | public AjaxResult getInfo(@PathVariable(name = "patid") Long patid) { |
| | | return success(patArchiveService.selectPatArchiveByPatid(patid)); |
| | |
| | | @ApiOperation("æ°å¢æ£è
æ¡£æ¡") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patarchive:add')") |
| | | @Log(title = "æ£è
æ¡£æ¡", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatArchive patArchive) { |
| | | return toAjax(patArchiveService.insertPatArchive(patArchive)); |
| | | } |
| | |
| | | @ApiOperation("ä¿®æ¹æ£è
æ¡£æ¡") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patarchive:edit')") |
| | | @Log(title = "æ£è
æ¡£æ¡", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatArchive patArchive) { |
| | | return toAjax(patArchiveService.updatePatArchive(patArchive)); |
| | | } |
| | |
| | | @ApiOperation("å 餿£è
æ¡£æ¡") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patarchive:remove')") |
| | | @Log(title = "æ£è
æ¡£æ¡", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{patids}") |
| | | @GetMapping("/remove/{patids}") |
| | | @ApiImplicitParam(name = "patids", value = "æ£è
idéå", dataType = "long", dataTypeClass = Long.class) |
| | | public AjaxResult remove(@PathVariable Long[] patids) { |
| | | return toAjax(patArchiveService.deletePatArchiveByPatids(patids)); |
| | |
| | | @PostMapping("/importFilehandle") |
| | | @ApiImplicitParams({@ApiImplicitParam(name = "tags", value = "æ ç¾"), @ApiImplicitParam(name = "multipartFile", value = "ä¸ä¼ æä»¶")}) |
| | | public AjaxResult importFilehandle(@RequestParam("tags") String tags, @RequestParam("multipartFile") MultipartFile multipartFile) { |
| | | Executor executor = Executors.newFixedThreadPool(3); |
| | | //è·åå½åç»é人 |
| | | LoginUser loginUser = getLoginUser(); |
| | | SysUser user = loginUser.getUser(); |
| | |
| | | @ApiOperation("æ£è
ä¿¡æ¯å¯¼å
¥æ¨¡æ¿") |
| | | @PostMapping("/patImportTemplate") |
| | | public void patImportTemplate(HttpServletResponse response) { |
| | | ExcelUtil<PatImportInfoVO> util = new ExcelUtil<PatImportInfoVO>(PatImportInfoVO.class); |
| | | // ExcelUtil<PatImportInfoVO> util = new ExcelUtil<PatImportInfoVO>(PatImportInfoVO.class); |
| | | ExcelUtil<PatArchive> util = new ExcelUtil<PatArchive>(PatArchive.class); |
| | | util.importTemplateExcel(response, "æ£è
ä¿¡æ¯å¯¼å
¥"); |
| | | } |
| | | |
| | |
| | | @ApiOperation("æ¥è¯¢æ£è
å表") |
| | | @PostMapping("/patInfoByContion") |
| | | public TableDataInfo patInfoByCondition(@RequestBody PatArchiveReq patArchive) { |
| | | startPage(); |
| | | PageUtils.startPageByPost(patArchive.getPageNum(),patArchive.getPageSize()); |
| | | return getDataTable(patArchiveService.patInfoByContion(patArchive)); |
| | | } |
| | | |
| | |
| | | util.exportExcel(response, patArchives, "æ£è
æ¡£æ¡æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åç¨æ·è¯çä¿¡æ¯ï¼å»çæ¡£æ¡ï¼ |
| | | * |
| | | * @return |
| | | */ |
| | | @ApiOperation("è·åç¨æ·è¯çä¿¡æ¯ï¼å»çæ¡£æ¡") |
| | | @PostMapping("/getUserTreatmentInfo") |
| | | public AjaxResult getUserTreatmentInfo(@RequestParam("pid") String pid,@RequestParam("type") String type) { |
| | | return null; |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.PatArchivecontact; |
| | | import com.smartor.service.IPatArchivecontactService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
èç³»æ¹å¼Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-05 |
| | | */ |
| | | @Api(description = "æ£è
èç³»æ¹å¼") |
| | | @RestController |
| | | @RequestMapping("/archivecontact") |
| | | public class PatArchivecontactController extends BaseController { |
| | | @Autowired |
| | | private IPatArchivecontactService patArchivecontactService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
èç³»æ¹å¼å表") |
| | | @PreAuthorize("@ss.hasPermi('system:archivecontact:list')") |
| | | @PostMapping("/selectPatArchivecontactList") |
| | | public TableDataInfo selectPatArchivecontactlist(@RequestBody PatArchivecontact patArchivecontact) { |
| | | PageUtils.startPageByPost(patArchivecontact.getPageNum(), patArchivecontact.getPageSize()); |
| | | List<PatArchivecontact> list = patArchivecontactService.selectPatArchivecontactList(patArchivecontact); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ£è
èç³»æ¹å¼å表 |
| | | */ |
| | | @ApiOperation("å¯¼åºæ£è
èç³»æ¹å¼å表") |
| | | @PreAuthorize("@ss.hasPermi('system:archivecontact:export')") |
| | | @Log(title = "æ£è
èç³»æ¹å¼", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatArchivecontact patArchivecontact) { |
| | | List<PatArchivecontact> list = patArchivecontactService.selectPatArchivecontactList(patArchivecontact); |
| | | ExcelUtil<PatArchivecontact> util = new ExcelUtil<PatArchivecontact>(PatArchivecontact.class); |
| | | util.exportExcel(response, list, "æ£è
èç³»æ¹å¼æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åæ£è
èç³»æ¹å¼è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åæ£è
èç³»æ¹å¼è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('system:archivecontact:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patArchivecontactService.selectPatArchivecontactById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
èç³»æ¹å¼ |
| | | */ |
| | | @ApiOperation("æ°å¢æ£è
èç³»æ¹å¼") |
| | | @PreAuthorize("@ss.hasPermi('system:archivecontact:add')") |
| | | @Log(title = "æ£è
èç³»æ¹å¼", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatArchivecontact patArchivecontact) { |
| | | return toAjax(patArchivecontactService.insertPatArchivecontact(patArchivecontact)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
èç³»æ¹å¼ |
| | | */ |
| | | @ApiOperation("ä¿®æ¹æ£è
èç³»æ¹å¼") |
| | | @PreAuthorize("@ss.hasPermi('system:archivecontact:edit')") |
| | | @Log(title = "æ£è
èç³»æ¹å¼", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatArchivecontact patArchivecontact) { |
| | | return toAjax(patArchivecontactService.updatePatArchivecontact(patArchivecontact)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
èç³»æ¹å¼ |
| | | */ |
| | | @ApiOperation("å 餿£è
èç³»æ¹å¼") |
| | | @PreAuthorize("@ss.hasPermi('system:archivecontact:remove')") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patArchivecontactService.deletePatArchivecontactByIds(ids)); |
| | | } |
| | | } |
| | |
| | | import com.smartor.domain.PatArchivetag; |
| | | import com.smartor.service.IPatArchivetagService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | */ |
| | | @Api(description = "æ£è
æ¡£æ¡æ ç¾") |
| | | @RestController |
| | | @RequestMapping("/system/archivetag") |
| | | @RequestMapping("/archivetag") |
| | | public class PatArchivetagController extends BaseController { |
| | | @Autowired |
| | | private IPatArchivetagService patArchivetagService; |
| | |
| | | * æ¥è¯¢æ£è
æ¡£æ¡æ ç¾å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archivetag:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatArchivetag patArchivetag) { |
| | | @PostMapping("/list") |
| | | @ApiOperation("æ¥è¯¢æ£è
æ¡£æ¡æ ç¾å表") |
| | | public TableDataInfo list(@RequestBody PatArchivetag patArchivetag) { |
| | | startPage(); |
| | | List<PatArchivetag> list = patArchivetagService.selectPatArchivetagList(patArchivetag); |
| | | return getDataTable(list); |
| | |
| | | * å¯¼åºæ£è
æ¡£æ¡æ ç¾å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archivetag:export')") |
| | | @Log(title = "æ£è
æ¡£æ¡æ ç¾", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | @ApiOperation("å¯¼åºæ£è
æ¡£æ¡æ ç¾å表") |
| | | public void export(HttpServletResponse response, PatArchivetag patArchivetag) { |
| | | List<PatArchivetag> list = patArchivetagService.selectPatArchivetagList(patArchivetag); |
| | | ExcelUtil<PatArchivetag> util = new ExcelUtil<PatArchivetag>(PatArchivetag.class); |
| | |
| | | /** |
| | | * è·åæ£è
æ¡£æ¡æ ç¾è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åæ£è
æ¡£æ¡æ ç¾è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('system:archivetag:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | |
| | | * æ°å¢æ£è
æ¡£æ¡æ ç¾ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archivetag:add')") |
| | | @Log(title = "æ£è
æ¡£æ¡æ ç¾", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @ApiOperation("æ°å¢æ£è
æ¡£æ¡æ ç¾") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatArchivetag patArchivetag) { |
| | | return toAjax(patArchivetagService.insertPatArchivetag(patArchivetag)); |
| | | } |
| | |
| | | * ä¿®æ¹æ£è
æ¡£æ¡æ ç¾ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archivetag:edit')") |
| | | @Log(title = "æ£è
æ¡£æ¡æ ç¾", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @ApiOperation("ä¿®æ¹æ£è
æ¡£æ¡æ ç¾") |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatArchivetag patArchivetag) { |
| | | return toAjax(patArchivetagService.updatePatArchivetag(patArchivetag)); |
| | | } |
| | |
| | | * å 餿£è
æ¡£æ¡æ ç¾ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archivetag:remove')") |
| | | @Log(title = "æ£è
æ¡£æ¡æ ç¾", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @ApiOperation("å 餿£è
æ¡£æ¡æ ç¾") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patArchivetagService.deletePatArchivetagByIds(ids)); |
| | | } |
| | |
| | | * æ¥è¯¢æ£è
è¡ç³è®°å½å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:bloodsugar:list')") |
| | | @GetMapping("/list") |
| | | @PostMapping("/list") |
| | | @ApiOperation("æ¥è¯¢æ£è
è¡ç³è®°å½å表") |
| | | public TableDataInfo list(PatMedBloodsugar patMedBloodsugar) { |
| | | public TableDataInfo list(@RequestBody PatMedBloodsugar patMedBloodsugar) { |
| | | startPage(); |
| | | List<PatMedBloodsugar> list = patMedBloodsugarService.selectPatMedBloodsugarList(patMedBloodsugar); |
| | | return getDataTable(list); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:bloodsugar:add')") |
| | | @Log(title = "æ°å¢æ£è
è¡ç³è®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | @ApiOperation("æ°å¢æ£è
è¡ç³è®°å½") |
| | | public AjaxResult add(@RequestBody PatMedBloodsugar patMedBloodsugar) { |
| | | return toAjax(patMedBloodsugarService.insertPatMedBloodsugar(patMedBloodsugar)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:bloodsugar:edit')") |
| | | @Log(title = "æ£è
è¡ç³è®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | @ApiOperation("ä¿®æ¹æ£è
è¡ç³è®°å½") |
| | | public AjaxResult edit(@RequestBody PatMedBloodsugar patMedBloodsugar) { |
| | | return toAjax(patMedBloodsugarService.updatePatMedBloodsugar(patMedBloodsugar)); |
| | |
| | | @ApiOperation("å 餿£è
è¡ç³è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('system:bloodsugar:remove')") |
| | | @Log(title = "æ£è
è¡ç³è®°å½", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{bloodsugarids}") |
| | | @GetMapping("/remove/{bloodsugarids}") |
| | | @ApiImplicitParam(name = "bloodsugarids", value = "主é®IDéå", dataType = "long", dataTypeClass = Array.class) |
| | | public AjaxResult remove(@PathVariable Long[] bloodsugarids) { |
| | | return toAjax(patMedBloodsugarService.deletePatMedBloodsugarByBloodsugarids(bloodsugarids)); |
| | |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
ç¨è¯è®°å½å表") |
| | | @PreAuthorize("@ss.hasPermi('system:drug:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatMedDrug patMedDrug) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody PatMedDrug patMedDrug) |
| | | { |
| | | startPage(); |
| | | List<PatMedDrug> list = patMedDrugService.selectPatMedDrugList(patMedDrug); |
| | |
| | | @ApiOperation("æ°å¢æ£è
ç¨è¯è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('system:drug:add')") |
| | | @Log(title = "æ£è
ç¨è¯è®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedDrug patMedDrug) |
| | | { |
| | | return toAjax(patMedDrugService.insertPatMedDrug(patMedDrug)); |
| | |
| | | @ApiOperation("ä¿®æ¹æ£è
ç¨è¯è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('system:drug:edit')") |
| | | @Log(title = "æ£è
ç¨è¯è®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedDrug patMedDrug) |
| | | { |
| | | return toAjax(patMedDrugService.updatePatMedDrug(patMedDrug)); |
| | |
| | | @ApiOperation("å 餿£è
ç¨è¯è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('system:drug:remove')") |
| | | @Log(title = "æ£è
ç¨è¯è®°å½", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(patMedDrugService.deletePatMedDrugByIds(ids)); |
| | |
| | | * æ¥è¯¢æ£è
é«è¡åè®°å½å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:list')") |
| | | @GetMapping("/list") |
| | | @PostMapping("/list") |
| | | @ApiOperation("æ¥è¯¢æ£è
é«è¡åè®°å½å表") |
| | | public TableDataInfo list(PatMedHypertension patMedHypertension) { |
| | | public TableDataInfo list(@RequestBody PatMedHypertension patMedHypertension) { |
| | | startPage(); |
| | | List<PatMedHypertension> list = patMedHypertensionService.selectPatMedHypertensionList(patMedHypertension); |
| | | return getDataTable(list); |
| | |
| | | @ApiOperation("æ£è
é«è¡åè®°å½") |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:add')") |
| | | @Log(title = "æ£è
é«è¡åè®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedHypertension patMedHypertension) { |
| | | return toAjax(patMedHypertensionService.insertPatMedHypertension(patMedHypertension)); |
| | | } |
| | |
| | | @ApiOperation("æ£è
é«è¡åè®°å½") |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:edit')") |
| | | @Log(title = "æ£è
é«è¡åè®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedHypertension patMedHypertension) { |
| | | return toAjax(patMedHypertensionService.updatePatMedHypertension(patMedHypertension)); |
| | | } |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:remove')") |
| | | @Log(title = "æ£è
é«è¡åè®°å½", businessType = BusinessType.DELETE) |
| | | @ApiImplicitParam(name = "remove", value = "主é®ID", dataType = "long", dataTypeClass = Array.class) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patMedHypertensionService.deletePatMedHypertensionByIds(ids)); |
| | | } |
| | |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
ä½é¢è®°å½å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patinhosp:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatMedInhosp patMedInhosp) |
| | | @PostMapping("/selectPatMedInhospList") |
| | | public TableDataInfo selectPatMedInhosplist(@RequestBody PatMedInhosp patMedInhosp) |
| | | { |
| | | startPage(); |
| | | List<PatMedInhosp> list = patMedInhospService.selectPatMedInhospList(patMedInhosp); |
| | |
| | | @ApiOperation("æ°å¢æ£è
ä½é¢è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patinhosp:add')") |
| | | @Log(title = "æ£è
ä½é¢è®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedInhosp patMedInhosp) |
| | | { |
| | | return toAjax(patMedInhospService.insertPatMedInhosp(patMedInhosp)); |
| | |
| | | @ApiOperation("ä¿®æ¹æ£è
ä½é¢è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patinhosp:edit')") |
| | | @Log(title = "æ£è
ä½é¢è®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedInhosp patMedInhosp) |
| | | { |
| | | return toAjax(patMedInhospService.updatePatMedInhosp(patMedInhosp)); |
| | |
| | | @ApiOperation("å 餿£è
ä½é¢è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patinhosp:remove')") |
| | | @Log(title = "æ£è
ä½é¢è®°å½", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{inhospids}") |
| | | @GetMapping("/remove/{inhospids}") |
| | | public AjaxResult remove(@PathVariable Long[] inhospids) |
| | | { |
| | | return toAjax(patMedInhospService.deletePatMedInhospByInhospids(inhospids)); |
| | |
| | | */ |
| | | @Api(description = "æ£è
æ£æ¥æ£éªè®°å½") |
| | | @RestController |
| | | @RequestMapping("/system/inspection") |
| | | @RequestMapping("/smartor/inspection") |
| | | public class PatMedInspectionController extends BaseController { |
| | | @Autowired |
| | | private IPatMedInspectionService patMedInspectionService; |
| | |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
æ£æ¥æ£éªè®°å½å表") |
| | | @PreAuthorize("@ss.hasPermi('system:inspection:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatMedInspection patMedInspection) { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody PatMedInspection patMedInspection) { |
| | | startPage(); |
| | | List<PatMedInspection> list = patMedInspectionService.selectPatMedInspectionList(patMedInspection); |
| | | return getDataTable(list); |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:inspection:add')") |
| | | @Log(title = "æ°å¢æ£è
æ£æ¥æ£éªè®°å½", businessType = BusinessType.INSERT) |
| | | @ApiOperation("æ°å¢æ£è
æ£æ¥æ£éªè®°å½") |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedInspection patMedInspection) { |
| | | return toAjax(patMedInspectionService.insertPatMedInspection(patMedInspection)); |
| | | } |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:inspection:edit')") |
| | | @Log(title = "ä¿®æ¹æ£è
æ£æ¥æ£éªè®°å½", businessType = BusinessType.UPDATE) |
| | | @ApiOperation("ä¿®æ¹æ£è
æ£æ¥æ£éªè®°å½") |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedInspection patMedInspection) { |
| | | return toAjax(patMedInspectionService.updatePatMedInspection(patMedInspection)); |
| | | } |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:inspection:remove')") |
| | | @Log(title = "æ£è
æ£æ¥æ£éªè®°å½", businessType = BusinessType.DELETE) |
| | | @ApiOperation("æ£è
æ£æ¥æ£éªè®°å½") |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patMedInspectionService.deletePatMedInspectionByIds(ids)); |
| | | } |
| | |
| | | * æ¥è¯¢æ£è
é¨è¯è®°å½å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:patouthosp:list')") |
| | | @GetMapping("/list") |
| | | @PostMapping("/selectPatMedOuthospList") |
| | | @ApiOperation("æ¥è¯¢æ£è
é¨è¯è®°å½å表") |
| | | public TableDataInfo list(PatMedOuthosp patMedOuthosp) { |
| | | public TableDataInfo selectPatMedOuthosplist(@RequestBody PatMedOuthosp patMedOuthosp) { |
| | | startPage(); |
| | | List<PatMedOuthosp> list = patMedOuthospService.selectPatMedOuthospList(patMedOuthosp); |
| | | return getDataTable(list); |
| | |
| | | @ApiOperation("æ°å¢æ£è
é¨è¯è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patouthosp:add')") |
| | | @Log(title = "æ£è
é¨è¯è®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedOuthosp patMedOuthosp) { |
| | | return toAjax(patMedOuthospService.insertPatMedOuthosp(patMedOuthosp)); |
| | | } |
| | |
| | | @ApiOperation("ä¿®æ¹æ£è
é¨è¯è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patouthosp:edit')") |
| | | @Log(title = "æ£è
é¨è¯è®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedOuthosp patMedOuthosp) { |
| | | return toAjax(patMedOuthospService.updatePatMedOuthosp(patMedOuthosp)); |
| | | } |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:patouthosp:remove')") |
| | | @ApiImplicitParam(name = "remove", value = "主é®ID", dataType = "long", dataTypeClass = Array.class) |
| | | @Log(title = "æ£è
é¨è¯è®°å½", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patMedOuthospService.deletePatMedOuthospByIds(ids)); |
| | | } |
| | |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
使£è®°å½å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatMedPhysical patMedPhysical) |
| | | @PostMapping("/selectPatMedPhysicalList") |
| | | public TableDataInfo selectPatMedPhysicallist(@RequestBody PatMedPhysical patMedPhysical) |
| | | { |
| | | startPage(); |
| | | List<PatMedPhysical> list = patMedPhysicalService.selectPatMedPhysicalList(patMedPhysical); |
| | |
| | | @ApiOperation("æ°å¢æ£è
使£è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:add')") |
| | | @Log(title = "æ£è
使£è®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedPhysical patMedPhysical) |
| | | { |
| | | return toAjax(patMedPhysicalService.insertPatMedPhysical(patMedPhysical)); |
| | |
| | | @ApiOperation("ä¿®æ¹æ£è
使£è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:edit')") |
| | | @Log(title = "æ£è
使£è®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedPhysical patMedPhysical) |
| | | { |
| | | return toAjax(patMedPhysicalService.updatePatMedPhysical(patMedPhysical)); |
| | |
| | | @ApiOperation("å 餿£è
使£è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:remove')") |
| | | @Log(title = "æ£è
使£è®°å½", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(patMedPhysicalService.deletePatMedPhysicalByIds(ids)); |
| | |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
ä½éè®°å½å表") |
| | | @PreAuthorize("@ss.hasPermi('system:weight:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatMedWeight patMedWeight) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody PatMedWeight patMedWeight) |
| | | { |
| | | startPage(); |
| | | List<PatMedWeight> list = patMedWeightService.selectPatMedWeightList(patMedWeight); |
| | |
| | | @ApiOperation("æ°å¢æ£è
ä½éè®°å½") |
| | | @PreAuthorize("@ss.hasPermi('system:weight:add')") |
| | | @Log(title = "æ£è
ä½éè®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedWeight patMedWeight) |
| | | { |
| | | return toAjax(patMedWeightService.insertPatMedWeight(patMedWeight)); |
| | |
| | | @ApiOperation("ä¿®æ¹æ£è
ä½éè®°å½") |
| | | @PreAuthorize("@ss.hasPermi('system:weight:edit')") |
| | | @Log(title = "ä¿®æ¹æ£è
ä½éè®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedWeight patMedWeight) |
| | | { |
| | | return toAjax(patMedWeightService.updatePatMedWeight(patMedWeight)); |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:weight:remove')") |
| | | @Log(title = "å 餿£è
ä½éè®°å½", businessType = BusinessType.DELETE) |
| | | @ApiImplicitParam(name = "remove", value = "主é®ID", dataType = "long", dataTypeClass = Array.class) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(patMedWeightService.deletePatMedWeightByIds(ids)); |
| | |
| | | * æ¥è¯¢æ¹æ¡ç»æ¡è§åå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SchemeAutofinshrule schemeAutofinshrule) { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemeAutofinshrule schemeAutofinshrule) { |
| | | startPage(); |
| | | List<SchemeAutofinshrule> list = schemeAutofinshruleService.selectSchemeAutofinshruleList(schemeAutofinshrule); |
| | | return getDataTable(list); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:add')") |
| | | @Log(title = "æ¹æ¡ç»æ¡è§å", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemeAutofinshrule schemeAutofinshrule) { |
| | | return toAjax(schemeAutofinshruleService.insertSchemeAutofinshrule(schemeAutofinshrule)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:edit')") |
| | | @Log(title = "æ¹æ¡ç»æ¡è§å", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemeAutofinshrule schemeAutofinshrule) { |
| | | return toAjax(schemeAutofinshruleService.updateSchemeAutofinshrule(schemeAutofinshrule)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:remove')") |
| | | @Log(title = "æ¹æ¡ç»æ¡è§å", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(schemeAutofinshruleService.deleteSchemeAutofinshruleByIds(ids)); |
| | | } |
| | |
| | | * æ¥è¯¢æ¹æ¡åç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecategory:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SchemeCategory schemeCategory) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemeCategory schemeCategory) |
| | | { |
| | | startPage(); |
| | | List<SchemeCategory> list = schemeCategoryService.selectSchemeCategoryList(schemeCategory); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecategory:add')") |
| | | @Log(title = "æ¹æ¡åç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemeCategory schemeCategory) |
| | | { |
| | | return toAjax(schemeCategoryService.insertSchemeCategory(schemeCategory)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecategory:edit')") |
| | | @Log(title = "æ¹æ¡åç±»", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemeCategory schemeCategory) |
| | | { |
| | | return toAjax(schemeCategoryService.updateSchemeCategory(schemeCategory)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecategory:remove')") |
| | | @Log(title = "æ¹æ¡åç±»", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(schemeCategoryService.deleteSchemeCategoryByIds(ids)); |
| | |
| | | * æ¥è¯¢æå¡æ¹æ¡åºå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemelibrary:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SchemeLocallibrary schemeLocallibrary) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemeLocallibrary schemeLocallibrary) |
| | | { |
| | | startPage(); |
| | | List<SchemeLocallibrary> list = schemeLocallibraryService.selectSchemeLocallibraryList(schemeLocallibrary); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemelibrary:add')") |
| | | @Log(title = "æå¡æ¹æ¡åº", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemeLocallibrary schemeLocallibrary) |
| | | { |
| | | return toAjax(schemeLocallibraryService.insertSchemeLocallibrary(schemeLocallibrary)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemelibrary:edit')") |
| | | @Log(title = "æå¡æ¹æ¡åº", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemeLocallibrary schemeLocallibrary) |
| | | { |
| | | return toAjax(schemeLocallibraryService.updateSchemeLocallibrary(schemeLocallibrary)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemelibrary:remove')") |
| | | @Log(title = "æå¡æ¹æ¡åº", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(schemeLocallibraryService.deleteSchemeLocallibraryByIds(ids)); |
| | |
| | | * æ¥è¯¢ç®¡ç计åå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeplan:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SchemePlan schemePlan) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemePlan schemePlan) |
| | | { |
| | | startPage(); |
| | | List<SchemePlan> list = schemePlanService.selectSchemePlanList(schemePlan); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeplan:add')") |
| | | @Log(title = "管ç计å", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemePlan schemePlan) |
| | | { |
| | | return toAjax(schemePlanService.insertSchemePlan(schemePlan)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeplan:edit')") |
| | | @Log(title = "管ç计å", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemePlan schemePlan) |
| | | { |
| | | return toAjax(schemePlanService.updateSchemePlan(schemePlan)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeplan:remove')") |
| | | @Log(title = "管ç计å", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(schemePlanService.deleteSchemePlanByIds(ids)); |
| | |
| | | * æ¥è¯¢æ¹æ¡ä»»å¡å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetask:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SchemeTask schemeTask) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemeTask schemeTask) |
| | | { |
| | | startPage(); |
| | | List<SchemeTask> list = schemeTaskService.selectSchemeTaskList(schemeTask); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetask:add')") |
| | | @Log(title = "æ¹æ¡ä»»å¡", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemeTask schemeTask) |
| | | { |
| | | return toAjax(schemeTaskService.insertSchemeTask(schemeTask)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetask:edit')") |
| | | @Log(title = "æ¹æ¡ä»»å¡", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemeTask schemeTask) |
| | | { |
| | | return toAjax(schemeTaskService.updateSchemeTask(schemeTask)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetask:remove')") |
| | | @Log(title = "æ¹æ¡ä»»å¡", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(schemeTaskService.deleteSchemeTaskByIds(ids)); |
| | |
| | | * æ¥è¯¢æ¹æ¡ä»»å¡é
ç½®å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskconfig:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SchemeTaskconfig schemeTaskconfig) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemeTaskconfig schemeTaskconfig) |
| | | { |
| | | startPage(); |
| | | List<SchemeTaskconfig> list = schemeTaskconfigService.selectSchemeTaskconfigList(schemeTaskconfig); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskconfig:add')") |
| | | @Log(title = "æ¹æ¡ä»»å¡é
ç½®", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemeTaskconfig schemeTaskconfig) |
| | | { |
| | | return toAjax(schemeTaskconfigService.insertSchemeTaskconfig(schemeTaskconfig)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskconfig:edit')") |
| | | @Log(title = "æ¹æ¡ä»»å¡é
ç½®", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemeTaskconfig schemeTaskconfig) |
| | | { |
| | | return toAjax(schemeTaskconfigService.updateSchemeTaskconfig(schemeTaskconfig)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskconfig:remove')") |
| | | @Log(title = "æ¹æ¡ä»»å¡é
ç½®", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(schemeTaskconfigService.deleteSchemeTaskconfigByIds(ids)); |
| | |
| | | * æ¥è¯¢æ¹æ¡AIå¤å¼ä»»å¡è¯¦æ
å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SchemeTaskrecordCalldetail schemeTaskrecordCalldetail) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemeTaskrecordCalldetail schemeTaskrecordCalldetail) |
| | | { |
| | | startPage(); |
| | | List<SchemeTaskrecordCalldetail> list = schemeTaskrecordCalldetailService.selectSchemeTaskrecordCalldetailList(schemeTaskrecordCalldetail); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:add')") |
| | | @Log(title = "æ¹æ¡AIå¤å¼ä»»å¡è¯¦æ
", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemeTaskrecordCalldetail schemeTaskrecordCalldetail) |
| | | { |
| | | return toAjax(schemeTaskrecordCalldetailService.insertSchemeTaskrecordCalldetail(schemeTaskrecordCalldetail)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:edit')") |
| | | @Log(title = "æ¹æ¡AIå¤å¼ä»»å¡è¯¦æ
", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemeTaskrecordCalldetail schemeTaskrecordCalldetail) |
| | | { |
| | | return toAjax(schemeTaskrecordCalldetailService.updateSchemeTaskrecordCalldetail(schemeTaskrecordCalldetail)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemecalldetail:remove')") |
| | | @Log(title = "æ¹æ¡AIå¤å¼ä»»å¡è¯¦æ
", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(schemeTaskrecordCalldetailService.deleteSchemeTaskrecordCalldetailByIds(ids)); |
| | |
| | | * æ¥è¯¢æ¹æ¡ä»»å¡å¤çè®°å½å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskrecord:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SchemeTaskrecord schemeTaskrecord) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemeTaskrecord schemeTaskrecord) |
| | | { |
| | | startPage(); |
| | | List<SchemeTaskrecord> list = schemeTaskrecordService.selectSchemeTaskrecordList(schemeTaskrecord); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskrecord:add')") |
| | | @Log(title = "æ¹æ¡ä»»å¡å¤çè®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemeTaskrecord schemeTaskrecord) |
| | | { |
| | | return toAjax(schemeTaskrecordService.insertSchemeTaskrecord(schemeTaskrecord)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskrecord:edit')") |
| | | @Log(title = "æ¹æ¡ä»»å¡å¤çè®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemeTaskrecord schemeTaskrecord) |
| | | { |
| | | return toAjax(schemeTaskrecordService.updateSchemeTaskrecord(schemeTaskrecord)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskrecord:remove')") |
| | | @Log(title = "æ¹æ¡ä»»å¡å¤çè®°å½", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(schemeTaskrecordService.deleteSchemeTaskrecordByIds(ids)); |
| | |
| | | package com.smartor.controller; |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | |
| | | /** |
| | | * æ¹æ¡ä»»å¡éåé
ç½®Controller |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/schemetaskrepeatconfig") |
| | | public class SchemeTaskrepeatconfigController extends BaseController |
| | | { |
| | | public class SchemeTaskrepeatconfigController extends BaseController { |
| | | @Autowired |
| | | private ISchemeTaskrepeatconfigService schemeTaskrepeatconfigService; |
| | | |
| | |
| | | * æ¥è¯¢æ¹æ¡ä»»å¡éåé
ç½®å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskrepeatconfig:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SchemeTaskrepeatconfig schemeTaskrepeatconfig) |
| | | { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemeTaskrepeatconfig schemeTaskrepeatconfig) { |
| | | startPage(); |
| | | List<SchemeTaskrepeatconfig> list = schemeTaskrepeatconfigService.selectSchemeTaskrepeatconfigList(schemeTaskrepeatconfig); |
| | | return getDataTable(list); |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskrepeatconfig:export')") |
| | | @Log(title = "æ¹æ¡ä»»å¡éåé
ç½®", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SchemeTaskrepeatconfig schemeTaskrepeatconfig) |
| | | { |
| | | public void export(HttpServletResponse response, SchemeTaskrepeatconfig schemeTaskrepeatconfig) { |
| | | List<SchemeTaskrepeatconfig> list = schemeTaskrepeatconfigService.selectSchemeTaskrepeatconfigList(schemeTaskrepeatconfig); |
| | | ExcelUtil<SchemeTaskrepeatconfig> util = new ExcelUtil<SchemeTaskrepeatconfig>(SchemeTaskrepeatconfig.class); |
| | | util.exportExcel(response, list, "æ¹æ¡ä»»å¡éåé
ç½®æ°æ®"); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskrepeatconfig:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(schemeTaskrepeatconfigService.selectSchemeTaskrepeatconfigById(id)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskrepeatconfig:add')") |
| | | @Log(title = "æ¹æ¡ä»»å¡éåé
ç½®", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SchemeTaskrepeatconfig schemeTaskrepeatconfig) |
| | | { |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemeTaskrepeatconfig schemeTaskrepeatconfig) { |
| | | return toAjax(schemeTaskrepeatconfigService.insertSchemeTaskrepeatconfig(schemeTaskrepeatconfig)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskrepeatconfig:edit')") |
| | | @Log(title = "æ¹æ¡ä»»å¡éåé
ç½®", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SchemeTaskrepeatconfig schemeTaskrepeatconfig) |
| | | { |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemeTaskrepeatconfig schemeTaskrepeatconfig) { |
| | | return toAjax(schemeTaskrepeatconfigService.updateSchemeTaskrepeatconfig(schemeTaskrepeatconfig)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetaskrepeatconfig:remove')") |
| | | @Log(title = "æ¹æ¡ä»»å¡éåé
ç½®", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(schemeTaskrepeatconfigService.deleteSchemeTaskrepeatconfigByIds(ids)); |
| | | } |
| | | } |
| | |
| | | * æ¥è¯¢æ¹æ¡è§¦åæ¡ä»¶è§åå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetriggerrule:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SchemeTriggerrule schemeTriggerrule) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemeTriggerrule schemeTriggerrule) |
| | | { |
| | | startPage(); |
| | | List<SchemeTriggerrule> list = schemeTriggerruleService.selectSchemeTriggerruleList(schemeTriggerrule); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetriggerrule:add')") |
| | | @Log(title = "æ¹æ¡è§¦åæ¡ä»¶è§å", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemeTriggerrule schemeTriggerrule) |
| | | { |
| | | return toAjax(schemeTriggerruleService.insertSchemeTriggerrule(schemeTriggerrule)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetriggerrule:edit')") |
| | | @Log(title = "æ¹æ¡è§¦åæ¡ä»¶è§å", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemeTriggerrule schemeTriggerrule) |
| | | { |
| | | return toAjax(schemeTriggerruleService.updateSchemeTriggerrule(schemeTriggerrule)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetriggerrule:remove')") |
| | | @Log(title = "æ¹æ¡è§¦åæ¡ä»¶è§å", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(schemeTriggerruleService.deleteSchemeTriggerruleByIds(ids)); |
| | |
| | | * æ¥è¯¢æ¹æ¡è§¦ååºæ¯å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetriggerscene:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SchemeTriggerscene schemeTriggerscene) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemeTriggerscene schemeTriggerscene) |
| | | { |
| | | startPage(); |
| | | List<SchemeTriggerscene> list = schemeTriggersceneService.selectSchemeTriggersceneList(schemeTriggerscene); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetriggerscene:add')") |
| | | @Log(title = "æ¹æ¡è§¦ååºæ¯", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemeTriggerscene schemeTriggerscene) |
| | | { |
| | | return toAjax(schemeTriggersceneService.insertSchemeTriggerscene(schemeTriggerscene)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetriggerscene:edit')") |
| | | @Log(title = "æ¹æ¡è§¦ååºæ¯", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemeTriggerscene schemeTriggerscene) |
| | | { |
| | | return toAjax(schemeTriggersceneService.updateSchemeTriggerscene(schemeTriggerscene)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemetriggerscene:remove')") |
| | | @Log(title = "æ¹æ¡è§¦ååºæ¯", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(schemeTriggersceneService.deleteSchemeTriggersceneByIds(ids)); |
| | |
| | | * æ¥è¯¢çä¿¡åæ°å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsparam:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SmsParam smsParam) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SmsParam smsParam) |
| | | { |
| | | startPage(); |
| | | List<SmsParam> list = smsParamService.selectSmsParamList(smsParam); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsparam:add')") |
| | | @Log(title = "çä¿¡åæ°", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SmsParam smsParam) |
| | | { |
| | | return toAjax(smsParamService.insertSmsParam(smsParam)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsparam:edit')") |
| | | @Log(title = "çä¿¡åæ°", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SmsParam smsParam) |
| | | { |
| | | return toAjax(smsParamService.updateSmsParam(smsParam)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsparam:remove')") |
| | | @Log(title = "çä¿¡åæ°", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{paramids}") |
| | | @GetMapping("/remove/{paramids}") |
| | | public AjaxResult remove(@PathVariable Long[] paramids) |
| | | { |
| | | return toAjax(smsParamService.deleteSmsParamByParamids(paramids)); |
| | |
| | | package com.smartor.controller; |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | |
| | | /** |
| | | * çä¿¡è®°å½Controller |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-06 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/smsrecords") |
| | | public class SmsRecordsController extends BaseController |
| | | { |
| | | public class SmsRecordsController extends BaseController { |
| | | @Autowired |
| | | private ISmsRecordsService smsRecordsService; |
| | | |
| | |
| | | * æ¥è¯¢çä¿¡è®°å½å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsrecords:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SmsRecords smsRecords) |
| | | { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SmsRecords smsRecords) { |
| | | startPage(); |
| | | List<SmsRecords> list = smsRecordsService.selectSmsRecordsList(smsRecords); |
| | | return getDataTable(list); |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsrecords:export')") |
| | | @Log(title = "çä¿¡è®°å½", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SmsRecords smsRecords) |
| | | { |
| | | public void export(HttpServletResponse response, SmsRecords smsRecords) { |
| | | List<SmsRecords> list = smsRecordsService.selectSmsRecordsList(smsRecords); |
| | | ExcelUtil<SmsRecords> util = new ExcelUtil<SmsRecords>(SmsRecords.class); |
| | | util.exportExcel(response, list, "çä¿¡è®°å½æ°æ®"); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsrecords:query')") |
| | | @GetMapping(value = "/{recordid}") |
| | | public AjaxResult getInfo(@PathVariable("recordid") Long recordid) |
| | | { |
| | | public AjaxResult getInfo(@PathVariable("recordid") Long recordid) { |
| | | return success(smsRecordsService.selectSmsRecordsByRecordid(recordid)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsrecords:add')") |
| | | @Log(title = "çä¿¡è®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SmsRecords smsRecords) |
| | | { |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SmsRecords smsRecords) { |
| | | return toAjax(smsRecordsService.insertSmsRecords(smsRecords)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsrecords:edit')") |
| | | @Log(title = "çä¿¡è®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SmsRecords smsRecords) |
| | | { |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SmsRecords smsRecords) { |
| | | return toAjax(smsRecordsService.updateSmsRecords(smsRecords)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsrecords:remove')") |
| | | @Log(title = "çä¿¡è®°å½", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{recordids}") |
| | | public AjaxResult remove(@PathVariable Long[] recordids) |
| | | { |
| | | @GetMapping("/remove/{recordids}") |
| | | public AjaxResult remove(@PathVariable Long[] recordids) { |
| | | return toAjax(smsRecordsService.deleteSmsRecordsByRecordids(recordids)); |
| | | } |
| | | } |
| | |
| | | * æ¥è¯¢ç信模æ¿å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smstemplet:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SmsTemplet smsTemplet) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SmsTemplet smsTemplet) |
| | | { |
| | | startPage(); |
| | | List<SmsTemplet> list = smsTempletService.selectSmsTempletList(smsTemplet); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smstemplet:add')") |
| | | @Log(title = "ç信模æ¿", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SmsTemplet smsTemplet) |
| | | { |
| | | return toAjax(smsTempletService.insertSmsTemplet(smsTemplet)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smstemplet:edit')") |
| | | @Log(title = "ç信模æ¿", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SmsTemplet smsTemplet) |
| | | { |
| | | return toAjax(smsTempletService.updateSmsTemplet(smsTemplet)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smstemplet:remove')") |
| | | @Log(title = "ç信模æ¿", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{templetids}") |
| | | @GetMapping("/remove/{templetids}") |
| | | public AjaxResult remove(@PathVariable Long[] templetids) |
| | | { |
| | | return toAjax(smsTempletService.deleteSmsTempletByTempletids(templetids)); |
| | |
| | | * æ¥è¯¢é®å·åç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyCategory svyCategory) { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyCategory svyCategory) { |
| | | startPage(); |
| | | List<SvyCategory> list = svyCategoryService.selectSvyCategoryList(svyCategory); |
| | | return getDataTable(list); |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:add')") |
| | | @Log(title = "é®å·åç±»", businessType = BusinessType.INSERT) |
| | | @ApiOperation("æ°å¢é®å·åç±»") |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SvyCategory svyCategory) { |
| | | return toAjax(svyCategoryService.insertSvyCategory(svyCategory)); |
| | | } |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:edit')") |
| | | @Log(title = "é®å·åç±»", businessType = BusinessType.UPDATE) |
| | | @ApiOperation("ä¿®æ¹é®å·åç±»") |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyCategory svyCategory) { |
| | | return toAjax(svyCategoryService.updateSvyCategory(svyCategory)); |
| | | } |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:remove')") |
| | | @Log(title = "é®å·åç±»", businessType = BusinessType.DELETE) |
| | | @ApiOperation("å é¤é®å·åç±»") |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(svyCategoryService.deleteSvyCategoryByIds(ids)); |
| | | } |
| | |
| | | * æ¥è¯¢é®å·æç»ç»æå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyfinish:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyFinish svyFinish) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyFinish svyFinish) |
| | | { |
| | | startPage(); |
| | | List<SvyFinish> list = svyFinishService.selectSvyFinishList(svyFinish); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyfinish:add')") |
| | | @Log(title = "é®å·æç»ç»æ", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SvyFinish svyFinish) |
| | | { |
| | | return toAjax(svyFinishService.insertSvyFinish(svyFinish)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyfinish:edit')") |
| | | @Log(title = "é®å·æç»ç»æ", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyFinish svyFinish) |
| | | { |
| | | return toAjax(svyFinishService.updateSvyFinish(svyFinish)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyfinish:remove')") |
| | | @Log(title = "é®å·æç»ç»æ", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(svyFinishService.deleteSvyFinishByIds(ids)); |
| | |
| | | * æ¥è¯¢é®å·æç»ç»æé项详æ
å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyfinishoption:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyFinishoption svyFinishoption) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyFinishoption svyFinishoption) |
| | | { |
| | | startPage(); |
| | | List<SvyFinishoption> list = svyFinishoptionService.selectSvyFinishoptionList(svyFinishoption); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyfinishoption:add')") |
| | | @Log(title = "é®å·æç»ç»æé项详æ
", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SvyFinishoption svyFinishoption) |
| | | { |
| | | return toAjax(svyFinishoptionService.insertSvyFinishoption(svyFinishoption)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyfinishoption:edit')") |
| | | @Log(title = "é®å·æç»ç»æé项详æ
", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyFinishoption svyFinishoption) |
| | | { |
| | | return toAjax(svyFinishoptionService.updateSvyFinishoption(svyFinishoption)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyfinishoption:remove')") |
| | | @Log(title = "é®å·æç»ç»æé项详æ
", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(svyFinishoptionService.deleteSvyFinishoptionByIds(ids)); |
| | |
| | | * æ¥è¯¢é®å·è°æ¥ç»æè¯¦æ
å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyfinishtopic:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyFinishtopic svyFinishtopic) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyFinishtopic svyFinishtopic) |
| | | { |
| | | startPage(); |
| | | List<SvyFinishtopic> list = svyFinishtopicService.selectSvyFinishtopicList(svyFinishtopic); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyfinishtopic:add')") |
| | | @Log(title = "é®å·è°æ¥ç»æè¯¦æ
", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SvyFinishtopic svyFinishtopic) |
| | | { |
| | | return toAjax(svyFinishtopicService.insertSvyFinishtopic(svyFinishtopic)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyfinishtopic:edit')") |
| | | @Log(title = "é®å·è°æ¥ç»æè¯¦æ
", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyFinishtopic svyFinishtopic) |
| | | { |
| | | return toAjax(svyFinishtopicService.updateSvyFinishtopic(svyFinishtopic)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyfinishtopic:remove')") |
| | | @Log(title = "é®å·è°æ¥ç»æè¯¦æ
", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(svyFinishtopicService.deleteSvyFinishtopicByIds(ids)); |
| | |
| | | * æ¥è¯¢é®å·å¼å¸¸å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyexception:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyLibException svyLibException) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyLibException svyLibException) |
| | | { |
| | | startPage(); |
| | | List<SvyLibException> list = svyLibExceptionService.selectSvyLibExceptionList(svyLibException); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyexception:add')") |
| | | @Log(title = "é®å·å¼å¸¸", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SvyLibException svyLibException) |
| | | { |
| | | return toAjax(svyLibExceptionService.insertSvyLibException(svyLibException)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyexception:edit')") |
| | | @Log(title = "é®å·å¼å¸¸", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyLibException svyLibException) |
| | | { |
| | | return toAjax(svyLibExceptionService.updateSvyLibException(svyLibException)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyexception:remove')") |
| | | @Log(title = "é®å·å¼å¸¸", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ecids}") |
| | | @GetMapping("/remove/{ecids}") |
| | | public AjaxResult remove(@PathVariable Long[] ecids) |
| | | { |
| | | return toAjax(svyLibExceptionService.deleteSvyLibExceptionByEcids(ecids)); |
| | |
| | | * æ¥è¯¢é®å·ç»æå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyresult:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyLibResult svyLibResult) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyLibResult svyLibResult) |
| | | { |
| | | startPage(); |
| | | List<SvyLibResult> list = svyLibResultService.selectSvyLibResultList(svyLibResult); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyresult:add')") |
| | | @Log(title = "é®å·ç»æ", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SvyLibResult svyLibResult) |
| | | { |
| | | return toAjax(svyLibResultService.insertSvyLibResult(svyLibResult)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyresult:edit')") |
| | | @Log(title = "é®å·ç»æ", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyLibResult svyLibResult) |
| | | { |
| | | return toAjax(svyLibResultService.updateSvyLibResult(svyLibResult)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyresult:remove')") |
| | | @Log(title = "é®å·ç»æ", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{resultids}") |
| | | @GetMapping("/remove/{resultids}") |
| | | public AjaxResult remove(@PathVariable Long[] resultids) |
| | | { |
| | | return toAjax(svyLibResultService.deleteSvyLibResultByResultids(resultids)); |
| | |
| | | */ |
| | | @ApiOperation("æ¥è¯¢é®å·å表") |
| | | @PostMapping("/selectSvyLibTitlelist") |
| | | public TableDataInfo selectSvyLibTitlelist(@RequestBody SvyLibTitleReq svyLibTitleReq) { |
| | | public TableDataInfo selectSvyLibTitlelist(@RequestBody SvyLibTitleReq svyLibTitleReq) { |
| | | startPage(); |
| | | List<SvyLibTitle> list = svyLibTitleService.selectSvyLibTitleList(svyLibTitleReq); |
| | | return getDataTable(list); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:edit')") |
| | | @Log(title = "é®å·", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyLibTitle svyLibTitle) { |
| | | return toAjax(svyLibTitleService.updateSvyLibTitle(svyLibTitle)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:remove')") |
| | | @Log(title = "é®å·", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{svyids}") |
| | | @GetMapping("/remove/{svyids}") |
| | | public AjaxResult remove(@PathVariable Long[] svyids) { |
| | | return toAjax(svyLibTitleService.deleteSvyLibTitleBySvyids(svyids)); |
| | | } |
| | |
| | | * æ¥è¯¢é®å·é¢ç®å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopic:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyLibTopic svyLibTopic) { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyLibTopic svyLibTopic) { |
| | | startPage(); |
| | | List<SvyLibTopic> list = svyLibTopicService.selectSvyLibTopicList(svyLibTopic); |
| | | return getDataTable(list); |
| | |
| | | @ApiOperation("æ°å¢é®å·é¢ç®") |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopic:add')") |
| | | @Log(title = "é®å·é¢ç®", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SvyLibTopic svyLibTopic) { |
| | | return toAjax(svyLibTopicService.insertSvyLibTopic(svyLibTopic)); |
| | | } |
| | |
| | | @ApiOperation("ä¿®æ¹é®å·é¢ç®") |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopic:edit')") |
| | | @Log(title = "é®å·é¢ç®", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyLibTopic svyLibTopic) { |
| | | return toAjax(svyLibTopicService.updateSvyLibTopic(svyLibTopic)); |
| | | } |
| | |
| | | @ApiOperation("å é¤é®å·é¢ç®") |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopic:remove')") |
| | | @Log(title = "é®å·é¢ç®", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{topicids}") |
| | | @GetMapping("/remove/{topicids}") |
| | | public AjaxResult remove(@PathVariable Long[] topicids) { |
| | | return toAjax(svyLibTopicService.deleteSvyLibTopicByTopicids(topicids)); |
| | | } |
| | |
| | | * æ¥è¯¢é®å·é®é¢é项å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyLibTopicoption svyLibTopicoption) |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyLibTopicoption svyLibTopicoption) |
| | | { |
| | | startPage(); |
| | | List<SvyLibTopicoption> list = svyLibTopicoptionService.selectSvyLibTopicoptionList(svyLibTopicoption); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:add')") |
| | | @Log(title = "é®å·é®é¢é项", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SvyLibTopicoption svyLibTopicoption) |
| | | { |
| | | return toAjax(svyLibTopicoptionService.insertSvyLibTopicoption(svyLibTopicoption)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:edit')") |
| | | @Log(title = "é®å·é®é¢é项", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyLibTopicoption svyLibTopicoption) |
| | | { |
| | | return toAjax(svyLibTopicoptionService.updateSvyLibTopicoption(svyLibTopicoption)); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:remove')") |
| | | @Log(title = "é®å·é®é¢é项", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{optionids}") |
| | | @GetMapping("/remove/{optionids}") |
| | | public AjaxResult remove(@PathVariable Long[] optionids) |
| | | { |
| | | return toAjax(svyLibTopicoptionService.deleteSvyLibTopicoptionByOptionids(optionids)); |
| | |
| | | * æ¥è¯¢é¢ç®å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:topic:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyTopic svyTopic) { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SvyTopic svyTopic) { |
| | | startPage(); |
| | | List<SvyTopic> list = svyTopicService.selectSvyTopicList(svyTopic); |
| | | return getDataTable(list); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:topic:add')") |
| | | @Log(title = "é¢ç®", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SvyTopic svyTopic) { |
| | | return toAjax(svyTopicService.insertSvyTopic(svyTopic)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:topic:edit')") |
| | | @Log(title = "é¢ç®", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SvyTopic svyTopic) { |
| | | return toAjax(svyTopicService.updateSvyTopic(svyTopic)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:topic:remove')") |
| | | @Log(title = "é¢ç®", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{topicids}") |
| | | @GetMapping("/remove/{topicids}") |
| | | public AjaxResult remove(@PathVariable Long[] topicids) { |
| | | return toAjax(svyTopicService.deleteSvyTopicByTopicids(topicids)); |
| | | } |
| | |
| | | * æ¥è¯¢çä¿¡è´¦å·å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsaccount:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(BaseSmsaccount baseSmsaccount) { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody BaseSmsaccount baseSmsaccount) { |
| | | startPage(); |
| | | List<BaseSmsaccount> list = baseSmsaccountService.selectBaseSmsaccountList(baseSmsaccount); |
| | | return getDataTable(list); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsaccount:edit')") |
| | | @Log(title = "çä¿¡è´¦å·", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody BaseSmsaccount baseSmsaccount) { |
| | | return toAjax(baseSmsaccountService.updateBaseSmsaccount(baseSmsaccount)); |
| | | } |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:smsaccount:remove')") |
| | | @Log(title = "çä¿¡è´¦å·", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{smsacountids}") |
| | | @GetMapping("/remove/{smsacountids}") |
| | | public AjaxResult remove(@PathVariable Long[] smsacountids) { |
| | | return toAjax(baseSmsaccountService.deleteBaseSmsaccountBySmsacountids(smsacountids)); |
| | | } |
| | |
| | | import java.io.IOException; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.regex.Matcher; |
| | | import java.util.regex.Pattern; |
| | | |
| | | public class DingTalkService { |
| | | |
| | |
| | | } |
| | | |
| | | public static void main(String[] args) throws ApiException, IOException { |
| | | // String appId = "wx1c5243d2337753f4"; |
| | | // String appSecret = "84a2186a0d175e88345267c716516cd3"; |
| | | // WeChatService weChatService = new WeChatService(appId, appSecret); |
| | | // weChatService.sendMessageToFollowers("ä½ å¨è¯´å¥å¢ï¼ï¼ï¼ï¼"); |
| | | // // new com.smartor.controller.BaseSmsaccountController().sendMessageToFollowers("AIJSl-IF6M05NzaXofPYbT5wgSP3bWH7I9OBmvJqsaU","www.baidu.com"); |
| | | String str = "æè¿æ²¡è´«å¹³åè¡æåè¿é¥"; |
| | | String pattern = "(?!ä¸.*|没.*|æª.*)^.*([è´«å¹³åè¡]|è´«è¡|è¯å¦|è¯å¦),10"; |
| | | |
| | | // sendNotification("17607179857", "1", "2", "3"); |
| | | Workbook workbook = new XSSFWorkbook(); |
| | | Sheet sheet = workbook.createSheet("Sheet1"); |
| | | // å建è¡ååå
æ ¼ï¼å¹¶è®¾ç½®åå
æ ¼çå¼ |
| | | Row row = sheet.createRow(0); |
| | | row.createCell(0).setCellValue("å§å"); |
| | | row.createCell(1).setCellValue("æ§å«"); |
| | | row.createCell(2).setCellValue("è¯ä»¶ç±»å"); |
| | | row.createCell(3).setCellValue("åºçæ¥æ"); |
| | | row.createCell(4).setCellValue("æ¬äººèç³»æ¹å¼"); |
| | | row.createCell(5).setCellValue("亲å±èç³»æ¹å¼"); |
| | | row.createCell(6).setCellValue("æ£è
æ ç¾"); |
| | | row.createCell(7).setCellValue("é误åå "); |
| | | Pattern r = Pattern.compile(pattern); |
| | | Matcher m = r.matcher(str); |
| | | |
| | | // ä¿åå·¥ä½ç°¿å°æä»¶ |
| | | FileOutputStream outputStream = new FileOutputStream("example.xlsx"); |
| | | workbook.write(outputStream); |
| | | outputStream.close(); |
| | | workbook.close(); |
| | | System.out.println(m.find()); |
| | | //// String appId = "wx1c5243d2337753f4"; |
| | | //// String appSecret = "84a2186a0d175e88345267c716516cd3"; |
| | | //// WeChatService weChatService = new WeChatService(appId, appSecret); |
| | | //// weChatService.sendMessageToFollowers("ä½ å¨è¯´å¥å¢ï¼ï¼ï¼ï¼"); |
| | | //// // new com.smartor.controller.BaseSmsaccountController().sendMessageToFollowers("AIJSl-IF6M05NzaXofPYbT5wgSP3bWH7I9OBmvJqsaU","www.baidu.com"); |
| | | // |
| | | //// sendNotification("17607179857", "1", "2", "3"); |
| | | // Workbook workbook = new XSSFWorkbook(); |
| | | // Sheet sheet = workbook.createSheet("Sheet1"); |
| | | // // å建è¡ååå
æ ¼ï¼å¹¶è®¾ç½®åå
æ ¼çå¼ |
| | | // Row row = sheet.createRow(0); |
| | | // row.createCell(0).setCellValue("å§å"); |
| | | // row.createCell(1).setCellValue("æ§å«"); |
| | | // row.createCell(2).setCellValue("è¯ä»¶ç±»å"); |
| | | // row.createCell(3).setCellValue("åºçæ¥æ"); |
| | | // row.createCell(4).setCellValue("æ¬äººèç³»æ¹å¼"); |
| | | // row.createCell(5).setCellValue("亲å±èç³»æ¹å¼"); |
| | | // row.createCell(6).setCellValue("æ£è
æ ç¾"); |
| | | // row.createCell(7).setCellValue("é误åå "); |
| | | // |
| | | // // ä¿åå·¥ä½ç°¿å°æä»¶ |
| | | // FileOutputStream outputStream = new FileOutputStream("example.xlsx"); |
| | | // workbook.write(outputStream); |
| | | // outputStream.close(); |
| | | // workbook.close(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.test; |
| | | |
| | | import cn.hutool.http.HttpRequest; |
| | | import cn.hutool.http.HttpUtil; |
| | | import com.ruoyi.common.constant.Constants; |
| | | import com.ruoyi.common.utils.http.HttpUtils; |
| | | |
| | | import java.io.BufferedReader; |
| | | import java.io.IOException; |
| | | import java.io.InputStreamReader; |
| | | import java.net.HttpURLConnection; |
| | | import java.net.URL; |
| | | import java.nio.file.Files; |
| | | import java.nio.file.Path; |
| | | import java.nio.file.Paths; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | public class pctest { |
| | | |
| | | public static void main(String[] args) { |
| | | String str = null; |
| | | // for (int i = 51; i <= 189; i++) { |
| | | // System.out.print(i + " "); |
| | | try { |
| | | |
| | | // long l = System.currentTimeMillis(); |
| | | //// str = "2263Å189ÅÅ232105105§è¸é¨è¿ç¤ç§æ¥é´ç
æ¿æ£è
<font color='#30a6f5'>é</font><font color='#30a6f5'>访</font>§11¤232334680§è¸é¨è¿ç¤ç§æ£è
åºé¢<font color='#30a6f5'>é</font><font color='#30a6f5'>访</font>§19¤232313714§è¸é¨è¿ç¤ç§é£ç®¡çæ£è
åºé¢<font color='#30a6f5'>é</font><font color='#30a6f5'>访</font>§20¤232294126§è¸é¨è¿ç¤ç§èºçæ£è
åºé¢<font color='#30a6f5'>é</font><font color='#30a6f5'>访</font>§22¤232231895§TKAæ¯å<font color='#30a6f5'>é</font><font color='#30a6f5'>访</font>§16¤232349695§<font color='#30a6f5'>é</font><font color='#30a6f5'>访</font>1æÂ§29¤232303115§é«ç³<font color='#30a6f5'>é</font><font color='#30a6f5'>访</font>å·¥ä½å¹è®è¯é¢Â§16¤232295017§è¿ç¤<font color='#30a6f5'>é</font><font color='#30a6f5'>访</font>ç»è®°å¹è®æµè¯é¢Â§15¤232233427§èå¹´å¥åº·çæµéå<font color='#30a6f5'>é</font><font color='#30a6f5'>访</font>å¹è®æµè¯Â§10¤232215217§24ç
åºIBDæ£è
<font color='#30a6f5'>é</font><font color='#30a6f5'>访</font>é®å·ï¼8.22-8.28ï¼Â§20¤232169849§2023.8.25å°é人俱ä¹é¨MDTé¨è¯<font color='#30a6f5'>é</font><font color='#30a6f5'>访</font>§9¤232173705§<font color='#30a6f5'>é</font><font color='#30a6f5'>访</font>ä¿¡æ¯åé¦è¡¨Â§6¤"; |
| | | //// str = HttpUtils.sendGet("https://www.wjx.cn/handler/Search.ashx?input=%E9%9A%8F%E8%AE%BF&qc=&cp=" + i + "&nw=1&qt=1&accurate=0&t=" + l); |
| | | // while (true) { |
| | | // if (str.contains("<font")) { |
| | | // str = str.substring(0, str.indexOf("<font")) + str.substring(str.indexOf("</font>") + 7); |
| | | // } else { |
| | | //// System.out.println(str); |
| | | |
| | | List<String> list = new ArrayList<>(); |
| | | String folderPath = "E:/pc"; |
| | | try { |
| | | Files.walk(Paths.get(folderPath)).filter(Files::isRegularFile).forEach(path -> list.add(path.getFileName().toString())); |
| | | } catch (IOException e) { |
| | | System.out.println("An error occurred while traversing the folder."); |
| | | e.printStackTrace(); |
| | | } |
| | | |
| | | for (String name : list) { |
| | | name = name.substring(0, name.indexOf(".html")); |
| | | // String sd = "https://www.wjx.cn/xz/" + name + ".aspx"; |
| | | // String content = HttpUtils.sendGet(sd, "review=1&u_atoken=31d3a0e6-e00e-483c-b956-b6177972e734&u_asession=01691hXKO9p1D59fHgd0NAIGdr-8HrPakCUS6X_v_Z43ohuMPPQJnwrrPl3mly-UFXYrO71Pz35K7wOrV6v8t3g9sq8AL43dpOnCClYrgFm6o&u_asig=052KZ_HPijdQddSitCTcvhNlwy7cGO2t46JgQGTyclFPT7xwZjoK0YBNED-DbuN5gugFYO36lFqDfxMpnRFufeLFk7BSuILL02zWW0QNCM-NWgLElQ9wTw7yMg4BFlXpIhOVzkXl1W45ZWoBPny57uZ3WVmTrcdvNBGM1L1rWev0UwpA9oQuqX4mfRyWspmK8gksmHjM0JOodanL5-M1Qs1Srh04GpT7zItRH0TxDThMR15LDAE7pTBPfvFUyoAgUl5gGKGQH-vEmN2Ae1t4GLLQkS6fjps_twKYxR-u2135jY94r_LXIIil3Y3aVPRGAe&u_aref=gk2k7DQa4vfdgaFwA4iVd7KUI4Q%3D", Constants.UTF8); |
| | | // String sd = "https://www.wjx.cn/xz/214877887.aspx?review=1&u_atoken=7ea94b7e-ff2c-4f9f-a16a-2377e7b932f7&u_asession=01mUmaPv86XmI35R93EFzW4vAn-_bjd_hg8O3aV3Qj_hY4LTkzoq3vcQyaBAt_bXG0L3UvT1OC8yhlQ_Vrlj1nD9sq8AL43dpOnCClYrgFm6o&u_asig=05qqfmDpV5jnzQ3zaOR-kKvhCvox19kVoC-lC8wI68PnJ7lkckawOfhM2Sz6TSlLyxhPCLiM-UkS5JtWfnNrZeTMme2Xl4_nh34yljc8iiZeJybY6mcSFGRriqnFvQfUeuCvV5odDJuWRnGyKMRbx_RypafWqYj328He90miD2j6an7QQBtuwLgtjfNI6ktmk7ksmHjM0JOodanL5-M1Qs1cOGKb4pT6nOz7TsF50O_Y5mwcLzFTlOSTrqpuPzNwho1AC5ZokKrUg3JS1GlbH-sRHfAvD91UjmwUK--AQbESDY94r_LXIIil3Y3aVPRGAe&u_aref=muWANYNZeB7WW%2B%2F7kLKv3uRT8ws%3D"; |
| | | // String content = HttpUtils.sendGet(sd); |
| | | HttpRequest get = HttpUtil.createGet("https://www.wjx.cn/xz/215122141.aspx?review=1&u_atoken=ae7fe80c-bf23-4e45-bcda-e1a79738fa28&u_asession=014vQCkRvW7c3i2ofZKQ4cwL_Kbllht28bP58Yv5WaOmib7bTm0yOu3E9ghHeDwRromXsXiqHPUHP-r4N4zkLsNdsq8AL43dpOnCClYrgFm6o&u_asig=05cv8a98zgMB5Y5sCj2tshR0ymwhcsf5o0ZnRdzw_MWEqjWv9qUXA2y-W56hqxwwu62XCEZ1EDfpROWbv7u5K0esMlHJrRxH3x6MobynAbRVK73TZbz-pPzJrSvkDKmiOfptL_k4wm25Oa44SC2LnI-f_gUMOBxNBqpVgCnR54boOBWxWY3t65iSXiQbR5_szmksmHjM0JOodanL5-M1Qs1XAPImYHnI2tMZUJbFSrHeeZf56fnMo9lJFDBHsYIUFUSQYCfCQCLXjf34sWIadxtsAb6Kn2CIzT3kClvRmyaM_Y94r_LXIIil3Y3aVPRGAe&u_aref=OUtfes0VUTyTV7SKqEByRa9VGaU%3D"); |
| | | String content = get.execute().body(); |
| | | //å建æä»¶å¤¹ |
| | | Path folder = Paths.get("E:/pc2/" + name + ".html"); |
| | | Files.createFile(folder); |
| | | Files.write(Paths.get("E:/pc2/" + name + ".html"), content.getBytes()); |
| | | } |
| | | |
| | | |
| | | // int index = 0; |
| | | // while (true) { |
| | | // int dd = str.indexOf("¤", index) + 1; |
| | | // String newStr = str.substring(dd, str.indexOf("§", dd)); |
| | | // index = dd; |
| | | // String sd = "https://www.wjx.cn/xz/" + newStr + ".aspx"; |
| | | // String content = HttpUtils.sendGet(sd, "review=1"); |
| | | // |
| | | // //å建æä»¶å¤¹ |
| | | // Path folder = Paths.get("E:/pc/" + newStr + ".html"); |
| | | // Files.createFile(folder); |
| | | // Files.write(Paths.get("E:/pc/" + newStr + ".html"), content.getBytes()); |
| | | // |
| | | // if (index == -1) { |
| | | // break; |
| | | // } |
| | | // } |
| | | // break; |
| | | // } |
| | | |
| | | // } |
| | | |
| | | } catch (Exception e) { |
| | | } |
| | | } |
| | | } |
| | | //} |
| | |
| | | # å¼åç¯å¢é
ç½® |
| | | server: |
| | | # æå¡å¨çHTTP端å£ï¼é»è®¤ä¸º8080 |
| | | port: 8080 |
| | | port: 8089 |
| | | servlet: |
| | | # åºç¨ç访é®è·¯å¾ |
| | | context-path: / |
| | |
| | | |
| | | # æ¥å¿é
ç½® |
| | | logging: |
| | | # æ¥å¿è·¯å¾ 示ä¾ï¼ Windowsé
ç½®D:/ruoyi/logsï¼Linuxé
ç½® /home/ruoyi/logs,ä¸å¡«å级ç®å½logsï¼ |
| | | path: D:/ruoyi/ls/logs |
| | | level: |
| | | com.ruoyi: debug |
| | | org.springframework: warn |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <configuration> |
| | | <!-- æ¥å¿åæ¾è·¯å¾ --> |
| | | <property name="log.path" value="D:/CodeSource/zhfw-master/logs" /> |
| | | <property name="log.path" value="D:/lihu/logs" /> |
| | | <!-- æ¥å¿è¾åºæ ¼å¼ --> |
| | | <property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" /> |
| | | |
| | |
| | | <br> |
| | | </#list> |
| | | |
| | | |
| | | <input type="submit" value="Submit"> |
| | | </form> |
| | | </body> |
| | |
| | | |
| | | /** |
| | | * å页工å
·ç±» |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | */ |
| | | public class PageUtils extends PageHelper |
| | | { |
| | | public class PageUtils extends PageHelper { |
| | | /** |
| | | * 设置请æ±åé¡µæ°æ® |
| | | */ |
| | | public static void startPage() |
| | | { |
| | | public static void startPage() { |
| | | PageDomain pageDomain = TableSupport.buildPageRequest(); |
| | | Integer pageNum = pageDomain.getPageNum(); |
| | | Integer pageSize = pageDomain.getPageSize(); |
| | |
| | | } |
| | | |
| | | /** |
| | | * 设置请æ±åé¡µæ°æ® |
| | | */ |
| | | public static void startPageByPost(Integer pageNum, Integer pageSize) { |
| | | if (pageNum == null) pageNum = 1; |
| | | if (pageSize == null) pageSize = 10; |
| | | PageHelper.startPage(pageNum, pageSize, "").setReasonable(true); |
| | | } |
| | | |
| | | /** |
| | | * æ¸
çå页ç线ç¨åé |
| | | */ |
| | | public static void clearPage() |
| | | { |
| | | public static void clearPage() { |
| | | PageHelper.clearPage(); |
| | | } |
| | | } |
| | |
| | | @ApiModelProperty("æ¯å¦å¼å¯ 1å¼å¯ 0å
³é") |
| | | private Integer isenable; |
| | | |
| | | /** |
| | | * pageNum |
| | | */ |
| | | @ApiModelProperty("pageNum") |
| | | private Integer pageNum; |
| | | |
| | | /** |
| | | * pageSize |
| | | */ |
| | | @ApiModelProperty("pageSize") |
| | | private Integer pageSize; |
| | | |
| | | } |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | |
| | | |
| | | /** |
| | | * 宣æå类对象 he_category |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "HeCategory", description = "宣æå类对象") |
| | | public class HeCategory extends BaseEntity |
| | | { |
| | | public class HeCategory extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(name = "èªå¢ID") |
| | | private Long id; |
| | | |
| | | /** åç±»åç§° */ |
| | | /** |
| | | * åç±»åç§° |
| | | */ |
| | | @ApiModelProperty(name = "åç±»åç§°") |
| | | private String categoryname; |
| | | |
| | | /** æºæID */ |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty(name = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(name = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @ApiModelProperty(name = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @ApiModelProperty(name = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | public void setId(Long id) |
| | | { |
| | | this.id = id; |
| | | } |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @ApiModelProperty(name = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | public Long getId() |
| | | { |
| | | return id; |
| | | } |
| | | public void setCategoryname(String categoryname) |
| | | { |
| | | this.categoryname = categoryname; |
| | | } |
| | | |
| | | public String getCategoryname() |
| | | { |
| | | return categoryname; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | public void setDelFlag(String delFlag) |
| | | { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public String getDelFlag() |
| | | { |
| | | return delFlag; |
| | | } |
| | | public void setIsupload(Long isupload) |
| | | { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Long getIsupload() |
| | | { |
| | | return isupload; |
| | | } |
| | | public void setUploadTime(Date uploadTime) |
| | | { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public Date getUploadTime() |
| | | { |
| | | return uploadTime; |
| | | } |
| | | /** |
| | | * GUID |
| | | */ |
| | | @ApiModelProperty(name = "GUID") |
| | | private String guid; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("id", getId()) |
| | | .append("categoryname", getCategoryname()) |
| | | .append("orgid", getOrgid()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .toString(); |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("categoryname", getCategoryname()).append("orgid", getOrgid()).append("delFlag", getDelFlag()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("isupload", getIsupload()).append("uploadTime", getUploadTime()).toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 宣æå类对象 he_category |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "HeCategory", description = "宣æåç±»è¿å对象") |
| | | public class HeCategoryVO extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(name = "èªå¢ID") |
| | | private Long id; |
| | | |
| | | /** |
| | | * åç±»åç§° |
| | | */ |
| | | @ApiModelProperty(name = "åç±»åç§°") |
| | | private String categoryname; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty(name = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(name = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @ApiModelProperty(name = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @ApiModelProperty(name = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @ApiModelProperty(name = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * guid |
| | | */ |
| | | @ApiModelProperty(name = "guid") |
| | | private String guid; |
| | | |
| | | /** |
| | | * åæ°æ® |
| | | */ |
| | | @ApiModelProperty(name = "åæ°æ®") |
| | | private List<HeCategory> heCategoryList; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("categoryname", getCategoryname()).append("orgid", getOrgid()).append("delFlag", getDelFlag()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("isupload", getIsupload()).append("uploadTime", getUploadTime()).toString(); |
| | | } |
| | | } |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | |
| | | |
| | | /** |
| | | * ææ åºå¯¹è±¡ ivr_liba_target |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | public class IvrLibaTarget extends BaseEntity |
| | | { |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTarget", description = "ææ åºå¯¹è±¡") |
| | | public class IvrLibaTarget extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** $column.columnComment */ |
| | | private String targetID; |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty(name = "主é®") |
| | | private Long targetID; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String targetType; |
| | | /** |
| | | * åç»ID |
| | | */ |
| | | @Excel(name = "åç»ID") |
| | | @ApiModelProperty(name = "åç»ID") |
| | | private String groupid; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String categoryName; |
| | | /** |
| | | * ææ ç±»å |
| | | */ |
| | | @Excel(name = "ææ ç±»å") |
| | | @ApiModelProperty(name = "ææ ç±»å") |
| | | private String targettype; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String targetValue; |
| | | /** |
| | | * ææ åç§° |
| | | */ |
| | | @Excel(name = "ææ åç§°") |
| | | @ApiModelProperty(name = "ææ åç§°") |
| | | private String targetname; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String targetRegex; |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${note}", readConverterExp = "$column.readConverterExp()") |
| | | private String note; |
| | | /** |
| | | * ææ æè¿° |
| | | */ |
| | | @Excel(name = "ææ æè¿°") |
| | | @ApiModelProperty(name = "ææ æè¿°") |
| | | private String targetdesc; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | /** |
| | | * è¯è¨ |
| | | */ |
| | | @Excel(name = "è¯è¨") |
| | | @ApiModelProperty(name = "è¯è¨") |
| | | private String language; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | /** |
| | | * çæ¬ |
| | | */ |
| | | @Excel(name = "çæ¬") |
| | | @ApiModelProperty(name = "çæ¬") |
| | | private Long version; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Long isEnable; |
| | | /** |
| | | * å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼ |
| | | */ |
| | | @ApiModelProperty(name = "å¼ç±»åï¼1 é项 2 ææ¬ 3 æ°å¼ï¼") |
| | | @Excel(name = "å¼ç±»å", readConverterExp = "1=,é=项,2=,æ=æ¬,3=,æ°=å¼") |
| | | private Long isenable; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Long isDel; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String addUserID; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Date addTime; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String modifyUserID; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Date modifyTime; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String groupID; |
| | | |
| | | /** æ¯å¦å¼å¸¸æ è¯ */ |
| | | /** |
| | | * æ¯å¦å¼å¸¸æ è¯ |
| | | */ |
| | | @Excel(name = "æ¯å¦å¼å¸¸æ è¯") |
| | | private Long isAbnormal; |
| | | @ApiModelProperty(name = "æ¯å¦å¼å¸¸æ è¯") |
| | | private Long isabnormal; |
| | | |
| | | /** é¢è¦éå¼ä¸é */ |
| | | /** |
| | | * é¢è¦éå¼ä¸é |
| | | */ |
| | | @Excel(name = "é¢è¦éå¼ä¸é") |
| | | private Long WarnUp; |
| | | @ApiModelProperty(name = "é¢è¦éå¼ä¸é") |
| | | private Long warnup; |
| | | |
| | | /** é¢è¦éå¼ä¸é */ |
| | | /** |
| | | * é¢è¦éå¼ä¸é |
| | | */ |
| | | @Excel(name = "é¢è¦éå¼ä¸é") |
| | | private Long WarnDown; |
| | | @ApiModelProperty(name = "é¢è¦éå¼ä¸é") |
| | | private Long warndown; |
| | | |
| | | /** å 餿 è®° */ |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(name = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty(name = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @ApiModelProperty(name = "ä¸ä¼ æ¶é´") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | /** æºæID */ |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(name = "æºæID") |
| | | private String orgid; |
| | | |
| | | public void setTargetID(String targetID) |
| | | { |
| | | this.targetID = targetID; |
| | | } |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(name = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | public String getTargetID() |
| | | { |
| | | return targetID; |
| | | } |
| | | public void setTargetType(String targetType) |
| | | { |
| | | this.targetType = targetType; |
| | | } |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(name = "GUID") |
| | | private String guid; |
| | | |
| | | public String getTargetType() |
| | | { |
| | | return targetType; |
| | | } |
| | | public void setCategoryName(String categoryName) |
| | | { |
| | | this.categoryName = categoryName; |
| | | } |
| | | /** |
| | | * åç±»id |
| | | */ |
| | | @Excel(name = "åç±»id") |
| | | @ApiModelProperty(name = "åç±»id") |
| | | private Long assortid; |
| | | |
| | | public String getCategoryName() |
| | | { |
| | | return categoryName; |
| | | } |
| | | public void setTargetValue(String targetValue) |
| | | { |
| | | this.targetValue = targetValue; |
| | | } |
| | | /** |
| | | * pageNum |
| | | */ |
| | | @ApiModelProperty(name = "pageNum") |
| | | @Excel(name = "pageNum") |
| | | private Integer pageNum; |
| | | |
| | | public String getTargetValue() |
| | | { |
| | | return targetValue; |
| | | } |
| | | public void setTargetRegex(String targetRegex) |
| | | { |
| | | this.targetRegex = targetRegex; |
| | | } |
| | | /** |
| | | * pageSize |
| | | */ |
| | | @ApiModelProperty(name = "pageSize") |
| | | @Excel(name = "pageSize") |
| | | private Integer pageSize; |
| | | |
| | | public String getTargetRegex() |
| | | { |
| | | return targetRegex; |
| | | } |
| | | public void setNote(String note) |
| | | { |
| | | this.note = note; |
| | | } |
| | | |
| | | public String getNote() |
| | | { |
| | | return note; |
| | | } |
| | | public void setLanguage(String language) |
| | | { |
| | | this.language = language; |
| | | } |
| | | |
| | | public String getLanguage() |
| | | { |
| | | return language; |
| | | } |
| | | public void setVersion(Long version) |
| | | { |
| | | this.version = version; |
| | | } |
| | | |
| | | public Long getVersion() |
| | | { |
| | | return version; |
| | | } |
| | | public void setIsEnable(Long isEnable) |
| | | { |
| | | this.isEnable = isEnable; |
| | | } |
| | | |
| | | public Long getIsEnable() |
| | | { |
| | | return isEnable; |
| | | } |
| | | public void setIsDel(Long isDel) |
| | | { |
| | | this.isDel = isDel; |
| | | } |
| | | |
| | | public Long getIsDel() |
| | | { |
| | | return isDel; |
| | | } |
| | | public void setAddUserID(String addUserID) |
| | | { |
| | | this.addUserID = addUserID; |
| | | } |
| | | |
| | | public String getAddUserID() |
| | | { |
| | | return addUserID; |
| | | } |
| | | public void setAddTime(Date addTime) |
| | | { |
| | | this.addTime = addTime; |
| | | } |
| | | |
| | | public Date getAddTime() |
| | | { |
| | | return addTime; |
| | | } |
| | | public void setModifyUserID(String modifyUserID) |
| | | { |
| | | this.modifyUserID = modifyUserID; |
| | | } |
| | | |
| | | public String getModifyUserID() |
| | | { |
| | | return modifyUserID; |
| | | } |
| | | public void setModifyTime(Date modifyTime) |
| | | { |
| | | this.modifyTime = modifyTime; |
| | | } |
| | | |
| | | public Date getModifyTime() |
| | | { |
| | | return modifyTime; |
| | | } |
| | | public void setGroupID(String groupID) |
| | | { |
| | | this.groupID = groupID; |
| | | } |
| | | |
| | | public String getGroupID() |
| | | { |
| | | return groupID; |
| | | } |
| | | public void setIsAbnormal(Long isAbnormal) |
| | | { |
| | | this.isAbnormal = isAbnormal; |
| | | } |
| | | |
| | | public Long getIsAbnormal() |
| | | { |
| | | return isAbnormal; |
| | | } |
| | | public void setWarnUp(Long WarnUp) |
| | | { |
| | | this.WarnUp = WarnUp; |
| | | } |
| | | |
| | | public Long getWarnUp() |
| | | { |
| | | return WarnUp; |
| | | } |
| | | public void setWarnDown(Long WarnDown) |
| | | { |
| | | this.WarnDown = WarnDown; |
| | | } |
| | | |
| | | public Long getWarnDown() |
| | | { |
| | | return WarnDown; |
| | | } |
| | | public void setDelFlag(String delFlag) |
| | | { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public String getDelFlag() |
| | | { |
| | | return delFlag; |
| | | } |
| | | public void setIsupload(Long isupload) |
| | | { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Long getIsupload() |
| | | { |
| | | return isupload; |
| | | } |
| | | public void setUploadTime(Date uploadTime) |
| | | { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public Date getUploadTime() |
| | | { |
| | | return uploadTime; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("targetID", getTargetID()) |
| | | .append("targetType", getTargetType()) |
| | | .append("categoryName", getCategoryName()) |
| | | .append("targetValue", getTargetValue()) |
| | | .append("targetRegex", getTargetRegex()) |
| | | .append("note", getNote()) |
| | | .append("language", getLanguage()) |
| | | .append("version", getVersion()) |
| | | .append("isEnable", getIsEnable()) |
| | | .append("isDel", getIsDel()) |
| | | .append("addUserID", getAddUserID()) |
| | | .append("addTime", getAddTime()) |
| | | .append("modifyUserID", getModifyUserID()) |
| | | .append("modifyTime", getModifyTime()) |
| | | .append("groupID", getGroupID()) |
| | | .append("isAbnormal", getIsAbnormal()) |
| | | .append("WarnUp", getWarnUp()) |
| | | .append("WarnDown", getWarnDown()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .append("orgid", getOrgid()) |
| | | .toString(); |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("targetID", getTargetID()).append("groupid", getGroupid()).append("targettype", getTargettype()).append("targetname", getTargetname()).append("targetdesc", getTargetdesc()).append("language", getLanguage()).append("version", getVersion()).append("isenable", getIsenable()).append("isabnormal", getIsabnormal()).append("warnup", getWarnup()).append("warndown", getWarndown()).append("delFlag", getDelFlag()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("isupload", getIsupload()).append("uploadTime", getUploadTime()).append("orgid", getOrgid()).append("pid", getPid()).append("guid", getGuid()).append("assortid", getAssortid()).toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * ææ å类对象 ivr_liba_target_assort |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTarget", description = "ææ åºå¯¹è±¡") |
| | | public class IvrLibaTargetAssort extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty(name = "主é®") |
| | | private Long id; |
| | | |
| | | /** |
| | | * ææ åç±»åç§° |
| | | */ |
| | | @ApiModelProperty(name = "主é®") |
| | | @Excel(name = "ææ åç±»åç§°") |
| | | private String indexAssortName; |
| | | |
| | | /** |
| | | * å é¤ |
| | | */ |
| | | @ApiModelProperty(name = "å é¤") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ç¶id |
| | | */ |
| | | @ApiModelProperty(name = "ç¶id") |
| | | @Excel(name = "ç¶id") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * pageNum |
| | | */ |
| | | @ApiModelProperty(name = "pageNum") |
| | | @Excel(name = "pageNum") |
| | | private Integer pageNum; |
| | | |
| | | /** |
| | | * pageSize |
| | | */ |
| | | @ApiModelProperty(name = "pageSize") |
| | | @Excel(name = "pageSize") |
| | | private Integer pageSize; |
| | | |
| | | |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("indexAssortName", getIndexAssortName()).append("delFlag", getDelFlag()).append("createTime", getCreateTime()).append("updateTime", getUpdateTime()).append("pid", getPid()).toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ææ å类对象 ivr_liba_target_assort |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTarget", description = "ææ åºå¯¹è±¡") |
| | | public class IvrLibaTargetAssortVO extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty(name = "主é®") |
| | | private Long id; |
| | | |
| | | /** |
| | | * ææ åç±»åç§° |
| | | */ |
| | | @ApiModelProperty(name = "主é®") |
| | | @Excel(name = "ææ åç±»åç§°") |
| | | private String indexAssortName; |
| | | |
| | | /** |
| | | * å é¤ |
| | | */ |
| | | @ApiModelProperty(name = "å é¤") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ç¶id |
| | | */ |
| | | @ApiModelProperty(name = "ç¶id") |
| | | @Excel(name = "ç¶id") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * pageNum |
| | | */ |
| | | @ApiModelProperty(name = "pageNum") |
| | | @Excel(name = "pageNum") |
| | | private Integer pageNum; |
| | | |
| | | /** |
| | | * pageSize |
| | | */ |
| | | @ApiModelProperty(name = "pageSize") |
| | | @Excel(name = "pageSize") |
| | | private Integer pageSize; |
| | | |
| | | /** |
| | | * åæ°æ® |
| | | */ |
| | | @ApiModelProperty(name = "åæ°æ®") |
| | | private List<IvrLibaTargetAssort> ivrLibaTargetAssortList; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("indexAssortName", getIndexAssortName()).append("delFlag", getDelFlag()).append("createTime", getCreateTime()).append("updateTime", getUpdateTime()).append("pid", getPid()).toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * ææ é项åºå¯¹è±¡ ivr_liba_targetoption |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTargetoption", description = "ææ é项åºå¯¹è±¡") |
| | | public class IvrLibaTargetoption extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty(name = "主é®") |
| | | private Long targetoptionid; |
| | | |
| | | @ApiModelProperty(name = "ææ ID") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Long targetid; |
| | | |
| | | @ApiModelProperty(name = "ææ ç±»å") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String targettype; |
| | | |
| | | /** |
| | | * ç±»å«åç§° |
| | | */ |
| | | @ApiModelProperty(name = "ç±»å«åç§°") |
| | | @Excel(name = "ç±»å«åç§°") |
| | | private String categoryName; |
| | | |
| | | @ApiModelProperty(name = "ææ å¼") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String targetvalue; |
| | | |
| | | @ApiModelProperty(name = "æ£å") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String targetregex; |
| | | |
| | | @ApiModelProperty(name = "é项æè¿°") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String optiondesc; |
| | | |
| | | @ApiModelProperty(name = "è¯è¨") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String language; |
| | | |
| | | @ApiModelProperty(name = "çæ¬å·") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private Long version; |
| | | |
| | | @ApiModelProperty(name = "åç»ID") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String groupid; |
| | | |
| | | /** |
| | | * æ¯å¦å¼å¸¸æ è¯ |
| | | */ |
| | | @ApiModelProperty(name = "æ¯å¦å¼å¸¸æ è¯") |
| | | @Excel(name = "æ¯å¦å¼å¸¸æ è¯") |
| | | private Long isabnormal; |
| | | |
| | | /** |
| | | * é¢è¦éå¼ä¸é |
| | | */ |
| | | @ApiModelProperty(name = "é¢è¦éå¼ä¸é") |
| | | @Excel(name = "é¢è¦éå¼ä¸é") |
| | | private Long warnup; |
| | | |
| | | /** |
| | | * é¢è¦éå¼ä¸é |
| | | */ |
| | | @ApiModelProperty(name = "é¢è¦éå¼ä¸é") |
| | | @Excel(name = "é¢è¦éå¼ä¸é") |
| | | private Long warndown; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(name = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @ApiModelProperty(name = "ä¸ä¼ æ è®°") |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @ApiModelProperty(name = "ä¸ä¼ æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty(name = "æºæID") |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @ApiModelProperty(name = "ç¶ID") |
| | | @Excel(name = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @ApiModelProperty(name = "GUID") |
| | | @Excel(name = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * pageNum |
| | | */ |
| | | @ApiModelProperty(name = "pageNum") |
| | | @Excel(name = "pageNum") |
| | | private Integer pageNum; |
| | | |
| | | /** |
| | | * pageSize |
| | | */ |
| | | @ApiModelProperty(name = "pageSize") |
| | | @Excel(name = "pageSize") |
| | | private Integer pageSize; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("targetoptionid", getTargetoptionid()).append("targetid", getTargetid()).append("targettype", getTargettype()).append("categoryName", getCategoryName()).append("targetvalue", getTargetvalue()).append("targetregex", getTargetregex()).append("optiondesc", getOptiondesc()).append("language", getLanguage()).append("version", getVersion()).append("groupid", getGroupid()).append("isabnormal", getIsabnormal()).append("warnup", getWarnup()).append("warndown", getWarndown()).append("delFlag", getDelFlag()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("isupload", getIsupload()).append("uploadTime", getUploadTime()).append("orgid", getOrgid()).append("pid", getPid()).append("guid", getGuid()).toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | |
| | | /** |
| | | * ç
å²å¯¹è±¡ medical_history |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-06 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "MedicalHistory", description = "ç
å²å¯¹è±¡") |
| | | public class MedicalHistory extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long id; |
| | | |
| | | /** |
| | | * è¿å¾ç¾ç
|
| | | */ |
| | | @Excel(name = "è¿å¾ç¾ç
") |
| | | @ApiModelProperty(value = "è¿å¾ç¾ç
") |
| | | private String pastIllnesses; |
| | | |
| | | /** |
| | | * è¯ç©è¿æ |
| | | */ |
| | | @Excel(name = "è¯ç©è¿æ") |
| | | @ApiModelProperty(value = "è¯ç©è¿æ") |
| | | private String drugAllergy; |
| | | |
| | | /** |
| | | * å®¶æç
å² |
| | | */ |
| | | @Excel(name = "å®¶æç
å²") |
| | | @ApiModelProperty(value = "å®¶æç
å²") |
| | | private String familyHistory; |
| | | |
| | | /** |
| | | * ææ¯å² |
| | | */ |
| | | @Excel(name = "ææ¯å²") |
| | | @ApiModelProperty(value = "ææ¯å²") |
| | | private String surgicalHistory; |
| | | |
| | | /** |
| | | * çè²å² |
| | | */ |
| | | @Excel(name = "çè²å²") |
| | | @ApiModelProperty(value = "çè²å²") |
| | | private String reproductiveHistory; |
| | | |
| | | /** |
| | | * æç»å² |
| | | */ |
| | | @Excel(name = "æç»å²") |
| | | @ApiModelProperty(value = "æç»å²") |
| | | private String menstrualHistory; |
| | | |
| | | /** |
| | | * å¸çæ
åµ |
| | | */ |
| | | @Excel(name = "å¸çæ
åµ") |
| | | @ApiModelProperty(value = "å¸çæ
åµ") |
| | | private String smoking; |
| | | |
| | | /** |
| | | * 饮é
æ
åµ |
| | | */ |
| | | @Excel(name = "饮é
æ
åµ") |
| | | @ApiModelProperty(value = "饮é
æ
åµ") |
| | | private String drink; |
| | | |
| | | /** |
| | | * è¿å¨æ
åµ |
| | | */ |
| | | @Excel(name = "è¿å¨æ
åµ") |
| | | @ApiModelProperty(value = "è¿å¨æ
åµ") |
| | | private String motion; |
| | | |
| | | /** |
| | | * 饮飿
åµ |
| | | */ |
| | | @Excel(name = "饮飿
åµ") |
| | | @ApiModelProperty(value = "饮飿
åµ") |
| | | private String diet; |
| | | |
| | | /** |
| | | * å¿çæ
åµ |
| | | */ |
| | | @Excel(name = "å¿çæ
åµ") |
| | | @ApiModelProperty(value = "å¿çæ
åµ") |
| | | private String psychology; |
| | | |
| | | /** |
| | | * æ£è
id |
| | | */ |
| | | @Excel(name = "æ£è
id") |
| | | @ApiModelProperty(value = "æ£è
id") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * pageNum |
| | | */ |
| | | @ApiModelProperty(name = "pageNum") |
| | | @Excel(name = "pageNum") |
| | | private Integer pageNum; |
| | | |
| | | /** |
| | | * pageSize |
| | | */ |
| | | @ApiModelProperty(name = "pageSize") |
| | | @Excel(name = "pageSize") |
| | | private Integer pageSize; |
| | | |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("pastIllnesses", getPastIllnesses()).append("drugAllergy", getDrugAllergy()).append("familyHistory", getFamilyHistory()).append("surgicalHistory", getSurgicalHistory()).append("reproductiveHistory", getReproductiveHistory()).append("menstrualHistory", getMenstrualHistory()).append("smoking", getSmoking()).append("drink", getDrink()).append("motion", getMotion()).append("diet", getDiet()).append("psychology", getPsychology()).append("pid", getPid()).toString(); |
| | | } |
| | | } |
| | |
| | | private Long sex; |
| | | |
| | | /** |
| | | * è¯ä»¶ç±»å |
| | | */ |
| | | @ApiModelProperty("è¯ä»¶ç±»å") |
| | | @Excel(name = " è¯ä»¶ç±»å ") |
| | | private String idcardtype; |
| | | |
| | | |
| | | /** |
| | | * è¯ä»¶å·ç |
| | | */ |
| | | @ApiModelProperty("ç±è´¯") |
| | | @Excel(name = " ç±è´¯ ") |
| | | private String nativePlace; |
| | | |
| | | |
| | | /** |
| | | * è¯ä»¶å·ç |
| | | */ |
| | | @ApiModelProperty("å±
ä½å°") |
| | | @Excel(name = " å±
ä½å° ") |
| | | private String placeOfResidence; |
| | | |
| | | |
| | | /** |
| | | * è¯ä»¶å·ç |
| | | */ |
| | | @ApiModelProperty("åºçå°") |
| | | @Excel(name = " åºçå° ") |
| | | private String birthplace; |
| | | |
| | | |
| | | /** |
| | | * è¯ä»¶å·ç |
| | | */ |
| | | @ApiModelProperty("è¯ä»¶å·ç ") |
| | | @Excel(name = " è¯ä»¶å·ç ") |
| | | private String iccardno; |
| | | private String idcardno; |
| | | |
| | | /** |
| | | * çæ¥ |
| | |
| | | * æ¥æº |
| | | */ |
| | | @ApiModelProperty("æ¥æº") |
| | | @Excel(name = " æ¥æº ") |
| | | private Long source; |
| | | |
| | | /** |
| | |
| | | * 建档人 |
| | | */ |
| | | @ApiModelProperty("建档人") |
| | | @Excel(name = " 建档人 ") |
| | | private String archiveby; |
| | | |
| | | /** |
| | |
| | | @Excel(name = " ææºå·ç ") |
| | | private String telcode; |
| | | |
| | | |
| | | /** |
| | | * 亲å±å·ç |
| | | */ |
| | |
| | | private String relativetelcode; |
| | | |
| | | /** |
| | | * è¯ä»¶ç±»å |
| | | * æ°æ |
| | | */ |
| | | @ApiModelProperty("è¯ä»¶ç±»å") |
| | | @Excel(name = " è¯ä»¶ç±»å ") |
| | | private String iccardtype; |
| | | @ApiModelProperty("æ°æ") |
| | | @Excel(name = " æ°æ ") |
| | | private String nation; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty("æºæID") |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * 微信openid |
| | | */ |
| | | @ApiModelProperty("微信openid") |
| | | @Excel(name = " 微信openid ") |
| | | private String openid; |
| | | |
| | | /** |
| | |
| | | @ApiModelProperty("æ ç¾éå") |
| | | private List<String> tagList; |
| | | |
| | | /** |
| | | * æ ç¾ |
| | | */ |
| | | @ApiModelProperty("æ£è
ç±»å") |
| | | @Excel(name = " æ£è
ç±»å ", cellType = Excel.ColumnType.STRING) |
| | | private String pattype; |
| | | |
| | | /** |
| | | * ééå· |
| | | */ |
| | | @ApiModelProperty("ééå·") |
| | | @Excel(name = " ééå· ") |
| | | private String dduserid; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("patid", getPatid()).append("name", getName()).append("sex", getSex()).append("iccardno", getIccardno()).append("birthdate", getBirthdate()).append("age", getAge()).append("source", getSource()).append("archivetime", getArchivetime()).append("archiveby", getArchiveby()).append("telcode", getTelcode()).append("relativetelcode", getRelativetelcode()).append("iccardtype", getIccardtype()).append("orgid", getOrgid()).append("openid", getOpenid()).append("delFlag", getDelFlag()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("isupload", getIsupload()).append("uploadTime", getUploadTime()).toString(); |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("patid", getPatid()).append("name", getName()).append("sex", getSex()).append("idcardno", getIdcardno()).append("birthdate", getBirthdate()).append("age", getAge()).append("source", getSource()).append("archivetime", getArchivetime()).append("archiveby", getArchiveby()).append("telcode", getTelcode()).append("relativetelcode", getRelativetelcode()).append("idcardtype", getIdcardtype()).append("orgid", getOrgid()).append("openid", getOpenid()).append("delFlag", getDelFlag()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("isupload", getIsupload()).append("uploadTime", getUploadTime()).toString(); |
| | | } |
| | | } |
| | |
| | | */ |
| | | @ApiModelProperty("è¯ä»¶å·ç ") |
| | | @Excel(name = " è¯ä»¶å·ç ") |
| | | private String iccardno; |
| | | private String idcardno; |
| | | |
| | | /** |
| | | * çæ¥ |
| | |
| | | * è¯ä»¶ç±»å |
| | | */ |
| | | @ApiModelProperty("è¯ä»¶ç±»å") |
| | | private String iccardtype; |
| | | private String idcardtype; |
| | | |
| | | /** |
| | | * æºæID |
| | |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("patid", getPatid()).append("name", getName()).append("sex", getSex()).append("iccardno", getIccardno()).append("birthdate", getBirthdate()).append("age", getAge()).append("source", getSource()).append("archivetime", getArchivetime()).append("archiveby", getArchiveby()).append("telcode", getTelcode()).append("relativetelcode", getRelativetelcode()).append("iccardtype", getIccardtype()).append("orgid", getOrgid()).append("openid", getOpenid()).append("delFlag", getDelFlag()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("isupload", getIsupload()).append("uploadTime", getUploadTime()).toString(); |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("patid", getPatid()).append("name", getName()).append("sex", getSex()).append("iccardno", getIdcardno()).append("birthdate", getBirthdate()).append("age", getAge()).append("source", getSource()).append("archivetime", getArchivetime()).append("archiveby", getArchiveby()).append("telcode", getTelcode()).append("relativetelcode", getRelativetelcode()).append("iccardtype", getIdcardtype()).append("orgid", getOrgid()).append("openid", getOpenid()).append("delFlag", getDelFlag()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("isupload", getIsupload()).append("uploadTime", getUploadTime()).toString(); |
| | | } |
| | | } |
| | |
| | | @ApiModel(value = "PatArchiveReq", description = "æ£è
æ¡£æ¡è¯·æ±å¯¹è±¡") |
| | | @Data |
| | | public class PatArchiveReq { |
| | | /** |
| | | * å§å |
| | | */ |
| | | @ApiModelProperty("æ£è
id") |
| | | @Excel(name = " æ£è
id ") |
| | | private String pid; |
| | | |
| | | /** |
| | | * å§å |
| | |
| | | */ |
| | | @ApiModelProperty("è¯ä»¶å·ç ") |
| | | @Excel(name = " è¯ä»¶å·ç ") |
| | | private String iccardno; |
| | | private String idcardno; |
| | | |
| | | |
| | | /** |
| | |
| | | private List<String> tagIds; |
| | | |
| | | |
| | | /** |
| | | * æ¥çå
¨é¨ 0 æ¥çä½é¢ 1 æ¥çé¨è¯ 2 æ¥ç使£ 3 |
| | | */ |
| | | @ApiModelProperty(value = "æ¥çå
¨é¨ 0 æ¥çä½é¢ 1 æ¥çé¨è¯ 2 æ¥ç使£ 3") |
| | | private Long allhosp; |
| | | |
| | | |
| | | /** |
| | | * å»é¢åç§° |
| | | */ |
| | | @ApiModelProperty(value = "å»é¢åç§°") |
| | | private String hospitalname; |
| | | |
| | | /** |
| | | * å»é¢åç§° |
| | | */ |
| | | @ApiModelProperty(value = "ç§å®¤/ç
åº") |
| | | private String deptname; |
| | | |
| | | /** |
| | | * å»é¢åç§° |
| | | */ |
| | | @ApiModelProperty(value = "å»ç") |
| | | private String drname; |
| | | |
| | | |
| | | /** |
| | | * å»é¢åç§° |
| | | */ |
| | | @ApiModelProperty(value = "å»ç") |
| | | private Date endtime; |
| | | |
| | | /** |
| | | * å°±è¯ç¼å· |
| | | */ |
| | | @ApiModelProperty(value = "é¨è¯ç¼å·") |
| | | private String visitno; |
| | | |
| | | /** |
| | | * pageNum |
| | | */ |
| | | @ApiModelProperty(name = "pageNum") |
| | | @Excel(name = "pageNum") |
| | | private Integer pageNum; |
| | | |
| | | /** |
| | | * pageSize |
| | | */ |
| | | @ApiModelProperty(name = "pageSize") |
| | | @Excel(name = "pageSize") |
| | | private Integer pageSize; |
| | | |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * æ£è
èç³»æ¹å¼å¯¹è±¡ pat_archivecontact |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-05 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "æ£è
èç³»æ¹å¼å¯¹è±¡") |
| | | public class PatArchivecontact extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | private Long id; |
| | | |
| | | /** |
| | | * èç³»æ¹å¼ID |
| | | */ |
| | | @Excel(name = " èç³»æ¹å¼ID ") |
| | | @ApiModelProperty(value = "èç³»æ¹å¼ID") |
| | | private Long patid; |
| | | |
| | | /** |
| | | * èç³»æ¹å¼ |
| | | */ |
| | | @Excel(name = " èç³»æ¹å¼ ") |
| | | @ApiModelProperty(value = "èç³»æ¹å¼") |
| | | private String contactway; |
| | | |
| | | /** |
| | | * å
³ç³» |
| | | */ |
| | | @Excel(name = " å
³ç³» ") |
| | | @ApiModelProperty(value = "å
³ç³»") |
| | | private String relation; |
| | | |
| | | /** |
| | | * æ°æ®æ¥æº |
| | | */ |
| | | @Excel(name = " æ°æ®æ¥æº ") |
| | | @ApiModelProperty(value = "æ°æ®æ¥æº") |
| | | private Long datasource; |
| | | |
| | | /** |
| | | * æ¯å¦é»è®¤ |
| | | */ |
| | | @Excel(name = " æ¯å¦é»è®¤ ") |
| | | @ApiModelProperty(value = "æ¯å¦é»è®¤") |
| | | private Long isdefault; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * èç³»å§å |
| | | */ |
| | | @Excel(name = " èç³»å§å ") |
| | | @ApiModelProperty(value = "èç³»å§å") |
| | | private String contactname; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * pageNum |
| | | */ |
| | | @ApiModelProperty(name = "pageNum") |
| | | @Excel(name = "pageNum") |
| | | private Integer pageNum; |
| | | |
| | | /** |
| | | * pageSize |
| | | */ |
| | | @ApiModelProperty(name = "pageSize") |
| | | @Excel(name = "pageSize") |
| | | private Integer pageSize; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("patid", getPatid()).append("contactway", getContactway()).append("relation", getRelation()).append("datasource", getDatasource()).append("isdefault", getIsdefault()).append("orgid", getOrgid()).append("delFlag", getDelFlag()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("isupload", getIsupload()).append("uploadTime", getUploadTime()).append("contactname", getContactname()).append("pid", getPid()).append("guid", getGuid()).toString(); |
| | | } |
| | | } |
| | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | |
| | | * @date 2023-03-04 |
| | | */ |
| | | @ApiModel(value = "PatMedInhosp", description = "æ£è
ä½é¢è®°å½å¯¹è±¡") |
| | | @Data |
| | | public class PatMedInhosp extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | /** èªå¢ID */ |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private Long inhospid; |
| | | |
| | | /** èªå¢ID */ |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private String inhospno; |
| | | |
| | | /** æµæ°´å· */ |
| | | @ApiModelProperty(value = "æµæ°´å·") |
| | |
| | | /** æ¹æ¡ç¶ææä½æ¶é´ */ |
| | | @ApiModelProperty(value = "æ¹æ¡ç¶ææä½æ¶é´") |
| | | private Date schemetime; |
| | | |
| | | public void setInhospid(Long inhospid) |
| | | { |
| | | this.inhospid = inhospid; |
| | | } |
| | | |
| | | public Long getInhospid() |
| | | { |
| | | return inhospid; |
| | | } |
| | | public void setSerialnum(String serialnum) |
| | | { |
| | | this.serialnum = serialnum; |
| | | } |
| | | |
| | | public String getSerialnum() |
| | | { |
| | | return serialnum; |
| | | } |
| | | public void setHospitalname(String hospitalname) |
| | | { |
| | | this.hospitalname = hospitalname; |
| | | } |
| | | |
| | | public String getHospitalname() |
| | | { |
| | | return hospitalname; |
| | | } |
| | | public void setHospitalcode(String hospitalcode) |
| | | { |
| | | this.hospitalcode = hospitalcode; |
| | | } |
| | | |
| | | public String getHospitalcode() |
| | | { |
| | | return hospitalcode; |
| | | } |
| | | public void setHospitaldistrictcode(String hospitaldistrictcode) |
| | | { |
| | | this.hospitaldistrictcode = hospitaldistrictcode; |
| | | } |
| | | |
| | | public String getHospitaldistrictcode() |
| | | { |
| | | return hospitaldistrictcode; |
| | | } |
| | | public void setHospitaldistrictname(String hospitaldistrictname) |
| | | { |
| | | this.hospitaldistrictname = hospitaldistrictname; |
| | | } |
| | | |
| | | public String getHospitaldistrictname() |
| | | { |
| | | return hospitaldistrictname; |
| | | } |
| | | public void setIcd10code(String icd10code) |
| | | { |
| | | this.icd10code = icd10code; |
| | | } |
| | | |
| | | public String getIcd10code() |
| | | { |
| | | return icd10code; |
| | | } |
| | | public void setDiagname(String diagname) |
| | | { |
| | | this.diagname = diagname; |
| | | } |
| | | |
| | | public String getDiagname() |
| | | { |
| | | return diagname; |
| | | } |
| | | public void setStarttime(Date starttime) |
| | | { |
| | | this.starttime = starttime; |
| | | } |
| | | |
| | | public Date getStarttime() |
| | | { |
| | | return starttime; |
| | | } |
| | | public void setEndtime(Date endtime) |
| | | { |
| | | this.endtime = endtime; |
| | | } |
| | | |
| | | public Date getEndtime() |
| | | { |
| | | return endtime; |
| | | } |
| | | public void setDeptcode(String deptcode) |
| | | { |
| | | this.deptcode = deptcode; |
| | | } |
| | | |
| | | public String getDeptcode() |
| | | { |
| | | return deptcode; |
| | | } |
| | | public void setDeptname(String deptname) |
| | | { |
| | | this.deptname = deptname; |
| | | } |
| | | |
| | | public String getDeptname() |
| | | { |
| | | return deptname; |
| | | } |
| | | public void setRoomno(String roomno) |
| | | { |
| | | this.roomno = roomno; |
| | | } |
| | | |
| | | public String getRoomno() |
| | | { |
| | | return roomno; |
| | | } |
| | | public void setBedno(String bedno) |
| | | { |
| | | this.bedno = bedno; |
| | | } |
| | | |
| | | public String getBedno() |
| | | { |
| | | return bedno; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | public void setDelFlag(String delFlag) |
| | | { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public String getDelFlag() |
| | | { |
| | | return delFlag; |
| | | } |
| | | public void setIsupload(Long isupload) |
| | | { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Long getIsupload() |
| | | { |
| | | return isupload; |
| | | } |
| | | public void setUploadTime(Date uploadTime) |
| | | { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public Date getUploadTime() |
| | | { |
| | | return uploadTime; |
| | | } |
| | | public void setPatid(Long patid) |
| | | { |
| | | this.patid = patid; |
| | | } |
| | | |
| | | public Long getPatid() |
| | | { |
| | | return patid; |
| | | } |
| | | public void setLeavediagname(String leavediagname) |
| | | { |
| | | this.leavediagname = leavediagname; |
| | | } |
| | | |
| | | public String getLeavediagname() |
| | | { |
| | | return leavediagname; |
| | | } |
| | | public void setLeaveicd10code(String leaveicd10code) |
| | | { |
| | | this.leaveicd10code = leaveicd10code; |
| | | } |
| | | |
| | | public String getLeaveicd10code() |
| | | { |
| | | return leaveicd10code; |
| | | } |
| | | public void setDrcode(String drcode) |
| | | { |
| | | this.drcode = drcode; |
| | | } |
| | | |
| | | public String getDrcode() |
| | | { |
| | | return drcode; |
| | | } |
| | | public void setDrname(String drname) |
| | | { |
| | | this.drname = drname; |
| | | } |
| | | |
| | | public String getDrname() |
| | | { |
| | | return drname; |
| | | } |
| | | public void setSchemestatus(Long schemestatus) |
| | | { |
| | | this.schemestatus = schemestatus; |
| | | } |
| | | |
| | | public Long getSchemestatus() |
| | | { |
| | | return schemestatus; |
| | | } |
| | | public void setGeneralschemestatus(Long generalschemestatus) |
| | | { |
| | | this.generalschemestatus = generalschemestatus; |
| | | } |
| | | |
| | | public Long getGeneralschemestatus() |
| | | { |
| | | return generalschemestatus; |
| | | } |
| | | public void setLeaveldeptcode(String leaveldeptcode) |
| | | { |
| | | this.leaveldeptcode = leaveldeptcode; |
| | | } |
| | | |
| | | public String getLeaveldeptcode() |
| | | { |
| | | return leaveldeptcode; |
| | | } |
| | | public void setLeaveldeptname(String leaveldeptname) |
| | | { |
| | | this.leaveldeptname = leaveldeptname; |
| | | } |
| | | |
| | | public String getLeaveldeptname() |
| | | { |
| | | return leaveldeptname; |
| | | } |
| | | public void setHospitaldistrictid(Long hospitaldistrictid) |
| | | { |
| | | this.hospitaldistrictid = hospitaldistrictid; |
| | | } |
| | | |
| | | public Long getHospitaldistrictid() |
| | | { |
| | | return hospitaldistrictid; |
| | | } |
| | | public void setLeavehospitaldistrictcode(String leavehospitaldistrictcode) |
| | | { |
| | | this.leavehospitaldistrictcode = leavehospitaldistrictcode; |
| | | } |
| | | |
| | | public String getLeavehospitaldistrictcode() |
| | | { |
| | | return leavehospitaldistrictcode; |
| | | } |
| | | public void setLeavehospitaldistrictname(String leavehospitaldistrictname) |
| | | { |
| | | this.leavehospitaldistrictname = leavehospitaldistrictname; |
| | | } |
| | | |
| | | public String getLeavehospitaldistrictname() |
| | | { |
| | | return leavehospitaldistrictname; |
| | | } |
| | | public void setLeavehospitaldistrictid(Long leavehospitaldistrictid) |
| | | { |
| | | this.leavehospitaldistrictid = leavehospitaldistrictid; |
| | | } |
| | | |
| | | public Long getLeavehospitaldistrictid() |
| | | { |
| | | return leavehospitaldistrictid; |
| | | } |
| | | public void setDeptid(Long deptid) |
| | | { |
| | | this.deptid = deptid; |
| | | } |
| | | |
| | | public Long getDeptid() |
| | | { |
| | | return deptid; |
| | | } |
| | | public void setLeaveldeptid(Long leaveldeptid) |
| | | { |
| | | this.leaveldeptid = leaveldeptid; |
| | | } |
| | | |
| | | public Long getLeaveldeptid() |
| | | { |
| | | return leaveldeptid; |
| | | } |
| | | public void setSchemetime(Date schemetime) |
| | | { |
| | | this.schemetime = schemetime; |
| | | } |
| | | |
| | | public Date getSchemetime() |
| | | { |
| | | return schemetime; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | @ApiModelProperty(name = "èªå¢ID") |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private Long id; |
| | | |
| | | /** æµæ°´å· */ |
| | | @ApiModelProperty(name = "æµæ°´å·") |
| | | @ApiModelProperty(value = "æµæ°´å·") |
| | | private String serialnum; |
| | | |
| | | /** æ¡£æ¡ID */ |
| | | @ApiModelProperty(name = "æ¡£æ¡ID") |
| | | @ApiModelProperty(value = "æ¡£æ¡ID") |
| | | private Long patid; |
| | | |
| | | /** å»é¢åç§° */ |
| | | @ApiModelProperty(name = "å»é¢åç§°") |
| | | @ApiModelProperty(value = "å»é¢åç§°") |
| | | private String hospitalname; |
| | | |
| | | /** å»é¢ç¼å· */ |
| | | @ApiModelProperty(name = "å»é¢ç¼å·") |
| | | @ApiModelProperty(value = "å»é¢ç¼å·") |
| | | private String hospitalcode; |
| | | |
| | | /** è¯æICDå¼ */ |
| | | @ApiModelProperty(name = "è¯æICDå¼") |
| | | @ApiModelProperty(value = "è¯æICDå¼") |
| | | private String icd10code; |
| | | |
| | | /** è¯æåç§° */ |
| | | @ApiModelProperty(name = "è¯æåç§°") |
| | | @ApiModelProperty(value = "è¯æåç§°") |
| | | private String diagname; |
| | | |
| | | /** ç§å®¤ä»£ç */ |
| | | @ApiModelProperty(name = "ç§å®¤ä»£ç ") |
| | | @ApiModelProperty(value = "ç§å®¤ä»£ç ") |
| | | private String deptcode; |
| | | |
| | | /** ç§å®¤åç§° */ |
| | | @ApiModelProperty(name = "ç§å®¤åç§°") |
| | | @ApiModelProperty(value = "ç§å®¤åç§°") |
| | | @Excel(name = " ç§å®¤åç§° ") |
| | | private String deptname; |
| | | |
| | | /** å»çå·¥å· */ |
| | | @ApiModelProperty(name = "å»çå·¥å·") |
| | | @ApiModelProperty(value = "å»çå·¥å·") |
| | | private String drcode; |
| | | |
| | | /** å»çåç§° */ |
| | | @ApiModelProperty(name = "å»çåç§°") |
| | | @ApiModelProperty(value = "å»çåç§°") |
| | | private String drname; |
| | | |
| | | /** å°±è¯æ¥æ */ |
| | | @ApiModelProperty(name = "å°±è¯æ¥æ") |
| | | @ApiModelProperty(value = "å°±è¯æ¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " å°±è¯æ¥æ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date admitdate; |
| | | |
| | | /** æºæID */ |
| | | @ApiModelProperty(name = "æºæID") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | @ApiModelProperty(name = "å 餿 è®°") |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @ApiModelProperty(name = "ä¸ä¼ æ è®°") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @ApiModelProperty(name = "ä¸ä¼ æ¶é´") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå°±è¯ 9æ å¹é
æ¹æ¡ */ |
| | | @ApiModelProperty(name = "æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå°±è¯ 9æ å¹é
æ¹æ¡") |
| | | @ApiModelProperty(value = "æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå°±è¯ 9æ å¹é
æ¹æ¡") |
| | | private Long schemestatus; |
| | | |
| | | /** ç§å®¤ID */ |
| | | @ApiModelProperty(name = "ç§å®¤ID") |
| | | @ApiModelProperty(value = "ç§å®¤ID") |
| | | private Long deptid; |
| | | |
| | | /** æ¹æ¡ç¶ææä½æ¶é´ */ |
| | | @ApiModelProperty(name = "æ¹æ¡ç¶ææä½æ¶é´") |
| | | @ApiModelProperty(value = "æ¹æ¡ç¶ææä½æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " æ¹æ¡ç¶ææä½æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date schemetime; |
| | | |
| | | /** ç°ç
å² */ |
| | | @ApiModelProperty(name = "ç°ç
å²") |
| | | @ApiModelProperty(value = "ç°ç
å²") |
| | | private String hpi; |
| | | |
| | | /** 主述 */ |
| | | @ApiModelProperty(name = "主述") |
| | | @ApiModelProperty(value = "主述") |
| | | private String mainsuit; |
| | | |
| | | public void setId(Long id) |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.smartor.domain.HeCategory; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * 宣æåç±»Mapperæ¥å£ |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | public interface HeCategoryMapper |
| | | { |
| | | @Mapper |
| | | public interface HeCategoryMapper { |
| | | /** |
| | | * æ¥è¯¢å®£æåç±» |
| | | * |
| | | * |
| | | * @param id 宣æåç±»ä¸»é® |
| | | * @return 宣æåç±» |
| | | */ |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåç±»å表 |
| | | * |
| | | * |
| | | * @param heCategory 宣æåç±» |
| | | * @return 宣æåç±»éå |
| | | */ |
| | |
| | | |
| | | /** |
| | | * æ°å¢å®£æåç±» |
| | | * |
| | | * |
| | | * @param heCategory 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æåç±» |
| | | * |
| | | * |
| | | * @param heCategory 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | |
| | | |
| | | /** |
| | | * å é¤å®£æåç±» |
| | | * |
| | | * |
| | | * @param id 宣æåç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | |
| | | |
| | | /** |
| | | * æ¹éå é¤å®£æåç±» |
| | | * |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.IvrLibaTargetAssort; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ææ åç±»Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Mapper |
| | | public interface IvrLibaTargetAssortMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢ææ åç±» |
| | | * |
| | | * @param id ææ åç±»ä¸»é® |
| | | * @return ææ åç±» |
| | | */ |
| | | public IvrLibaTargetAssort selectIvrLibaTargetAssortById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ åç±»å表 |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ææ åç±»éå |
| | | */ |
| | | public List<IvrLibaTargetAssort> selectIvrLibaTargetAssortList(IvrLibaTargetAssort ivrLibaTargetAssort); |
| | | |
| | | /** |
| | | * æ°å¢ææ åç±» |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTargetAssort(IvrLibaTargetAssort ivrLibaTargetAssort); |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ åç±» |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTargetAssort(IvrLibaTargetAssort ivrLibaTargetAssort); |
| | | |
| | | /** |
| | | * å 餿æ åç±» |
| | | * |
| | | * @param id ææ åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetAssortById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå 餿æ åç±» |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetAssortByIds(Long[] ids); |
| | | } |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrLibaTarget; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ææ åºMapperæ¥å£ |
| | | * ææ é项åºMapperæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Mapper |
| | | public interface IvrLibaTargetMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢ææ åº |
| | | * æ¥è¯¢ææ éé¡¹åº |
| | | * |
| | | * @param targetID ææ åºä¸»é® |
| | | * @return ææ åº |
| | | * @param targetID ææ é项åºä¸»é® |
| | | * @return ææ éé¡¹åº |
| | | */ |
| | | public IvrLibaTarget selectIvrLibaTargetByTargetID(String targetID); |
| | | public IvrLibaTarget selectIvrLibaTargetByTargetID(Long targetID); |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ åºå表 |
| | | * æ¥è¯¢ææ é项åºå表 |
| | | * |
| | | * @param ivrLibaTarget ææ åº |
| | | * @return ææ åºéå |
| | | * @param ivrLibaTarget ææ éé¡¹åº |
| | | * @return ææ é项åºéå |
| | | */ |
| | | public List<IvrLibaTarget> selectIvrLibaTargetList(IvrLibaTarget ivrLibaTarget); |
| | | |
| | | /** |
| | | * æ°å¢ææ åº |
| | | * æ°å¢ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTarget ææ åº |
| | | * @param ivrLibaTarget ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTarget(IvrLibaTarget ivrLibaTarget); |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ åº |
| | | * ä¿®æ¹ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTarget ææ åº |
| | | * @param ivrLibaTarget ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTarget(IvrLibaTarget ivrLibaTarget); |
| | | |
| | | /** |
| | | * å 餿æ åº |
| | | * å 餿æ éé¡¹åº |
| | | * |
| | | * @param targetID ææ åºä¸»é® |
| | | * @param targetID ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetByTargetID(String targetID); |
| | | public int deleteIvrLibaTargetByTargetID(Long targetID); |
| | | |
| | | /** |
| | | * æ¹éå 餿æ åº |
| | | * æ¹éå 餿æ éé¡¹åº |
| | | * |
| | | * @param targetIDs éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetByTargetIDs(String[] targetIDs); |
| | | public int deleteIvrLibaTargetByTargetIDs(Long[] targetIDs); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.IvrLibaTargetoption; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ææ é项åºMapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Mapper |
| | | public interface IvrLibaTargetoptionMapper { |
| | | /** |
| | | * æ¥è¯¢ææ éé¡¹åº |
| | | * |
| | | * @param targetoptionid ææ é项åºä¸»é® |
| | | * @return ææ éé¡¹åº |
| | | */ |
| | | public IvrLibaTargetoption selectIvrLibaTargetoptionByTargetoptionid(Long targetoptionid); |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ é项åºå表 |
| | | * |
| | | * @param ivrLibaTargetoption ææ éé¡¹åº |
| | | * @return ææ é项åºéå |
| | | */ |
| | | public List<IvrLibaTargetoption> selectIvrLibaTargetoptionList(IvrLibaTargetoption ivrLibaTargetoption); |
| | | |
| | | /** |
| | | * æ°å¢ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTargetoption ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTargetoption(IvrLibaTargetoption ivrLibaTargetoption); |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTargetoption ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTargetoption(IvrLibaTargetoption ivrLibaTargetoption); |
| | | |
| | | /** |
| | | * å 餿æ éé¡¹åº |
| | | * |
| | | * @param targetoptionid ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetoptionByTargetoptionid(Long targetoptionid); |
| | | |
| | | /** |
| | | * æ¹éå 餿æ éé¡¹åº |
| | | * |
| | | * @param targetoptionids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetoptionByTargetoptionids(Long[] targetoptionids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.MedicalHistory; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ç
å²Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-06 |
| | | */ |
| | | @Mapper |
| | | public interface MedicalHistoryMapper { |
| | | /** |
| | | * æ¥è¯¢ç
å² |
| | | * |
| | | * @param id ç
å²ä¸»é® |
| | | * @return ç
å² |
| | | */ |
| | | public MedicalHistory selectMedicalHistoryById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢ç
å²å表 |
| | | * |
| | | * @param medicalHistory ç
å² |
| | | * @return ç
å²éå |
| | | */ |
| | | public List<MedicalHistory> selectMedicalHistoryList(MedicalHistory medicalHistory); |
| | | |
| | | /** |
| | | * æ°å¢ç
å² |
| | | * |
| | | * @param medicalHistory ç
å² |
| | | * @return ç»æ |
| | | */ |
| | | public int insertMedicalHistory(MedicalHistory medicalHistory); |
| | | |
| | | /** |
| | | * ä¿®æ¹ç
å² |
| | | * |
| | | * @param medicalHistory ç
å² |
| | | * @return ç»æ |
| | | */ |
| | | public int updateMedicalHistory(MedicalHistory medicalHistory); |
| | | |
| | | /** |
| | | * å é¤ç
å² |
| | | * |
| | | * @param id ç
å²ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteMedicalHistoryById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå é¤ç
å² |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteMedicalHistoryByIds(Long[] ids); |
| | | } |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.smartor.domain.PatArchive; |
| | | import com.smartor.domain.PatArchiveReq; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
æ¡£æ¡Mapperæ¥å£ |
| | |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatArchive(PatArchive patArchive); |
| | | public int insertPatArchive(List<PatArchive> patArchives); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
æ¡£æ¡ |
| | |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchiveByPatids(Long[] patids); |
| | | |
| | | |
| | | |
| | | public List<PatArchive> selectPatArchiveInfoByAllhosp(PatArchiveReq patArchive); |
| | | |
| | | public List<PatArchive> selectPatArchiveInfoByInhosp(PatArchiveReq patArchive); |
| | | |
| | | public List<PatArchive> selectPatArchiveInfoByOuthosp(PatArchiveReq patArchive); |
| | | |
| | | public List<PatArchive> selectPatArchiveInfoByPhysical(PatArchiveReq patArchive); |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.PatArchivecontact; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
èç³»æ¹å¼Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-05 |
| | | */ |
| | | @Mapper |
| | | public interface PatArchivecontactMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param id æ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return æ£è
èç³»æ¹å¼ |
| | | */ |
| | | public PatArchivecontact selectPatArchivecontactById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼å表 |
| | | * |
| | | * @param patArchivecontact æ£è
èç³»æ¹å¼ |
| | | * @return æ£è
èç³»æ¹å¼éå |
| | | */ |
| | | public List<PatArchivecontact> selectPatArchivecontactList(PatArchivecontact patArchivecontact); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param patArchivecontact æ£è
èç³»æ¹å¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatArchivecontact(PatArchivecontact patArchivecontact); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param patArchivecontact æ£è
èç³»æ¹å¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatArchivecontact(PatArchivecontact patArchivecontact); |
| | | |
| | | /** |
| | | * å 餿£è
èç³»æ¹å¼ |
| | | * |
| | | * @param id æ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchivecontactById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
èç³»æ¹å¼ |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchivecontactByIds(Long[] ids); |
| | | } |
| | |
| | | */ |
| | | public PatArchivetag selectPatArchivetagById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡æ ç¾å表 |
| | | * |
| | | * @param patArchivetag æ£è
æ¡£æ¡æ ç¾ |
| | | * @return æ£è
æ¡£æ¡æ ç¾éå |
| | | */ |
| | | public List<PatArchivetag> selectPatArchivetagList(PatArchivetag patArchivetag); |
| | | |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡æ ç¾å表 |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.smartor.domain.HeCategory; |
| | | import com.smartor.domain.HeCategoryVO; |
| | | |
| | | /** |
| | | * 宣æåç±»Serviceæ¥å£ |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | public interface IHeCategoryService |
| | | { |
| | | public interface IHeCategoryService { |
| | | /** |
| | | * æ¥è¯¢å®£æåç±» |
| | | * |
| | | * |
| | | * @param id 宣æåç±»ä¸»é® |
| | | * @return 宣æåç±» |
| | | */ |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåç±»å表 |
| | | * |
| | | * |
| | | * @param heCategory 宣æåç±» |
| | | * @return 宣æåç±»éå |
| | | */ |
| | | public List<HeCategory> selectHeCategoryList(HeCategory heCategory); |
| | | public List<HeCategoryVO> selectHeCategoryList(HeCategory heCategory); |
| | | |
| | | /** |
| | | * æ°å¢å®£æåç±» |
| | | * |
| | | * |
| | | * @param heCategory 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æåç±» |
| | | * |
| | | * |
| | | * @param heCategory 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | |
| | | |
| | | /** |
| | | * æ¹éå é¤å®£æåç±» |
| | | * |
| | | * |
| | | * @param ids éè¦å é¤ç宣æå类主é®éå |
| | | * @return ç»æ |
| | | */ |
| | |
| | | |
| | | /** |
| | | * å é¤å®£æåç±»ä¿¡æ¯ |
| | | * |
| | | * |
| | | * @param id 宣æåç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.IvrLibaTargetAssort; |
| | | import com.smartor.domain.IvrLibaTargetAssortVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ææ åç±»Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | public interface IIvrLibaTargetAssortService |
| | | { |
| | | /** |
| | | * æ¥è¯¢ææ åç±» |
| | | * |
| | | * @param id ææ åç±»ä¸»é® |
| | | * @return ææ åç±» |
| | | */ |
| | | public IvrLibaTargetAssort selectIvrLibaTargetAssortById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ åç±»å表 |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ææ åç±»éå |
| | | */ |
| | | public List<IvrLibaTargetAssortVO> selectIvrLibaTargetAssortList(IvrLibaTargetAssort ivrLibaTargetAssort); |
| | | |
| | | /** |
| | | * æ°å¢ææ åç±» |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTargetAssort(IvrLibaTargetAssort ivrLibaTargetAssort); |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ åç±» |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTargetAssort(IvrLibaTargetAssort ivrLibaTargetAssort); |
| | | |
| | | /** |
| | | * æ¹éå 餿æ åç±» |
| | | * |
| | | * @param ids éè¦å é¤çææ å类主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetAssortByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å 餿æ åç±»ä¿¡æ¯ |
| | | * |
| | | * @param id ææ åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetAssortById(Long id); |
| | | } |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrLibaTarget; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ææ åºServiceæ¥å£ |
| | | * ææ é项åºServiceæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | public interface IIvrLibaTargetService |
| | | { |
| | | /** |
| | | * æ¥è¯¢ææ åº |
| | | * æ¥è¯¢ææ éé¡¹åº |
| | | * |
| | | * @param targetID ææ åºä¸»é® |
| | | * @return ææ åº |
| | | * @param targetID ææ é项åºä¸»é® |
| | | * @return ææ éé¡¹åº |
| | | */ |
| | | public IvrLibaTarget selectIvrLibaTargetByTargetID(String targetID); |
| | | public IvrLibaTarget selectIvrLibaTargetByTargetID(Long targetID); |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ åºå表 |
| | | * æ¥è¯¢ææ é项åºå表 |
| | | * |
| | | * @param ivrLibaTarget ææ åº |
| | | * @return ææ åºéå |
| | | * @param ivrLibaTarget ææ éé¡¹åº |
| | | * @return ææ é项åºéå |
| | | */ |
| | | public List<IvrLibaTarget> selectIvrLibaTargetList(IvrLibaTarget ivrLibaTarget); |
| | | |
| | | /** |
| | | * æ°å¢ææ åº |
| | | * æ°å¢ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTarget ææ åº |
| | | * @param ivrLibaTarget ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTarget(IvrLibaTarget ivrLibaTarget); |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ åº |
| | | * ä¿®æ¹ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTarget ææ åº |
| | | * @param ivrLibaTarget ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTarget(IvrLibaTarget ivrLibaTarget); |
| | | |
| | | /** |
| | | * æ¹éå 餿æ åº |
| | | * æ¹éå 餿æ éé¡¹åº |
| | | * |
| | | * @param targetIDs éè¦å é¤çææ åºä¸»é®éå |
| | | * @param targetIDs éè¦å é¤çææ é项åºä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetByTargetIDs(String[] targetIDs); |
| | | public int deleteIvrLibaTargetByTargetIDs(Long[] targetIDs); |
| | | |
| | | /** |
| | | * å 餿æ åºä¿¡æ¯ |
| | | * å 餿æ é项åºä¿¡æ¯ |
| | | * |
| | | * @param targetID ææ åºä¸»é® |
| | | * @param targetID ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetByTargetID(String targetID); |
| | | public int deleteIvrLibaTargetByTargetID(Long targetID); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.IvrLibaTargetoption; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ææ é项åºServiceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | public interface IIvrLibaTargetoptionService |
| | | { |
| | | /** |
| | | * æ¥è¯¢ææ éé¡¹åº |
| | | * |
| | | * @param targetoptionid ææ é项åºä¸»é® |
| | | * @return ææ éé¡¹åº |
| | | */ |
| | | public IvrLibaTargetoption selectIvrLibaTargetoptionByTargetoptionid(Long targetoptionid); |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ é项åºå表 |
| | | * |
| | | * @param ivrLibaTargetoption ææ éé¡¹åº |
| | | * @return ææ é项åºéå |
| | | */ |
| | | public List<IvrLibaTargetoption> selectIvrLibaTargetoptionList(IvrLibaTargetoption ivrLibaTargetoption); |
| | | |
| | | /** |
| | | * æ°å¢ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTargetoption ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrLibaTargetoption(IvrLibaTargetoption ivrLibaTargetoption); |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTargetoption ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrLibaTargetoption(IvrLibaTargetoption ivrLibaTargetoption); |
| | | |
| | | /** |
| | | * æ¹éå 餿æ éé¡¹åº |
| | | * |
| | | * @param targetoptionids éè¦å é¤çææ é项åºä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetoptionByTargetoptionids(Long[] targetoptionids); |
| | | |
| | | /** |
| | | * å 餿æ é项åºä¿¡æ¯ |
| | | * |
| | | * @param targetoptionid ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrLibaTargetoptionByTargetoptionid(Long targetoptionid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.MedicalHistory; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ç
å²Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-06 |
| | | */ |
| | | public interface IMedicalHistoryService |
| | | { |
| | | /** |
| | | * æ¥è¯¢ç
å² |
| | | * |
| | | * @param id ç
å²ä¸»é® |
| | | * @return ç
å² |
| | | */ |
| | | public MedicalHistory selectMedicalHistoryById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢ç
å²å表 |
| | | * |
| | | * @param medicalHistory ç
å² |
| | | * @return ç
å²éå |
| | | */ |
| | | public List<MedicalHistory> selectMedicalHistoryList(MedicalHistory medicalHistory); |
| | | |
| | | /** |
| | | * æ°å¢ç
å² |
| | | * |
| | | * @param medicalHistory ç
å² |
| | | * @return ç»æ |
| | | */ |
| | | public int insertMedicalHistory(MedicalHistory medicalHistory); |
| | | |
| | | /** |
| | | * ä¿®æ¹ç
å² |
| | | * |
| | | * @param medicalHistory ç
å² |
| | | * @return ç»æ |
| | | */ |
| | | public int updateMedicalHistory(MedicalHistory medicalHistory); |
| | | |
| | | /** |
| | | * æ¹éå é¤ç
å² |
| | | * |
| | | * @param ids éè¦å é¤çç
å²ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteMedicalHistoryByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å é¤ç
å²ä¿¡æ¯ |
| | | * |
| | | * @param id ç
å²ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteMedicalHistoryById(Long id); |
| | | } |
| | |
| | | */ |
| | | public List<PatArchive> selectPatArchiveList(PatArchive patArchive); |
| | | |
| | | |
| | | /** |
| | | * æ°å¢æ£è
æ¡£æ¡ |
| | | * |
| | |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatArchive(PatArchive patArchive); |
| | | public Boolean updatePatArchive(PatArchive patArchive); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
æ¡£æ¡ |
| | |
| | | public List<PatArchivetagAndPatientInfo> patTagByContion(List<Long> tagids); |
| | | |
| | | public List<PatArchivetagAndPatientInfo> patInfoByTag(List<Long> tagids); |
| | | |
| | | public List<Object> getUserTreatmentInfo(String pid,String type); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.PatArchivecontact; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
èç³»æ¹å¼Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-05 |
| | | */ |
| | | public interface IPatArchivecontactService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param id æ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return æ£è
èç³»æ¹å¼ |
| | | */ |
| | | public PatArchivecontact selectPatArchivecontactById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼å表 |
| | | * |
| | | * @param patArchivecontact æ£è
èç³»æ¹å¼ |
| | | * @return æ£è
èç³»æ¹å¼éå |
| | | */ |
| | | public List<PatArchivecontact> selectPatArchivecontactList(PatArchivecontact patArchivecontact); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param patArchivecontact æ£è
èç³»æ¹å¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatArchivecontact(PatArchivecontact patArchivecontact); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param patArchivecontact æ£è
èç³»æ¹å¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatArchivecontact(PatArchivecontact patArchivecontact); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
èç³»æ¹å¼ |
| | | * |
| | | * @param ids éè¦å é¤çæ£è
èç³»æ¹å¼ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchivecontactByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å 餿£è
èç³»æ¹å¼ä¿¡æ¯ |
| | | * |
| | | * @param id æ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchivecontactById(Long id); |
| | | } |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.HeCategoryVO; |
| | | import io.jsonwebtoken.lang.Collections; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.HeCategoryMapper; |
| | |
| | | |
| | | /** |
| | | * 宣æåç±»Serviceä¸å¡å±å¤ç |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | @Service |
| | | public class HeCategoryServiceImpl implements IHeCategoryService |
| | | { |
| | | public class HeCategoryServiceImpl implements IHeCategoryService { |
| | | @Autowired |
| | | private HeCategoryMapper heCategoryMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåç±» |
| | | * |
| | | * |
| | | * @param id 宣æåç±»ä¸»é® |
| | | * @return 宣æåç±» |
| | | */ |
| | | @Override |
| | | public HeCategory selectHeCategoryById(Long id) |
| | | { |
| | | public HeCategory selectHeCategoryById(Long id) { |
| | | return heCategoryMapper.selectHeCategoryById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåç±»å表 |
| | | * |
| | | * |
| | | * @param heCategory 宣æåç±» |
| | | * @return 宣æåç±» |
| | | */ |
| | | @Override |
| | | public List<HeCategory> selectHeCategoryList(HeCategory heCategory) |
| | | { |
| | | return heCategoryMapper.selectHeCategoryList(heCategory); |
| | | public List<HeCategoryVO> selectHeCategoryList(HeCategory heCategory) { |
| | | List<HeCategory> heCategories = heCategoryMapper.selectHeCategoryList(heCategory); |
| | | List<HeCategoryVO> heCategoryVOS = DtoConversionUtils.sourceToTarget(heCategories, HeCategoryVO.class); |
| | | //éåæ¥åºæ¥çæ°æ®ï¼éè¿ id=pid è·åä»ä»¬çåæ°æ® |
| | | for (HeCategoryVO heCategoryVO : heCategoryVOS) { |
| | | HeCategory heCategory2 = new HeCategory(); |
| | | heCategory2.setPid(heCategoryVO.getId()); |
| | | List<HeCategory> heCategories1 = heCategoryMapper.selectHeCategoryList(heCategory2); |
| | | if (!Collections.isEmpty(heCategories1)) { |
| | | heCategoryVO.setHeCategoryList(heCategories1); |
| | | } |
| | | } |
| | | return heCategoryVOS; |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢å®£æåç±» |
| | | * |
| | | * |
| | | * @param heCategory 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertHeCategory(HeCategory heCategory) |
| | | { |
| | | public int insertHeCategory(HeCategory heCategory) { |
| | | heCategory.setCreateTime(DateUtils.getNowDate()); |
| | | return heCategoryMapper.insertHeCategory(heCategory); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æåç±» |
| | | * |
| | | * |
| | | * @param heCategory 宣æåç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateHeCategory(HeCategory heCategory) |
| | | { |
| | | public int updateHeCategory(HeCategory heCategory) { |
| | | heCategory.setUpdateTime(DateUtils.getNowDate()); |
| | | return heCategoryMapper.updateHeCategory(heCategory); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤å®£æåç±» |
| | | * |
| | | * |
| | | * @param ids éè¦å é¤ç宣æåç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteHeCategoryByIds(Long[] ids) |
| | | { |
| | | public int deleteHeCategoryByIds(Long[] ids) { |
| | | return heCategoryMapper.deleteHeCategoryByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤å®£æåç±»ä¿¡æ¯ |
| | | * |
| | | * |
| | | * @param id 宣æåç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteHeCategoryById(Long id) |
| | | { |
| | | public int deleteHeCategoryById(Long id) { |
| | | return heCategoryMapper.deleteHeCategoryById(id); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.HeCategory; |
| | | import com.smartor.domain.HeCategoryVO; |
| | | import com.smartor.domain.IvrLibaTargetAssort; |
| | | import com.smartor.domain.IvrLibaTargetAssortVO; |
| | | import com.smartor.mapper.IvrLibaTargetAssortMapper; |
| | | import com.smartor.service.IIvrLibaTargetAssortService; |
| | | import io.jsonwebtoken.lang.Collections; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | | * ææ åç±»Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Service |
| | | public class IvrLibaTargetAssortServiceImpl implements IIvrLibaTargetAssortService { |
| | | @Autowired |
| | | private IvrLibaTargetAssortMapper ivrLibaTargetAssortMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ åç±» |
| | | * |
| | | * @param id ææ åç±»ä¸»é® |
| | | * @return ææ åç±» |
| | | */ |
| | | @Override |
| | | public IvrLibaTargetAssort selectIvrLibaTargetAssortById(Long id) { |
| | | return ivrLibaTargetAssortMapper.selectIvrLibaTargetAssortById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ åç±»å表 |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ææ åç±» |
| | | */ |
| | | @Override |
| | | public List<IvrLibaTargetAssortVO> selectIvrLibaTargetAssortList(IvrLibaTargetAssort ivrLibaTargetAssort) { |
| | | List<IvrLibaTargetAssort> ivrLibaTargetAssorts = ivrLibaTargetAssortMapper.selectIvrLibaTargetAssortList(ivrLibaTargetAssort); |
| | | //å°pid为空çï¼è¿æ»¤æ |
| | | ivrLibaTargetAssorts = ivrLibaTargetAssorts.stream().filter(assort -> assort.getPid() == null).collect(Collectors.toList()); |
| | | |
| | | List<IvrLibaTargetAssortVO> ivrLibaTargetAssortVOS = DtoConversionUtils.sourceToTarget(ivrLibaTargetAssorts, IvrLibaTargetAssortVO.class); |
| | | //éåæ¥åºæ¥çæ°æ®ï¼éè¿ id=pid è·åä»ä»¬çåæ°æ® |
| | | for (IvrLibaTargetAssortVO ivrLibaTargetAssortVO : ivrLibaTargetAssortVOS) { |
| | | if (ivrLibaTargetAssortVO.getPid() != null) { |
| | | continue; |
| | | } |
| | | IvrLibaTargetAssort ivrLibaTargetAssort1 = new IvrLibaTargetAssort(); |
| | | ivrLibaTargetAssort1.setPid(ivrLibaTargetAssortVO.getId()); |
| | | List<IvrLibaTargetAssort> ivrLibaTargetAssorts2 = ivrLibaTargetAssortMapper.selectIvrLibaTargetAssortList(ivrLibaTargetAssort1); |
| | | if (!Collections.isEmpty(ivrLibaTargetAssorts2)) { |
| | | ivrLibaTargetAssortVO.setIvrLibaTargetAssortList(ivrLibaTargetAssorts2); |
| | | } |
| | | } |
| | | return ivrLibaTargetAssortVOS; |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ææ åç±» |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrLibaTargetAssort(IvrLibaTargetAssort ivrLibaTargetAssort) { |
| | | ivrLibaTargetAssort.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTargetAssortMapper.insertIvrLibaTargetAssort(ivrLibaTargetAssort); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ åç±» |
| | | * |
| | | * @param ivrLibaTargetAssort ææ åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrLibaTargetAssort(IvrLibaTargetAssort ivrLibaTargetAssort) { |
| | | ivrLibaTargetAssort.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTargetAssortMapper.updateIvrLibaTargetAssort(ivrLibaTargetAssort); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿æ åç±» |
| | | * |
| | | * @param ids éè¦å é¤çææ åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTargetAssortByIds(Long[] ids) { |
| | | return ivrLibaTargetAssortMapper.deleteIvrLibaTargetAssortByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿æ åç±»ä¿¡æ¯ |
| | | * |
| | | * @param id ææ åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTargetAssortById(Long id) { |
| | | return ivrLibaTargetAssortMapper.deleteIvrLibaTargetAssortById(id); |
| | | } |
| | | } |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.IvrLibaTarget; |
| | | import com.smartor.mapper.IvrLibaTargetMapper; |
| | | import com.smartor.service.IIvrLibaTargetService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.IvrLibaTargetMapper; |
| | | import com.smartor.domain.IvrLibaTarget; |
| | | import com.smartor.service.IIvrLibaTargetService; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ææ åºServiceä¸å¡å±å¤ç |
| | | * ææ é项åºServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-22 |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Service |
| | | public class IvrLibaTargetServiceImpl implements IIvrLibaTargetService |
| | | public class IvrLibaTargetServiceImpl implements IIvrLibaTargetService |
| | | { |
| | | @Autowired |
| | | private IvrLibaTargetMapper ivrLibaTargetMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ åº |
| | | * æ¥è¯¢ææ éé¡¹åº |
| | | * |
| | | * @param targetID ææ åºä¸»é® |
| | | * @return ææ åº |
| | | * @param targetID ææ é项åºä¸»é® |
| | | * @return ææ éé¡¹åº |
| | | */ |
| | | @Override |
| | | public IvrLibaTarget selectIvrLibaTargetByTargetID(String targetID) |
| | | public IvrLibaTarget selectIvrLibaTargetByTargetID(Long targetID) |
| | | { |
| | | return ivrLibaTargetMapper.selectIvrLibaTargetByTargetID(targetID); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ åºå表 |
| | | * æ¥è¯¢ææ é项åºå表 |
| | | * |
| | | * @param ivrLibaTarget ææ åº |
| | | * @return ææ åº |
| | | * @param ivrLibaTarget ææ éé¡¹åº |
| | | * @return ææ éé¡¹åº |
| | | */ |
| | | @Override |
| | | public List<IvrLibaTarget> selectIvrLibaTargetList(IvrLibaTarget ivrLibaTarget) |
| | |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ææ åº |
| | | * æ°å¢ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTarget ææ åº |
| | | * @param ivrLibaTarget ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ åº |
| | | * ä¿®æ¹ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTarget ææ åº |
| | | * @param ivrLibaTarget ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿æ åº |
| | | * æ¹éå 餿æ éé¡¹åº |
| | | * |
| | | * @param targetIDs éè¦å é¤çææ åºä¸»é® |
| | | * @param targetIDs éè¦å é¤çææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTargetByTargetIDs(String[] targetIDs) |
| | | public int deleteIvrLibaTargetByTargetIDs(Long[] targetIDs) |
| | | { |
| | | return ivrLibaTargetMapper.deleteIvrLibaTargetByTargetIDs(targetIDs); |
| | | } |
| | | |
| | | /** |
| | | * å 餿æ åºä¿¡æ¯ |
| | | * å 餿æ é项åºä¿¡æ¯ |
| | | * |
| | | * @param targetID ææ åºä¸»é® |
| | | * @param targetID ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTargetByTargetID(String targetID) |
| | | public int deleteIvrLibaTargetByTargetID(Long targetID) |
| | | { |
| | | return ivrLibaTargetMapper.deleteIvrLibaTargetByTargetID(targetID); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.IvrLibaTargetoption; |
| | | import com.smartor.mapper.IvrLibaTargetoptionMapper; |
| | | import com.smartor.service.IIvrLibaTargetoptionService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ææ é项åºServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Service |
| | | public class IvrLibaTargetoptionServiceImpl implements IIvrLibaTargetoptionService |
| | | { |
| | | @Autowired |
| | | private IvrLibaTargetoptionMapper ivrLibaTargetoptionMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ éé¡¹åº |
| | | * |
| | | * @param targetoptionid ææ é项åºä¸»é® |
| | | * @return ææ éé¡¹åº |
| | | */ |
| | | @Override |
| | | public IvrLibaTargetoption selectIvrLibaTargetoptionByTargetoptionid(Long targetoptionid) |
| | | { |
| | | return ivrLibaTargetoptionMapper.selectIvrLibaTargetoptionByTargetoptionid(targetoptionid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ é项åºå表 |
| | | * |
| | | * @param ivrLibaTargetoption ææ éé¡¹åº |
| | | * @return ææ éé¡¹åº |
| | | */ |
| | | @Override |
| | | public List<IvrLibaTargetoption> selectIvrLibaTargetoptionList(IvrLibaTargetoption ivrLibaTargetoption) |
| | | { |
| | | return ivrLibaTargetoptionMapper.selectIvrLibaTargetoptionList(ivrLibaTargetoption); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTargetoption ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrLibaTargetoption(IvrLibaTargetoption ivrLibaTargetoption) |
| | | { |
| | | ivrLibaTargetoption.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTargetoptionMapper.insertIvrLibaTargetoption(ivrLibaTargetoption); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ éé¡¹åº |
| | | * |
| | | * @param ivrLibaTargetoption ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrLibaTargetoption(IvrLibaTargetoption ivrLibaTargetoption) |
| | | { |
| | | ivrLibaTargetoption.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTargetoptionMapper.updateIvrLibaTargetoption(ivrLibaTargetoption); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿æ éé¡¹åº |
| | | * |
| | | * @param targetoptionids éè¦å é¤çææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTargetoptionByTargetoptionids(Long[] targetoptionids) |
| | | { |
| | | return ivrLibaTargetoptionMapper.deleteIvrLibaTargetoptionByTargetoptionids(targetoptionids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿æ é项åºä¿¡æ¯ |
| | | * |
| | | * @param targetoptionid ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTargetoptionByTargetoptionid(Long targetoptionid) |
| | | { |
| | | return ivrLibaTargetoptionMapper.deleteIvrLibaTargetoptionByTargetoptionid(targetoptionid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.smartor.domain.MedicalHistory; |
| | | import com.smartor.mapper.MedicalHistoryMapper; |
| | | import com.smartor.service.IMedicalHistoryService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ç
å²Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-06 |
| | | */ |
| | | @Service |
| | | public class MedicalHistoryServiceImpl implements IMedicalHistoryService |
| | | { |
| | | @Autowired |
| | | private MedicalHistoryMapper medicalHistoryMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢ç
å² |
| | | * |
| | | * @param id ç
å²ä¸»é® |
| | | * @return ç
å² |
| | | */ |
| | | @Override |
| | | public MedicalHistory selectMedicalHistoryById(Long id) |
| | | { |
| | | return medicalHistoryMapper.selectMedicalHistoryById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢ç
å²å表 |
| | | * |
| | | * @param medicalHistory ç
å² |
| | | * @return ç
å² |
| | | */ |
| | | @Override |
| | | public List<MedicalHistory> selectMedicalHistoryList(MedicalHistory medicalHistory) |
| | | { |
| | | return medicalHistoryMapper.selectMedicalHistoryList(medicalHistory); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ç
å² |
| | | * |
| | | * @param medicalHistory ç
å² |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertMedicalHistory(MedicalHistory medicalHistory) |
| | | { |
| | | return medicalHistoryMapper.insertMedicalHistory(medicalHistory); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ç
å² |
| | | * |
| | | * @param medicalHistory ç
å² |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateMedicalHistory(MedicalHistory medicalHistory) |
| | | { |
| | | return medicalHistoryMapper.updateMedicalHistory(medicalHistory); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤ç
å² |
| | | * |
| | | * @param ids éè¦å é¤çç
å²ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteMedicalHistoryByIds(Long[] ids) |
| | | { |
| | | return medicalHistoryMapper.deleteMedicalHistoryByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤ç
å²ä¿¡æ¯ |
| | | * |
| | | * @param id ç
å²ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteMedicalHistoryById(Long id) |
| | | { |
| | | return medicalHistoryMapper.deleteMedicalHistoryById(id); |
| | | } |
| | | } |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.io.FileNotFoundException; |
| | | import java.io.FileOutputStream; |
| | | import java.text.ParseException; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.*; |
| | | import java.util.concurrent.ExecutorService; |
| | | import java.util.concurrent.Executors; |
| | | import java.util.stream.Collectors; |
| | | |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.common.core.redis.RedisCache; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.mapper.BaseTagMapper; |
| | | import com.smartor.mapper.PatArchivetagMapper; |
| | | import com.smartor.service.IPatMedInhospService; |
| | | import com.smartor.service.IPatMedOuthospService; |
| | | import com.smartor.service.IPatMedPhysicalService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.apache.poi.hssf.usermodel.HSSFDateUtil; |
| | | import org.apache.poi.ss.formula.functions.Now; |
| | | import org.apache.poi.ss.usermodel.*; |
| | | import org.apache.poi.xssf.usermodel.XSSFWorkbook; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.core.parameters.P; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.PatArchiveMapper; |
| | | import com.smartor.service.IPatArchiveService; |
| | |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class PatArchiveServiceImpl implements IPatArchiveService { |
| | | @Autowired |
| | |
| | | |
| | | @Autowired |
| | | private PatArchivetagMapper patArchivetagMapper; |
| | | |
| | | @Autowired |
| | | private IPatMedInhospService patMedInhospService; |
| | | |
| | | @Autowired |
| | | private IPatMedOuthospService patMedOuthospService; |
| | | |
| | | @Autowired |
| | | private IPatMedPhysicalService patMedPhysicalService; |
| | | |
| | | @Autowired |
| | | private RedisCache redisCache; |
| | | |
| | | |
| | | /** |
| | |
| | | return patArchiveMapper.selectPatArchiveList(patArchive); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * æ°å¢æ£è
æ¡£æ¡ |
| | | * |
| | |
| | | @Override |
| | | public int insertPatArchive(PatArchive patArchive) { |
| | | patArchive.setCreateTime(DateUtils.getNowDate()); |
| | | return patArchiveMapper.insertPatArchive(patArchive); |
| | | List<PatArchive> patArchives = new ArrayList<>(); |
| | | patArchives.add(patArchive); |
| | | return patArchiveMapper.insertPatArchive(patArchives); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return ç»æ |
| | | */ |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @Override |
| | | public int updatePatArchive(PatArchive patArchive) { |
| | | public Boolean updatePatArchive(PatArchive patArchive) { |
| | | patArchive.setUpdateTime(DateUtils.getNowDate()); |
| | | return patArchiveMapper.updatePatArchive(patArchive); |
| | | |
| | | for (String tagName : patArchive.getTagList()) { |
| | | BaseTag baseTag = new BaseTag(); |
| | | baseTag.setTagname(tagName); |
| | | List<BaseTag> baseTags = baseTagMapper.selectBaseTagList(baseTag); |
| | | |
| | | if (CollectionUtils.isEmpty(baseTags)) { |
| | | baseTag = new BaseTag(); |
| | | baseTag.setTagcategoryid(1L); |
| | | baseTag.setTagname(tagName); |
| | | baseTag.setOrgid(null); |
| | | baseTag.setDelFlag("0"); |
| | | baseTag.setCreateBy(null); |
| | | baseTag.setCreateTime(new Date()); |
| | | baseTag.setCreateBy(null); |
| | | baseTag.setCreateTime(new Date()); |
| | | baseTagMapper.insertBaseTag(baseTag); |
| | | //ç¶ååå¾pat_archivetagè¡¨ä¸æ°å¢ |
| | | } else { |
| | | //妿å¨basetagä¸åå¨,åæ ¹æ®tagidåpatidå»pat_archivetagè¡¨ä¸æ¥è¯¢æ¯å¦åå¨ |
| | | baseTag = baseTags.get(0); |
| | | PatArchivetag patArchivetag = new PatArchivetag(); |
| | | patArchivetag.setPatid(patArchive.getPatid()); |
| | | patArchivetag.setTagid(baseTag.getTagid()); |
| | | List<PatArchivetag> patArchivetags = patArchivetagMapper.selectPatArchivetagAndBaseTagList(patArchivetag); |
| | | if (CollectionUtils.isNotEmpty(patArchivetags)) { |
| | | //妿åå¨ï¼continue; |
| | | continue; |
| | | } else { |
| | | //妿ä¸åå¨ï¼ååpat_archivetag䏿°å¢ |
| | | // æ°å¢æ£è
æ¡£æ¡æ ç¾ |
| | | } |
| | | } |
| | | PatArchivetag patArchivetag = DtoConversionUtils.sourceToTarget(baseTag, PatArchivetag.class); |
| | | patArchivetag.setUpdateBy(null); |
| | | patArchivetag.setCreateTime(new Date()); |
| | | patArchivetag.setPatid(patArchive.getPatid()); |
| | | patArchivetagMapper.insertPatArchivetag(patArchivetag); |
| | | } |
| | | patArchiveMapper.updatePatArchive(patArchive); |
| | | return true; |
| | | } |
| | | |
| | | /** |
| | |
| | | @Override |
| | | @Transactional |
| | | public PatUpInfoVO importFilehandle(SysUser user, String tags, MultipartFile file) { |
| | | System.out.println("start : " + System.currentTimeMillis() / 1000); |
| | | PatUpInfoVO patUpInfoVO = new PatUpInfoVO(); |
| | | Integer successNum = 0; |
| | | Integer failNum = 0; |
| | | //éè¦å¤ççæ»è¡æ° |
| | | int lastRowNum = 0; |
| | | |
| | | List<PatArchive> errorpatArchiveList = new ArrayList<>(); |
| | | final List<PatArchive> errorpatArchiveList = new ArrayList<>(); |
| | | //åå»ºçº¿ç¨æ± |
| | | ExecutorService pool = Executors.newFixedThreadPool(10); |
| | | try { |
| | | Workbook workbook = new XSSFWorkbook(file.getInputStream()); |
| | | Sheet sheet = workbook.getSheetAt(0); |
| | | |
| | | for (int i = sheet.getFirstRowNum() + 1; i < sheet.getLastRowNum(); i++) { |
| | | Row row = sheet.getRow(i); |
| | | //妿è¡ä¸ºç©ºï¼è¿è¡ä¸ä¸æ¬¡å¾ªç¯ |
| | | if (ObjectUtils.isEmpty(row)) { |
| | | continue; |
| | | } |
| | | PatArchive patArchive = new PatArchive(); |
| | | if (ObjectUtils.isEmpty(row.getCell(3)) || StringUtils.isEmpty(row.getCell(3).toString())) { |
| | | addRemark("身份è¯å·ä¸ºç©º", patArchive); |
| | | } else { |
| | | patArchive.setIccardno(row.getCell(3).toString()); |
| | | //æ ¹æ®èº«ä»½è¯ï¼å
廿£è
管ç表éççææ²¡æè¿ä¸ªäºº,妿æè¿ä¸ªäººï¼ä¹ä¸éè¦æå
¥æ£è
表 |
| | | List<PatArchive> patArchiveList1 = patArchiveMapper.selectPatArchiveList(patArchive); |
| | | if (patArchiveList1.size() > 0) { |
| | | patArchive.setRemark("该æ£è
å·²åå¨"); |
| | | //è·åæä»¶éçæ»è¡æ° |
| | | lastRowNum = sheet.getLastRowNum(); |
| | | //å°æä»¶éçæ°æ®åæ10份 |
| | | int partsize = lastRowNum / 10; |
| | | for (int i = 0; i < 10; i++) { |
| | | int start = i * partsize + 1; |
| | | int end = (i + 1) * partsize; |
| | | |
| | | pool.execute(new Runnable() { |
| | | @Override |
| | | public void run() { |
| | | for (int j = start; j <= end; j++) { |
| | | List<PatArchive> patArchives = new ArrayList<>(); |
| | | String name = Thread.currentThread().getName(); |
| | | Row row = sheet.getRow(j); |
| | | //妿è¡ä¸ºç©ºï¼è¿è¡ä¸ä¸æ¬¡å¾ªç¯ |
| | | if (ObjectUtils.isEmpty(row)) { |
| | | continue; |
| | | } |
| | | PatArchive patArchive = new PatArchive(); |
| | | if (ObjectUtils.isEmpty(row.getCell(6)) || StringUtils.isEmpty(row.getCell(6).toString())) { |
| | | addRemark("è¯ä»¶å·ç 为空", patArchive); |
| | | } else { |
| | | patArchive.setIdcardno(row.getCell(6).toString()); |
| | | //æ ¹æ®èº«ä»½è¯ï¼å
廿£è
管ç表éççææ²¡æè¿ä¸ªäºº,妿æè¿ä¸ªäººï¼ä¹ä¸éè¦æå
¥æ£è
表 |
| | | // (è¿ä¸åæ¥è¯¢ä¼å½±åæ´ä½çé度,éè¦ä¼å) |
| | | List<PatArchive> patArchiveList1 = patArchiveMapper.selectPatArchiveList(patArchive); |
| | | if (patArchiveList1.size() > 0) { |
| | | patArchive.setRemark("该æ£è
å·²åå¨"); |
| | | } |
| | | } |
| | | |
| | | //夿å§åæ¯å¦ä¸ºç©º |
| | | if (Objects.isNull(row.getCell(0)) || StringUtils.isEmpty(row.getCell(0).toString())) { |
| | | addRemark("å§å为空", patArchive); |
| | | } else { |
| | | patArchive.setName(row.getCell(0).toString()); |
| | | } |
| | | |
| | | //夿æ§å«æ¯å¦ä¸ºç©º |
| | | if (ObjectUtils.isEmpty(row.getCell(1)) || StringUtils.isEmpty(row.getCell(1).toString())) { |
| | | addRemark("æ§å«ä¸ºç©º", patArchive); |
| | | } else { |
| | | patArchive.setSex(row.getCell(1).toString().equals("ç·") ? 1L : 2L); |
| | | } |
| | | |
| | | //夿è¯ä»¶ç±»åæ¯å¦ä¸ºç©º |
| | | if (ObjectUtils.isEmpty(row.getCell(2)) || StringUtils.isEmpty(row.getCell(2).toString())) { |
| | | addRemark("è¯ä»¶ç±»å为空", patArchive); |
| | | } else { |
| | | patArchive.setIdcardtype(row.getCell(2).toString()); |
| | | } |
| | | |
| | | //夿ç±è´¯æ¯å¦ä¸ºç©º |
| | | if (ObjectUtils.isEmpty(row.getCell(3)) || StringUtils.isEmpty(row.getCell(3).toString())) { |
| | | patArchive.setNativePlace(null); |
| | | } else { |
| | | patArchive.setNativePlace(row.getCell(3).toString()); |
| | | } |
| | | |
| | | //夿å±
ä½å°æ¯å¦ä¸ºç©º |
| | | if (ObjectUtils.isEmpty(row.getCell(4)) || StringUtils.isEmpty(row.getCell(4).toString())) { |
| | | patArchive.setPlaceOfResidence(null); |
| | | } else { |
| | | patArchive.setPlaceOfResidence(row.getCell(4).toString()); |
| | | } |
| | | |
| | | //夿å±
ä½å°æ¯å¦ä¸ºç©º |
| | | if (ObjectUtils.isEmpty(row.getCell(5)) || StringUtils.isEmpty(row.getCell(5).toString())) { |
| | | patArchive.setBirthplace(null); |
| | | } else { |
| | | patArchive.setBirthplace(row.getCell(5).toString()); |
| | | } |
| | | |
| | | //夿åºçæ¥ææ¯å¦ä¸ºç©º |
| | | if (ObjectUtils.isEmpty(row.getCell(7)) || StringUtils.isEmpty(row.getCell(7).toString())) { |
| | | // addRemark("åºçæ¥æä¸ºç©º", patArchive); |
| | | patArchive.setBirthdate(null); |
| | | } else { |
| | | //æ ¼å¼è½¬æ¢ï¼è½¬ææ¥æ |
| | | SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd"); |
| | | Date javaDate = new Date(); |
| | | if (row.getCell(7).getCellType().toString().equals("NUMERIC")) { |
| | | javaDate = HSSFDateUtil.getJavaDate(row.getCell(7).getNumericCellValue()); |
| | | } else { |
| | | try { |
| | | javaDate = dateFormat.parse(row.getCell(7).toString()); |
| | | } catch (ParseException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | dateFormat.format(javaDate); |
| | | patArchive.setBirthdate(javaDate); |
| | | } |
| | | |
| | | //夿年龿¯å¦ä¸ºç©º |
| | | if (ObjectUtils.isEmpty(row.getCell(8)) || StringUtils.isEmpty(row.getCell(8).toString())) { |
| | | patArchive.setAge(null); |
| | | } else { |
| | | patArchive.setAge(Long.valueOf(row.getCell(8).toString())); |
| | | } |
| | | |
| | | //夿æ¬äººèç³»æ¯å¦ä¸ºç©ºï¼åé¿åº¦æ¯å¦æ£ç¡® |
| | | if (ObjectUtils.isEmpty(row.getCell(12)) || StringUtils.isEmpty(row.getCell(12).toString())) { |
| | | addRemark("æ¬äººèç³»çµè¯ä¸ºç©º", patArchive); |
| | | } else { |
| | | //æ ¼å¼è½¬æ¢ï¼è½¬æææ¬ |
| | | if (row.getCell(12).getCellType().toString().equals("NUMERIC")) { |
| | | String cellData = String.valueOf((long) row.getCell(12).getNumericCellValue()); |
| | | patArchive.setTelcode(cellData); |
| | | } else { |
| | | DataFormatter dataFormatter = new DataFormatter(); |
| | | String cellValue = dataFormatter.formatCellValue(row.getCell(12)); |
| | | patArchive.setTelcode(cellValue); |
| | | } |
| | | } |
| | | |
| | | //å¤æäº²å±èç³»æ¹å¼æ¯å¦ä¸ºç©ºï¼é¿åº¦æ¯å¦æ£ç¡® |
| | | if (ObjectUtils.isEmpty(row.getCell(13)) || StringUtils.isEmpty(row.getCell(13).toString())) { |
| | | // addRemark("亲å±èç³»æ¹å¼ä¸ºç©º", patArchive); |
| | | patArchive.setRelativetelcode(null); |
| | | } else { |
| | | //æ ¼å¼è½¬æ¢ï¼è½¬æææ¬ |
| | | if (row.getCell(13).getCellType().toString().equals("NUMERIC")) { |
| | | String cellData = String.valueOf((long) row.getCell(13).getNumericCellValue()); |
| | | patArchive.setRelativetelcode(cellData); |
| | | } else { |
| | | DataFormatter dataFormatter = new DataFormatter(); |
| | | String cellValue = dataFormatter.formatCellValue(row.getCell(13)); |
| | | patArchive.setRelativetelcode(cellValue); |
| | | } |
| | | } |
| | | //å¤ææ°ææ¯å¦ä¸ºç©º |
| | | if (ObjectUtils.isEmpty(row.getCell(14)) || StringUtils.isEmpty(row.getCell(14).toString())) { |
| | | patArchive.setNation(null); |
| | | } else { |
| | | patArchive.setNation(row.getCell(14).toString()); |
| | | } |
| | | |
| | | //æ£é½æ ç¾æ¯å¦ä¸ºç©º |
| | | if (ObjectUtils.isEmpty(row.getCell(17)) || StringUtils.isEmpty(row.getCell(17).toString())) { |
| | | patArchive.setTag(tags); |
| | | } else { |
| | | if (StringUtils.isNotEmpty(tags)) { |
| | | patArchive.setTag(row.getCell(17).toString() + "," + tags); |
| | | } else { |
| | | patArchive.setTag(row.getCell(17).toString()); |
| | | } |
| | | } |
| | | |
| | | //夿夿³¨æ¯å¦ä¸ºç©º |
| | | if (!StringUtils.isEmpty(patArchive.getRemark())) { |
| | | //妿夿³¨å段ä¸ä¸ºç©ºï¼è¯´æè¯¥æ£è
å¡«åæé®é¢ |
| | | errorpatArchiveList.add(patArchive); |
| | | continue; |
| | | } |
| | | |
| | | patArchive.setUploadTime(new Date()); |
| | | patArchive.setIsupload(0L); |
| | | //徿£è
è¡¨éæ°å¢,å¹¶è·åå°æ°å¢ID |
| | | patArchives.add(patArchive); |
| | | int i1 = patArchiveMapper.insertPatArchive(patArchives); |
| | | |
| | | // // æ ¹æ®æ ç¾åæ¥è¯¢åºæ ç¾ä¿¡æ¯ |
| | | // String s = patArchive.getTag(); |
| | | // String[] split = s.split(","); |
| | | // for (String tagName : split) { |
| | | // BaseTag baseTag = new BaseTag(); |
| | | // baseTag.setTagname(tagName); |
| | | // List<BaseTag> baseTags = baseTagMapper.selectBaseTagList(baseTag); |
| | | // |
| | | // //å¦æè¯¥æ ç¾ä¸ºç©ºï¼ç°æ ç¾ç®¡ç没æåºç°è¿çæ°æ ç¾æ¶ï¼èªå¨å°æ ç¾æ·»å å°"æ ç¾ç®¡ç"æªåç±»âä¸ãç¼è¾äººä¸ºå¯¼å
¥è´¦å· |
| | | // if (CollectionUtils.isEmpty(baseTags)) { |
| | | // baseTag = new BaseTag(); |
| | | // baseTag.setTagcategoryid(1L); |
| | | // baseTag.setTagname(tagName); |
| | | // baseTag.setOrgid(user.getDeptId().toString()); |
| | | // baseTag.setDelFlag("0"); |
| | | // baseTag.setCreateBy(user.getUserName()); |
| | | // baseTag.setCreateTime(new Date()); |
| | | // baseTag.setCreateBy(user.getUserName()); |
| | | // baseTag.setCreateTime(new Date()); |
| | | // baseTagMapper.insertBaseTag(baseTag); |
| | | // } else { |
| | | // baseTag = baseTags.get(0); |
| | | // } |
| | | // |
| | | // // æ°å¢æ£è
æ¡£æ¡æ ç¾ |
| | | // PatArchivetag patArchivetag = DtoConversionUtils.sourceToTarget(baseTag, PatArchivetag.class); |
| | | // patArchivetag.setUpdateBy(user.getUserName()); |
| | | // patArchivetag.setCreateTime(new Date()); |
| | | // patArchivetag.setPatid(patArchive.getPatid()); |
| | | // patArchivetagMapper.insertPatArchivetag(patArchivetag); |
| | | // } |
| | | |
| | | patArchives.clear(); |
| | | } |
| | | } |
| | | } |
| | | |
| | | //夿å§åæ¯å¦ä¸ºç©º |
| | | if (Objects.isNull(row.getCell(0)) || StringUtils.isEmpty(row.getCell(0).toString())) { |
| | | addRemark("å§å为空", patArchive); |
| | | } else { |
| | | patArchive.setName(row.getCell(0).toString()); |
| | | } |
| | | |
| | | //夿æ§å«æ¯å¦ä¸ºç©º |
| | | |
| | | if (ObjectUtils.isEmpty(row.getCell(1)) || StringUtils.isEmpty(row.getCell(1).toString())) { |
| | | addRemark("æ§å«ä¸ºç©º", patArchive); |
| | | } else { |
| | | patArchive.setSex(row.getCell(1).toString().equals("ç·") ? 1L : 2L); |
| | | } |
| | | |
| | | //夿è¯ä»¶ç±»åæ¯å¦ä¸ºç©º |
| | | if (ObjectUtils.isEmpty(row.getCell(2)) || StringUtils.isEmpty(row.getCell(2).toString())) { |
| | | addRemark("è¯ä»¶ç±»å为空", patArchive); |
| | | } else { |
| | | patArchive.setIccardtype(row.getCell(2).toString()); |
| | | } |
| | | |
| | | //夿åºçæ¥ææ¯å¦ä¸ºç©º |
| | | if (ObjectUtils.isEmpty(row.getCell(4)) || StringUtils.isEmpty(row.getCell(4).toString())) { |
| | | addRemark("åºçæ¥æä¸ºç©º", patArchive); |
| | | } else { |
| | | //æ ¼å¼è½¬æ¢ï¼è½¬ææ¥æ |
| | | SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd"); |
| | | Date javaDate = new Date(); |
| | | if (row.getCell(4).getCellType().toString().equals("NUMERIC")) { |
| | | javaDate = HSSFDateUtil.getJavaDate(row.getCell(4).getNumericCellValue()); |
| | | } else { |
| | | javaDate = new Date(row.getCell(4).toString()); |
| | | } |
| | | dateFormat.format(javaDate); |
| | | patArchive.setBirthdate(javaDate); |
| | | } |
| | | |
| | | //夿æ¬äººèç³»æ¯å¦ä¸ºç©ºï¼åé¿åº¦æ¯å¦æ£ç¡® |
| | | if (ObjectUtils.isEmpty(row.getCell(5)) || StringUtils.isEmpty(row.getCell(5).toString())) { |
| | | addRemark("æ¬äººèç³»çµè¯ä¸ºç©º", patArchive); |
| | | } else { |
| | | //æ ¼å¼è½¬æ¢ï¼è½¬æææ¬ |
| | | if (row.getCell(5).getCellType().toString().equals("NUMERIC")) { |
| | | String cellData = String.valueOf((long) row.getCell(5).getNumericCellValue()); |
| | | patArchive.setTelcode(cellData); |
| | | } else { |
| | | DataFormatter dataFormatter = new DataFormatter(); |
| | | String cellValue = dataFormatter.formatCellValue(row.getCell(5)); |
| | | patArchive.setTelcode(cellValue); |
| | | } |
| | | } |
| | | |
| | | //å¤æäº²å±èç³»æ¹å¼æ¯å¦ä¸ºç©ºï¼é¿åº¦æ¯å¦æ£ç¡® |
| | | if (ObjectUtils.isEmpty(row.getCell(6)) || StringUtils.isEmpty(row.getCell(6).toString())) { |
| | | addRemark("亲å±èç³»æ¹å¼ä¸ºç©º", patArchive); |
| | | } else { |
| | | //æ ¼å¼è½¬æ¢ï¼è½¬æææ¬ |
| | | if (row.getCell(6).getCellType().toString().equals("NUMERIC")) { |
| | | String cellData = String.valueOf((long) row.getCell(6).getNumericCellValue()); |
| | | patArchive.setRelativetelcode(cellData); |
| | | } else { |
| | | DataFormatter dataFormatter = new DataFormatter(); |
| | | String cellValue = dataFormatter.formatCellValue(row.getCell(6)); |
| | | patArchive.setRelativetelcode(cellValue); |
| | | } |
| | | } |
| | | |
| | | //æ£é½æ ç¾æ¯å¦ä¸ºç©º |
| | | if (ObjectUtils.isEmpty(row.getCell(7)) || StringUtils.isEmpty(row.getCell(7).toString())) { |
| | | if (StringUtils.isEmpty(tags)) { |
| | | addRemark("æ£è
æ ç¾ä¸ºç©º", patArchive); |
| | | } else { |
| | | patArchive.setTag(tags); |
| | | |
| | | } |
| | | } else { |
| | | if (StringUtils.isNotEmpty(tags)) { |
| | | patArchive.setTag(row.getCell(7).toString() + "," + tags); |
| | | } else { |
| | | patArchive.setTag(row.getCell(7).toString()); |
| | | } |
| | | } |
| | | |
| | | //夿夿³¨æ¯å¦ä¸ºç©º |
| | | if (!StringUtils.isEmpty(patArchive.getRemark())) { |
| | | //妿夿³¨å段ä¸ä¸ºç©ºï¼è¯´æè¯¥æ£è
å¡«åæé®é¢ |
| | | errorpatArchiveList.add(patArchive); |
| | | failNum = failNum + 1; |
| | | continue; |
| | | } |
| | | |
| | | //徿£è
è¡¨éæ°å¢,å¹¶è·åå°æ°å¢ID |
| | | patArchiveMapper.insertPatArchive(patArchive); |
| | | |
| | | //æ ¹æ®æ ç¾åæ¥è¯¢åºæ ç¾ä¿¡æ¯ |
| | | String s = patArchive.getTag(); |
| | | String[] split = s.split(","); |
| | | for (String tagName : split) { |
| | | BaseTag baseTag = new BaseTag(); |
| | | baseTag.setTagname(tagName); |
| | | List<BaseTag> baseTags = baseTagMapper.selectBaseTagList(baseTag); |
| | | |
| | | //å¦æè¯¥æ ç¾ä¸ºç©ºï¼ç°æ ç¾ç®¡ç没æåºç°è¿çæ°æ ç¾æ¶ï¼èªå¨å°æ ç¾æ·»å å°"æ ç¾ç®¡ç"æªåç±»âä¸ãç¼è¾äººä¸ºå¯¼å
¥è´¦å· |
| | | if (CollectionUtils.isEmpty(baseTags)) { |
| | | baseTag = new BaseTag(); |
| | | baseTag.setTagcategoryid(1L); |
| | | baseTag.setTagname(tagName); |
| | | baseTag.setOrgid(user.getDeptId().toString()); |
| | | baseTag.setDelFlag("0"); |
| | | baseTag.setCreateBy(user.getUserName()); |
| | | baseTag.setCreateTime(new Date()); |
| | | baseTag.setCreateBy(user.getUserName()); |
| | | baseTag.setCreateTime(new Date()); |
| | | baseTagMapper.insertBaseTag(baseTag); |
| | | } else { |
| | | baseTag = baseTags.get(0); |
| | | } |
| | | |
| | | // æ°å¢æ£è
æ¡£æ¡æ ç¾ |
| | | PatArchivetag patArchivetag = DtoConversionUtils.sourceToTarget(baseTag, PatArchivetag.class); |
| | | patArchivetag.setUpdateBy(user.getUserName()); |
| | | patArchivetag.setCreateTime(new Date()); |
| | | patArchivetag.setPatid(patArchive.getPatid()); |
| | | patArchivetagMapper.insertPatArchivetag(patArchivetag); |
| | | } |
| | | successNum = successNum + 1; |
| | | }); |
| | | } |
| | | |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | | |
| | | patUpInfoVO.setFailNum(failNum); |
| | | patUpInfoVO.setSuccessNum(successNum); |
| | | pool.shutdown(); |
| | | Boolean aa = true; |
| | | d: |
| | | while (aa) { |
| | | boolean terminated = pool.isTerminated(); |
| | | if (terminated) { |
| | | aa = false; |
| | | continue d; |
| | | } |
| | | } |
| | | |
| | | if (errorpatArchiveList.size() != 0) { |
| | | patUpInfoVO.setSuccessNum(lastRowNum - errorpatArchiveList.size()); |
| | | patUpInfoVO.setFailNum(errorpatArchiveList.size()); |
| | | } else { |
| | | patUpInfoVO.setSuccessNum(lastRowNum == 0 ? 0 : lastRowNum); |
| | | patUpInfoVO.setFailNum(0); |
| | | } |
| | | patUpInfoVO.setPatArchiveList(errorpatArchiveList); |
| | | return patUpInfoVO; |
| | | } |
| | |
| | | List<PatArchive> patArchives = new ArrayList<>(); |
| | | |
| | | //æ ¹æ®æ¡ä»¶è·åæ£è
ä¿¡æ¯ |
| | | List<PatArchive> patArchiveList = patArchiveMapper.patInfoByContion(patArchive); |
| | | // List<PatArchive> patArchiveList = patArchiveMapper.patInfoByContion(patArchive); |
| | | List<PatArchive> patArchiveList = new ArrayList<>(); |
| | | |
| | | if (patArchive.getEndtime() != null) { |
| | | //åºé¢æ¶é´åªæä½é¢ææ |
| | | patArchive.setAllhosp(1L); |
| | | } |
| | | |
| | | if (patArchive.getAllhosp() != null && patArchive.getAllhosp() == 0) { |
| | | List<PatArchive> patArchives0 = patArchiveMapper.selectPatArchiveInfoByAllhosp(patArchive); |
| | | if (CollectionUtils.isNotEmpty(patArchives0)) { |
| | | patArchiveList.addAll(patArchives0); |
| | | } |
| | | } else if (patArchive.getAllhosp() != null && patArchive.getAllhosp() == 1) { |
| | | List<PatArchive> patArchives1 = patArchiveMapper.selectPatArchiveInfoByInhosp(patArchive); |
| | | if (CollectionUtils.isNotEmpty(patArchives1)) { |
| | | patArchiveList.addAll(patArchives1); |
| | | } |
| | | } else if (patArchive.getAllhosp() != null && patArchive.getAllhosp() == 2) { |
| | | List<PatArchive> patArchives2 = patArchiveMapper.selectPatArchiveInfoByOuthosp(patArchive); |
| | | if (CollectionUtils.isNotEmpty(patArchives2)) { |
| | | patArchiveList.addAll(patArchives2); |
| | | } |
| | | } else if (patArchive.getAllhosp() != null && patArchive.getAllhosp() == 3) { |
| | | List<PatArchive> patArchives3 = patArchiveMapper.selectPatArchiveInfoByPhysical(patArchive); |
| | | if (CollectionUtils.isNotEmpty(patArchives3)) { |
| | | patArchiveList.addAll(patArchives3); |
| | | } |
| | | } |
| | | |
| | | |
| | | //æ ¹æ®æ£è
IDè¿è¡åç» |
| | | Map<Long, List<PatArchive>> listMap = patArchiveList.stream().collect(Collectors.groupingBy(PatArchive::getPatid)); |
| | | |
| | | //å¯¹æ°æ®è¿è¡å°è£
|
| | | for (List<PatArchive> list : listMap.values()) { |
| | | PatArchive patArchive1 = new PatArchive(); |
| | | List<String> stringList = new ArrayList<>(); |
| | | Set<String> stringList = new HashSet<>(); |
| | | for (int i = 0; i < list.size(); i++) { |
| | | if (i == 0) { |
| | | patArchive1 = DtoConversionUtils.sourceToTarget(list.get(0), PatArchive.class); |
| | |
| | | //å°æ¥åºçtagï¼æ¾å°patArchive1éçTagListä¸ |
| | | stringList.add(list.get(i).getTag()); |
| | | } |
| | | patArchive1.setTagList(stringList); |
| | | patArchive1.setTagList(stringList.stream().collect(Collectors.toList())); |
| | | patArchives.add(patArchive1); |
| | | } |
| | | |
| | |
| | | public List<PatArchivetagAndPatientInfo> patInfoByTag(List<Long> tagids) { |
| | | |
| | | |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public List<Object> getUserTreatmentInfo(String pid, String type) { |
| | | if (StringUtils.isEmpty(pid) || StringUtils.isEmpty(type)) { |
| | | throw new BaseException("å
¥å为空ï¼è¯·æ£æ¥å
¥å"); |
| | | } |
| | | List<Object> objectList = new ArrayList<>(); |
| | | |
| | | //éè¿æ£è
è·åé¨è¯ä¿¡æ¯ |
| | | PatMedInhosp patMedInhosp = new PatMedInhosp(); |
| | | patMedInhosp.setInhospno(pid); |
| | | List<PatMedInhosp> patMedInhosps = patMedInhospService.selectPatMedInhospList(patMedInhosp); |
| | | objectList.addAll(patMedInhosps); |
| | | |
| | | |
| | | return null; |
| | |
| | | SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy/MM/dd"); |
| | | row.createCell(0).setCellValue(patArchive.getName()); |
| | | row.createCell(1).setCellValue(patArchive.getSex() == 1 ? "ç·" : "女"); |
| | | row.createCell(2).setCellValue(patArchive.getIccardtype()); |
| | | row.createCell(3).setCellValue(patArchive.getIccardno()); |
| | | row.createCell(2).setCellValue(patArchive.getIdcardtype()); |
| | | row.createCell(3).setCellValue(patArchive.getIdcardno()); |
| | | if (ObjectUtils.isNotEmpty(patArchive.getBirthdate())) { |
| | | row.createCell(4).setCellValue(simpleDateFormat.format(patArchive.getBirthdate()).toString()); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.PatArchivecontact; |
| | | import com.smartor.mapper.PatArchivecontactMapper; |
| | | import com.smartor.service.IPatArchivecontactService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
èç³»æ¹å¼Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-05 |
| | | */ |
| | | @Service |
| | | public class PatArchivecontactServiceImpl implements IPatArchivecontactService |
| | | { |
| | | @Autowired |
| | | private PatArchivecontactMapper patArchivecontactMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param id æ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return æ£è
èç³»æ¹å¼ |
| | | */ |
| | | @Override |
| | | public PatArchivecontact selectPatArchivecontactById(Long id) |
| | | { |
| | | return patArchivecontactMapper.selectPatArchivecontactById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼å表 |
| | | * |
| | | * @param patArchivecontact æ£è
èç³»æ¹å¼ |
| | | * @return æ£è
èç³»æ¹å¼ |
| | | */ |
| | | @Override |
| | | public List<PatArchivecontact> selectPatArchivecontactList(PatArchivecontact patArchivecontact) |
| | | { |
| | | return patArchivecontactMapper.selectPatArchivecontactList(patArchivecontact); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param patArchivecontact æ£è
èç³»æ¹å¼ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertPatArchivecontact(PatArchivecontact patArchivecontact) |
| | | { |
| | | patArchivecontact.setCreateTime(DateUtils.getNowDate()); |
| | | return patArchivecontactMapper.insertPatArchivecontact(patArchivecontact); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param patArchivecontact æ£è
èç³»æ¹å¼ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updatePatArchivecontact(PatArchivecontact patArchivecontact) |
| | | { |
| | | patArchivecontact.setUpdateTime(DateUtils.getNowDate()); |
| | | return patArchivecontactMapper.updatePatArchivecontact(patArchivecontact); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
èç³»æ¹å¼ |
| | | * |
| | | * @param ids éè¦å é¤çæ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatArchivecontactByIds(Long[] ids) |
| | | { |
| | | return patArchivecontactMapper.deletePatArchivecontactByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
èç³»æ¹å¼ä¿¡æ¯ |
| | | * |
| | | * @param id æ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatArchivecontactById(Long id) |
| | | { |
| | | return patArchivecontactMapper.deletePatArchivecontactById(id); |
| | | } |
| | | } |
| | |
| | | */ |
| | | @Override |
| | | public List<PatArchivetag> selectPatArchivetagList(PatArchivetag patArchivetag) { |
| | | return patArchivetagMapper.selectPatArchivetagList(patArchivetag); |
| | | return patArchivetagMapper.selectPatArchivetagAndBaseTagList(patArchivetag); |
| | | } |
| | | |
| | | /** |
| | |
| | | <?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.HeCategoryMapper"> |
| | | |
| | | <resultMap type="HeCategory" id="HeCategoryResult"> |
| | | <result property="id" column="id" /> |
| | | <result property="categoryname" column="categoryname" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | |
| | | <resultMap type="com.smartor.domain.HeCategory" id="HeCategoryResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="categoryname" column="categoryname"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectHeCategoryVo"> |
| | | select id, categoryname, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from he_category |
| | | select id, |
| | | categoryname, |
| | | orgid, |
| | | del_flag, |
| | | update_by, |
| | | update_time, |
| | | create_by, |
| | | create_time, |
| | | isupload, |
| | | upload_time, |
| | | pid, |
| | | guid |
| | | from he_category |
| | | </sql> |
| | | |
| | | <select id="selectHeCategoryList" parameterType="HeCategory" resultMap="HeCategoryResult"> |
| | | <select id="selectHeCategoryList" parameterType="com.smartor.domain.HeCategory" resultMap="HeCategoryResult"> |
| | | <include refid="selectHeCategoryVo"/> |
| | | <where> |
| | | <if test="categoryname != null and categoryname != ''"> and categoryname like concat('%', #{categoryname}, '%')</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <where> |
| | | <if test="categoryname != null and categoryname != ''">and categoryname like concat('%', #{categoryname}, |
| | | '%') |
| | | </if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="id != null">and id = #{id}</if> |
| | | <if test="pid != null">and pid = #{pid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | |
| | | <select id="selectHeCategoryById" parameterType="Long" resultMap="HeCategoryResult"> |
| | | <include refid="selectHeCategoryVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertHeCategory" parameterType="HeCategory" useGeneratedKeys="true" keyProperty="id"> |
| | | |
| | | <insert id="insertHeCategory" parameterType="com.smartor.domain.HeCategory" useGeneratedKeys="true" |
| | | keyProperty="id"> |
| | | insert into he_category |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="categoryname != null">categoryname,</if> |
| | |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | </trim> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="categoryname != null">#{categoryname},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | </trim> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateHeCategory" parameterType="HeCategory"> |
| | | <update id="updateHeCategory" parameterType="com.smartor.domain.HeCategory"> |
| | | update he_category |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="categoryname != null">categoryname = #{categoryname},</if> |
| | |
| | | </update> |
| | | |
| | | <delete id="deleteHeCategoryById" parameterType="Long"> |
| | | delete from he_category where id = #{id} |
| | | delete |
| | | from he_category |
| | | where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteHeCategoryByIds" parameterType="String"> |
| | | delete from he_category where id in |
| | | delete from he_category where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.HeLocallibraryMapper"> |
| | | |
| | | <resultMap type="HeLocallibrary" id="HeLocallibraryResult"> |
| | | <resultMap type="com.smartor.domain.HeLocallibrary" id="HeLocallibraryResult"> |
| | | <result property="id" column="id" /> |
| | | <result property="preachcategoryid" column="preachcategoryid" /> |
| | | <result property="preachname" column="preachname" /> |
| | |
| | | select id, preachcategoryid, preachname, version, preachform, preachdescription, preachcontent, templateid, preachcode, centerlibraryid, isenable, orgid, update_by, update_time, del_flag, create_by, create_time, isupload, upload_time, classification, islocal, centerlibrarycode from he_locallibrary |
| | | </sql> |
| | | |
| | | <select id="selectHeLocallibraryList" parameterType="HeLocallibrary" resultMap="HeLocallibraryResult"> |
| | | <select id="selectHeLocallibraryList" parameterType="com.smartor.domain.HeLocallibrary" resultMap="HeLocallibraryResult"> |
| | | <include refid="selectHeLocallibraryVo"/> |
| | | <where> |
| | | <if test="preachcategoryid != null "> and preachcategoryid = #{preachcategoryid}</if> |
| | |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertHeLocallibrary" parameterType="HeLocallibrary" useGeneratedKeys="true" keyProperty="id"> |
| | | <insert id="insertHeLocallibrary" parameterType="com.smartor.domain.HeLocallibrary" useGeneratedKeys="true" keyProperty="id"> |
| | | insert into he_locallibrary |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="preachcategoryid != null">preachcategoryid,</if> |
| | |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateHeLocallibrary" parameterType="HeLocallibrary"> |
| | | <update id="updateHeLocallibrary" parameterType="com.smartor.domain.HeLocallibrary"> |
| | | update he_locallibrary |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="preachcategoryid != null">preachcategoryid = #{preachcategoryid},</if> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?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.IvrLibaTargetAssortMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.IvrLibaTargetAssort" id="IvrLibaTargetAssortResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="indexAssortName" column="index_assort_name"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="pid" column="pid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTargetAssortVo"> |
| | | select id, index_assort_name, del_flag, create_time, update_time, pid |
| | | from ivr_liba_target_assort |
| | | </sql> |
| | | |
| | | <select id="selectIvrLibaTargetAssortList" parameterType="com.smartor.domain.IvrLibaTargetAssort" |
| | | resultMap="IvrLibaTargetAssortResult"> |
| | | <include refid="selectIvrLibaTargetAssortVo"/> |
| | | <where> |
| | | <if test="indexAssortName != null and indexAssortName != ''">and index_assort_name like concat('%', |
| | | #{indexAssortName}, '%') |
| | | </if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaTargetAssortById" parameterType="Long" resultMap="IvrLibaTargetAssortResult"> |
| | | <include refid="selectIvrLibaTargetAssortVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaTargetAssort" parameterType="com.smartor.domain.IvrLibaTargetAssort"> |
| | | insert into ivr_liba_target_assort |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | | <if test="indexAssortName != null and indexAssortName != ''">index_assort_name,</if> |
| | | <if test="delFlag != null">del_flag,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="pid != null">pid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id},</if> |
| | | <if test="indexAssortName != null and indexAssortName != ''">#{indexAssortName},</if> |
| | | <if test="delFlag != null">#{delFlag},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrLibaTargetAssort" parameterType="com.smartor.domain.IvrLibaTargetAssort"> |
| | | update ivr_liba_target_assort |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="indexAssortName != null and indexAssortName != ''">index_assort_name = #{indexAssortName},</if> |
| | | <if test="delFlag != null">del_flag = #{delFlag},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTargetAssortById" parameterType="Long"> |
| | | delete |
| | | from ivr_liba_target_assort |
| | | where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteIvrLibaTargetAssortByIds" parameterType="String"> |
| | | delete from ivr_liba_target_assort where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.IvrLibaTargetMapper"> |
| | | |
| | | <resultMap type="IvrLibaTarget" id="IvrLibaTargetResult"> |
| | | <resultMap type="com.smartor.domain.IvrLibaTarget" id="IvrLibaTargetResult"> |
| | | <result property="targetID" column="targetID" /> |
| | | <result property="targetType" column="targetType" /> |
| | | <result property="categoryName" column="categoryName" /> |
| | | <result property="targetValue" column="targetValue" /> |
| | | <result property="targetRegex" column="targetRegex" /> |
| | | <result property="note" column="note" /> |
| | | <result property="groupid" column="groupid" /> |
| | | <result property="targettype" column="targettype" /> |
| | | <result property="targetname" column="targetname" /> |
| | | <result property="targetdesc" column="targetdesc" /> |
| | | <result property="language" column="language" /> |
| | | <result property="version" column="version" /> |
| | | <result property="isEnable" column="isEnable" /> |
| | | <result property="isDel" column="isDel" /> |
| | | <result property="addUserID" column="addUserID" /> |
| | | <result property="addTime" column="addTime" /> |
| | | <result property="modifyUserID" column="modifyUserID" /> |
| | | <result property="modifyTime" column="modifyTime" /> |
| | | <result property="groupID" column="groupID" /> |
| | | <result property="isAbnormal" column="isAbnormal" /> |
| | | <result property="WarnUp" column="WarnUp" /> |
| | | <result property="WarnDown" column="WarnDown" /> |
| | | <result property="isenable" column="isenable" /> |
| | | <result property="isabnormal" column="isabnormal" /> |
| | | <result property="warnup" column="warnup" /> |
| | | <result property="warndown" column="warndown" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="pid" column="pid" /> |
| | | <result property="guid" column="guid" /> |
| | | <result property="assortid" column="assortid" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTargetVo"> |
| | | select targetID, targetType, categoryName, targetValue, targetRegex, note, language, version, isEnable, isDel, addUserID, addTime, modifyUserID, modifyTime, groupID, isAbnormal, WarnUp, WarnDown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid from ivr_liba_target |
| | | select targetID, groupid, targettype, targetname, targetdesc, language, version, isenable, isabnormal, warnup, warndown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, assortid from ivr_liba_target |
| | | </sql> |
| | | |
| | | <select id="selectIvrLibaTargetList" parameterType="IvrLibaTarget" resultMap="IvrLibaTargetResult"> |
| | | <select id="selectIvrLibaTargetList" parameterType="com.smartor.domain.IvrLibaTarget" resultMap="IvrLibaTargetResult"> |
| | | <include refid="selectIvrLibaTargetVo"/> |
| | | <where> |
| | | <if test="targetType != null and targetType != ''"> and targetType = #{targetType}</if> |
| | | <if test="categoryName != null and categoryName != ''"> and categoryName like concat('%', #{categoryName}, '%')</if> |
| | | <if test="targetValue != null and targetValue != ''"> and targetValue = #{targetValue}</if> |
| | | <if test="targetRegex != null and targetRegex != ''"> and targetRegex = #{targetRegex}</if> |
| | | <if test="note != null and note != ''"> and note = #{note}</if> |
| | | <if test="groupid != null and groupid != ''"> and groupid = #{groupid}</if> |
| | | <if test="targettype != null and targettype != ''"> and targettype = #{targettype}</if> |
| | | <if test="targetname != null and targetname != ''"> and targetname like concat('%', #{targetname}, '%')</if> |
| | | <if test="targetdesc != null and targetdesc != ''"> and targetdesc = #{targetdesc}</if> |
| | | <if test="language != null and language != ''"> and language = #{language}</if> |
| | | <if test="version != null "> and version = #{version}</if> |
| | | <if test="isEnable != null "> and isEnable = #{isEnable}</if> |
| | | <if test="isDel != null "> and isDel = #{isDel}</if> |
| | | <if test="addUserID != null and addUserID != ''"> and addUserID = #{addUserID}</if> |
| | | <if test="addTime != null "> and addTime = #{addTime}</if> |
| | | <if test="modifyUserID != null and modifyUserID != ''"> and modifyUserID = #{modifyUserID}</if> |
| | | <if test="modifyTime != null "> and modifyTime = #{modifyTime}</if> |
| | | <if test="groupID != null and groupID != ''"> and groupID = #{groupID}</if> |
| | | <if test="isAbnormal != null "> and isAbnormal = #{isAbnormal}</if> |
| | | <if test="WarnUp != null "> and WarnUp = #{WarnUp}</if> |
| | | <if test="WarnDown != null "> and WarnDown = #{WarnDown}</if> |
| | | <if test="isenable != null "> and isenable = #{isenable}</if> |
| | | <if test="isabnormal != null "> and isabnormal = #{isabnormal}</if> |
| | | <if test="warnup != null "> and warnup = #{warnup}</if> |
| | | <if test="warndown != null "> and warndown = #{warndown}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <if test="pid != null "> and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''"> and guid = #{guid}</if> |
| | | <if test="assortid != null "> and assortid = #{assortid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaTargetByTargetID" parameterType="String" resultMap="IvrLibaTargetResult"> |
| | | <select id="selectIvrLibaTargetByTargetID" parameterType="Long" resultMap="IvrLibaTargetResult"> |
| | | <include refid="selectIvrLibaTargetVo"/> |
| | | where targetID = #{targetID} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaTarget" parameterType="IvrLibaTarget"> |
| | | <insert id="insertIvrLibaTarget" parameterType="com.smartor.domain.IvrLibaTarget" useGeneratedKeys="true" keyProperty="targetID"> |
| | | insert into ivr_liba_target |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="targetID != null">targetID,</if> |
| | | <if test="targetType != null and targetType != ''">targetType,</if> |
| | | <if test="categoryName != null and categoryName != ''">categoryName,</if> |
| | | <if test="targetValue != null">targetValue,</if> |
| | | <if test="targetRegex != null">targetRegex,</if> |
| | | <if test="note != null">note,</if> |
| | | <if test="groupid != null">groupid,</if> |
| | | <if test="targettype != null and targettype != ''">targettype,</if> |
| | | <if test="targetname != null and targetname != ''">targetname,</if> |
| | | <if test="targetdesc != null">targetdesc,</if> |
| | | <if test="language != null and language != ''">language,</if> |
| | | <if test="version != null">version,</if> |
| | | <if test="isEnable != null">isEnable,</if> |
| | | <if test="isDel != null">isDel,</if> |
| | | <if test="addUserID != null">addUserID,</if> |
| | | <if test="addTime != null">addTime,</if> |
| | | <if test="modifyUserID != null">modifyUserID,</if> |
| | | <if test="modifyTime != null">modifyTime,</if> |
| | | <if test="groupID != null">groupID,</if> |
| | | <if test="isAbnormal != null">isAbnormal,</if> |
| | | <if test="WarnUp != null">WarnUp,</if> |
| | | <if test="WarnDown != null">WarnDown,</if> |
| | | <if test="isenable != null">isenable,</if> |
| | | <if test="isabnormal != null">isabnormal,</if> |
| | | <if test="warnup != null">warnup,</if> |
| | | <if test="warndown != null">warndown,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="assortid != null">assortid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="targetID != null">#{targetID},</if> |
| | | <if test="targetType != null and targetType != ''">#{targetType},</if> |
| | | <if test="categoryName != null and categoryName != ''">#{categoryName},</if> |
| | | <if test="targetValue != null">#{targetValue},</if> |
| | | <if test="targetRegex != null">#{targetRegex},</if> |
| | | <if test="note != null">#{note},</if> |
| | | <if test="groupid != null">#{groupid},</if> |
| | | <if test="targettype != null and targettype != ''">#{targettype},</if> |
| | | <if test="targetname != null and targetname != ''">#{targetname},</if> |
| | | <if test="targetdesc != null">#{targetdesc},</if> |
| | | <if test="language != null and language != ''">#{language},</if> |
| | | <if test="version != null">#{version},</if> |
| | | <if test="isEnable != null">#{isEnable},</if> |
| | | <if test="isDel != null">#{isDel},</if> |
| | | <if test="addUserID != null">#{addUserID},</if> |
| | | <if test="addTime != null">#{addTime},</if> |
| | | <if test="modifyUserID != null">#{modifyUserID},</if> |
| | | <if test="modifyTime != null">#{modifyTime},</if> |
| | | <if test="groupID != null">#{groupID},</if> |
| | | <if test="isAbnormal != null">#{isAbnormal},</if> |
| | | <if test="WarnUp != null">#{WarnUp},</if> |
| | | <if test="WarnDown != null">#{WarnDown},</if> |
| | | <if test="isenable != null">#{isenable},</if> |
| | | <if test="isabnormal != null">#{isabnormal},</if> |
| | | <if test="warnup != null">#{warnup},</if> |
| | | <if test="warndown != null">#{warndown},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="assortid != null">#{assortid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrLibaTarget" parameterType="IvrLibaTarget"> |
| | | <update id="updateIvrLibaTarget" parameterType="com.smartor.domain.IvrLibaTarget"> |
| | | update ivr_liba_target |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="targetType != null and targetType != ''">targetType = #{targetType},</if> |
| | | <if test="categoryName != null and categoryName != ''">categoryName = #{categoryName},</if> |
| | | <if test="targetValue != null">targetValue = #{targetValue},</if> |
| | | <if test="targetRegex != null">targetRegex = #{targetRegex},</if> |
| | | <if test="note != null">note = #{note},</if> |
| | | <if test="groupid != null">groupid = #{groupid},</if> |
| | | <if test="targettype != null and targettype != ''">targettype = #{targettype},</if> |
| | | <if test="targetname != null and targetname != ''">targetname = #{targetname},</if> |
| | | <if test="targetdesc != null">targetdesc = #{targetdesc},</if> |
| | | <if test="language != null and language != ''">language = #{language},</if> |
| | | <if test="version != null">version = #{version},</if> |
| | | <if test="isEnable != null">isEnable = #{isEnable},</if> |
| | | <if test="isDel != null">isDel = #{isDel},</if> |
| | | <if test="addUserID != null">addUserID = #{addUserID},</if> |
| | | <if test="addTime != null">addTime = #{addTime},</if> |
| | | <if test="modifyUserID != null">modifyUserID = #{modifyUserID},</if> |
| | | <if test="modifyTime != null">modifyTime = #{modifyTime},</if> |
| | | <if test="groupID != null">groupID = #{groupID},</if> |
| | | <if test="isAbnormal != null">isAbnormal = #{isAbnormal},</if> |
| | | <if test="WarnUp != null">WarnUp = #{WarnUp},</if> |
| | | <if test="WarnDown != null">WarnDown = #{WarnDown},</if> |
| | | <if test="isenable != null">isenable = #{isenable},</if> |
| | | <if test="isabnormal != null">isabnormal = #{isabnormal},</if> |
| | | <if test="warnup != null">warnup = #{warnup},</if> |
| | | <if test="warndown != null">warndown = #{warndown},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | |
| | | <if test="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="assortid != null">assortid = #{assortid},</if> |
| | | </trim> |
| | | where targetID = #{targetID} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTargetByTargetID" parameterType="String"> |
| | | <delete id="deleteIvrLibaTargetByTargetID" parameterType="Long"> |
| | | delete from ivr_liba_target where targetID = #{targetID} |
| | | </delete> |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?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.IvrLibaTargetoptionMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.IvrLibaTargetoption" id="IvrLibaTargetoptionResult"> |
| | | <result property="targetoptionid" column="targetoptionid"/> |
| | | <result property="targetid" column="targetid"/> |
| | | <result property="targettype" column="targettype"/> |
| | | <result property="categoryName" column="categoryName"/> |
| | | <result property="targetvalue" column="targetvalue"/> |
| | | <result property="targetregex" column="targetregex"/> |
| | | <result property="optiondesc" column="optiondesc"/> |
| | | <result property="language" column="language"/> |
| | | <result property="version" column="version"/> |
| | | <result property="groupid" column="groupid"/> |
| | | <result property="isabnormal" column="isabnormal"/> |
| | | <result property="warnup" column="warnup"/> |
| | | <result property="warndown" column="warndown"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTargetoptionVo"> |
| | | select targetoptionid, |
| | | targetid, |
| | | targettype, |
| | | categoryName, |
| | | targetvalue, |
| | | targetregex, |
| | | optiondesc, language, version, groupid, isabnormal, warnup, warndown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid |
| | | from ivr_liba_targetoption |
| | | </sql> |
| | | |
| | | <select id="selectIvrLibaTargetoptionList" parameterType="com.smartor.domain.IvrLibaTargetoption" |
| | | resultMap="IvrLibaTargetoptionResult"> |
| | | <include refid="selectIvrLibaTargetoptionVo"/> |
| | | <where> |
| | | <if test="targetid != null ">and targetid = #{targetid}</if> |
| | | <if test="targettype != null and targettype != ''">and targettype = #{targettype}</if> |
| | | <if test="categoryName != null and categoryName != ''">and categoryName like concat('%', #{categoryName}, |
| | | '%') |
| | | </if> |
| | | <if test="targetvalue != null and targetvalue != ''">and targetvalue = #{targetvalue}</if> |
| | | <if test="targetregex != null and targetregex != ''">and targetregex = #{targetregex}</if> |
| | | <if test="optiondesc != null and optiondesc != ''">and optiondesc = #{optiondesc}</if> |
| | | <if test="language != null and language != ''">and language = #{language}</if> |
| | | <if test="version != null ">and version = #{version}</if> |
| | | <if test="groupid != null and groupid != ''">and groupid = #{groupid}</if> |
| | | <if test="isabnormal != null ">and isabnormal = #{isabnormal}</if> |
| | | <if test="warnup != null ">and warnup = #{warnup}</if> |
| | | <if test="warndown != null ">and warndown = #{warndown}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaTargetoptionByTargetoptionid" parameterType="Long" resultMap="IvrLibaTargetoptionResult"> |
| | | <include refid="selectIvrLibaTargetoptionVo"/> |
| | | where targetoptionid = #{targetoptionid} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaTargetoption" parameterType="com.smartor.domain.IvrLibaTargetoption" |
| | | useGeneratedKeys="true" keyProperty="targetoptionid"> |
| | | insert into ivr_liba_targetoption |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="targetid != null">targetid,</if> |
| | | <if test="targettype != null and targettype != ''">targettype,</if> |
| | | <if test="categoryName != null and categoryName != ''">categoryName,</if> |
| | | <if test="targetvalue != null">targetvalue,</if> |
| | | <if test="targetregex != null">targetregex,</if> |
| | | <if test="optiondesc != null">optiondesc,</if> |
| | | <if test="language != null and language != ''">language,</if> |
| | | <if test="version != null">version,</if> |
| | | <if test="groupid != null">groupid,</if> |
| | | <if test="isabnormal != null">isabnormal,</if> |
| | | <if test="warnup != null">warnup,</if> |
| | | <if test="warndown != null">warndown,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="targetid != null">#{targetid},</if> |
| | | <if test="targettype != null and targettype != ''">#{targettype},</if> |
| | | <if test="categoryName != null and categoryName != ''">#{categoryName},</if> |
| | | <if test="targetvalue != null">#{targetvalue},</if> |
| | | <if test="targetregex != null">#{targetregex},</if> |
| | | <if test="optiondesc != null">#{optiondesc},</if> |
| | | <if test="language != null and language != ''">#{language},</if> |
| | | <if test="version != null">#{version},</if> |
| | | <if test="groupid != null">#{groupid},</if> |
| | | <if test="isabnormal != null">#{isabnormal},</if> |
| | | <if test="warnup != null">#{warnup},</if> |
| | | <if test="warndown != null">#{warndown},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrLibaTargetoption" parameterType="com.smartor.domain.IvrLibaTargetoption"> |
| | | update ivr_liba_targetoption |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="targetid != null">targetid = #{targetid},</if> |
| | | <if test="targettype != null and targettype != ''">targettype = #{targettype},</if> |
| | | <if test="categoryName != null and categoryName != ''">categoryName = #{categoryName},</if> |
| | | <if test="targetvalue != null">targetvalue = #{targetvalue},</if> |
| | | <if test="targetregex != null">targetregex = #{targetregex},</if> |
| | | <if test="optiondesc != null">optiondesc = #{optiondesc},</if> |
| | | <if test="language != null and language != ''">language = #{language},</if> |
| | | <if test="version != null">version = #{version},</if> |
| | | <if test="groupid != null">groupid = #{groupid},</if> |
| | | <if test="isabnormal != null">isabnormal = #{isabnormal},</if> |
| | | <if test="warnup != null">warnup = #{warnup},</if> |
| | | <if test="warndown != null">warndown = #{warndown},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | </trim> |
| | | where targetoptionid = #{targetoptionid} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTargetoptionByTargetoptionid" parameterType="Long"> |
| | | delete |
| | | from ivr_liba_targetoption |
| | | where targetoptionid = #{targetoptionid} |
| | | </delete> |
| | | |
| | | <delete id="deleteIvrLibaTargetoptionByTargetoptionids" parameterType="String"> |
| | | delete from ivr_liba_targetoption where targetoptionid in |
| | | <foreach item="targetoptionid" collection="array" open="(" separator="," close=")"> |
| | | #{targetoptionid} |
| | | </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.MedicalHistoryMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.MedicalHistory" id="MedicalHistoryResult"> |
| | | <result property="id" column="id" /> |
| | | <result property="pastIllnesses" column="past_illnesses" /> |
| | | <result property="drugAllergy" column="drug_allergy" /> |
| | | <result property="familyHistory" column="family_history" /> |
| | | <result property="surgicalHistory" column="surgical_history" /> |
| | | <result property="reproductiveHistory" column="reproductive_history" /> |
| | | <result property="menstrualHistory" column="menstrual_history" /> |
| | | <result property="smoking" column="smoking" /> |
| | | <result property="drink" column="drink" /> |
| | | <result property="motion" column="motion" /> |
| | | <result property="diet" column="diet" /> |
| | | <result property="psychology" column="psychology" /> |
| | | <result property="pid" column="pid" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectMedicalHistoryVo"> |
| | | select id, past_illnesses, drug_allergy, family_history, surgical_history, reproductive_history, menstrual_history, smoking, drink, motion, diet, psychology, pid from medical_history |
| | | </sql> |
| | | |
| | | <select id="selectMedicalHistoryList" parameterType="com.smartor.domain.MedicalHistory" resultMap="MedicalHistoryResult"> |
| | | <include refid="selectMedicalHistoryVo"/> |
| | | <where> |
| | | <if test="pastIllnesses != null and pastIllnesses != ''"> and past_illnesses = #{pastIllnesses}</if> |
| | | <if test="drugAllergy != null and drugAllergy != ''"> and drug_allergy = #{drugAllergy}</if> |
| | | <if test="familyHistory != null and familyHistory != ''"> and family_history = #{familyHistory}</if> |
| | | <if test="surgicalHistory != null and surgicalHistory != ''"> and surgical_history = #{surgicalHistory}</if> |
| | | <if test="reproductiveHistory != null and reproductiveHistory != ''"> and reproductive_history = #{reproductiveHistory}</if> |
| | | <if test="menstrualHistory != null and menstrualHistory != ''"> and menstrual_history = #{menstrualHistory}</if> |
| | | <if test="smoking != null and smoking != ''"> and smoking = #{smoking}</if> |
| | | <if test="drink != null and drink != ''"> and drink = #{drink}</if> |
| | | <if test="motion != null and motion != ''"> and motion = #{motion}</if> |
| | | <if test="diet != null and diet != ''"> and diet = #{diet}</if> |
| | | <if test="psychology != null and psychology != ''"> and psychology = #{psychology}</if> |
| | | <if test="pid != null "> and pid = #{pid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectMedicalHistoryById" parameterType="Long" resultMap="MedicalHistoryResult"> |
| | | <include refid="selectMedicalHistoryVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertMedicalHistory" parameterType="com.smartor.domain.MedicalHistory" useGeneratedKeys="true" keyProperty="id"> |
| | | insert into medical_history |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="pastIllnesses != null">past_illnesses,</if> |
| | | <if test="drugAllergy != null">drug_allergy,</if> |
| | | <if test="familyHistory != null">family_history,</if> |
| | | <if test="surgicalHistory != null">surgical_history,</if> |
| | | <if test="reproductiveHistory != null">reproductive_history,</if> |
| | | <if test="menstrualHistory != null">menstrual_history,</if> |
| | | <if test="smoking != null">smoking,</if> |
| | | <if test="drink != null">drink,</if> |
| | | <if test="motion != null">motion,</if> |
| | | <if test="diet != null">diet,</if> |
| | | <if test="psychology != null">psychology,</if> |
| | | <if test="pid != null">pid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="pastIllnesses != null">#{pastIllnesses},</if> |
| | | <if test="drugAllergy != null">#{drugAllergy},</if> |
| | | <if test="familyHistory != null">#{familyHistory},</if> |
| | | <if test="surgicalHistory != null">#{surgicalHistory},</if> |
| | | <if test="reproductiveHistory != null">#{reproductiveHistory},</if> |
| | | <if test="menstrualHistory != null">#{menstrualHistory},</if> |
| | | <if test="smoking != null">#{smoking},</if> |
| | | <if test="drink != null">#{drink},</if> |
| | | <if test="motion != null">#{motion},</if> |
| | | <if test="diet != null">#{diet},</if> |
| | | <if test="psychology != null">#{psychology},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateMedicalHistory" parameterType="com.smartor.domain.MedicalHistory"> |
| | | update medical_history |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="pastIllnesses != null">past_illnesses = #{pastIllnesses},</if> |
| | | <if test="drugAllergy != null">drug_allergy = #{drugAllergy},</if> |
| | | <if test="familyHistory != null">family_history = #{familyHistory},</if> |
| | | <if test="surgicalHistory != null">surgical_history = #{surgicalHistory},</if> |
| | | <if test="reproductiveHistory != null">reproductive_history = #{reproductiveHistory},</if> |
| | | <if test="menstrualHistory != null">menstrual_history = #{menstrualHistory},</if> |
| | | <if test="smoking != null">smoking = #{smoking},</if> |
| | | <if test="drink != null">drink = #{drink},</if> |
| | | <if test="motion != null">motion = #{motion},</if> |
| | | <if test="diet != null">diet = #{diet},</if> |
| | | <if test="psychology != null">psychology = #{psychology},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteMedicalHistoryById" parameterType="Long"> |
| | | delete from medical_history where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteMedicalHistoryByIds" parameterType="String"> |
| | | delete from medical_history where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | |
| | | <result property="patid" column="patid"/> |
| | | <result property="name" column="name"/> |
| | | <result property="sex" column="sex"/> |
| | | <result property="iccardno" column="iccardno"/> |
| | | <result property="nation" column="nation"/> |
| | | <result property="nativePlace" column="native_place"/> |
| | | <result property="placeOfResidence" column="place_of_residence"/> |
| | | <result property="birthplace" column="birthplace"/> |
| | | <result property="idcardno" column="idcardno"/> |
| | | <result property="birthdate" column="birthdate"/> |
| | | <result property="age" column="age"/> |
| | | <result property="source" column="source"/> |
| | |
| | | <result property="archiveby" column="archiveby"/> |
| | | <result property="telcode" column="telcode"/> |
| | | <result property="relativetelcode" column="relativetelcode"/> |
| | | <result property="iccardtype" column="iccardtype"/> |
| | | <result property="idcardtype" column="idcardtype"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="openid" column="openid"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="tag" column="tag"/> |
| | | <result property="pattype" column="pattype"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatArchiveVo"> |
| | | select patid, |
| | | name, |
| | | sex, |
| | | iccardno, |
| | | idcardno, |
| | | birthdate, |
| | | age, |
| | | nation, |
| | | native_place, |
| | | place_of_residence, |
| | | birthplace, |
| | | source, |
| | | archivetime, |
| | | archiveby, |
| | | telcode, |
| | | relativetelcode, |
| | | iccardtype, |
| | | idcardtype, |
| | | orgid, |
| | | openid, |
| | | del_flag, |
| | |
| | | create_by, |
| | | create_time, |
| | | isupload, |
| | | pattype, |
| | | upload_time |
| | | from pat_archive |
| | | </sql> |
| | |
| | | <include refid="selectPatArchiveVo"/> |
| | | <where> |
| | | <if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if> |
| | | <if test="iccardno != null and iccardno != ''">and iccardno = #{iccardno}</if> |
| | | <if test="idcardno != null and idcardno != ''">and idcardno = #{idcardno}</if> |
| | | <if test="source != null ">and source = #{source}</if> |
| | | <if test="telcode != null and telcode != ''">and telcode = #{telcode}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | |
| | | a.name, |
| | | a.sex, |
| | | c.tagname as tag, |
| | | a.iccardtype, |
| | | a.iccardno, |
| | | a.idcardtype, |
| | | a.idcardno, |
| | | a.age, |
| | | a.telcode, |
| | | a.create_time, |
| | |
| | | <where> |
| | | a.patid = b.patid and b.tagid = c.tagid |
| | | <if test="name != null and name != ''">and a.name like concat('%', #{name}, '%')</if> |
| | | <if test="iccardno != null and iccardno != ''">and iccardno = #{iccardno}</if> |
| | | <if test="idcardno != null and idcardno != ''">and idcardno = #{idcardno}</if> |
| | | <if test="telcode != null and telcode != ''">and telcode = #{telcode}</if> |
| | | <if test="tagIds != null and tagIds != ''">and c.tagid in |
| | | <foreach collection="tagIds" item="tagId" open="(" separator="," close=")"> |
| | |
| | | where patid = #{patid} |
| | | </select> |
| | | |
| | | <insert id="insertPatArchive" parameterType="com.smartor.domain.PatArchive" useGeneratedKeys="true" |
| | | keyProperty="patid"> |
| | | insert into pat_archive |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="name != null">name,</if> |
| | | <if test="sex != null">sex,</if> |
| | | <if test="iccardno != null">iccardno,</if> |
| | | <if test="birthdate != null">birthdate,</if> |
| | | <if test="age != null">age,</if> |
| | | <if test="source != null">source,</if> |
| | | <if test="archivetime != null">archivetime,</if> |
| | | <if test="archiveby != null">archiveby,</if> |
| | | <if test="telcode != null">telcode,</if> |
| | | <if test="relativetelcode != null">relativetelcode,</if> |
| | | <if test="iccardtype != null">iccardtype,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="openid != null">openid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="name != null">#{name},</if> |
| | | <if test="sex != null">#{sex},</if> |
| | | <if test="iccardno != null">#{iccardno},</if> |
| | | <if test="birthdate != null">#{birthdate},</if> |
| | | <if test="age != null">#{age},</if> |
| | | <if test="source != null">#{source},</if> |
| | | <if test="archivetime != null">#{archivetime},</if> |
| | | <if test="archiveby != null">#{archiveby},</if> |
| | | <if test="telcode != null">#{telcode},</if> |
| | | <if test="relativetelcode != null">#{relativetelcode},</if> |
| | | <if test="iccardtype != null">#{iccardtype},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="openid != null">#{openid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | </trim> |
| | | <insert id="insertPatArchive"> |
| | | <!-- insert into pat_archive--> |
| | | <!-- <trim prefix="(" suffix=")" suffixOverrides=",">--> |
| | | <!-- name,--> |
| | | <!-- sex,--> |
| | | <!-- iccardno--> |
| | | <!--<!– <if test="birthdate != null">birthdate,</if>–>--> |
| | | <!--<!– <if test="age != null">age,</if>–>--> |
| | | <!--<!– <if test="source != null">source,</if>–>--> |
| | | <!--<!– <if test="archivetime != null">archivetime,</if>–>--> |
| | | <!--<!– <if test="archiveby != null">archiveby,</if>–>--> |
| | | <!--<!– <if test="telcode != null">telcode,</if>–>--> |
| | | <!--<!– <if test="relativetelcode != null">relativetelcode,</if>–>--> |
| | | <!--<!– <if test="iccardtype != null">iccardtype,</if>–>--> |
| | | <!--<!– <if test="orgid != null">orgid,</if>–>--> |
| | | <!--<!– <if test="openid != null">openid,</if>–>--> |
| | | <!--<!– <if test="delFlag != null and delFlag != ''">del_flag,</if>–>--> |
| | | <!--<!– <if test="updateBy != null">update_by,</if>–>--> |
| | | <!--<!– <if test="updateTime != null">update_time,</if>–>--> |
| | | <!--<!– <if test="createBy != null">create_by,</if>–>--> |
| | | <!--<!– <if test="createTime != null">create_time,</if>–>--> |
| | | <!--<!– <if test="isupload != null">isupload,</if>–>--> |
| | | <!--<!– <if test="uploadTime != null">upload_time,</if>–>--> |
| | | <!-- </trim>--> |
| | | <!-- <trim prefix="values (" suffix=")" suffixOverrides=",">--> |
| | | <!-- <foreach item="item" index="index" collection="list" separator=",">--> |
| | | <!-- <if test="name != null">#{item.name},</if>--> |
| | | <!-- <if test="sex != null">#{item.sex},</if>--> |
| | | <!-- <if test="iccardno != null">#{item.iccardno},</if>--> |
| | | <!--<!– <if test="birthdate != null">#{birthdate},</if>–>--> |
| | | <!--<!– <if test="age != null">#{item.age},</if>–>--> |
| | | <!--<!– <if test="source != null">#{item.source},</if>–>--> |
| | | <!--<!– <if test="archivetime != null">#{item.archivetime},</if>–>--> |
| | | <!--<!– <if test="archiveby != null">#{item.archiveby},</if>–>--> |
| | | <!--<!– <if test="telcode != null">#{item.telcode},</if>–>--> |
| | | <!--<!– <if test="relativetelcode != null">#{item.relativetelcode},</if>–>--> |
| | | <!--<!– <if test="iccardtype != null">#{item.iccardtype},</if>–>--> |
| | | <!--<!– <if test="orgid != null">#{item.orgid},</if>–>--> |
| | | <!--<!– <if test="openid != null">#{item.openid},</if>–>--> |
| | | <!--<!– <if test="delFlag != null and delFlag != ''">#{item.delFlag},</if>–>--> |
| | | <!--<!– <if test="updateBy != null">#{item.updateBy},</if>–>--> |
| | | <!--<!– <if test="updateTime != null">#{item.updateTime},</if>–>--> |
| | | <!--<!– <if test="createBy != null">#{item.createBy},</if>–>--> |
| | | <!--<!– <if test="createTime != null">#{item.createTime},</if>–>--> |
| | | <!--<!– <if test="isupload != null">#{item.isupload},</if>–>--> |
| | | <!--<!– <if test="uploadTime != null">#{item.uploadTime},</if>–>--> |
| | | <!-- </foreach>--> |
| | | <!-- </trim>--> |
| | | |
| | | insert into |
| | | pat_archive(name,sex,idcardno,birthdate,age,source,archivetime,archiveby,telcode,relativetelcode,idcardtype,orgid,openid,dduserid,update_by,update_time |
| | | ,create_by,create_time,isupload,upload_time,pattype,place_of_residence,nation,birthplace,native_place) values |
| | | <foreach item="item" index="index" collection="list" separator=","> |
| | | (#{item.name},#{item.sex},#{item.idcardno},#{item.birthdate},#{item.age},#{item.source},#{item.archivetime},#{item.archiveby} |
| | | ,#{item.telcode},#{item.archiveby},#{item.idcardtype},#{item.orgid},#{item.openid},#{item.dduserid},#{item.updateBy}, |
| | | #{item.updateTime},#{item.createBy},#{item.createTime},#{item.isupload},#{item.uploadTime},#{item.pattype},#{item.placeOfResidence},#{item.nation},#{item.birthplace},#{item.nativePlace} |
| | | ) |
| | | </foreach> |
| | | </insert> |
| | | |
| | | <update id="updatePatArchive" parameterType="com.smartor.domain.PatArchive"> |
| | |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="name != null">name = #{name},</if> |
| | | <if test="sex != null">sex = #{sex},</if> |
| | | <if test="iccardno != null">iccardno = #{iccardno},</if> |
| | | <if test="idcardno != null">idcardno = #{idcardno},</if> |
| | | <if test="birthdate != null">birthdate = #{birthdate},</if> |
| | | <if test="age != null">age = #{age},</if> |
| | | <if test="source != null">source = #{source},</if> |
| | |
| | | <if test="archiveby != null">archiveby = #{archiveby},</if> |
| | | <if test="telcode != null">telcode = #{telcode},</if> |
| | | <if test="relativetelcode != null">relativetelcode = #{relativetelcode},</if> |
| | | <if test="iccardtype != null">iccardtype = #{iccardtype},</if> |
| | | <if test="idcardtype != null">idcardtype = #{idcardtype},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="openid != null">openid = #{openid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | |
| | | </foreach> |
| | | </delete> |
| | | |
| | | <select id="selectPatArchiveInfoByAllhosp" parameterType="com.smartor.domain.PatArchiveReq" |
| | | resultMap="PatArchiveResult"> |
| | | |
| | | select |
| | | c.tagname as tag, |
| | | a.patid, |
| | | a.name, |
| | | a.sex, |
| | | a.nation, |
| | | a.native_place, |
| | | a.place_of_residence, |
| | | a.birthplace, |
| | | a.idcardno, |
| | | a.birthdate, |
| | | a.age, |
| | | a.source, |
| | | a.archivetime, |
| | | a.archiveby, |
| | | a.telcode, |
| | | a.relativetelcode, |
| | | a.idcardtype, |
| | | a.orgid, |
| | | a.openid, |
| | | a.del_flag, |
| | | a.update_by, |
| | | a.update_time, |
| | | a.create_by, |
| | | a.create_time, |
| | | a.isupload, |
| | | a.upload_time, |
| | | a.pattype |
| | | from pat_archive a,pat_archivetag b ,base_tag c |
| | | <where> |
| | | a.patid = b.patid and b.tagid = c.tagid |
| | | <if test="name != null and name != ''">and a.name like concat('%', #{name}, '%')</if> |
| | | <if test="idcardno != null and idcardno != ''">and a.idcardno = #{idcardno}</if> |
| | | <if test="pid != null and pid != ''">and a.patid = #{pid}</if> |
| | | <if test="telcode != null and telcode != ''">and a.telcode = #{telcode}</if> |
| | | <if test="tagIds != null and tagIds != ''">and c.tagid in |
| | | <foreach collection="tagIds" item="tagId" open="(" separator="," close=")"> |
| | | #{tagId} |
| | | </foreach> |
| | | </if> |
| | | AND b.del_flag != 1 |
| | | AND c.del_flag != 1 |
| | | AND a.del_flag != 1 |
| | | </where> |
| | | </select> |
| | | |
| | | |
| | | <select id="selectPatArchiveInfoByInhosp" parameterType="com.smartor.domain.PatArchiveReq" |
| | | resultMap="PatArchiveResult"> |
| | | |
| | | select |
| | | c.tagname as tag, |
| | | a.patid, |
| | | a.name, |
| | | a.sex, |
| | | a.nation, |
| | | a.native_place, |
| | | a.place_of_residence, |
| | | a.birthplace, |
| | | a.idcardno, |
| | | a.birthdate, |
| | | a.age, |
| | | a.source, |
| | | a.archivetime, |
| | | a.archiveby, |
| | | a.telcode, |
| | | a.relativetelcode, |
| | | a.idcardtype, |
| | | a.orgid, |
| | | a.openid, |
| | | a.del_flag, |
| | | a.update_by, |
| | | a.update_time, |
| | | a.create_by, |
| | | a.create_time, |
| | | a.isupload, |
| | | a.upload_time, |
| | | a.pattype |
| | | from pat_archive a,pat_archivetag b ,base_tag c,pat_med_inhosp d |
| | | <where> |
| | | a.patid = b.patid and b.tagid = c.tagid and a.patid = d.patid |
| | | <if test="name != null and name != ''">and a.name like concat('%', #{name}, '%')</if> |
| | | <if test="idcardno != null and idcardno != ''">and a.idcardno = #{idcardno}</if> |
| | | <if test="pid != null and pid != ''">and a.patid = #{pid}</if> |
| | | <if test="telcode != null and telcode != ''">and a.telcode = #{telcode}</if> |
| | | <if test="tagIds != null and tagIds != ''">and c.tagid in |
| | | <foreach collection="tagIds" item="tagId" open="(" separator="," close=")"> |
| | | #{tagId} |
| | | </foreach> |
| | | </if> |
| | | |
| | | <if test="hospitalname != null and hospitalname != ''"> |
| | | AND d.hospitalname = #{hospitalname} |
| | | </if> |
| | | <if test="endtime != null"> |
| | | AND d.endtime = #{endtime} |
| | | </if> |
| | | <if test="visitno != null and visitno != ''"> |
| | | AND d.inhospno = #{visitno} |
| | | </if> |
| | | <if test="deptname != null and deptname != ''"> |
| | | and d.deptname LIKE concat('%', #{deptname}, '%') |
| | | </if> |
| | | <if test="drname != null and drname != ''"> |
| | | AND d.drname LIKE concat('%',#{drname}, '%') |
| | | </if> |
| | | |
| | | AND d.del_flag != 1 |
| | | AND b.del_flag != 1 |
| | | AND c.del_flag != 1 |
| | | AND a.del_flag != 1 |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatArchiveInfoByOuthosp" parameterType="com.smartor.domain.PatArchiveReq" |
| | | resultMap="PatArchiveResult"> |
| | | |
| | | select |
| | | c.tagname as tag, |
| | | a.patid, |
| | | a.name, |
| | | a.sex, |
| | | a.nation, |
| | | a.native_place, |
| | | a.place_of_residence, |
| | | a.birthplace, |
| | | a.idcardno, |
| | | a.birthdate, |
| | | a.age, |
| | | a.source, |
| | | a.archivetime, |
| | | a.archiveby, |
| | | a.telcode, |
| | | a.relativetelcode, |
| | | a.idcardtype, |
| | | a.orgid, |
| | | a.openid, |
| | | a.del_flag, |
| | | a.update_by, |
| | | a.update_time, |
| | | a.create_by, |
| | | a.create_time, |
| | | a.isupload, |
| | | a.upload_time, |
| | | a.pattype |
| | | from pat_archive a,pat_archivetag b ,base_tag c, pat_med_outhosp d |
| | | <where> |
| | | a.patid = b.patid and b.tagid = c.tagid and a.patid = d.patid |
| | | <if test="pid != null and pid != ''">and a.patid = #{pid}</if> |
| | | <if test="name != null and name != ''">and a.name like concat('%', #{name}, '%')</if> |
| | | <if test="idcardno != null and idcardno != ''">and a.idcardno = #{idcardno}</if> |
| | | <if test="telcode != null and telcode != ''">and a.telcode = #{telcode}</if> |
| | | <if test="tagIds != null and tagIds != ''">and c.tagid in |
| | | <foreach collection="tagIds" item="tagId" open="(" separator="," close=")"> |
| | | #{tagId} |
| | | </foreach> |
| | | </if> |
| | | |
| | | <if test="hospitalname != null and hospitalname != ''"> |
| | | AND d.hospitalname = #{hospitalname} |
| | | </if> |
| | | <if test="visitno != null and visitno != ''"> |
| | | AND d.outhospno = #{visitno} |
| | | </if> |
| | | <if test="deptname != null and deptname != ''"> |
| | | and d.deptname LIKE concat('%', #{deptname}, '%') |
| | | </if> |
| | | <if test="drname != null and drname != ''"> |
| | | AND d.drname LIKE concat('%',#{drname}, '%') |
| | | </if> |
| | | |
| | | AND d.del_flag != 1 |
| | | AND b.del_flag != 1 |
| | | AND c.del_flag != 1 |
| | | AND a.del_flag != 1 |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatArchiveInfoByPhysical" parameterType="com.smartor.domain.PatArchiveReq" |
| | | resultMap="PatArchiveResult"> |
| | | |
| | | select |
| | | c.tagname as tag, |
| | | a.patid, |
| | | a.name, |
| | | a.sex, |
| | | a.nation, |
| | | a.native_place, |
| | | a.place_of_residence, |
| | | a.birthplace, |
| | | a.idcardno, |
| | | a.birthdate, |
| | | a.age, |
| | | a.source, |
| | | a.archivetime, |
| | | a.archiveby, |
| | | a.telcode, |
| | | a.relativetelcode, |
| | | a.idcardtype, |
| | | a.orgid, |
| | | a.openid, |
| | | a.del_flag, |
| | | a.update_by, |
| | | a.update_time, |
| | | a.create_by, |
| | | a.create_time, |
| | | a.isupload, |
| | | a.upload_time, |
| | | a.pattype |
| | | from pat_archive a,pat_archivetag b ,base_tag c, pat_med_physical d |
| | | <where> |
| | | a.patid = b.patid and b.tagid = c.tagid and a.patid = d.patid |
| | | <if test="pid != null and pid != ''">and a.patid = #{pid}</if> |
| | | <if test="name != null and name != ''">and a.name like concat('%', #{name}, '%')</if> |
| | | <if test="idcardno != null and idcardno != ''">and a.idcardno = #{idcardno}</if> |
| | | <if test="telcode != null and telcode != ''">and a.telcode = #{telcode}</if> |
| | | <if test="tagIds != null and tagIds != ''">and c.tagid in |
| | | <foreach collection="tagIds" item="tagId" open="(" separator="," close=")"> |
| | | #{tagId} |
| | | </foreach> |
| | | </if> |
| | | |
| | | <if test="hospitalname != null and hospitalname != ''"> |
| | | AND d.hospitalname = #{hospitalname} |
| | | </if> |
| | | |
| | | <if test="visitno != null and visitno != ''"> |
| | | AND d.physno = #{visitno} |
| | | </if> |
| | | <if test="deptname != null and deptname != ''"> |
| | | and d.deptname LIKE concat('%', #{deptname}, '%') |
| | | </if> |
| | | <if test="drname != null and drname != ''"> |
| | | AND d.drname LIKE concat('%',#{drname}, '%') |
| | | </if> |
| | | |
| | | AND d.del_flag != 1 |
| | | AND b.del_flag != 1 |
| | | AND c.del_flag != 1 |
| | | AND a.del_flag != 1 |
| | | </where> |
| | | |
| | | </select> |
| | | |
| | | </mapper> |
ÎļþÃû´Ó smartor/src/main/resources/mapper/smartor/PatArchinvecontactMapper.xml ÐÞ¸Ä |
| | |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.PatArchinvecontactMapper"> |
| | | <mapper namespace="com.smartor.mapper.PatArchivecontactMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.PatArchinvecontact" id="PatArchinvecontactResult"> |
| | | <resultMap type="com.smartor.domain.PatArchivecontact" id="PatArchivecontactResult"> |
| | | <result property="id" column="id" /> |
| | | <result property="patid" column="patid" /> |
| | | <result property="contactway" column="contactway" /> |
| | |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | <result property="contactname" column="contactname" /> |
| | | <result property="pid" column="pid" /> |
| | | <result property="guid" column="guid" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatArchinvecontactVo"> |
| | | select id, patid, contactway, relation, datasource, isdefault, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, contactname from pat_archinvecontact |
| | | <sql id="selectPatArchivecontactVo"> |
| | | select id, patid, contactway, relation, datasource, isdefault, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, contactname, pid, guid from pat_archivecontact |
| | | </sql> |
| | | |
| | | <select id="selectPatArchinvecontactList" parameterType="com.smartor.domain.PatArchinvecontact" resultMap="PatArchinvecontactResult"> |
| | | <include refid="selectPatArchinvecontactVo"/> |
| | | <select id="selectPatArchivecontactList" parameterType="com.smartor.domain.PatArchivecontact" resultMap="PatArchivecontactResult"> |
| | | <include refid="selectPatArchivecontactVo"/> |
| | | <where> |
| | | <if test="patid != null "> and patid = #{patid}</if> |
| | | <if test="contactway != null and contactway != ''"> and contactway = #{contactway}</if> |
| | |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | <if test="contactname != null and contactname != ''"> and contactname like concat('%', #{contactname}, '%')</if> |
| | | <if test="pid != null "> and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''"> and guid = #{guid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatArchinvecontactById" parameterType="Long" resultMap="PatArchinvecontactResult"> |
| | | <include refid="selectPatArchinvecontactVo"/> |
| | | <select id="selectPatArchivecontactById" parameterType="Long" resultMap="PatArchivecontactResult"> |
| | | <include refid="selectPatArchivecontactVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertPatArchinvecontact" parameterType="com.smartor.domain.PatArchinvecontact" useGeneratedKeys="true" keyProperty="id"> |
| | | insert into pat_archinvecontact |
| | | <insert id="insertPatArchivecontact" parameterType="com.smartor.domain.PatArchivecontact" useGeneratedKeys="true" keyProperty="id"> |
| | | insert into pat_archivecontact |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="patid != null">patid,</if> |
| | | <if test="contactway != null">contactway,</if> |
| | |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="contactname != null">contactname,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="patid != null">#{patid},</if> |
| | |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="contactname != null">#{contactname},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatArchinvecontact" parameterType="com.smartor.domain.PatArchinvecontact"> |
| | | update pat_archinvecontact |
| | | <update id="updatePatArchivecontact" parameterType="com.smartor.domain.PatArchivecontact"> |
| | | update pat_archivecontact |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="patid != null">patid = #{patid},</if> |
| | | <if test="contactway != null">contactway = #{contactway},</if> |
| | |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="contactname != null">contactname = #{contactname},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deletePatArchinvecontactById" parameterType="Long"> |
| | | delete from pat_archinvecontact where id = #{id} |
| | | <delete id="deletePatArchivecontactById" parameterType="Long"> |
| | | delete from pat_archivecontact where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deletePatArchinvecontactByIds" parameterType="String"> |
| | | delete from pat_archinvecontact where id in |
| | | <delete id="deletePatArchivecontactByIds" parameterType="String"> |
| | | delete from pat_archivecontact where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | |
| | | from pat_archivetag |
| | | </sql> |
| | | |
| | | <select id="selectPatArchivetagList" parameterType="com.smartor.domain.PatArchivetag" |
| | | resultMap="PatArchivetagResult"> |
| | | <include refid="selectPatArchivetagVo"/> |
| | | <where> |
| | | <if test="tagcategoryid != null ">and tagcategoryid = #{tagcategoryid}</if> |
| | | <if test="tagid != null ">and tagid = #{tagid}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="patid != null ">and patid = #{patid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | |
| | | <select id="selectPatArchivetagAndBaseTagList" parameterType="com.smartor.domain.PatArchivetag" |
| | | resultMap="PatArchivetagResult"> |
| | | select a.id, |
| | |
| | | <where> |
| | | a.tagid=b.tagid |
| | | <if test="tagcategoryid != null ">and a.tagcategoryid = #{tagcategoryid}</if> |
| | | <if test="tagid != null ">and b.tagid = #{tagid}</if> |
| | | <if test="tagid != null ">and a.tagid = #{tagid}</if> |
| | | <if test="orgid != null and orgid != ''">and a.orgid = #{orgid}</if> |
| | | <if test="isupload != null ">and a.isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and a.upload_time = #{uploadTime}</if> |
| | |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.PatMedInhospMapper"> |
| | | |
| | | <resultMap type="PatMedInhosp" id="PatMedInhospResult"> |
| | | |
| | | <resultMap type="com.smartor.domain.PatMedInhosp" id="PatMedInhospResult"> |
| | | <result property="inhospid" column="inhospid" /> |
| | | <result property="inhospno" column="inhospno" /> |
| | | <result property="serialnum" column="serialnum" /> |
| | | <result property="hospitalname" column="hospitalname" /> |
| | | <result property="hospitalcode" column="hospitalcode" /> |
| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatMedInhospVo"> |
| | | select inhospid, serialnum, hospitalname, hospitalcode, hospitaldistrictcode, hospitaldistrictname, icd10code, diagname, starttime, endtime, deptcode, deptname, roomno, bedno, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, patid, leavediagname, leaveicd10code, drcode, drname, schemestatus, generalschemestatus, leaveldeptcode, leaveldeptname, hospitaldistrictid, leavehospitaldistrictcode, leavehospitaldistrictname, leavehospitaldistrictid, deptid, leaveldeptid, schemetime from pat_med_inhosp |
| | | select inhospid,inhospno, serialnum, hospitalname, hospitalcode, hospitaldistrictcode, hospitaldistrictname, icd10code, diagname, starttime, endtime, deptcode, deptname, roomno, bedno, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, patid, leavediagname, leaveicd10code, drcode, drname, schemestatus, generalschemestatus, leaveldeptcode, leaveldeptname, hospitaldistrictid, leavehospitaldistrictcode, leavehospitaldistrictname, leavehospitaldistrictid, deptid, leaveldeptid, schemetime from pat_med_inhosp |
| | | </sql> |
| | | |
| | | <select id="selectPatMedInhospList" parameterType="PatMedInhosp" resultMap="PatMedInhospResult"> |
| | | <select id="selectPatMedInhospList" parameterType="com.smartor.domain.PatMedInhosp" resultMap="PatMedInhospResult"> |
| | | <include refid="selectPatMedInhospVo"/> |
| | | <where> |
| | | <where> |
| | | <if test="hospitalname != null and hospitalname != ''"> and hospitalname like concat('%', #{hospitalname}, '%')</if> |
| | | <if test="hospitaldistrictname != null and hospitaldistrictname != ''"> and hospitaldistrictname like concat('%', #{hospitaldistrictname}, '%')</if> |
| | | <if test="endtime != null "> and endtime = #{endtime}</if> |
| | |
| | | <if test="leavehospitaldistrictname != null and leavehospitaldistrictname != ''"> and leavehospitaldistrictname like concat('%', #{leavehospitaldistrictname}, '%')</if> |
| | | </where> |
| | | </select> |
| | | |
| | | |
| | | <select id="selectPatMedInhospByInhospid" parameterType="Long" resultMap="PatMedInhospResult"> |
| | | <include refid="selectPatMedInhospVo"/> |
| | | where inhospid = #{inhospid} |
| | | </select> |
| | | |
| | | <insert id="insertPatMedInhosp" parameterType="PatMedInhosp" useGeneratedKeys="true" keyProperty="inhospid"> |
| | | |
| | | <insert id="insertPatMedInhosp" parameterType="com.smartor.domain.PatMedInhosp" useGeneratedKeys="true" keyProperty="inhospid"> |
| | | insert into pat_med_inhosp |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="serialnum != null">serialnum,</if> |
| | |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatMedInhosp" parameterType="PatMedInhosp"> |
| | | <update id="updatePatMedInhosp" parameterType="com.smartor.domain.PatMedInhosp"> |
| | | update pat_med_inhosp |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="serialnum != null">serialnum = #{serialnum},</if> |
| | |
| | | </delete> |
| | | |
| | | <delete id="deletePatMedInhospByInhospids" parameterType="String"> |
| | | delete from pat_med_inhosp where inhospid in |
| | | delete from pat_med_inhosp where inhospid in |
| | | <foreach item="inhospid" collection="array" open="(" separator="," close=")"> |
| | | #{inhospid} |
| | | </foreach> |