已添加77个文件
已修改13个文件
已重命名1个文件
| | |
| | | |
| | | <dependencies> |
| | | |
| | | <!-- spring-boot-devtools --> |
| | | <!-- spring-boot-devtools --> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-devtools</artifactId> |
| | |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
| | | import org.mybatis.spring.annotation.MapperScan; |
| | | |
| | | /** |
| | | * å¯å¨ç¨åº |
| | | * |
| | | * @author ruoyi |
| | | */ |
| | | @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) |
| | | //@SpringBootApplication(scanBasePackages="com.smartor",exclude = { DataSourceAutoConfiguration.class }) |
| | | @SpringBootApplication(scanBasePackages={"com.ruoyi","com.smartor"},exclude = { DataSourceAutoConfiguration.class }) |
| | | @MapperScan(value="com.smartor.mapper") |
| | | public class RuoYiApplication |
| | | { |
| | | public static void main(String[] args) |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | package com.smartor.controller; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | /** |
| | | * æ£è
æ¡£æ¡Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-02-22 |
| | | * @author smartor |
| | | * @date 2023-03-01 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/archive") |
| | | @RequestMapping("/smartor/patarchive") |
| | | public class PatArchiveController extends BaseController |
| | | { |
| | | @Autowired |
| | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:archive:list')") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patarchive:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatArchive patArchive) |
| | | { |
| | |
| | | /** |
| | | * å¯¼åºæ£è
æ¡£æ¡å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:archive:export')") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patarchive:export')") |
| | | @Log(title = "æ£è
æ¡£æ¡", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatArchive patArchive) |
| | |
| | | /** |
| | | * è·åæ£è
æ¡£æ¡è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:archive:query')") |
| | | @GetMapping(value = "/{PatID}") |
| | | public AjaxResult getInfo(@PathVariable("PatID") Long PatID) |
| | | @PreAuthorize("@ss.hasPermi('smartor:patarchive:query')") |
| | | @GetMapping(value = "/{patid}") |
| | | public AjaxResult getInfo(@PathVariable("patid") Long patid) |
| | | { |
| | | return success(patArchiveService.selectPatArchiveByPatID(PatID)); |
| | | return success(patArchiveService.selectPatArchiveByPatid(patid)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
æ¡£æ¡ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:archive:add')") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patarchive:add')") |
| | | @Log(title = "æ£è
æ¡£æ¡", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody PatArchive patArchive) |
| | |
| | | /** |
| | | * ä¿®æ¹æ£è
æ¡£æ¡ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:archive:edit')") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patarchive:edit')") |
| | | @Log(title = "æ£è
æ¡£æ¡", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody PatArchive patArchive) |
| | |
| | | /** |
| | | * å 餿£è
æ¡£æ¡ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:archive:remove')") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patarchive:remove')") |
| | | @Log(title = "æ£è
æ¡£æ¡", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{PatIDs}") |
| | | public AjaxResult remove(@PathVariable Long[] PatIDs) |
| | | @DeleteMapping("/{patids}") |
| | | public AjaxResult remove(@PathVariable Long[] patids) |
| | | { |
| | | return toAjax(patArchiveService.deletePatArchiveByPatIDs(PatIDs)); |
| | | return toAjax(patArchiveService.deletePatArchiveByPatids(patids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.controller; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.smartor.domain.SvyCategory; |
| | | import com.smartor.service.ISvyCategoryService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * é®å·åç±»Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/svycategory") |
| | | public class SvyCategoryController extends BaseController |
| | | { |
| | | @Autowired |
| | | private ISvyCategoryService svyCategoryService; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·åç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyCategory svyCategory) |
| | | { |
| | | startPage(); |
| | | List<SvyCategory> list = svyCategoryService.selectSvyCategoryList(svyCategory); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºé®å·åç±»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:export')") |
| | | @Log(title = "é®å·åç±»", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyCategory svyCategory) |
| | | { |
| | | List<SvyCategory> list = svyCategoryService.selectSvyCategoryList(svyCategory); |
| | | ExcelUtil<SvyCategory> util = new ExcelUtil<SvyCategory>(SvyCategory.class); |
| | | util.exportExcel(response, list, "é®å·åç±»æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åé®å·å类详ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | return success(svyCategoryService.selectSvyCategoryById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·åç±» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:add')") |
| | | @Log(title = "é®å·åç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SvyCategory svyCategory) |
| | | { |
| | | return toAjax(svyCategoryService.insertSvyCategory(svyCategory)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·åç±» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:edit')") |
| | | @Log(title = "é®å·åç±»", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SvyCategory svyCategory) |
| | | { |
| | | return toAjax(svyCategoryService.updateSvyCategory(svyCategory)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·åç±» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:remove')") |
| | | @Log(title = "é®å·åç±»", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(svyCategoryService.deleteSvyCategoryByIds(ids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.controller; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.smartor.domain.SvyLibException; |
| | | import com.smartor.service.ISvyLibExceptionService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * é®å·å¼å¸¸Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/svyexception") |
| | | public class SvyLibExceptionController extends BaseController |
| | | { |
| | | @Autowired |
| | | private ISvyLibExceptionService svyLibExceptionService; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å¼å¸¸å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyexception:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyLibException svyLibException) |
| | | { |
| | | startPage(); |
| | | List<SvyLibException> list = svyLibExceptionService.selectSvyLibExceptionList(svyLibException); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºé®å·å¼å¸¸å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyexception:export')") |
| | | @Log(title = "é®å·å¼å¸¸", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyLibException svyLibException) |
| | | { |
| | | List<SvyLibException> list = svyLibExceptionService.selectSvyLibExceptionList(svyLibException); |
| | | ExcelUtil<SvyLibException> util = new ExcelUtil<SvyLibException>(SvyLibException.class); |
| | | util.exportExcel(response, list, "é®å·å¼å¸¸æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åé®å·å¼å¸¸è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyexception:query')") |
| | | @GetMapping(value = "/{ecid}") |
| | | public AjaxResult getInfo(@PathVariable("ecid") Long ecid) |
| | | { |
| | | return success(svyLibExceptionService.selectSvyLibExceptionByEcid(ecid)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·å¼å¸¸ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyexception:add')") |
| | | @Log(title = "é®å·å¼å¸¸", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SvyLibException svyLibException) |
| | | { |
| | | return toAjax(svyLibExceptionService.insertSvyLibException(svyLibException)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·å¼å¸¸ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyexception:edit')") |
| | | @Log(title = "é®å·å¼å¸¸", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SvyLibException svyLibException) |
| | | { |
| | | return toAjax(svyLibExceptionService.updateSvyLibException(svyLibException)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·å¼å¸¸ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyexception:remove')") |
| | | @Log(title = "é®å·å¼å¸¸", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ecids}") |
| | | public AjaxResult remove(@PathVariable Long[] ecids) |
| | | { |
| | | return toAjax(svyLibExceptionService.deleteSvyLibExceptionByEcids(ecids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.controller; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.smartor.domain.SvyLibResult; |
| | | import com.smartor.service.ISvyLibResultService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * é®å·ç»æController |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/svyresult") |
| | | public class SvyLibResultController extends BaseController |
| | | { |
| | | @Autowired |
| | | private ISvyLibResultService svyLibResultService; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·ç»æå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyresult:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyLibResult svyLibResult) |
| | | { |
| | | startPage(); |
| | | List<SvyLibResult> list = svyLibResultService.selectSvyLibResultList(svyLibResult); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºé®å·ç»æå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyresult:export')") |
| | | @Log(title = "é®å·ç»æ", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyLibResult svyLibResult) |
| | | { |
| | | List<SvyLibResult> list = svyLibResultService.selectSvyLibResultList(svyLibResult); |
| | | ExcelUtil<SvyLibResult> util = new ExcelUtil<SvyLibResult>(SvyLibResult.class); |
| | | util.exportExcel(response, list, "é®å·ç»ææ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åé®å·ç»æè¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyresult:query')") |
| | | @GetMapping(value = "/{resultid}") |
| | | public AjaxResult getInfo(@PathVariable("resultid") Long resultid) |
| | | { |
| | | return success(svyLibResultService.selectSvyLibResultByResultid(resultid)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·ç»æ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyresult:add')") |
| | | @Log(title = "é®å·ç»æ", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SvyLibResult svyLibResult) |
| | | { |
| | | return toAjax(svyLibResultService.insertSvyLibResult(svyLibResult)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·ç»æ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyresult:edit')") |
| | | @Log(title = "é®å·ç»æ", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SvyLibResult svyLibResult) |
| | | { |
| | | return toAjax(svyLibResultService.updateSvyLibResult(svyLibResult)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·ç»æ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svyresult:remove')") |
| | | @Log(title = "é®å·ç»æ", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{resultids}") |
| | | public AjaxResult remove(@PathVariable Long[] resultids) |
| | | { |
| | | return toAjax(svyLibResultService.deleteSvyLibResultByResultids(resultids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.controller; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.smartor.domain.SvyLibTitle; |
| | | import com.smartor.service.ISvyLibTitleService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * é®å·Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/svytitle") |
| | | public class SvyLibTitleController extends BaseController |
| | | { |
| | | @Autowired |
| | | private ISvyLibTitleService svyLibTitleService; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyLibTitle svyLibTitle) |
| | | { |
| | | startPage(); |
| | | List<SvyLibTitle> list = svyLibTitleService.selectSvyLibTitleList(svyLibTitle); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºé®å·å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:export')") |
| | | @Log(title = "é®å·", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyLibTitle svyLibTitle) |
| | | { |
| | | List<SvyLibTitle> list = svyLibTitleService.selectSvyLibTitleList(svyLibTitle); |
| | | ExcelUtil<SvyLibTitle> util = new ExcelUtil<SvyLibTitle>(SvyLibTitle.class); |
| | | util.exportExcel(response, list, "é®å·æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åé®å·è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:query')") |
| | | @GetMapping(value = "/{svyid}") |
| | | public AjaxResult getInfo(@PathVariable("svyid") Long svyid) |
| | | { |
| | | return success(svyLibTitleService.selectSvyLibTitleBySvyid(svyid)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å· |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:add')") |
| | | @Log(title = "é®å·", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SvyLibTitle svyLibTitle) |
| | | { |
| | | return toAjax(svyLibTitleService.insertSvyLibTitle(svyLibTitle)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å· |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:edit')") |
| | | @Log(title = "é®å·", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SvyLibTitle svyLibTitle) |
| | | { |
| | | return toAjax(svyLibTitleService.updateSvyLibTitle(svyLibTitle)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å· |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytitle:remove')") |
| | | @Log(title = "é®å·", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{svyids}") |
| | | public AjaxResult remove(@PathVariable Long[] svyids) |
| | | { |
| | | return toAjax(svyLibTitleService.deleteSvyLibTitleBySvyids(svyids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.controller; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.smartor.domain.SvyLibTopic; |
| | | import com.smartor.service.ISvyLibTopicService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * é®å·é¢ç®Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/system/snytopic") |
| | | public class SvyLibTopicController extends BaseController |
| | | { |
| | | @Autowired |
| | | private ISvyLibTopicService svyLibTopicService; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:snytopic:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyLibTopic svyLibTopic) |
| | | { |
| | | startPage(); |
| | | List<SvyLibTopic> list = svyLibTopicService.selectSvyLibTopicList(svyLibTopic); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºé®å·é¢ç®å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:snytopic:export')") |
| | | @Log(title = "é®å·é¢ç®", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyLibTopic svyLibTopic) |
| | | { |
| | | List<SvyLibTopic> list = svyLibTopicService.selectSvyLibTopicList(svyLibTopic); |
| | | ExcelUtil<SvyLibTopic> util = new ExcelUtil<SvyLibTopic>(SvyLibTopic.class); |
| | | util.exportExcel(response, list, "é®å·é¢ç®æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åé®å·é¢ç®è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:snytopic:query')") |
| | | @GetMapping(value = "/{topicid}") |
| | | public AjaxResult getInfo(@PathVariable("topicid") Long topicid) |
| | | { |
| | | return success(svyLibTopicService.selectSvyLibTopicByTopicid(topicid)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·é¢ç® |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:snytopic:add')") |
| | | @Log(title = "é®å·é¢ç®", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SvyLibTopic svyLibTopic) |
| | | { |
| | | return toAjax(svyLibTopicService.insertSvyLibTopic(svyLibTopic)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç® |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:snytopic:edit')") |
| | | @Log(title = "é®å·é¢ç®", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SvyLibTopic svyLibTopic) |
| | | { |
| | | return toAjax(svyLibTopicService.updateSvyLibTopic(svyLibTopic)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·é¢ç® |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:snytopic:remove')") |
| | | @Log(title = "é®å·é¢ç®", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{topicids}") |
| | | public AjaxResult remove(@PathVariable Long[] topicids) |
| | | { |
| | | return toAjax(svyLibTopicService.deleteSvyLibTopicByTopicids(topicids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.controller; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.smartor.domain.SvyLibTopicoption; |
| | | import com.smartor.service.ISvyLibTopicoptionService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * é®å·é®é¢é项Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/svytopicoption") |
| | | public class SvyLibTopicoptionController extends BaseController |
| | | { |
| | | @Autowired |
| | | private ISvyLibTopicoptionService svyLibTopicoptionService; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢é项å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyLibTopicoption svyLibTopicoption) |
| | | { |
| | | startPage(); |
| | | List<SvyLibTopicoption> list = svyLibTopicoptionService.selectSvyLibTopicoptionList(svyLibTopicoption); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºé®å·é®é¢é项å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:export')") |
| | | @Log(title = "é®å·é®é¢é项", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyLibTopicoption svyLibTopicoption) |
| | | { |
| | | List<SvyLibTopicoption> list = svyLibTopicoptionService.selectSvyLibTopicoptionList(svyLibTopicoption); |
| | | ExcelUtil<SvyLibTopicoption> util = new ExcelUtil<SvyLibTopicoption>(SvyLibTopicoption.class); |
| | | util.exportExcel(response, list, "é®å·é®é¢éé¡¹æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åé®å·é®é¢é项详ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:query')") |
| | | @GetMapping(value = "/{optionid}") |
| | | public AjaxResult getInfo(@PathVariable("optionid") Long optionid) |
| | | { |
| | | return success(svyLibTopicoptionService.selectSvyLibTopicoptionByOptionid(optionid)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·é®é¢é项 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:add')") |
| | | @Log(title = "é®å·é®é¢é项", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SvyLibTopicoption svyLibTopicoption) |
| | | { |
| | | return toAjax(svyLibTopicoptionService.insertSvyLibTopicoption(svyLibTopicoption)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é®é¢é项 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:edit')") |
| | | @Log(title = "é®å·é®é¢é项", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SvyLibTopicoption svyLibTopicoption) |
| | | { |
| | | return toAjax(svyLibTopicoptionService.updateSvyLibTopicoption(svyLibTopicoption)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·é®é¢é项 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svytopicoption:remove')") |
| | | @Log(title = "é®å·é®é¢é项", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{optionids}") |
| | | public AjaxResult remove(@PathVariable Long[] optionids) |
| | | { |
| | | return toAjax(svyLibTopicoptionService.deleteSvyLibTopicoptionByOptionids(optionids)); |
| | | } |
| | | } |
| | |
| | | # å¼åç¯å¢é
ç½® |
| | | server: |
| | | # æå¡å¨çHTTP端å£ï¼é»è®¤ä¸º8080 |
| | | port: 8081 |
| | | port: 8080 |
| | | servlet: |
| | | # åºç¨ç访é®è·¯å¾ |
| | | context-path: / |
| | |
| | | cd .. |
| | | npm run build:prod |
| | | |
| | | pause |
| | | pause |
| | |
| | | cd .. |
| | | npm install --registry=https://registry.npmmirror.com |
| | | |
| | | pause |
| | | pause |
| | |
| | | @echo off |
| | | echo. |
| | | echo [ä¿¡æ¯] ä½¿ç¨ Vue CLI å½ä»¤è¿è¡ Web å·¥ç¨ã |
| | | echo [ä¿¡æ¯] ä½¿ç¨ Vue CLI å½ä»¤è¿è¡ Web å·¥ç¨ã |
| | | echo. |
| | | |
| | | %~d0 |
| | |
| | | cd .. |
| | | npm run dev |
| | | |
| | | pause |
| | | pause |
| | |
| | | |
| | | const name = process.env.VUE_APP_TITLE || 'è¥ä¾ç®¡çç³»ç»' // ç½é¡µæ é¢ |
| | | |
| | | const port = process.env.port || process.env.npm_config_port || 80 // ç«¯å£ |
| | | const port = process.env.port || process.env.npm_config_port || 8090 // ç«¯å£ |
| | | |
| | | // vue.config.js é
置说æ |
| | | //宿¹vue.config.js åèææ¡£ https://cli.vuejs.org/zh/config/#css-loaderoptions |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.List; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | |
| | | /** |
| | | * æ£è
æ¡£æ¡å¯¹è±¡ pat_archive |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-02-22 |
| | | * @author smartor |
| | | * @date 2023-03-01 |
| | | */ |
| | | public class PatArchive extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long PatID; |
| | | private Long patid; |
| | | |
| | | /** å§å */ |
| | | @Excel(name = " å§å ") |
| | | private String Name; |
| | | private String name; |
| | | |
| | | /** æ§å« */ |
| | | @Excel(name = " æ§å« ") |
| | | private Long Gender; |
| | | private Long sex; |
| | | |
| | | /** è¯ä»¶å·ç */ |
| | | @Excel(name = " è¯ä»¶å·ç ") |
| | | private String PapersNumber; |
| | | private String iccardno; |
| | | |
| | | /** çæ¥ */ |
| | | private Date BirthDate; |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " çæ¥ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date birthdate; |
| | | |
| | | /** å¹´é¾ */ |
| | | @Excel(name = " å¹´é¾ ") |
| | | private Long age; |
| | | |
| | | /** æ¥æº */ |
| | | @Excel(name = " æ¥æº ") |
| | | private Long Source; |
| | | private Long source; |
| | | |
| | | /** 建档æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " 建档æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date MakeArchiveTime; |
| | | private Date archivetime; |
| | | |
| | | /** 建档人 */ |
| | | private String MakeArchivePeople; |
| | | private String archiveby; |
| | | |
| | | /** ææºå·ç */ |
| | | @Excel(name = " ææºå·ç ") |
| | | private String MobileNumberCode; |
| | | private String telcode; |
| | | |
| | | /** 亲å±å·ç */ |
| | | private String RelativesNumber; |
| | | private String relativetelcode; |
| | | |
| | | /** è¯ä»¶ç±»å */ |
| | | private String PapersType; |
| | | private String iccardtype; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String OrgID; |
| | | private String orgid; |
| | | |
| | | /** 微信openid */ |
| | | private String openid; |
| | | |
| | | /** å 餿 è®° */ |
| | | @Excel(name = " å 餿 è®° ") |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | private Long IsUpload; |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | private Date uploadTime; |
| | | |
| | | /** å¹´é¾ */ |
| | | @Excel(name = " å¹´é¾ ") |
| | | private Long Age; |
| | | |
| | | /** 微信openid */ |
| | | private String OpenId; |
| | | |
| | | /** æ£è
é¨è¯è®°å½ä¿¡æ¯ */ |
| | | private List<PatMedOuthosp> patMedOuthospList; |
| | | |
| | | public void setPatID(Long PatID) |
| | | public void setPatid(Long patid) |
| | | { |
| | | this.PatID = PatID; |
| | | this.patid = patid; |
| | | } |
| | | |
| | | public Long getPatID() |
| | | public Long getPatid() |
| | | { |
| | | return PatID; |
| | | return patid; |
| | | } |
| | | public void setName(String Name) |
| | | public void setName(String name) |
| | | { |
| | | this.Name = Name; |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getName() |
| | | { |
| | | return Name; |
| | | return name; |
| | | } |
| | | public void setGender(Long Gender) |
| | | public void setSex(Long sex) |
| | | { |
| | | this.Gender = Gender; |
| | | this.sex = sex; |
| | | } |
| | | |
| | | public Long getGender() |
| | | public Long getSex() |
| | | { |
| | | return Gender; |
| | | return sex; |
| | | } |
| | | public void setPapersNumber(String PapersNumber) |
| | | public void setIccardno(String iccardno) |
| | | { |
| | | this.PapersNumber = PapersNumber; |
| | | this.iccardno = iccardno; |
| | | } |
| | | |
| | | public String getPapersNumber() |
| | | public String getIccardno() |
| | | { |
| | | return PapersNumber; |
| | | return iccardno; |
| | | } |
| | | public void setBirthDate(Date BirthDate) |
| | | public void setBirthdate(Date birthdate) |
| | | { |
| | | this.BirthDate = BirthDate; |
| | | this.birthdate = birthdate; |
| | | } |
| | | |
| | | public Date getBirthDate() |
| | | public Date getBirthdate() |
| | | { |
| | | return BirthDate; |
| | | return birthdate; |
| | | } |
| | | public void setSource(Long Source) |
| | | public void setAge(Long age) |
| | | { |
| | | this.Source = Source; |
| | | this.age = age; |
| | | } |
| | | |
| | | public Long getAge() |
| | | { |
| | | return age; |
| | | } |
| | | public void setSource(Long source) |
| | | { |
| | | this.source = source; |
| | | } |
| | | |
| | | public Long getSource() |
| | | { |
| | | return Source; |
| | | return source; |
| | | } |
| | | public void setMakeArchiveTime(Date MakeArchiveTime) |
| | | public void setArchivetime(Date archivetime) |
| | | { |
| | | this.MakeArchiveTime = MakeArchiveTime; |
| | | this.archivetime = archivetime; |
| | | } |
| | | |
| | | public Date getMakeArchiveTime() |
| | | public Date getArchivetime() |
| | | { |
| | | return MakeArchiveTime; |
| | | return archivetime; |
| | | } |
| | | public void setMakeArchivePeople(String MakeArchivePeople) |
| | | public void setArchiveby(String archiveby) |
| | | { |
| | | this.MakeArchivePeople = MakeArchivePeople; |
| | | this.archiveby = archiveby; |
| | | } |
| | | |
| | | public String getMakeArchivePeople() |
| | | public String getArchiveby() |
| | | { |
| | | return MakeArchivePeople; |
| | | return archiveby; |
| | | } |
| | | public void setMobileNumberCode(String MobileNumberCode) |
| | | public void setTelcode(String telcode) |
| | | { |
| | | this.MobileNumberCode = MobileNumberCode; |
| | | this.telcode = telcode; |
| | | } |
| | | |
| | | public String getMobileNumberCode() |
| | | public String getTelcode() |
| | | { |
| | | return MobileNumberCode; |
| | | return telcode; |
| | | } |
| | | public void setRelativesNumber(String RelativesNumber) |
| | | public void setRelativetelcode(String relativetelcode) |
| | | { |
| | | this.RelativesNumber = RelativesNumber; |
| | | this.relativetelcode = relativetelcode; |
| | | } |
| | | |
| | | public String getRelativesNumber() |
| | | public String getRelativetelcode() |
| | | { |
| | | return RelativesNumber; |
| | | return relativetelcode; |
| | | } |
| | | public void setPapersType(String PapersType) |
| | | public void setIccardtype(String iccardtype) |
| | | { |
| | | this.PapersType = PapersType; |
| | | this.iccardtype = iccardtype; |
| | | } |
| | | |
| | | public String getPapersType() |
| | | public String getIccardtype() |
| | | { |
| | | return PapersType; |
| | | return iccardtype; |
| | | } |
| | | public void setOrgID(String OrgID) |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.OrgID = OrgID; |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgID() |
| | | public String getOrgid() |
| | | { |
| | | return OrgID; |
| | | return orgid; |
| | | } |
| | | public void setOpenid(String openid) |
| | | { |
| | | this.openid = openid; |
| | | } |
| | | |
| | | public String getOpenid() |
| | | { |
| | | return openid; |
| | | } |
| | | public void setDelFlag(String delFlag) |
| | | { |
| | |
| | | { |
| | | return delFlag; |
| | | } |
| | | public void setIsUpload(Long IsUpload) |
| | | public void setIsupload(Long isupload) |
| | | { |
| | | this.IsUpload = IsUpload; |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Long getIsUpload() |
| | | public Long getIsupload() |
| | | { |
| | | return IsUpload; |
| | | return isupload; |
| | | } |
| | | public void setUploadTime(Date uploadTime) |
| | | { |
| | |
| | | { |
| | | return uploadTime; |
| | | } |
| | | public void setAge(Long Age) |
| | | { |
| | | this.Age = Age; |
| | | } |
| | | |
| | | public Long getAge() |
| | | { |
| | | return Age; |
| | | } |
| | | public void setOpenId(String OpenId) |
| | | { |
| | | this.OpenId = OpenId; |
| | | } |
| | | |
| | | public String getOpenId() |
| | | { |
| | | return OpenId; |
| | | } |
| | | |
| | | public List<PatMedOuthosp> getPatMedOuthospList() |
| | | { |
| | | return patMedOuthospList; |
| | | } |
| | | |
| | | public void setPatMedOuthospList(List<PatMedOuthosp> patMedOuthospList) |
| | | { |
| | | this.patMedOuthospList = patMedOuthospList; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("PatID", getPatID()) |
| | | .append("Name", getName()) |
| | | .append("Gender", getGender()) |
| | | .append("PapersNumber", getPapersNumber()) |
| | | .append("BirthDate", getBirthDate()) |
| | | .append("Source", getSource()) |
| | | .append("MakeArchiveTime", getMakeArchiveTime()) |
| | | .append("MakeArchivePeople", getMakeArchivePeople()) |
| | | .append("MobileNumberCode", getMobileNumberCode()) |
| | | .append("RelativesNumber", getRelativesNumber()) |
| | | .append("PapersType", getPapersType()) |
| | | .append("OrgID", getOrgID()) |
| | | .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("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .append("Age", getAge()) |
| | | .append("OpenId", getOpenId()) |
| | | .append("patMedOuthospList", getPatMedOuthospList()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·å类对象 svy_category |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public class SvyCategory extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long id; |
| | | |
| | | /** åç±»åç§° */ |
| | | @Excel(name = " åç±»åç§° ") |
| | | private String categoryname; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | private Date uploadTime; |
| | | |
| | | public void setId(Long id) |
| | | { |
| | | this.id = id; |
| | | } |
| | | |
| | | 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; |
| | | } |
| | | |
| | | @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 org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·å¼å¸¸å¯¹è±¡ svy_lib_exception |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public class SvyLibException extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long ecid; |
| | | |
| | | /** ä¸ä¸ªçæ¬ID */ |
| | | @Excel(name = " ä¸ä¸ªçæ¬ID ") |
| | | private Long oldid; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** é®é¢é项ID */ |
| | | @Excel(name = " é®é¢é项ID ") |
| | | private Long questionoptionid; |
| | | |
| | | /** é¢ç®ID */ |
| | | @Excel(name = " é¢ç®ID ") |
| | | private Long topicid; |
| | | |
| | | /** é®å·ID */ |
| | | @Excel(name = " é®å·ID ") |
| | | private Long psqid; |
| | | |
| | | /** 䏿 */ |
| | | @Excel(name = " 䏿 ") |
| | | private Long orand; |
| | | |
| | | /** è§åéªè¯ */ |
| | | @Excel(name = " è§åéªè¯ ") |
| | | private String ruleverify; |
| | | |
| | | /** è§åæ¡ä»¶ */ |
| | | @Excel(name = " è§åæ¡ä»¶ ") |
| | | private String ruleconditions; |
| | | |
| | | /** è§åå
容 */ |
| | | @Excel(name = " è§åå
容 ") |
| | | private String rulecontent; |
| | | |
| | | /** ç»ç¼å· */ |
| | | @Excel(name = " ç»ç¼å· ") |
| | | private Long groupnumber; |
| | | |
| | | /** ç¶æ¡ä»¶ID */ |
| | | @Excel(name = " ç¶æ¡ä»¶ID ") |
| | | private Long grouporand; |
| | | |
| | | /** 忡件ç¼å· */ |
| | | @Excel(name = " 忡件ç¼å· ") |
| | | private Long number; |
| | | |
| | | /** æ¯å¦è·è¸ª */ |
| | | @Excel(name = " æ¯å¦è·è¸ª ") |
| | | private Long istrack; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | public void setEcid(Long ecid) |
| | | { |
| | | this.ecid = ecid; |
| | | } |
| | | |
| | | public Long getEcid() |
| | | { |
| | | return ecid; |
| | | } |
| | | public void setOldid(Long oldid) |
| | | { |
| | | this.oldid = oldid; |
| | | } |
| | | |
| | | public Long getOldid() |
| | | { |
| | | return oldid; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | public void setQuestionoptionid(Long questionoptionid) |
| | | { |
| | | this.questionoptionid = questionoptionid; |
| | | } |
| | | |
| | | public Long getQuestionoptionid() |
| | | { |
| | | return questionoptionid; |
| | | } |
| | | public void setTopicid(Long topicid) |
| | | { |
| | | this.topicid = topicid; |
| | | } |
| | | |
| | | public Long getTopicid() |
| | | { |
| | | return topicid; |
| | | } |
| | | public void setPsqid(Long psqid) |
| | | { |
| | | this.psqid = psqid; |
| | | } |
| | | |
| | | public Long getPsqid() |
| | | { |
| | | return psqid; |
| | | } |
| | | public void setOrand(Long orand) |
| | | { |
| | | this.orand = orand; |
| | | } |
| | | |
| | | public Long getOrand() |
| | | { |
| | | return orand; |
| | | } |
| | | public void setRuleverify(String ruleverify) |
| | | { |
| | | this.ruleverify = ruleverify; |
| | | } |
| | | |
| | | public String getRuleverify() |
| | | { |
| | | return ruleverify; |
| | | } |
| | | public void setRuleconditions(String ruleconditions) |
| | | { |
| | | this.ruleconditions = ruleconditions; |
| | | } |
| | | |
| | | public String getRuleconditions() |
| | | { |
| | | return ruleconditions; |
| | | } |
| | | public void setRulecontent(String rulecontent) |
| | | { |
| | | this.rulecontent = rulecontent; |
| | | } |
| | | |
| | | public String getRulecontent() |
| | | { |
| | | return rulecontent; |
| | | } |
| | | public void setGroupnumber(Long groupnumber) |
| | | { |
| | | this.groupnumber = groupnumber; |
| | | } |
| | | |
| | | public Long getGroupnumber() |
| | | { |
| | | return groupnumber; |
| | | } |
| | | public void setGrouporand(Long grouporand) |
| | | { |
| | | this.grouporand = grouporand; |
| | | } |
| | | |
| | | public Long getGrouporand() |
| | | { |
| | | return grouporand; |
| | | } |
| | | public void setNumber(Long number) |
| | | { |
| | | this.number = number; |
| | | } |
| | | |
| | | public Long getNumber() |
| | | { |
| | | return number; |
| | | } |
| | | public void setIstrack(Long istrack) |
| | | { |
| | | this.istrack = istrack; |
| | | } |
| | | |
| | | public Long getIstrack() |
| | | { |
| | | return istrack; |
| | | } |
| | | 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; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("ecid", getEcid()) |
| | | .append("oldid", getOldid()) |
| | | .append("orgid", getOrgid()) |
| | | .append("questionoptionid", getQuestionoptionid()) |
| | | .append("topicid", getTopicid()) |
| | | .append("psqid", getPsqid()) |
| | | .append("orand", getOrand()) |
| | | .append("ruleverify", getRuleverify()) |
| | | .append("ruleconditions", getRuleconditions()) |
| | | .append("rulecontent", getRulecontent()) |
| | | .append("groupnumber", getGroupnumber()) |
| | | .append("grouporand", getGrouporand()) |
| | | .append("number", getNumber()) |
| | | .append("istrack", getIstrack()) |
| | | .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 org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·ç»æå¯¹è±¡ svy_lib_result |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public class SvyLibResult extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long resultid; |
| | | |
| | | /** é®å·ID */ |
| | | @Excel(name = " é®å·ID ") |
| | | private Long svyid; |
| | | |
| | | /** ç»æå
容 */ |
| | | @Excel(name = " ç»æå
容 ") |
| | | private String resultcontent; |
| | | |
| | | /** æä¸ */ |
| | | @Excel(name = " æä¸ ") |
| | | private Long orand; |
| | | |
| | | /** æ¯å¦æ¾ç¤ºå¾å */ |
| | | @Excel(name = " æ¯å¦æ¾ç¤ºå¾å ") |
| | | private Long isshowscore; |
| | | |
| | | /** æåº */ |
| | | @Excel(name = " æåº ") |
| | | private Long sort; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | public void setResultid(Long resultid) |
| | | { |
| | | this.resultid = resultid; |
| | | } |
| | | |
| | | public Long getResultid() |
| | | { |
| | | return resultid; |
| | | } |
| | | public void setSvyid(Long svyid) |
| | | { |
| | | this.svyid = svyid; |
| | | } |
| | | |
| | | public Long getSvyid() |
| | | { |
| | | return svyid; |
| | | } |
| | | public void setResultcontent(String resultcontent) |
| | | { |
| | | this.resultcontent = resultcontent; |
| | | } |
| | | |
| | | public String getResultcontent() |
| | | { |
| | | return resultcontent; |
| | | } |
| | | public void setOrand(Long orand) |
| | | { |
| | | this.orand = orand; |
| | | } |
| | | |
| | | public Long getOrand() |
| | | { |
| | | return orand; |
| | | } |
| | | public void setIsshowscore(Long isshowscore) |
| | | { |
| | | this.isshowscore = isshowscore; |
| | | } |
| | | |
| | | public Long getIsshowscore() |
| | | { |
| | | return isshowscore; |
| | | } |
| | | public void setSort(Long sort) |
| | | { |
| | | this.sort = sort; |
| | | } |
| | | |
| | | public Long getSort() |
| | | { |
| | | return sort; |
| | | } |
| | | 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; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("resultid", getResultid()) |
| | | .append("svyid", getSvyid()) |
| | | .append("resultcontent", getResultcontent()) |
| | | .append("orand", getOrand()) |
| | | .append("isshowscore", getIsshowscore()) |
| | | .append("sort", getSort()) |
| | | .append("orgid", getOrgid()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·å¯¹è±¡ svy_lib_title |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public class SvyLibTitle extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long svyid; |
| | | |
| | | /** é®å·åç±»ID */ |
| | | @Excel(name = " é®å·åç±»ID ") |
| | | private Long categoryid; |
| | | |
| | | /** é®å·ä»£ç */ |
| | | @Excel(name = " é®å·ä»£ç ") |
| | | private String svycode; |
| | | |
| | | /** é®å·åç§° */ |
| | | @Excel(name = " é®å·åç§° ") |
| | | private String svyname; |
| | | |
| | | /** æè¿° */ |
| | | @Excel(name = " æè¿° ") |
| | | private String description; |
| | | |
| | | /** é®å·ä»ç» */ |
| | | @Excel(name = " é®å·ä»ç» ") |
| | | private String introduce; |
| | | |
| | | /** é®å·æç¤º */ |
| | | @Excel(name = " é®å·æç¤º ") |
| | | private String submitprompt; |
| | | |
| | | /** 模æ¿ID */ |
| | | @Excel(name = " 模æ¿ID ") |
| | | private Long templateid; |
| | | |
| | | /** çæ¬ */ |
| | | @Excel(name = " çæ¬ ") |
| | | private BigDecimal version; |
| | | |
| | | /** ä¸å¿åºä»£ç */ |
| | | @Excel(name = " ä¸å¿åºä»£ç ") |
| | | private String centerlibrarycode; |
| | | |
| | | /** ä¸å¿åºID */ |
| | | @Excel(name = " ä¸å¿åºID ") |
| | | private Long centerlibraryid; |
| | | |
| | | /** æ¯å¦æ¬å° */ |
| | | @Excel(name = " æ¯å¦æ¬å° ") |
| | | private Long islocal; |
| | | |
| | | /** æ¯å¦å¯ç¨ */ |
| | | @Excel(name = " æ¯å¦å¯ç¨ ") |
| | | private Long isenable; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | public void setSvyid(Long svyid) |
| | | { |
| | | this.svyid = svyid; |
| | | } |
| | | |
| | | public Long getSvyid() |
| | | { |
| | | return svyid; |
| | | } |
| | | public void setCategoryid(Long categoryid) |
| | | { |
| | | this.categoryid = categoryid; |
| | | } |
| | | |
| | | public Long getCategoryid() |
| | | { |
| | | return categoryid; |
| | | } |
| | | public void setSvycode(String svycode) |
| | | { |
| | | this.svycode = svycode; |
| | | } |
| | | |
| | | public String getSvycode() |
| | | { |
| | | return svycode; |
| | | } |
| | | public void setSvyname(String svyname) |
| | | { |
| | | this.svyname = svyname; |
| | | } |
| | | |
| | | public String getSvyname() |
| | | { |
| | | return svyname; |
| | | } |
| | | public void setDescription(String description) |
| | | { |
| | | this.description = description; |
| | | } |
| | | |
| | | public String getDescription() |
| | | { |
| | | return description; |
| | | } |
| | | public void setIntroduce(String introduce) |
| | | { |
| | | this.introduce = introduce; |
| | | } |
| | | |
| | | public String getIntroduce() |
| | | { |
| | | return introduce; |
| | | } |
| | | public void setSubmitprompt(String submitprompt) |
| | | { |
| | | this.submitprompt = submitprompt; |
| | | } |
| | | |
| | | public String getSubmitprompt() |
| | | { |
| | | return submitprompt; |
| | | } |
| | | public void setTemplateid(Long templateid) |
| | | { |
| | | this.templateid = templateid; |
| | | } |
| | | |
| | | public Long getTemplateid() |
| | | { |
| | | return templateid; |
| | | } |
| | | public void setVersion(BigDecimal version) |
| | | { |
| | | this.version = version; |
| | | } |
| | | |
| | | public BigDecimal getVersion() |
| | | { |
| | | return version; |
| | | } |
| | | public void setCenterlibrarycode(String centerlibrarycode) |
| | | { |
| | | this.centerlibrarycode = centerlibrarycode; |
| | | } |
| | | |
| | | public String getCenterlibrarycode() |
| | | { |
| | | return centerlibrarycode; |
| | | } |
| | | public void setCenterlibraryid(Long centerlibraryid) |
| | | { |
| | | this.centerlibraryid = centerlibraryid; |
| | | } |
| | | |
| | | public Long getCenterlibraryid() |
| | | { |
| | | return centerlibraryid; |
| | | } |
| | | public void setIslocal(Long islocal) |
| | | { |
| | | this.islocal = islocal; |
| | | } |
| | | |
| | | public Long getIslocal() |
| | | { |
| | | return islocal; |
| | | } |
| | | public void setIsenable(Long isenable) |
| | | { |
| | | this.isenable = isenable; |
| | | } |
| | | |
| | | public Long getIsenable() |
| | | { |
| | | return isenable; |
| | | } |
| | | 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; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("svyid", getSvyid()) |
| | | .append("categoryid", getCategoryid()) |
| | | .append("svycode", getSvycode()) |
| | | .append("svyname", getSvyname()) |
| | | .append("description", getDescription()) |
| | | .append("introduce", getIntroduce()) |
| | | .append("submitprompt", getSubmitprompt()) |
| | | .append("templateid", getTemplateid()) |
| | | .append("version", getVersion()) |
| | | .append("centerlibrarycode", getCenterlibrarycode()) |
| | | .append("centerlibraryid", getCenterlibraryid()) |
| | | .append("islocal", getIslocal()) |
| | | .append("isenable", getIsenable()) |
| | | .append("orgid", getOrgid()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·é¢ç®å¯¹è±¡ svy_lib_topic |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public class SvyLibTopic extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long topicid; |
| | | |
| | | /** èçæ¬ID */ |
| | | @Excel(name = " èçæ¬ID ") |
| | | private Long oldid; |
| | | |
| | | /** é®å·ID */ |
| | | @Excel(name = " é®å·ID ") |
| | | private Long svyid; |
| | | |
| | | /** é¢ç®ç±»å;æä¸¾ 1.åé 2å¤é 3填空 */ |
| | | @Excel(name = " é¢ç®ç±»å;æä¸¾ 1.åé 2å¤é 3填空 ") |
| | | private Long topictype; |
| | | |
| | | /** é¢ç®Code */ |
| | | @Excel(name = " é¢ç®Code ") |
| | | private String topiccode; |
| | | |
| | | /** é¢ç® */ |
| | | @Excel(name = " é¢ç® ") |
| | | private String topic; |
| | | |
| | | /** æåº */ |
| | | @Excel(name = " æåº ") |
| | | private Long sort; |
| | | |
| | | /** æ¯å¦å¿
å¡« */ |
| | | @Excel(name = " æ¯å¦å¿
å¡« ") |
| | | private Long ismandatory; |
| | | |
| | | /** æ¯å¦éè */ |
| | | @Excel(name = " æ¯å¦éè ") |
| | | private Long ishide; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | public void setTopicid(Long topicid) |
| | | { |
| | | this.topicid = topicid; |
| | | } |
| | | |
| | | public Long getTopicid() |
| | | { |
| | | return topicid; |
| | | } |
| | | public void setOldid(Long oldid) |
| | | { |
| | | this.oldid = oldid; |
| | | } |
| | | |
| | | public Long getOldid() |
| | | { |
| | | return oldid; |
| | | } |
| | | public void setSvyid(Long svyid) |
| | | { |
| | | this.svyid = svyid; |
| | | } |
| | | |
| | | public Long getSvyid() |
| | | { |
| | | return svyid; |
| | | } |
| | | public void setTopictype(Long topictype) |
| | | { |
| | | this.topictype = topictype; |
| | | } |
| | | |
| | | public Long getTopictype() |
| | | { |
| | | return topictype; |
| | | } |
| | | public void setTopiccode(String topiccode) |
| | | { |
| | | this.topiccode = topiccode; |
| | | } |
| | | |
| | | public String getTopiccode() |
| | | { |
| | | return topiccode; |
| | | } |
| | | public void setTopic(String topic) |
| | | { |
| | | this.topic = topic; |
| | | } |
| | | |
| | | public String getTopic() |
| | | { |
| | | return topic; |
| | | } |
| | | public void setSort(Long sort) |
| | | { |
| | | this.sort = sort; |
| | | } |
| | | |
| | | public Long getSort() |
| | | { |
| | | return sort; |
| | | } |
| | | public void setIsmandatory(Long ismandatory) |
| | | { |
| | | this.ismandatory = ismandatory; |
| | | } |
| | | |
| | | public Long getIsmandatory() |
| | | { |
| | | return ismandatory; |
| | | } |
| | | public void setIshide(Long ishide) |
| | | { |
| | | this.ishide = ishide; |
| | | } |
| | | |
| | | public Long getIshide() |
| | | { |
| | | return ishide; |
| | | } |
| | | public void setDelFlag(String delFlag) |
| | | { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public String getDelFlag() |
| | | { |
| | | return delFlag; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | 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; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("topicid", getTopicid()) |
| | | .append("oldid", getOldid()) |
| | | .append("svyid", getSvyid()) |
| | | .append("topictype", getTopictype()) |
| | | .append("topiccode", getTopiccode()) |
| | | .append("topic", getTopic()) |
| | | .append("sort", getSort()) |
| | | .append("ismandatory", getIsmandatory()) |
| | | .append("ishide", getIshide()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("orgid", getOrgid()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·é®é¢é项对象 svy_lib_topicoption |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public class SvyLibTopicoption extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long optionid; |
| | | |
| | | /** é¢ç®ID */ |
| | | @Excel(name = " é¢ç®ID ") |
| | | private Long topicid; |
| | | |
| | | /** é®å·ID */ |
| | | @Excel(name = " é®å·ID ") |
| | | private Long svyid; |
| | | |
| | | /** é¢ç®ç±»å */ |
| | | @Excel(name = " é¢ç®ç±»å ") |
| | | private Long topictype; |
| | | |
| | | /** é项Code */ |
| | | @Excel(name = " é项Code ") |
| | | private String optioncode; |
| | | |
| | | /** é项å
容 */ |
| | | @Excel(name = " é项å
容 ") |
| | | private String optioncontent; |
| | | |
| | | /** æ¯å¦åå¨æç» */ |
| | | @Excel(name = " æ¯å¦åå¨æç» ") |
| | | private Long isexistdetail; |
| | | |
| | | /** æç»æ¯å¦å¿
å¡« */ |
| | | @Excel(name = " æç»æ¯å¦å¿
å¡« ") |
| | | private Long detailismandatory; |
| | | |
| | | /** æ¯å¦å¼å¸¸é¡¹ç® */ |
| | | @Excel(name = " æ¯å¦å¼å¸¸é¡¹ç® ") |
| | | private Long isexceptionitem; |
| | | |
| | | /** æ¯å¦è·è¿ */ |
| | | @Excel(name = " æ¯å¦è·è¿ ") |
| | | private Long istrack; |
| | | |
| | | /** åæ° */ |
| | | @Excel(name = " åæ° ") |
| | | private Long score; |
| | | |
| | | /** æç¤º */ |
| | | @Excel(name = " æç¤º ") |
| | | private String prompt; |
| | | |
| | | /** 跳转 */ |
| | | @Excel(name = " 跳转 ") |
| | | private String jump; |
| | | |
| | | /** ç¶é项ID */ |
| | | @Excel(name = " ç¶é项ID ") |
| | | private Long parentoptionid; |
| | | |
| | | /** æ¯å¦äºæ¥ */ |
| | | @Excel(name = " æ¯å¦äºæ¥ ") |
| | | private Long ismutex; |
| | | |
| | | /** éªè¯è§å */ |
| | | @Excel(name = " éªè¯è§å ") |
| | | private String verifyrule; |
| | | |
| | | /** æåº */ |
| | | @Excel(name = " æåº ") |
| | | private Long sort; |
| | | |
| | | /** éªè¯ç±»å;0.ä¸éªè¯ 1.æ´æ° 2.å°æ° 3.ææºå· 4.èº«ä»½è¯ 5.æ¥æ */ |
| | | @Excel(name = " éªè¯ç±»å;0.ä¸éªè¯ 1.æ´æ° 2.å°æ° 3.ææºå· 4.èº«ä»½è¯ 5.æ¥æ ") |
| | | private Long verificationtype; |
| | | |
| | | /** æ¯å¦éå¶èå´ */ |
| | | @Excel(name = " æ¯å¦éå¶èå´ ") |
| | | private Long isrange; |
| | | |
| | | /** æå°èå´ */ |
| | | @Excel(name = " æå°èå´ ") |
| | | private String minrange; |
| | | |
| | | /** æå¤§èå´ */ |
| | | @Excel(name = " æå¤§èå´ ") |
| | | private String maxrange; |
| | | |
| | | /** èå´é¿åº¦;ç¨äºå°æ°ä¿ç使° */ |
| | | @Excel(name = " èå´é¿åº¦;ç¨äºå°æ°ä¿ç使° ") |
| | | private Long rangelength; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** ä¸ä¸çæ¬ID */ |
| | | @Excel(name = " ä¸ä¸çæ¬ID ") |
| | | private Long oldid; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | public void setOptionid(Long optionid) |
| | | { |
| | | this.optionid = optionid; |
| | | } |
| | | |
| | | public Long getOptionid() |
| | | { |
| | | return optionid; |
| | | } |
| | | public void setTopicid(Long topicid) |
| | | { |
| | | this.topicid = topicid; |
| | | } |
| | | |
| | | public Long getTopicid() |
| | | { |
| | | return topicid; |
| | | } |
| | | public void setSvyid(Long svyid) |
| | | { |
| | | this.svyid = svyid; |
| | | } |
| | | |
| | | public Long getSvyid() |
| | | { |
| | | return svyid; |
| | | } |
| | | public void setTopictype(Long topictype) |
| | | { |
| | | this.topictype = topictype; |
| | | } |
| | | |
| | | public Long getTopictype() |
| | | { |
| | | return topictype; |
| | | } |
| | | public void setOptioncode(String optioncode) |
| | | { |
| | | this.optioncode = optioncode; |
| | | } |
| | | |
| | | public String getOptioncode() |
| | | { |
| | | return optioncode; |
| | | } |
| | | public void setOptioncontent(String optioncontent) |
| | | { |
| | | this.optioncontent = optioncontent; |
| | | } |
| | | |
| | | public String getOptioncontent() |
| | | { |
| | | return optioncontent; |
| | | } |
| | | public void setIsexistdetail(Long isexistdetail) |
| | | { |
| | | this.isexistdetail = isexistdetail; |
| | | } |
| | | |
| | | public Long getIsexistdetail() |
| | | { |
| | | return isexistdetail; |
| | | } |
| | | public void setDetailismandatory(Long detailismandatory) |
| | | { |
| | | this.detailismandatory = detailismandatory; |
| | | } |
| | | |
| | | public Long getDetailismandatory() |
| | | { |
| | | return detailismandatory; |
| | | } |
| | | public void setIsexceptionitem(Long isexceptionitem) |
| | | { |
| | | this.isexceptionitem = isexceptionitem; |
| | | } |
| | | |
| | | public Long getIsexceptionitem() |
| | | { |
| | | return isexceptionitem; |
| | | } |
| | | public void setIstrack(Long istrack) |
| | | { |
| | | this.istrack = istrack; |
| | | } |
| | | |
| | | public Long getIstrack() |
| | | { |
| | | return istrack; |
| | | } |
| | | public void setScore(Long score) |
| | | { |
| | | this.score = score; |
| | | } |
| | | |
| | | public Long getScore() |
| | | { |
| | | return score; |
| | | } |
| | | public void setPrompt(String prompt) |
| | | { |
| | | this.prompt = prompt; |
| | | } |
| | | |
| | | public String getPrompt() |
| | | { |
| | | return prompt; |
| | | } |
| | | public void setJump(String jump) |
| | | { |
| | | this.jump = jump; |
| | | } |
| | | |
| | | public String getJump() |
| | | { |
| | | return jump; |
| | | } |
| | | public void setParentoptionid(Long parentoptionid) |
| | | { |
| | | this.parentoptionid = parentoptionid; |
| | | } |
| | | |
| | | public Long getParentoptionid() |
| | | { |
| | | return parentoptionid; |
| | | } |
| | | public void setIsmutex(Long ismutex) |
| | | { |
| | | this.ismutex = ismutex; |
| | | } |
| | | |
| | | public Long getIsmutex() |
| | | { |
| | | return ismutex; |
| | | } |
| | | public void setVerifyrule(String verifyrule) |
| | | { |
| | | this.verifyrule = verifyrule; |
| | | } |
| | | |
| | | public String getVerifyrule() |
| | | { |
| | | return verifyrule; |
| | | } |
| | | public void setSort(Long sort) |
| | | { |
| | | this.sort = sort; |
| | | } |
| | | |
| | | public Long getSort() |
| | | { |
| | | return sort; |
| | | } |
| | | public void setVerificationtype(Long verificationtype) |
| | | { |
| | | this.verificationtype = verificationtype; |
| | | } |
| | | |
| | | public Long getVerificationtype() |
| | | { |
| | | return verificationtype; |
| | | } |
| | | public void setIsrange(Long isrange) |
| | | { |
| | | this.isrange = isrange; |
| | | } |
| | | |
| | | public Long getIsrange() |
| | | { |
| | | return isrange; |
| | | } |
| | | public void setMinrange(String minrange) |
| | | { |
| | | this.minrange = minrange; |
| | | } |
| | | |
| | | public String getMinrange() |
| | | { |
| | | return minrange; |
| | | } |
| | | public void setMaxrange(String maxrange) |
| | | { |
| | | this.maxrange = maxrange; |
| | | } |
| | | |
| | | public String getMaxrange() |
| | | { |
| | | return maxrange; |
| | | } |
| | | public void setRangelength(Long rangelength) |
| | | { |
| | | this.rangelength = rangelength; |
| | | } |
| | | |
| | | public Long getRangelength() |
| | | { |
| | | return rangelength; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | public void setOldid(Long oldid) |
| | | { |
| | | this.oldid = oldid; |
| | | } |
| | | |
| | | public Long getOldid() |
| | | { |
| | | return oldid; |
| | | } |
| | | 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; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("optionid", getOptionid()) |
| | | .append("topicid", getTopicid()) |
| | | .append("svyid", getSvyid()) |
| | | .append("topictype", getTopictype()) |
| | | .append("optioncode", getOptioncode()) |
| | | .append("optioncontent", getOptioncontent()) |
| | | .append("isexistdetail", getIsexistdetail()) |
| | | .append("detailismandatory", getDetailismandatory()) |
| | | .append("isexceptionitem", getIsexceptionitem()) |
| | | .append("istrack", getIstrack()) |
| | | .append("score", getScore()) |
| | | .append("prompt", getPrompt()) |
| | | .append("jump", getJump()) |
| | | .append("parentoptionid", getParentoptionid()) |
| | | .append("ismutex", getIsmutex()) |
| | | .append("verifyrule", getVerifyrule()) |
| | | .append("sort", getSort()) |
| | | .append("verificationtype", getVerificationtype()) |
| | | .append("isrange", getIsrange()) |
| | | .append("minrange", getMinrange()) |
| | | .append("maxrange", getMaxrange()) |
| | | .append("rangelength", getRangelength()) |
| | | .append("orgid", getOrgid()) |
| | | .append("oldid", getOldid()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .toString(); |
| | | } |
| | | } |
| | |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.PatArchive; |
| | | import com.smartor.domain.PatMedOuthosp; |
| | | |
| | | /** |
| | | * æ£è
æ¡£æ¡Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-02-22 |
| | | * @author smartor |
| | | * @date 2023-03-01 |
| | | */ |
| | | public interface PatArchiveMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡ |
| | | * |
| | | * @param PatID æ£è
æ¡£æ¡ä¸»é® |
| | | * @param patid æ£è
æ¡£æ¡ä¸»é® |
| | | * @return æ£è
æ¡£æ¡ |
| | | */ |
| | | public PatArchive selectPatArchiveByPatID(Long PatID); |
| | | public PatArchive selectPatArchiveByPatid(Long patid); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡å表 |
| | |
| | | /** |
| | | * å 餿£è
æ¡£æ¡ |
| | | * |
| | | * @param PatID æ£è
æ¡£æ¡ä¸»é® |
| | | * @param patid æ£è
æ¡£æ¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchiveByPatID(Long PatID); |
| | | public int deletePatArchiveByPatid(Long patid); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
æ¡£æ¡ |
| | | * |
| | | * @param PatIDs éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @param patids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchiveByPatIDs(Long[] PatIDs); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
é¨è¯è®°å½ |
| | | * |
| | | * @param PatIDs éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedOuthospByPatIDs(Long[] PatIDs); |
| | | |
| | | /** |
| | | * æ¹éæ°å¢æ£è
é¨è¯è®°å½ |
| | | * |
| | | * @param patMedOuthospList æ£è
é¨è¯è®°å½å表 |
| | | * @return ç»æ |
| | | */ |
| | | public int batchPatMedOuthosp(List<PatMedOuthosp> patMedOuthospList); |
| | | |
| | | |
| | | /** |
| | | * éè¿æ£è
æ¡£æ¡ä¸»é®å 餿£è
é¨è¯è®°å½ä¿¡æ¯ |
| | | * |
| | | * @param PatID æ£è
æ¡£æ¡ID |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedOuthospByPatID(Long PatID); |
| | | public int deletePatArchiveByPatids(Long[] patids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyCategory; |
| | | |
| | | /** |
| | | * é®å·åç±»Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface SvyCategoryMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·åç±» |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return é®å·åç±» |
| | | */ |
| | | public SvyCategory selectSvyCategoryById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·åç±»å表 |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return é®å·åç±»éå |
| | | */ |
| | | public List<SvyCategory> selectSvyCategoryList(SvyCategory svyCategory); |
| | | |
| | | /** |
| | | * æ°å¢é®å·åç±» |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyCategory(SvyCategory svyCategory); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·åç±» |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyCategory(SvyCategory svyCategory); |
| | | |
| | | /** |
| | | * å é¤é®å·åç±» |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyCategoryById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·åç±» |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyCategoryByIds(Long[] ids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibException; |
| | | |
| | | /** |
| | | * é®å·å¼å¸¸Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface SvyLibExceptionMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·å¼å¸¸ |
| | | * |
| | | * @param ecid é®å·å¼å¸¸ä¸»é® |
| | | * @return é®å·å¼å¸¸ |
| | | */ |
| | | public SvyLibException selectSvyLibExceptionByEcid(Long ecid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å¼å¸¸å表 |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return é®å·å¼å¸¸éå |
| | | */ |
| | | public List<SvyLibException> selectSvyLibExceptionList(SvyLibException svyLibException); |
| | | |
| | | /** |
| | | * æ°å¢é®å·å¼å¸¸ |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibException(SvyLibException svyLibException); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·å¼å¸¸ |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibException(SvyLibException svyLibException); |
| | | |
| | | /** |
| | | * å é¤é®å·å¼å¸¸ |
| | | * |
| | | * @param ecid é®å·å¼å¸¸ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibExceptionByEcid(Long ecid); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·å¼å¸¸ |
| | | * |
| | | * @param ecids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibExceptionByEcids(Long[] ecids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibResult; |
| | | |
| | | /** |
| | | * é®å·ç»æMapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface SvyLibResultMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·ç»æ |
| | | * |
| | | * @param resultid é®å·ç»æä¸»é® |
| | | * @return é®å·ç»æ |
| | | */ |
| | | public SvyLibResult selectSvyLibResultByResultid(Long resultid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·ç»æå表 |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return é®å·ç»æéå |
| | | */ |
| | | public List<SvyLibResult> selectSvyLibResultList(SvyLibResult svyLibResult); |
| | | |
| | | /** |
| | | * æ°å¢é®å·ç»æ |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibResult(SvyLibResult svyLibResult); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·ç»æ |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibResult(SvyLibResult svyLibResult); |
| | | |
| | | /** |
| | | * å é¤é®å·ç»æ |
| | | * |
| | | * @param resultid é®å·ç»æä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibResultByResultid(Long resultid); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·ç»æ |
| | | * |
| | | * @param resultids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibResultByResultids(Long[] resultids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibTitle; |
| | | |
| | | /** |
| | | * é®å·Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface SvyLibTitleMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å· |
| | | * |
| | | * @param svyid é®å·ä¸»é® |
| | | * @return é®å· |
| | | */ |
| | | public SvyLibTitle selectSvyLibTitleBySvyid(Long svyid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å表 |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return é®å·éå |
| | | */ |
| | | public List<SvyLibTitle> selectSvyLibTitleList(SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * æ°å¢é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTitle(SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTitle(SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * å é¤é®å· |
| | | * |
| | | * @param svyid é®å·ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTitleBySvyid(Long svyid); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å· |
| | | * |
| | | * @param svyids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTitleBySvyids(Long[] svyids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibTopic; |
| | | |
| | | /** |
| | | * é®å·é¢ç®Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface SvyLibTopicMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç® |
| | | * |
| | | * @param topicid é®å·é¢ç®ä¸»é® |
| | | * @return é®å·é¢ç® |
| | | */ |
| | | public SvyLibTopic selectSvyLibTopicByTopicid(Long topicid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®å表 |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return é®å·é¢ç®éå |
| | | */ |
| | | public List<SvyLibTopic> selectSvyLibTopicList(SvyLibTopic svyLibTopic); |
| | | |
| | | /** |
| | | * æ°å¢é®å·é¢ç® |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTopic(SvyLibTopic svyLibTopic); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç® |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTopic(SvyLibTopic svyLibTopic); |
| | | |
| | | /** |
| | | * å é¤é®å·é¢ç® |
| | | * |
| | | * @param topicid é®å·é¢ç®ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicByTopicid(Long topicid); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é¢ç® |
| | | * |
| | | * @param topicids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicByTopicids(Long[] topicids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibTopicoption; |
| | | |
| | | /** |
| | | * é®å·é®é¢é项Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface SvyLibTopicoptionMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢é项 |
| | | * |
| | | * @param optionid é®å·é®é¢éé¡¹ä¸»é® |
| | | * @return é®å·é®é¢é项 |
| | | */ |
| | | public SvyLibTopicoption selectSvyLibTopicoptionByOptionid(Long optionid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢é项å表 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return é®å·é®é¢é项éå |
| | | */ |
| | | public List<SvyLibTopicoption> selectSvyLibTopicoptionList(SvyLibTopicoption svyLibTopicoption); |
| | | |
| | | /** |
| | | * æ°å¢é®å·é®é¢é项 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTopicoption(SvyLibTopicoption svyLibTopicoption); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é®é¢é项 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTopicoption(SvyLibTopicoption svyLibTopicoption); |
| | | |
| | | /** |
| | | * å é¤é®å·é®é¢é项 |
| | | * |
| | | * @param optionid é®å·é®é¢éé¡¹ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicoptionByOptionid(Long optionid); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é®é¢é项 |
| | | * |
| | | * @param optionids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicoptionByOptionids(Long[] optionids); |
| | | } |
| | |
| | | /** |
| | | * æ£è
æ¡£æ¡Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-02-22 |
| | | * @author smartor |
| | | * @date 2023-03-01 |
| | | */ |
| | | public interface IPatArchiveService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡ |
| | | * |
| | | * @param PatID æ£è
æ¡£æ¡ä¸»é® |
| | | * @param patid æ£è
æ¡£æ¡ä¸»é® |
| | | * @return æ£è
æ¡£æ¡ |
| | | */ |
| | | public PatArchive selectPatArchiveByPatID(Long PatID); |
| | | public PatArchive selectPatArchiveByPatid(Long patid); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡å表 |
| | |
| | | /** |
| | | * æ¹éå 餿£è
æ¡£æ¡ |
| | | * |
| | | * @param PatIDs éè¦å é¤çæ£è
æ¡£æ¡ä¸»é®éå |
| | | * @param patids éè¦å é¤çæ£è
æ¡£æ¡ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchiveByPatIDs(Long[] PatIDs); |
| | | public int deletePatArchiveByPatids(Long[] patids); |
| | | |
| | | /** |
| | | * å 餿£è
æ¡£æ¡ä¿¡æ¯ |
| | | * |
| | | * @param PatID æ£è
æ¡£æ¡ä¸»é® |
| | | * @param patid æ£è
æ¡£æ¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchiveByPatID(Long PatID); |
| | | public int deletePatArchiveByPatid(Long patid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyCategory; |
| | | |
| | | /** |
| | | * é®å·åç±»Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface ISvyCategoryService |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·åç±» |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return é®å·åç±» |
| | | */ |
| | | public SvyCategory selectSvyCategoryById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·åç±»å表 |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return é®å·åç±»éå |
| | | */ |
| | | public List<SvyCategory> selectSvyCategoryList(SvyCategory svyCategory); |
| | | |
| | | /** |
| | | * æ°å¢é®å·åç±» |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyCategory(SvyCategory svyCategory); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·åç±» |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyCategory(SvyCategory svyCategory); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·åç±» |
| | | * |
| | | * @param ids éè¦å é¤çé®å·å类主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyCategoryByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å é¤é®å·åç±»ä¿¡æ¯ |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyCategoryById(Long id); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibException; |
| | | |
| | | /** |
| | | * é®å·å¼å¸¸Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface ISvyLibExceptionService |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·å¼å¸¸ |
| | | * |
| | | * @param ecid é®å·å¼å¸¸ä¸»é® |
| | | * @return é®å·å¼å¸¸ |
| | | */ |
| | | public SvyLibException selectSvyLibExceptionByEcid(Long ecid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å¼å¸¸å表 |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return é®å·å¼å¸¸éå |
| | | */ |
| | | public List<SvyLibException> selectSvyLibExceptionList(SvyLibException svyLibException); |
| | | |
| | | /** |
| | | * æ°å¢é®å·å¼å¸¸ |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibException(SvyLibException svyLibException); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·å¼å¸¸ |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibException(SvyLibException svyLibException); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·å¼å¸¸ |
| | | * |
| | | * @param ecids éè¦å é¤çé®å·å¼å¸¸ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibExceptionByEcids(Long[] ecids); |
| | | |
| | | /** |
| | | * å é¤é®å·å¼å¸¸ä¿¡æ¯ |
| | | * |
| | | * @param ecid é®å·å¼å¸¸ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibExceptionByEcid(Long ecid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibResult; |
| | | |
| | | /** |
| | | * é®å·ç»æServiceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface ISvyLibResultService |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·ç»æ |
| | | * |
| | | * @param resultid é®å·ç»æä¸»é® |
| | | * @return é®å·ç»æ |
| | | */ |
| | | public SvyLibResult selectSvyLibResultByResultid(Long resultid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·ç»æå表 |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return é®å·ç»æéå |
| | | */ |
| | | public List<SvyLibResult> selectSvyLibResultList(SvyLibResult svyLibResult); |
| | | |
| | | /** |
| | | * æ°å¢é®å·ç»æ |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibResult(SvyLibResult svyLibResult); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·ç»æ |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibResult(SvyLibResult svyLibResult); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·ç»æ |
| | | * |
| | | * @param resultids éè¦å é¤çé®å·ç»æä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibResultByResultids(Long[] resultids); |
| | | |
| | | /** |
| | | * å é¤é®å·ç»æä¿¡æ¯ |
| | | * |
| | | * @param resultid é®å·ç»æä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibResultByResultid(Long resultid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibTitle; |
| | | |
| | | /** |
| | | * é®å·Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface ISvyLibTitleService |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å· |
| | | * |
| | | * @param svyid é®å·ä¸»é® |
| | | * @return é®å· |
| | | */ |
| | | public SvyLibTitle selectSvyLibTitleBySvyid(Long svyid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å表 |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return é®å·éå |
| | | */ |
| | | public List<SvyLibTitle> selectSvyLibTitleList(SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * æ°å¢é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTitle(SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTitle(SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å· |
| | | * |
| | | * @param svyids éè¦å é¤çé®å·ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTitleBySvyids(Long[] svyids); |
| | | |
| | | /** |
| | | * å é¤é®å·ä¿¡æ¯ |
| | | * |
| | | * @param svyid é®å·ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTitleBySvyid(Long svyid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibTopic; |
| | | |
| | | /** |
| | | * é®å·é¢ç®Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface ISvyLibTopicService |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç® |
| | | * |
| | | * @param topicid é®å·é¢ç®ä¸»é® |
| | | * @return é®å·é¢ç® |
| | | */ |
| | | public SvyLibTopic selectSvyLibTopicByTopicid(Long topicid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®å表 |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return é®å·é¢ç®éå |
| | | */ |
| | | public List<SvyLibTopic> selectSvyLibTopicList(SvyLibTopic svyLibTopic); |
| | | |
| | | /** |
| | | * æ°å¢é®å·é¢ç® |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTopic(SvyLibTopic svyLibTopic); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç® |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTopic(SvyLibTopic svyLibTopic); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é¢ç® |
| | | * |
| | | * @param topicids éè¦å é¤çé®å·é¢ç®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicByTopicids(Long[] topicids); |
| | | |
| | | /** |
| | | * å é¤é®å·é¢ç®ä¿¡æ¯ |
| | | * |
| | | * @param topicid é®å·é¢ç®ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicByTopicid(Long topicid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibTopicoption; |
| | | |
| | | /** |
| | | * é®å·é®é¢é项Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface ISvyLibTopicoptionService |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢é项 |
| | | * |
| | | * @param optionid é®å·é®é¢éé¡¹ä¸»é® |
| | | * @return é®å·é®é¢é项 |
| | | */ |
| | | public SvyLibTopicoption selectSvyLibTopicoptionByOptionid(Long optionid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢é项å表 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return é®å·é®é¢é项éå |
| | | */ |
| | | public List<SvyLibTopicoption> selectSvyLibTopicoptionList(SvyLibTopicoption svyLibTopicoption); |
| | | |
| | | /** |
| | | * æ°å¢é®å·é®é¢é项 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTopicoption(SvyLibTopicoption svyLibTopicoption); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é®é¢é项 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTopicoption(SvyLibTopicoption svyLibTopicoption); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é®é¢é项 |
| | | * |
| | | * @param optionids éè¦å é¤çé®å·é®é¢é项主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicoptionByOptionids(Long[] optionids); |
| | | |
| | | /** |
| | | * å é¤é®å·é®é¢éé¡¹ä¿¡æ¯ |
| | | * |
| | | * @param optionid é®å·é®é¢éé¡¹ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicoptionByOptionid(Long optionid); |
| | | } |
| | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import java.util.ArrayList; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import com.smartor.domain.PatMedOuthosp; |
| | | import com.smartor.mapper.PatArchiveMapper; |
| | | import com.smartor.domain.PatArchive; |
| | | import com.smartor.service.IPatArchiveService; |
| | |
| | | /** |
| | | * æ£è
æ¡£æ¡Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-02-22 |
| | | * @author smartor |
| | | * @date 2023-03-01 |
| | | */ |
| | | @Service |
| | | public class PatArchiveServiceImpl implements IPatArchiveService |
| | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡ |
| | | * |
| | | * @param PatID æ£è
æ¡£æ¡ä¸»é® |
| | | * @param patid æ£è
æ¡£æ¡ä¸»é® |
| | | * @return æ£è
æ¡£æ¡ |
| | | */ |
| | | @Override |
| | | public PatArchive selectPatArchiveByPatID(Long PatID) |
| | | public PatArchive selectPatArchiveByPatid(Long patid) |
| | | { |
| | | return patArchiveMapper.selectPatArchiveByPatID(PatID); |
| | | return patArchiveMapper.selectPatArchiveByPatid(patid); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return ç»æ |
| | | */ |
| | | @Transactional |
| | | @Override |
| | | public int insertPatArchive(PatArchive patArchive) |
| | | { |
| | | patArchive.setCreateTime(DateUtils.getNowDate()); |
| | | int rows = patArchiveMapper.insertPatArchive(patArchive); |
| | | insertPatMedOuthosp(patArchive); |
| | | return rows; |
| | | return patArchiveMapper.insertPatArchive(patArchive); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return ç»æ |
| | | */ |
| | | @Transactional |
| | | @Override |
| | | public int updatePatArchive(PatArchive patArchive) |
| | | { |
| | | patArchive.setUpdateTime(DateUtils.getNowDate()); |
| | | patArchiveMapper.deletePatMedOuthospByPatID(patArchive.getPatID()); |
| | | insertPatMedOuthosp(patArchive); |
| | | return patArchiveMapper.updatePatArchive(patArchive); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
æ¡£æ¡ |
| | | * |
| | | * @param PatIDs éè¦å é¤çæ£è
æ¡£æ¡ä¸»é® |
| | | * @param patids éè¦å é¤çæ£è
æ¡£æ¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Transactional |
| | | @Override |
| | | public int deletePatArchiveByPatIDs(Long[] PatIDs) |
| | | public int deletePatArchiveByPatids(Long[] patids) |
| | | { |
| | | patArchiveMapper.deletePatMedOuthospByPatIDs(PatIDs); |
| | | return patArchiveMapper.deletePatArchiveByPatIDs(PatIDs); |
| | | return patArchiveMapper.deletePatArchiveByPatids(patids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
æ¡£æ¡ä¿¡æ¯ |
| | | * |
| | | * @param PatID æ£è
æ¡£æ¡ä¸»é® |
| | | * @param patid æ£è
æ¡£æ¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Transactional |
| | | @Override |
| | | public int deletePatArchiveByPatID(Long PatID) |
| | | public int deletePatArchiveByPatid(Long patid) |
| | | { |
| | | patArchiveMapper.deletePatMedOuthospByPatID(PatID); |
| | | return patArchiveMapper.deletePatArchiveByPatID(PatID); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
é¨è¯è®°å½ä¿¡æ¯ |
| | | * |
| | | * @param patArchive æ£è
æ¡£æ¡å¯¹è±¡ |
| | | */ |
| | | public void insertPatMedOuthosp(PatArchive patArchive) |
| | | { |
| | | List<PatMedOuthosp> patMedOuthospList = patArchive.getPatMedOuthospList(); |
| | | Long PatID = patArchive.getPatID(); |
| | | if (StringUtils.isNotNull(patMedOuthospList)) |
| | | { |
| | | List<PatMedOuthosp> list = new ArrayList<PatMedOuthosp>(); |
| | | for (PatMedOuthosp patMedOuthosp : patMedOuthospList) |
| | | { |
| | | patMedOuthosp.setPatID(PatID); |
| | | list.add(patMedOuthosp); |
| | | } |
| | | if (list.size() > 0) |
| | | { |
| | | patArchiveMapper.batchPatMedOuthosp(list); |
| | | } |
| | | } |
| | | return patArchiveMapper.deletePatArchiveByPatid(patid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyCategoryMapper; |
| | | import com.smartor.domain.SvyCategory; |
| | | import com.smartor.service.ISvyCategoryService; |
| | | |
| | | /** |
| | | * é®å·åç±»Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Service |
| | | public class SvyCategoryServiceImpl implements ISvyCategoryService |
| | | { |
| | | @Autowired |
| | | private SvyCategoryMapper svyCategoryMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·åç±» |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return é®å·åç±» |
| | | */ |
| | | @Override |
| | | public SvyCategory selectSvyCategoryById(Long id) |
| | | { |
| | | return svyCategoryMapper.selectSvyCategoryById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·åç±»å表 |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return é®å·åç±» |
| | | */ |
| | | @Override |
| | | public List<SvyCategory> selectSvyCategoryList(SvyCategory svyCategory) |
| | | { |
| | | return svyCategoryMapper.selectSvyCategoryList(svyCategory); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·åç±» |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyCategory(SvyCategory svyCategory) |
| | | { |
| | | svyCategory.setCreateTime(DateUtils.getNowDate()); |
| | | return svyCategoryMapper.insertSvyCategory(svyCategory); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·åç±» |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyCategory(SvyCategory svyCategory) |
| | | { |
| | | svyCategory.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyCategoryMapper.updateSvyCategory(svyCategory); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·åç±» |
| | | * |
| | | * @param ids éè¦å é¤çé®å·åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyCategoryByIds(Long[] ids) |
| | | { |
| | | return svyCategoryMapper.deleteSvyCategoryByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·åç±»ä¿¡æ¯ |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyCategoryById(Long id) |
| | | { |
| | | return svyCategoryMapper.deleteSvyCategoryById(id); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyLibExceptionMapper; |
| | | import com.smartor.domain.SvyLibException; |
| | | import com.smartor.service.ISvyLibExceptionService; |
| | | |
| | | /** |
| | | * é®å·å¼å¸¸Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Service |
| | | public class SvyLibExceptionServiceImpl implements ISvyLibExceptionService |
| | | { |
| | | @Autowired |
| | | private SvyLibExceptionMapper svyLibExceptionMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å¼å¸¸ |
| | | * |
| | | * @param ecid é®å·å¼å¸¸ä¸»é® |
| | | * @return é®å·å¼å¸¸ |
| | | */ |
| | | @Override |
| | | public SvyLibException selectSvyLibExceptionByEcid(Long ecid) |
| | | { |
| | | return svyLibExceptionMapper.selectSvyLibExceptionByEcid(ecid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å¼å¸¸å表 |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return é®å·å¼å¸¸ |
| | | */ |
| | | @Override |
| | | public List<SvyLibException> selectSvyLibExceptionList(SvyLibException svyLibException) |
| | | { |
| | | return svyLibExceptionMapper.selectSvyLibExceptionList(svyLibException); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·å¼å¸¸ |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibException(SvyLibException svyLibException) |
| | | { |
| | | svyLibException.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibExceptionMapper.insertSvyLibException(svyLibException); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·å¼å¸¸ |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibException(SvyLibException svyLibException) |
| | | { |
| | | svyLibException.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibExceptionMapper.updateSvyLibException(svyLibException); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·å¼å¸¸ |
| | | * |
| | | * @param ecids éè¦å é¤çé®å·å¼å¸¸ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibExceptionByEcids(Long[] ecids) |
| | | { |
| | | return svyLibExceptionMapper.deleteSvyLibExceptionByEcids(ecids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·å¼å¸¸ä¿¡æ¯ |
| | | * |
| | | * @param ecid é®å·å¼å¸¸ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibExceptionByEcid(Long ecid) |
| | | { |
| | | return svyLibExceptionMapper.deleteSvyLibExceptionByEcid(ecid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyLibResultMapper; |
| | | import com.smartor.domain.SvyLibResult; |
| | | import com.smartor.service.ISvyLibResultService; |
| | | |
| | | /** |
| | | * é®å·ç»æServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Service |
| | | public class SvyLibResultServiceImpl implements ISvyLibResultService |
| | | { |
| | | @Autowired |
| | | private SvyLibResultMapper svyLibResultMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·ç»æ |
| | | * |
| | | * @param resultid é®å·ç»æä¸»é® |
| | | * @return é®å·ç»æ |
| | | */ |
| | | @Override |
| | | public SvyLibResult selectSvyLibResultByResultid(Long resultid) |
| | | { |
| | | return svyLibResultMapper.selectSvyLibResultByResultid(resultid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·ç»æå表 |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return é®å·ç»æ |
| | | */ |
| | | @Override |
| | | public List<SvyLibResult> selectSvyLibResultList(SvyLibResult svyLibResult) |
| | | { |
| | | return svyLibResultMapper.selectSvyLibResultList(svyLibResult); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·ç»æ |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibResult(SvyLibResult svyLibResult) |
| | | { |
| | | svyLibResult.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibResultMapper.insertSvyLibResult(svyLibResult); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·ç»æ |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibResult(SvyLibResult svyLibResult) |
| | | { |
| | | svyLibResult.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibResultMapper.updateSvyLibResult(svyLibResult); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·ç»æ |
| | | * |
| | | * @param resultids éè¦å é¤çé®å·ç»æä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibResultByResultids(Long[] resultids) |
| | | { |
| | | return svyLibResultMapper.deleteSvyLibResultByResultids(resultids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·ç»æä¿¡æ¯ |
| | | * |
| | | * @param resultid é®å·ç»æä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibResultByResultid(Long resultid) |
| | | { |
| | | return svyLibResultMapper.deleteSvyLibResultByResultid(resultid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyLibTitleMapper; |
| | | import com.smartor.domain.SvyLibTitle; |
| | | import com.smartor.service.ISvyLibTitleService; |
| | | |
| | | /** |
| | | * é®å·Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Service |
| | | public class SvyLibTitleServiceImpl implements ISvyLibTitleService |
| | | { |
| | | @Autowired |
| | | private SvyLibTitleMapper svyLibTitleMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å· |
| | | * |
| | | * @param svyid é®å·ä¸»é® |
| | | * @return é®å· |
| | | */ |
| | | @Override |
| | | public SvyLibTitle selectSvyLibTitleBySvyid(Long svyid) |
| | | { |
| | | return svyLibTitleMapper.selectSvyLibTitleBySvyid(svyid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å表 |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return é®å· |
| | | */ |
| | | @Override |
| | | public List<SvyLibTitle> selectSvyLibTitleList(SvyLibTitle svyLibTitle) |
| | | { |
| | | return svyLibTitleMapper.selectSvyLibTitleList(svyLibTitle); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibTitle(SvyLibTitle svyLibTitle) |
| | | { |
| | | svyLibTitle.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibTitleMapper.insertSvyLibTitle(svyLibTitle); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibTitle(SvyLibTitle svyLibTitle) |
| | | { |
| | | svyLibTitle.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibTitleMapper.updateSvyLibTitle(svyLibTitle); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å· |
| | | * |
| | | * @param svyids éè¦å é¤çé®å·ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTitleBySvyids(Long[] svyids) |
| | | { |
| | | return svyLibTitleMapper.deleteSvyLibTitleBySvyids(svyids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·ä¿¡æ¯ |
| | | * |
| | | * @param svyid é®å·ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTitleBySvyid(Long svyid) |
| | | { |
| | | return svyLibTitleMapper.deleteSvyLibTitleBySvyid(svyid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyLibTopicMapper; |
| | | import com.smartor.domain.SvyLibTopic; |
| | | import com.smartor.service.ISvyLibTopicService; |
| | | |
| | | /** |
| | | * é®å·é¢ç®Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Service |
| | | public class SvyLibTopicServiceImpl implements ISvyLibTopicService |
| | | { |
| | | @Autowired |
| | | private SvyLibTopicMapper svyLibTopicMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç® |
| | | * |
| | | * @param topicid é®å·é¢ç®ä¸»é® |
| | | * @return é®å·é¢ç® |
| | | */ |
| | | @Override |
| | | public SvyLibTopic selectSvyLibTopicByTopicid(Long topicid) |
| | | { |
| | | return svyLibTopicMapper.selectSvyLibTopicByTopicid(topicid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®å表 |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return é®å·é¢ç® |
| | | */ |
| | | @Override |
| | | public List<SvyLibTopic> selectSvyLibTopicList(SvyLibTopic svyLibTopic) |
| | | { |
| | | return svyLibTopicMapper.selectSvyLibTopicList(svyLibTopic); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·é¢ç® |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibTopic(SvyLibTopic svyLibTopic) |
| | | { |
| | | svyLibTopic.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibTopicMapper.insertSvyLibTopic(svyLibTopic); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç® |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibTopic(SvyLibTopic svyLibTopic) |
| | | { |
| | | svyLibTopic.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibTopicMapper.updateSvyLibTopic(svyLibTopic); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é¢ç® |
| | | * |
| | | * @param topicids éè¦å é¤çé®å·é¢ç®ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTopicByTopicids(Long[] topicids) |
| | | { |
| | | return svyLibTopicMapper.deleteSvyLibTopicByTopicids(topicids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·é¢ç®ä¿¡æ¯ |
| | | * |
| | | * @param topicid é®å·é¢ç®ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTopicByTopicid(Long topicid) |
| | | { |
| | | return svyLibTopicMapper.deleteSvyLibTopicByTopicid(topicid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyLibTopicoptionMapper; |
| | | import com.smartor.domain.SvyLibTopicoption; |
| | | import com.smartor.service.ISvyLibTopicoptionService; |
| | | |
| | | /** |
| | | * é®å·é®é¢é项Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Service |
| | | public class SvyLibTopicoptionServiceImpl implements ISvyLibTopicoptionService |
| | | { |
| | | @Autowired |
| | | private SvyLibTopicoptionMapper svyLibTopicoptionMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢é项 |
| | | * |
| | | * @param optionid é®å·é®é¢éé¡¹ä¸»é® |
| | | * @return é®å·é®é¢é项 |
| | | */ |
| | | @Override |
| | | public SvyLibTopicoption selectSvyLibTopicoptionByOptionid(Long optionid) |
| | | { |
| | | return svyLibTopicoptionMapper.selectSvyLibTopicoptionByOptionid(optionid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢é项å表 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return é®å·é®é¢é项 |
| | | */ |
| | | @Override |
| | | public List<SvyLibTopicoption> selectSvyLibTopicoptionList(SvyLibTopicoption svyLibTopicoption) |
| | | { |
| | | return svyLibTopicoptionMapper.selectSvyLibTopicoptionList(svyLibTopicoption); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·é®é¢é项 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibTopicoption(SvyLibTopicoption svyLibTopicoption) |
| | | { |
| | | svyLibTopicoption.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibTopicoptionMapper.insertSvyLibTopicoption(svyLibTopicoption); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é®é¢é项 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibTopicoption(SvyLibTopicoption svyLibTopicoption) |
| | | { |
| | | svyLibTopicoption.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibTopicoptionMapper.updateSvyLibTopicoption(svyLibTopicoption); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é®é¢é项 |
| | | * |
| | | * @param optionids éè¦å é¤çé®å·é®é¢éé¡¹ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTopicoptionByOptionids(Long[] optionids) |
| | | { |
| | | return svyLibTopicoptionMapper.deleteSvyLibTopicoptionByOptionids(optionids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·é®é¢éé¡¹ä¿¡æ¯ |
| | | * |
| | | * @param optionid é®å·é®é¢éé¡¹ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTopicoptionByOptionid(Long optionid) |
| | | { |
| | | return svyLibTopicoptionMapper.deleteSvyLibTopicoptionByOptionid(optionid); |
| | | } |
| | | } |
| | |
| | | <mapper namespace="com.smartor.mapper.PatArchiveMapper"> |
| | | |
| | | <resultMap type="PatArchive" id="PatArchiveResult"> |
| | | <result property="PatID" column="PatID" /> |
| | | <result property="Name" column="Name" /> |
| | | <result property="Gender" column="Gender" /> |
| | | <result property="PapersNumber" column="PapersNumber" /> |
| | | <result property="BirthDate" column="BirthDate" /> |
| | | <result property="Source" column="Source" /> |
| | | <result property="MakeArchiveTime" column="MakeArchiveTime" /> |
| | | <result property="MakeArchivePeople" column="MakeArchivePeople" /> |
| | | <result property="MobileNumberCode" column="MobileNumberCode" /> |
| | | <result property="RelativesNumber" column="RelativesNumber" /> |
| | | <result property="PapersType" column="PapersType" /> |
| | | <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="Age" column="Age" /> |
| | | <result property="OpenId" column="OpenId" /> |
| | | </resultMap> |
| | | |
| | | <resultMap id="PatArchivePatMedOuthospResult" type="PatArchive" extends="PatArchiveResult"> |
| | | <collection property="patMedOuthospList" notNullColumn="sub_ID" javaType="java.util.List" resultMap="PatMedOuthospResult" /> |
| | | </resultMap> |
| | | |
| | | <resultMap type="PatMedOuthosp" id="PatMedOuthospResult"> |
| | | <result property="ID" column="sub_ID" /> |
| | | <result property="SerialNum" column="sub_SerialNum" /> |
| | | <result property="PatID" column="sub_PatID" /> |
| | | <result property="HospitalName" column="sub_HospitalName" /> |
| | | <result property="HospitalCode" column="sub_HospitalCode" /> |
| | | <result property="Icd10Code" column="sub_Icd10Code" /> |
| | | <result property="DiagName" column="sub_DiagName" /> |
| | | <result property="DeptCode" column="sub_DeptCode" /> |
| | | <result property="DeptName" column="sub_DeptName" /> |
| | | <result property="DrCode" column="sub_DrCode" /> |
| | | <result property="DrName" column="sub_DrName" /> |
| | | <result property="AdmitDate" column="sub_AdmitDate" /> |
| | | <result property="OrgID" column="sub_OrgID" /> |
| | | <result property="delFlag" column="sub_Del_Flag" /> |
| | | <result property="updateBy" column="sub_Update_By" /> |
| | | <result property="updateTime" column="sub_Update_Time" /> |
| | | <result property="createBy" column="sub_Create_By" /> |
| | | <result property="createTime" column="sub_Create_Time" /> |
| | | <result property="IsUpload" column="sub_IsUpload" /> |
| | | <result property="uploadTime" column="sub_Upload_Time" /> |
| | | <result property="SchemeStatus" column="sub_SchemeStatus" /> |
| | | <result property="DeptID" column="sub_DeptID" /> |
| | | <result property="SchemeTime" column="sub_SchemeTime" /> |
| | | <result property="HPI" column="sub_HPI" /> |
| | | <result property="MainSuit" column="sub_MainSuit" /> |
| | | <result property="patid" column="patid" /> |
| | | <result property="name" column="name" /> |
| | | <result property="sex" column="sex" /> |
| | | <result property="iccardno" column="iccardno" /> |
| | | <result property="birthdate" column="birthdate" /> |
| | | <result property="age" column="age" /> |
| | | <result property="source" column="source" /> |
| | | <result property="archivetime" column="archivetime" /> |
| | | <result property="archiveby" column="archiveby" /> |
| | | <result property="telcode" column="telcode" /> |
| | | <result property="relativetelcode" column="relativetelcode" /> |
| | | <result property="iccardtype" column="iccardtype" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="openid" column="openid" /> |
| | | <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> |
| | | |
| | | <sql id="selectPatArchiveVo"> |
| | | select PatID, Name, Gender, PapersNumber, BirthDate, Source, MakeArchiveTime, MakeArchivePeople, MobileNumberCode, RelativesNumber, PapersType, OrgID, Del_Flag, Update_By, Update_Time, Create_By, Create_Time, IsUpload, Upload_Time, Age, OpenId from pat_archive |
| | | select patid, name, sex, iccardno, birthdate, age, source, archivetime, archiveby, telcode, relativetelcode, iccardtype, orgid, openid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from pat_archive |
| | | </sql> |
| | | |
| | | <select id="selectPatArchiveList" parameterType="PatArchive" resultMap="PatArchiveResult"> |
| | | <include refid="selectPatArchiveVo"/> |
| | | <where> |
| | | <if test="Name != null and Name != ''"> and Name like concat('%', #{Name}, '%')</if> |
| | | <if test="PapersNumber != null and PapersNumber != ''"> and PapersNumber = #{PapersNumber}</if> |
| | | <if test="Source != null "> and Source = #{Source}</if> |
| | | <if test="MobileNumberCode != null and MobileNumberCode != ''"> and MobileNumberCode = #{MobileNumberCode}</if> |
| | | <if test="OrgID != null and OrgID != ''"> and OrgID = #{OrgID}</if> |
| | | <if test="delFlag != null and delFlag != ''"> and Del_Flag = #{delFlag}</if> |
| | | <if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if> |
| | | <if test="iccardno != null and iccardno != ''"> and iccardno = #{iccardno}</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> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatArchiveByPatID" parameterType="Long" resultMap="PatArchivePatMedOuthospResult"> |
| | | select a.PatID, a.Name, a.Gender, a.PapersNumber, a.BirthDate, a.Source, a.MakeArchiveTime, a.MakeArchivePeople, a.MobileNumberCode, a.RelativesNumber, a.PapersType, a.OrgID, a.Del_Flag, a.Update_By, a.Update_Time, a.Create_By, a.Create_Time, a.IsUpload, a.Upload_Time, a.Age, a.OpenId, |
| | | b.ID as sub_ID, b.SerialNum as sub_SerialNum, b.PatID as sub_PatID, b.HospitalName as sub_HospitalName, b.HospitalCode as sub_HospitalCode, b.Icd10Code as sub_Icd10Code, b.DiagName as sub_DiagName, b.DeptCode as sub_DeptCode, b.DeptName as sub_DeptName, b.DrCode as sub_DrCode, b.DrName as sub_DrName, b.AdmitDate as sub_AdmitDate, b.OrgID as sub_OrgID, b.Del_Flag as sub_Del_Flag, b.Update_By as sub_Update_By, b.Update_Time as sub_Update_Time, b.Create_By as sub_Create_By, b.Create_Time as sub_Create_Time, b.IsUpload as sub_IsUpload, b.Upload_Time as sub_Upload_Time, b.SchemeStatus as sub_SchemeStatus, b.DeptID as sub_DeptID, b.SchemeTime as sub_SchemeTime, b.HPI as sub_HPI, b.MainSuit as sub_MainSuit |
| | | from pat_archive a |
| | | left join pat_med_outhosp b on b.PatID = a.PatID |
| | | where a.PatID = #{PatID} |
| | | <select id="selectPatArchiveByPatid" parameterType="Long" resultMap="PatArchiveResult"> |
| | | <include refid="selectPatArchiveVo"/> |
| | | where patid = #{patid} |
| | | </select> |
| | | |
| | | <insert id="insertPatArchive" parameterType="PatArchive" useGeneratedKeys="true" keyProperty="PatID"> |
| | | <insert id="insertPatArchive" parameterType="PatArchive" useGeneratedKeys="true" keyProperty="patid"> |
| | | insert into pat_archive |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="Name != null">Name,</if> |
| | | <if test="Gender != null">Gender,</if> |
| | | <if test="PapersNumber != null">PapersNumber,</if> |
| | | <if test="BirthDate != null">BirthDate,</if> |
| | | <if test="Source != null">Source,</if> |
| | | <if test="MakeArchiveTime != null">MakeArchiveTime,</if> |
| | | <if test="MakeArchivePeople != null">MakeArchivePeople,</if> |
| | | <if test="MobileNumberCode != null">MobileNumberCode,</if> |
| | | <if test="RelativesNumber != null">RelativesNumber,</if> |
| | | <if test="PapersType != null">PapersType,</if> |
| | | <if test="OrgID != null">OrgID,</if> |
| | | <if test="delFlag != null and delFlag != ''">Del_Flag,</if> |
| | | <if test="updateBy != null">Update_By,</if> |
| | | <if test="updateTime != null">Update_Time,</if> |
| | | <if test="createBy != null">Create_By,</if> |
| | | <if test="createTime != null">Create_Time,</if> |
| | | <if test="IsUpload != null">IsUpload,</if> |
| | | <if test="uploadTime != null">Upload_Time,</if> |
| | | <if test="Age != null">Age,</if> |
| | | <if test="OpenId != null">OpenId,</if> |
| | | <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="Gender != null">#{Gender},</if> |
| | | <if test="PapersNumber != null">#{PapersNumber},</if> |
| | | <if test="BirthDate != null">#{BirthDate},</if> |
| | | <if test="Source != null">#{Source},</if> |
| | | <if test="MakeArchiveTime != null">#{MakeArchiveTime},</if> |
| | | <if test="MakeArchivePeople != null">#{MakeArchivePeople},</if> |
| | | <if test="MobileNumberCode != null">#{MobileNumberCode},</if> |
| | | <if test="RelativesNumber != null">#{RelativesNumber},</if> |
| | | <if test="PapersType != null">#{PapersType},</if> |
| | | <if test="OrgID != null">#{OrgID},</if> |
| | | <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="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="Age != null">#{Age},</if> |
| | | <if test="OpenId != null">#{OpenId},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatArchive" parameterType="PatArchive"> |
| | | update pat_archive |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="Name != null">Name = #{Name},</if> |
| | | <if test="Gender != null">Gender = #{Gender},</if> |
| | | <if test="PapersNumber != null">PapersNumber = #{PapersNumber},</if> |
| | | <if test="BirthDate != null">BirthDate = #{BirthDate},</if> |
| | | <if test="Source != null">Source = #{Source},</if> |
| | | <if test="MakeArchiveTime != null">MakeArchiveTime = #{MakeArchiveTime},</if> |
| | | <if test="MakeArchivePeople != null">MakeArchivePeople = #{MakeArchivePeople},</if> |
| | | <if test="MobileNumberCode != null">MobileNumberCode = #{MobileNumberCode},</if> |
| | | <if test="RelativesNumber != null">RelativesNumber = #{RelativesNumber},</if> |
| | | <if test="PapersType != null">PapersType = #{PapersType},</if> |
| | | <if test="OrgID != null">OrgID = #{OrgID},</if> |
| | | <if test="delFlag != null and delFlag != ''">Del_Flag = #{delFlag},</if> |
| | | <if test="updateBy != null">Update_By = #{updateBy},</if> |
| | | <if test="updateTime != null">Update_Time = #{updateTime},</if> |
| | | <if test="createBy != null">Create_By = #{createBy},</if> |
| | | <if test="createTime != null">Create_Time = #{createTime},</if> |
| | | <if test="IsUpload != null">IsUpload = #{IsUpload},</if> |
| | | <if test="uploadTime != null">Upload_Time = #{uploadTime},</if> |
| | | <if test="Age != null">Age = #{Age},</if> |
| | | <if test="OpenId != null">OpenId = #{OpenId},</if> |
| | | <if test="name != null">name = #{name},</if> |
| | | <if test="sex != null">sex = #{sex},</if> |
| | | <if test="iccardno != null">iccardno = #{iccardno},</if> |
| | | <if test="birthdate != null">birthdate = #{birthdate},</if> |
| | | <if test="age != null">age = #{age},</if> |
| | | <if test="source != null">source = #{source},</if> |
| | | <if test="archivetime != null">archivetime = #{archivetime},</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="orgid != null">orgid = #{orgid},</if> |
| | | <if test="openid != null">openid = #{openid},</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> |
| | | </trim> |
| | | where PatID = #{PatID} |
| | | where patid = #{patid} |
| | | </update> |
| | | |
| | | <delete id="deletePatArchiveByPatID" parameterType="Long"> |
| | | delete from pat_archive where PatID = #{PatID} |
| | | <delete id="deletePatArchiveByPatid" parameterType="Long"> |
| | | delete from pat_archive where patid = #{patid} |
| | | </delete> |
| | | |
| | | <delete id="deletePatArchiveByPatIDs" parameterType="String"> |
| | | delete from pat_archive where PatID in |
| | | <foreach item="PatID" collection="array" open="(" separator="," close=")"> |
| | | #{PatID} |
| | | <delete id="deletePatArchiveByPatids" parameterType="String"> |
| | | delete from pat_archive where patid in |
| | | <foreach item="patid" collection="array" open="(" separator="," close=")"> |
| | | #{patid} |
| | | </foreach> |
| | | </delete> |
| | | |
| | | <delete id="deletePatMedOuthospByPatIDs" parameterType="String"> |
| | | delete from pat_med_outhosp where PatID in |
| | | <foreach item="patID" collection="array" open="(" separator="," close=")"> |
| | | #{patID} |
| | | </foreach> |
| | | </delete> |
| | | |
| | | <delete id="deletePatMedOuthospByPatID" parameterType="Long"> |
| | | delete from pat_med_outhosp where PatID = #{patID} |
| | | </delete> |
| | | |
| | | <insert id="batchPatMedOuthosp"> |
| | | insert into pat_med_outhosp( ID, SerialNum, PatID, HospitalName, HospitalCode, Icd10Code, DiagName, DeptCode, DeptName, DrCode, DrName, AdmitDate, OrgID, Del_Flag, Update_By, Update_Time, Create_By, Create_Time, IsUpload, Upload_Time, SchemeStatus, DeptID, SchemeTime, HPI, MainSuit) values |
| | | <foreach item="item" index="index" collection="list" separator=","> |
| | | ( #{item.ID}, #{item.SerialNum}, #{item.PatID}, #{item.HospitalName}, #{item.HospitalCode}, #{item.Icd10Code}, #{item.DiagName}, #{item.DeptCode}, #{item.DeptName}, #{item.DrCode}, #{item.DrName}, #{item.AdmitDate}, #{item.OrgID}, #{item.delFlag}, #{item.updateBy}, #{item.updateTime}, #{item.createBy}, #{item.createTime}, #{item.IsUpload}, #{item.uploadTime}, #{item.SchemeStatus}, #{item.DeptID}, #{item.SchemeTime}, #{item.HPI}, #{item.MainSuit}) |
| | | </foreach> |
| | | </insert> |
| | | </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.SvyCategoryMapper"> |
| | | |
| | | <resultMap type="SvyCategory" id="SvyCategoryResult"> |
| | | <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> |
| | | |
| | | <sql id="selectSvyCategoryVo"> |
| | | select id, categoryname, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from svy_category |
| | | </sql> |
| | | |
| | | <select id="selectSvyCategoryList" parameterType="SvyCategory" resultMap="SvyCategoryResult"> |
| | | <include refid="selectSvyCategoryVo"/> |
| | | <where> |
| | | <if test="categoryname != null and categoryname != ''"> and categoryname like concat('%', #{categoryname}, '%')</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyCategoryById" parameterType="Long" resultMap="SvyCategoryResult"> |
| | | <include refid="selectSvyCategoryVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertSvyCategory" parameterType="SvyCategory" useGeneratedKeys="true" keyProperty="id"> |
| | | insert into svy_category |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="categoryname != null">categoryname,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="categoryname != null">#{categoryname},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyCategory" parameterType="SvyCategory"> |
| | | update svy_category |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="categoryname != null">categoryname = #{categoryname},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyCategoryById" parameterType="Long"> |
| | | delete from svy_category where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyCategoryByIds" parameterType="String"> |
| | | delete from svy_category where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.SvyLibExceptionMapper"> |
| | | |
| | | <resultMap type="SvyLibException" id="SvyLibExceptionResult"> |
| | | <result property="ecid" column="ecid" /> |
| | | <result property="oldid" column="oldid" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="questionoptionid" column="questionoptionid" /> |
| | | <result property="topicid" column="topicid" /> |
| | | <result property="psqid" column="psqid" /> |
| | | <result property="orand" column="orand" /> |
| | | <result property="ruleverify" column="ruleverify" /> |
| | | <result property="ruleconditions" column="ruleconditions" /> |
| | | <result property="rulecontent" column="rulecontent" /> |
| | | <result property="groupnumber" column="groupnumber" /> |
| | | <result property="grouporand" column="grouporand" /> |
| | | <result property="number" column="number" /> |
| | | <result property="istrack" column="istrack" /> |
| | | <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> |
| | | |
| | | <sql id="selectSvyLibExceptionVo"> |
| | | select ecid, oldid, orgid, questionoptionid, topicid, psqid, orand, ruleverify, ruleconditions, rulecontent, groupnumber, grouporand, number, istrack, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from svy_lib_exception |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibExceptionList" parameterType="SvyLibException" resultMap="SvyLibExceptionResult"> |
| | | <include refid="selectSvyLibExceptionVo"/> |
| | | <where> |
| | | <if test="oldid != null "> and oldid = #{oldid}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <if test="questionoptionid != null "> and questionoptionid = #{questionoptionid}</if> |
| | | <if test="topicid != null "> and topicid = #{topicid}</if> |
| | | <if test="psqid != null "> and psqid = #{psqid}</if> |
| | | <if test="orand != null "> and orand = #{orand}</if> |
| | | <if test="ruleverify != null and ruleverify != ''"> and ruleverify = #{ruleverify}</if> |
| | | <if test="ruleconditions != null and ruleconditions != ''"> and ruleconditions = #{ruleconditions}</if> |
| | | <if test="rulecontent != null and rulecontent != ''"> and rulecontent = #{rulecontent}</if> |
| | | <if test="groupnumber != null "> and groupnumber = #{groupnumber}</if> |
| | | <if test="grouporand != null "> and grouporand = #{grouporand}</if> |
| | | <if test="number != null "> and number = #{number}</if> |
| | | <if test="istrack != null "> and istrack = #{istrack}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibExceptionByEcid" parameterType="Long" resultMap="SvyLibExceptionResult"> |
| | | <include refid="selectSvyLibExceptionVo"/> |
| | | where ecid = #{ecid} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibException" parameterType="SvyLibException" useGeneratedKeys="true" keyProperty="ecid"> |
| | | insert into svy_lib_exception |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="oldid != null">oldid,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="questionoptionid != null">questionoptionid,</if> |
| | | <if test="topicid != null">topicid,</if> |
| | | <if test="psqid != null">psqid,</if> |
| | | <if test="orand != null">orand,</if> |
| | | <if test="ruleverify != null">ruleverify,</if> |
| | | <if test="ruleconditions != null">ruleconditions,</if> |
| | | <if test="rulecontent != null">rulecontent,</if> |
| | | <if test="groupnumber != null">groupnumber,</if> |
| | | <if test="grouporand != null">grouporand,</if> |
| | | <if test="number != null">number,</if> |
| | | <if test="istrack != null">istrack,</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="oldid != null">#{oldid},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="questionoptionid != null">#{questionoptionid},</if> |
| | | <if test="topicid != null">#{topicid},</if> |
| | | <if test="psqid != null">#{psqid},</if> |
| | | <if test="orand != null">#{orand},</if> |
| | | <if test="ruleverify != null">#{ruleverify},</if> |
| | | <if test="ruleconditions != null">#{ruleconditions},</if> |
| | | <if test="rulecontent != null">#{rulecontent},</if> |
| | | <if test="groupnumber != null">#{groupnumber},</if> |
| | | <if test="grouporand != null">#{grouporand},</if> |
| | | <if test="number != null">#{number},</if> |
| | | <if test="istrack != null">#{istrack},</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> |
| | | |
| | | <update id="updateSvyLibException" parameterType="SvyLibException"> |
| | | update svy_lib_exception |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="oldid != null">oldid = #{oldid},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="questionoptionid != null">questionoptionid = #{questionoptionid},</if> |
| | | <if test="topicid != null">topicid = #{topicid},</if> |
| | | <if test="psqid != null">psqid = #{psqid},</if> |
| | | <if test="orand != null">orand = #{orand},</if> |
| | | <if test="ruleverify != null">ruleverify = #{ruleverify},</if> |
| | | <if test="ruleconditions != null">ruleconditions = #{ruleconditions},</if> |
| | | <if test="rulecontent != null">rulecontent = #{rulecontent},</if> |
| | | <if test="groupnumber != null">groupnumber = #{groupnumber},</if> |
| | | <if test="grouporand != null">grouporand = #{grouporand},</if> |
| | | <if test="number != null">number = #{number},</if> |
| | | <if test="istrack != null">istrack = #{istrack},</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> |
| | | </trim> |
| | | where ecid = #{ecid} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibExceptionByEcid" parameterType="Long"> |
| | | delete from svy_lib_exception where ecid = #{ecid} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyLibExceptionByEcids" parameterType="String"> |
| | | delete from svy_lib_exception where ecid in |
| | | <foreach item="ecid" collection="array" open="(" separator="," close=")"> |
| | | #{ecid} |
| | | </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.SvyLibResultMapper"> |
| | | |
| | | <resultMap type="SvyLibResult" id="SvyLibResultResult"> |
| | | <result property="resultid" column="resultid" /> |
| | | <result property="svyid" column="svyid" /> |
| | | <result property="resultcontent" column="resultcontent" /> |
| | | <result property="orand" column="orand" /> |
| | | <result property="isshowscore" column="isshowscore" /> |
| | | <result property="sort" column="sort" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibResultVo"> |
| | | select resultid, svyid, resultcontent, orand, isshowscore, sort, orgid, del_flag, create_by, create_time, update_by, update_time, isupload, upload_time from svy_lib_result |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibResultList" parameterType="SvyLibResult" resultMap="SvyLibResultResult"> |
| | | <include refid="selectSvyLibResultVo"/> |
| | | <where> |
| | | <if test="svyid != null "> and svyid = #{svyid}</if> |
| | | <if test="resultcontent != null and resultcontent != ''"> and resultcontent = #{resultcontent}</if> |
| | | <if test="orand != null "> and orand = #{orand}</if> |
| | | <if test="isshowscore != null "> and isshowscore = #{isshowscore}</if> |
| | | <if test="sort != null "> and sort = #{sort}</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> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibResultByResultid" parameterType="Long" resultMap="SvyLibResultResult"> |
| | | <include refid="selectSvyLibResultVo"/> |
| | | where resultid = #{resultid} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibResult" parameterType="SvyLibResult" useGeneratedKeys="true" keyProperty="resultid"> |
| | | insert into svy_lib_result |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="svyid != null">svyid,</if> |
| | | <if test="resultcontent != null">resultcontent,</if> |
| | | <if test="orand != null">orand,</if> |
| | | <if test="isshowscore != null">isshowscore,</if> |
| | | <if test="sort != null">sort,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="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> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="svyid != null">#{svyid},</if> |
| | | <if test="resultcontent != null">#{resultcontent},</if> |
| | | <if test="orand != null">#{orand},</if> |
| | | <if test="isshowscore != null">#{isshowscore},</if> |
| | | <if test="sort != null">#{sort},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibResult" parameterType="SvyLibResult"> |
| | | update svy_lib_result |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="svyid != null">svyid = #{svyid},</if> |
| | | <if test="resultcontent != null">resultcontent = #{resultcontent},</if> |
| | | <if test="orand != null">orand = #{orand},</if> |
| | | <if test="isshowscore != null">isshowscore = #{isshowscore},</if> |
| | | <if test="sort != null">sort = #{sort},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="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> |
| | | </trim> |
| | | where resultid = #{resultid} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibResultByResultid" parameterType="Long"> |
| | | delete from svy_lib_result where resultid = #{resultid} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyLibResultByResultids" parameterType="String"> |
| | | delete from svy_lib_result where resultid in |
| | | <foreach item="resultid" collection="array" open="(" separator="," close=")"> |
| | | #{resultid} |
| | | </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.SvyLibTitleMapper"> |
| | | |
| | | <resultMap type="SvyLibTitle" id="SvyLibTitleResult"> |
| | | <result property="svyid" column="svyid" /> |
| | | <result property="categoryid" column="categoryid" /> |
| | | <result property="svycode" column="svycode" /> |
| | | <result property="svyname" column="svyname" /> |
| | | <result property="description" column="description" /> |
| | | <result property="introduce" column="introduce" /> |
| | | <result property="submitprompt" column="submitprompt" /> |
| | | <result property="templateid" column="templateid" /> |
| | | <result property="version" column="version" /> |
| | | <result property="centerlibrarycode" column="centerlibrarycode" /> |
| | | <result property="centerlibraryid" column="centerlibraryid" /> |
| | | <result property="islocal" column="islocal" /> |
| | | <result property="isenable" column="isenable" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTitleVo"> |
| | | select svyid, categoryid, svycode, svyname, description, introduce, submitprompt, templateid, version, centerlibrarycode, centerlibraryid, islocal, isenable, orgid, del_flag, create_by, create_time, update_by, update_time, isupload, upload_time from svy_lib_title |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibTitleList" parameterType="SvyLibTitle" resultMap="SvyLibTitleResult"> |
| | | <include refid="selectSvyLibTitleVo"/> |
| | | <where> |
| | | <if test="categoryid != null "> and categoryid = #{categoryid}</if> |
| | | <if test="svycode != null and svycode != ''"> and svycode = #{svycode}</if> |
| | | <if test="svyname != null and svyname != ''"> and svyname like concat('%', #{svyname}, '%')</if> |
| | | <if test="description != null and description != ''"> and description = #{description}</if> |
| | | <if test="introduce != null and introduce != ''"> and introduce = #{introduce}</if> |
| | | <if test="submitprompt != null and submitprompt != ''"> and submitprompt = #{submitprompt}</if> |
| | | <if test="templateid != null "> and templateid = #{templateid}</if> |
| | | <if test="version != null "> and version = #{version}</if> |
| | | <if test="centerlibrarycode != null and centerlibrarycode != ''"> and centerlibrarycode = #{centerlibrarycode}</if> |
| | | <if test="centerlibraryid != null "> and centerlibraryid = #{centerlibraryid}</if> |
| | | <if test="islocal != null "> and islocal = #{islocal}</if> |
| | | <if test="isenable != null "> and isenable = #{isenable}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibTitleBySvyid" parameterType="Long" resultMap="SvyLibTitleResult"> |
| | | <include refid="selectSvyLibTitleVo"/> |
| | | where svyid = #{svyid} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibTitle" parameterType="SvyLibTitle" useGeneratedKeys="true" keyProperty="svyid"> |
| | | insert into svy_lib_title |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="categoryid != null">categoryid,</if> |
| | | <if test="svycode != null">svycode,</if> |
| | | <if test="svyname != null">svyname,</if> |
| | | <if test="description != null">description,</if> |
| | | <if test="introduce != null">introduce,</if> |
| | | <if test="submitprompt != null">submitprompt,</if> |
| | | <if test="templateid != null">templateid,</if> |
| | | <if test="version != null">version,</if> |
| | | <if test="centerlibrarycode != null">centerlibrarycode,</if> |
| | | <if test="centerlibraryid != null">centerlibraryid,</if> |
| | | <if test="islocal != null">islocal,</if> |
| | | <if test="isenable != null">isenable,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="categoryid != null">#{categoryid},</if> |
| | | <if test="svycode != null">#{svycode},</if> |
| | | <if test="svyname != null">#{svyname},</if> |
| | | <if test="description != null">#{description},</if> |
| | | <if test="introduce != null">#{introduce},</if> |
| | | <if test="submitprompt != null">#{submitprompt},</if> |
| | | <if test="templateid != null">#{templateid},</if> |
| | | <if test="version != null">#{version},</if> |
| | | <if test="centerlibrarycode != null">#{centerlibrarycode},</if> |
| | | <if test="centerlibraryid != null">#{centerlibraryid},</if> |
| | | <if test="islocal != null">#{islocal},</if> |
| | | <if test="isenable != null">#{isenable},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibTitle" parameterType="SvyLibTitle"> |
| | | update svy_lib_title |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="categoryid != null">categoryid = #{categoryid},</if> |
| | | <if test="svycode != null">svycode = #{svycode},</if> |
| | | <if test="svyname != null">svyname = #{svyname},</if> |
| | | <if test="description != null">description = #{description},</if> |
| | | <if test="introduce != null">introduce = #{introduce},</if> |
| | | <if test="submitprompt != null">submitprompt = #{submitprompt},</if> |
| | | <if test="templateid != null">templateid = #{templateid},</if> |
| | | <if test="version != null">version = #{version},</if> |
| | | <if test="centerlibrarycode != null">centerlibrarycode = #{centerlibrarycode},</if> |
| | | <if test="centerlibraryid != null">centerlibraryid = #{centerlibraryid},</if> |
| | | <if test="islocal != null">islocal = #{islocal},</if> |
| | | <if test="isenable != null">isenable = #{isenable},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | </trim> |
| | | where svyid = #{svyid} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibTitleBySvyid" parameterType="Long"> |
| | | delete from svy_lib_title where svyid = #{svyid} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyLibTitleBySvyids" parameterType="String"> |
| | | delete from svy_lib_title where svyid in |
| | | <foreach item="svyid" collection="array" open="(" separator="," close=")"> |
| | | #{svyid} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.SvyLibTopicMapper"> |
| | | |
| | | <resultMap type="SvyLibTopic" id="SvyLibTopicResult"> |
| | | <result property="topicid" column="topicid" /> |
| | | <result property="oldid" column="oldid" /> |
| | | <result property="svyid" column="svyid" /> |
| | | <result property="topictype" column="topictype" /> |
| | | <result property="topiccode" column="topiccode" /> |
| | | <result property="topic" column="topic" /> |
| | | <result property="sort" column="sort" /> |
| | | <result property="ismandatory" column="ismandatory" /> |
| | | <result property="ishide" column="ishide" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTopicVo"> |
| | | select topicid, oldid, svyid, topictype, topiccode, topic, sort, ismandatory, ishide, del_flag, orgid, create_by, create_time, update_by, update_time, isupload, upload_time from svy_lib_topic |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibTopicList" parameterType="SvyLibTopic" resultMap="SvyLibTopicResult"> |
| | | <include refid="selectSvyLibTopicVo"/> |
| | | <where> |
| | | <if test="oldid != null "> and oldid = #{oldid}</if> |
| | | <if test="svyid != null "> and svyid = #{svyid}</if> |
| | | <if test="topictype != null "> and topictype = #{topictype}</if> |
| | | <if test="topiccode != null and topiccode != ''"> and topiccode = #{topiccode}</if> |
| | | <if test="topic != null and topic != ''"> and topic = #{topic}</if> |
| | | <if test="sort != null "> and sort = #{sort}</if> |
| | | <if test="ismandatory != null "> and ismandatory = #{ismandatory}</if> |
| | | <if test="ishide != null "> and ishide = #{ishide}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibTopicByTopicid" parameterType="Long" resultMap="SvyLibTopicResult"> |
| | | <include refid="selectSvyLibTopicVo"/> |
| | | where topicid = #{topicid} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibTopic" parameterType="SvyLibTopic" useGeneratedKeys="true" keyProperty="topicid"> |
| | | insert into svy_lib_topic |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="oldid != null">oldid,</if> |
| | | <if test="svyid != null">svyid,</if> |
| | | <if test="topictype != null">topictype,</if> |
| | | <if test="topiccode != null">topiccode,</if> |
| | | <if test="topic != null">topic,</if> |
| | | <if test="sort != null">sort,</if> |
| | | <if test="ismandatory != null">ismandatory,</if> |
| | | <if test="ishide != null">ishide,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="oldid != null">#{oldid},</if> |
| | | <if test="svyid != null">#{svyid},</if> |
| | | <if test="topictype != null">#{topictype},</if> |
| | | <if test="topiccode != null">#{topiccode},</if> |
| | | <if test="topic != null">#{topic},</if> |
| | | <if test="sort != null">#{sort},</if> |
| | | <if test="ismandatory != null">#{ismandatory},</if> |
| | | <if test="ishide != null">#{ishide},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibTopic" parameterType="SvyLibTopic"> |
| | | update svy_lib_topic |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="oldid != null">oldid = #{oldid},</if> |
| | | <if test="svyid != null">svyid = #{svyid},</if> |
| | | <if test="topictype != null">topictype = #{topictype},</if> |
| | | <if test="topiccode != null">topiccode = #{topiccode},</if> |
| | | <if test="topic != null">topic = #{topic},</if> |
| | | <if test="sort != null">sort = #{sort},</if> |
| | | <if test="ismandatory != null">ismandatory = #{ismandatory},</if> |
| | | <if test="ishide != null">ishide = #{ishide},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | </trim> |
| | | where topicid = #{topicid} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibTopicByTopicid" parameterType="Long"> |
| | | delete from svy_lib_topic where topicid = #{topicid} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyLibTopicByTopicids" parameterType="String"> |
| | | delete from svy_lib_topic where topicid in |
| | | <foreach item="topicid" collection="array" open="(" separator="," close=")"> |
| | | #{topicid} |
| | | </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.SvyLibTopicoptionMapper"> |
| | | |
| | | <resultMap type="SvyLibTopicoption" id="SvyLibTopicoptionResult"> |
| | | <result property="optionid" column="optionid" /> |
| | | <result property="topicid" column="topicid" /> |
| | | <result property="svyid" column="svyid" /> |
| | | <result property="topictype" column="topictype" /> |
| | | <result property="optioncode" column="optioncode" /> |
| | | <result property="optioncontent" column="optioncontent" /> |
| | | <result property="isexistdetail" column="isexistdetail" /> |
| | | <result property="detailismandatory" column="detailismandatory" /> |
| | | <result property="isexceptionitem" column="isexceptionitem" /> |
| | | <result property="istrack" column="istrack" /> |
| | | <result property="score" column="score" /> |
| | | <result property="prompt" column="prompt" /> |
| | | <result property="jump" column="jump" /> |
| | | <result property="parentoptionid" column="parentoptionid" /> |
| | | <result property="ismutex" column="ismutex" /> |
| | | <result property="verifyrule" column="verifyrule" /> |
| | | <result property="sort" column="sort" /> |
| | | <result property="verificationtype" column="verificationtype" /> |
| | | <result property="isrange" column="isrange" /> |
| | | <result property="minrange" column="minrange" /> |
| | | <result property="maxrange" column="maxrange" /> |
| | | <result property="rangelength" column="rangelength" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="oldid" column="oldid" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTopicoptionVo"> |
| | | select optionid, topicid, svyid, topictype, optioncode, optioncontent, isexistdetail, detailismandatory, isexceptionitem, istrack, score, prompt, jump, parentoptionid, ismutex, verifyrule, sort, verificationtype, isrange, minrange, maxrange, rangelength, orgid, oldid, del_flag, create_by, create_time, update_by, update_time, isupload, upload_time from svy_lib_topicoption |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibTopicoptionList" parameterType="SvyLibTopicoption" resultMap="SvyLibTopicoptionResult"> |
| | | <include refid="selectSvyLibTopicoptionVo"/> |
| | | <where> |
| | | <if test="topicid != null "> and topicid = #{topicid}</if> |
| | | <if test="svyid != null "> and svyid = #{svyid}</if> |
| | | <if test="topictype != null "> and topictype = #{topictype}</if> |
| | | <if test="optioncode != null and optioncode != ''"> and optioncode = #{optioncode}</if> |
| | | <if test="optioncontent != null and optioncontent != ''"> and optioncontent = #{optioncontent}</if> |
| | | <if test="isexistdetail != null "> and isexistdetail = #{isexistdetail}</if> |
| | | <if test="detailismandatory != null "> and detailismandatory = #{detailismandatory}</if> |
| | | <if test="isexceptionitem != null "> and isexceptionitem = #{isexceptionitem}</if> |
| | | <if test="istrack != null "> and istrack = #{istrack}</if> |
| | | <if test="score != null "> and score = #{score}</if> |
| | | <if test="prompt != null and prompt != ''"> and prompt = #{prompt}</if> |
| | | <if test="jump != null and jump != ''"> and jump = #{jump}</if> |
| | | <if test="parentoptionid != null "> and parentoptionid = #{parentoptionid}</if> |
| | | <if test="ismutex != null "> and ismutex = #{ismutex}</if> |
| | | <if test="verifyrule != null and verifyrule != ''"> and verifyrule = #{verifyrule}</if> |
| | | <if test="sort != null "> and sort = #{sort}</if> |
| | | <if test="verificationtype != null "> and verificationtype = #{verificationtype}</if> |
| | | <if test="isrange != null "> and isrange = #{isrange}</if> |
| | | <if test="minrange != null and minrange != ''"> and minrange = #{minrange}</if> |
| | | <if test="maxrange != null and maxrange != ''"> and maxrange = #{maxrange}</if> |
| | | <if test="rangelength != null "> and rangelength = #{rangelength}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <if test="oldid != null "> and oldid = #{oldid}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibTopicoptionByOptionid" parameterType="Long" resultMap="SvyLibTopicoptionResult"> |
| | | <include refid="selectSvyLibTopicoptionVo"/> |
| | | where optionid = #{optionid} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibTopicoption" parameterType="SvyLibTopicoption" useGeneratedKeys="true" keyProperty="optionid"> |
| | | insert into svy_lib_topicoption |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="topicid != null">topicid,</if> |
| | | <if test="svyid != null">svyid,</if> |
| | | <if test="topictype != null">topictype,</if> |
| | | <if test="optioncode != null">optioncode,</if> |
| | | <if test="optioncontent != null">optioncontent,</if> |
| | | <if test="isexistdetail != null">isexistdetail,</if> |
| | | <if test="detailismandatory != null">detailismandatory,</if> |
| | | <if test="isexceptionitem != null">isexceptionitem,</if> |
| | | <if test="istrack != null">istrack,</if> |
| | | <if test="score != null">score,</if> |
| | | <if test="prompt != null">prompt,</if> |
| | | <if test="jump != null">jump,</if> |
| | | <if test="parentoptionid != null">parentoptionid,</if> |
| | | <if test="ismutex != null">ismutex,</if> |
| | | <if test="verifyrule != null">verifyrule,</if> |
| | | <if test="sort != null">sort,</if> |
| | | <if test="verificationtype != null">verificationtype,</if> |
| | | <if test="isrange != null">isrange,</if> |
| | | <if test="minrange != null">minrange,</if> |
| | | <if test="maxrange != null">maxrange,</if> |
| | | <if test="rangelength != null">rangelength,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="oldid != null">oldid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="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> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="topicid != null">#{topicid},</if> |
| | | <if test="svyid != null">#{svyid},</if> |
| | | <if test="topictype != null">#{topictype},</if> |
| | | <if test="optioncode != null">#{optioncode},</if> |
| | | <if test="optioncontent != null">#{optioncontent},</if> |
| | | <if test="isexistdetail != null">#{isexistdetail},</if> |
| | | <if test="detailismandatory != null">#{detailismandatory},</if> |
| | | <if test="isexceptionitem != null">#{isexceptionitem},</if> |
| | | <if test="istrack != null">#{istrack},</if> |
| | | <if test="score != null">#{score},</if> |
| | | <if test="prompt != null">#{prompt},</if> |
| | | <if test="jump != null">#{jump},</if> |
| | | <if test="parentoptionid != null">#{parentoptionid},</if> |
| | | <if test="ismutex != null">#{ismutex},</if> |
| | | <if test="verifyrule != null">#{verifyrule},</if> |
| | | <if test="sort != null">#{sort},</if> |
| | | <if test="verificationtype != null">#{verificationtype},</if> |
| | | <if test="isrange != null">#{isrange},</if> |
| | | <if test="minrange != null">#{minrange},</if> |
| | | <if test="maxrange != null">#{maxrange},</if> |
| | | <if test="rangelength != null">#{rangelength},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="oldid != null">#{oldid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibTopicoption" parameterType="SvyLibTopicoption"> |
| | | update svy_lib_topicoption |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="topicid != null">topicid = #{topicid},</if> |
| | | <if test="svyid != null">svyid = #{svyid},</if> |
| | | <if test="topictype != null">topictype = #{topictype},</if> |
| | | <if test="optioncode != null">optioncode = #{optioncode},</if> |
| | | <if test="optioncontent != null">optioncontent = #{optioncontent},</if> |
| | | <if test="isexistdetail != null">isexistdetail = #{isexistdetail},</if> |
| | | <if test="detailismandatory != null">detailismandatory = #{detailismandatory},</if> |
| | | <if test="isexceptionitem != null">isexceptionitem = #{isexceptionitem},</if> |
| | | <if test="istrack != null">istrack = #{istrack},</if> |
| | | <if test="score != null">score = #{score},</if> |
| | | <if test="prompt != null">prompt = #{prompt},</if> |
| | | <if test="jump != null">jump = #{jump},</if> |
| | | <if test="parentoptionid != null">parentoptionid = #{parentoptionid},</if> |
| | | <if test="ismutex != null">ismutex = #{ismutex},</if> |
| | | <if test="verifyrule != null">verifyrule = #{verifyrule},</if> |
| | | <if test="sort != null">sort = #{sort},</if> |
| | | <if test="verificationtype != null">verificationtype = #{verificationtype},</if> |
| | | <if test="isrange != null">isrange = #{isrange},</if> |
| | | <if test="minrange != null">minrange = #{minrange},</if> |
| | | <if test="maxrange != null">maxrange = #{maxrange},</if> |
| | | <if test="rangelength != null">rangelength = #{rangelength},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="oldid != null">oldid = #{oldid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="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> |
| | | </trim> |
| | | where optionid = #{optionid} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibTopicoptionByOptionid" parameterType="Long"> |
| | | delete from svy_lib_topicoption where optionid = #{optionid} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyLibTopicoptionByOptionids" parameterType="String"> |
| | | delete from svy_lib_topicoption where optionid in |
| | | <foreach item="optionid" collection="array" open="(" separator="," close=")"> |
| | | #{optionid} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| | | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| | | <parent> |
| | | <artifactId>ruoyi</artifactId> |
| | | <groupId>com.ruoyi</groupId> |
| | | <version>3.8.5</version> |
| | | </parent> |
| | | <modelVersion>4.0.0</modelVersion> |
| | | |
| | | <artifactId>smartor</artifactId> |
| | | |
| | | <description> |
| | | quartz宿¶ä»»å¡ |
| | | </description> |
| | | |
| | | <dependencies> |
| | | |
| | | |
| | | <!-- éç¨å·¥å
·--> |
| | | <dependency> |
| | | <groupId>com.ruoyi</groupId> |
| | | <artifactId>ruoyi-common</artifactId> |
| | | </dependency> |
| | | |
| | | </dependencies> |
| | | |
| | | </project> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | 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_archive |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-01 |
| | | */ |
| | | public class PatArchive extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long patid; |
| | | |
| | | /** å§å */ |
| | | @Excel(name = " å§å ") |
| | | private String name; |
| | | |
| | | /** æ§å« */ |
| | | @Excel(name = " æ§å« ") |
| | | private Long sex; |
| | | |
| | | /** è¯ä»¶å·ç */ |
| | | @Excel(name = " è¯ä»¶å·ç ") |
| | | private String iccardno; |
| | | |
| | | /** çæ¥ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " çæ¥ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date birthdate; |
| | | |
| | | /** å¹´é¾ */ |
| | | @Excel(name = " å¹´é¾ ") |
| | | private Long age; |
| | | |
| | | /** æ¥æº */ |
| | | @Excel(name = " æ¥æº ") |
| | | private Long source; |
| | | |
| | | /** 建档æ¶é´ */ |
| | | private Date archivetime; |
| | | |
| | | /** 建档人 */ |
| | | private String archiveby; |
| | | |
| | | /** ææºå·ç */ |
| | | @Excel(name = " ææºå·ç ") |
| | | private String telcode; |
| | | |
| | | /** 亲å±å·ç */ |
| | | private String relativetelcode; |
| | | |
| | | /** è¯ä»¶ç±»å */ |
| | | private String iccardtype; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** 微信openid */ |
| | | private String openid; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | private Date uploadTime; |
| | | |
| | | public void setPatid(Long patid) |
| | | { |
| | | this.patid = patid; |
| | | } |
| | | |
| | | public Long getPatid() |
| | | { |
| | | return patid; |
| | | } |
| | | public void setName(String name) |
| | | { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getName() |
| | | { |
| | | return name; |
| | | } |
| | | public void setSex(Long sex) |
| | | { |
| | | this.sex = sex; |
| | | } |
| | | |
| | | public Long getSex() |
| | | { |
| | | return sex; |
| | | } |
| | | public void setIccardno(String iccardno) |
| | | { |
| | | this.iccardno = iccardno; |
| | | } |
| | | |
| | | public String getIccardno() |
| | | { |
| | | return iccardno; |
| | | } |
| | | public void setBirthdate(Date birthdate) |
| | | { |
| | | this.birthdate = birthdate; |
| | | } |
| | | |
| | | public Date getBirthdate() |
| | | { |
| | | return birthdate; |
| | | } |
| | | public void setAge(Long age) |
| | | { |
| | | this.age = age; |
| | | } |
| | | |
| | | public Long getAge() |
| | | { |
| | | return age; |
| | | } |
| | | public void setSource(Long source) |
| | | { |
| | | this.source = source; |
| | | } |
| | | |
| | | public Long getSource() |
| | | { |
| | | return source; |
| | | } |
| | | public void setArchivetime(Date archivetime) |
| | | { |
| | | this.archivetime = archivetime; |
| | | } |
| | | |
| | | public Date getArchivetime() |
| | | { |
| | | return archivetime; |
| | | } |
| | | public void setArchiveby(String archiveby) |
| | | { |
| | | this.archiveby = archiveby; |
| | | } |
| | | |
| | | public String getArchiveby() |
| | | { |
| | | return archiveby; |
| | | } |
| | | public void setTelcode(String telcode) |
| | | { |
| | | this.telcode = telcode; |
| | | } |
| | | |
| | | public String getTelcode() |
| | | { |
| | | return telcode; |
| | | } |
| | | public void setRelativetelcode(String relativetelcode) |
| | | { |
| | | this.relativetelcode = relativetelcode; |
| | | } |
| | | |
| | | public String getRelativetelcode() |
| | | { |
| | | return relativetelcode; |
| | | } |
| | | public void setIccardtype(String iccardtype) |
| | | { |
| | | this.iccardtype = iccardtype; |
| | | } |
| | | |
| | | public String getIccardtype() |
| | | { |
| | | return iccardtype; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | public void setOpenid(String openid) |
| | | { |
| | | this.openid = openid; |
| | | } |
| | | |
| | | public String getOpenid() |
| | | { |
| | | return openid; |
| | | } |
| | | 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; |
| | | } |
| | | |
| | | @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(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | 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_med_inhosp |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-01 |
| | | */ |
| | | public class PatMedInhosp extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long inhospid; |
| | | |
| | | /** æµæ°´å· */ |
| | | private String serialnum; |
| | | |
| | | /** å»é¢åç§° */ |
| | | @Excel(name = " å»é¢åç§° ") |
| | | private String hospitalname; |
| | | |
| | | /** å»é¢ç¼å· */ |
| | | private String hospitalcode; |
| | | |
| | | /** é¢åºç¼å· */ |
| | | private String hospitaldistrictcode; |
| | | |
| | | /** é¢åºåç§° */ |
| | | @Excel(name = " é¢åºåç§° ") |
| | | private String hospitaldistrictname; |
| | | |
| | | /** å
¥é¢è¯æICDå¼ */ |
| | | private String icd10code; |
| | | |
| | | /** å
¥é¢è¯æåç§° */ |
| | | private String diagname; |
| | | |
| | | /** å
¥é¢æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " å
¥é¢æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date starttime; |
| | | |
| | | /** åºé¢æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " åºé¢æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date endtime; |
| | | |
| | | /** å
¥é¢ç§å®¤ä»£ç */ |
| | | private String deptcode; |
| | | |
| | | /** å
¥é¢ç§å®¤åç§° */ |
| | | private String deptname; |
| | | |
| | | /** æ¿é´å· */ |
| | | private String roomno; |
| | | |
| | | /** åºä½å· */ |
| | | @Excel(name = " åºä½å· ") |
| | | private String bedno; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | private Date uploadTime; |
| | | |
| | | /** æ¡£æ¡ID */ |
| | | private Long patid; |
| | | |
| | | /** åºé¢è¯æ */ |
| | | @Excel(name = " åºé¢è¯æ ") |
| | | private String leavediagname; |
| | | |
| | | /** åºé¢è¯æICDå¼ */ |
| | | private String leaveicd10code; |
| | | |
| | | /** å»çå·¥å· */ |
| | | private String drcode; |
| | | |
| | | /** å»çåç§° */ |
| | | @Excel(name = " å»çåç§° ") |
| | | private String drname; |
| | | |
| | | /** æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå
¥é¢ 2çæåºé¢ 9æ å¹é
æ¹æ¡ */ |
| | | private Long schemestatus; |
| | | |
| | | /** æ¯å¦çæéç¨æ¹æ¡ç¶æ;0æªçæ 1çæ 9æ å¹é
æ¹æ¡ */ |
| | | private Long generalschemestatus; |
| | | |
| | | /** åºé¢ç§å®¤ä»£ç */ |
| | | private String leaveldeptcode; |
| | | |
| | | /** åºé¢ç§å®¤åç§° */ |
| | | @Excel(name = " åºé¢ç§å®¤åç§° ") |
| | | private String leaveldeptname; |
| | | |
| | | /** ç
åºID */ |
| | | private Long hospitaldistrictid; |
| | | |
| | | /** åºé¢ç
åºç¼å· */ |
| | | private String leavehospitaldistrictcode; |
| | | |
| | | /** åºé¢ç
åºåç§° */ |
| | | @Excel(name = " åºé¢ç
åºåç§° ") |
| | | private String leavehospitaldistrictname; |
| | | |
| | | /** åºé¢ç
åºID */ |
| | | private Long leavehospitaldistrictid; |
| | | |
| | | /** å
¥é¢ç§å®¤ID */ |
| | | private Long deptid; |
| | | |
| | | /** åºé¢ç§å®¤ID */ |
| | | private Long leaveldeptid; |
| | | |
| | | /** æ¹æ¡ç¶ææä½æ¶é´ */ |
| | | 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() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("inhospid", getInhospid()) |
| | | .append("serialnum", getSerialnum()) |
| | | .append("hospitalname", getHospitalname()) |
| | | .append("hospitalcode", getHospitalcode()) |
| | | .append("hospitaldistrictcode", getHospitaldistrictcode()) |
| | | .append("hospitaldistrictname", getHospitaldistrictname()) |
| | | .append("icd10code", getIcd10code()) |
| | | .append("diagname", getDiagname()) |
| | | .append("starttime", getStarttime()) |
| | | .append("endtime", getEndtime()) |
| | | .append("deptcode", getDeptcode()) |
| | | .append("deptname", getDeptname()) |
| | | .append("roomno", getRoomno()) |
| | | .append("bedno", getBedno()) |
| | | .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("patid", getPatid()) |
| | | .append("leavediagname", getLeavediagname()) |
| | | .append("leaveicd10code", getLeaveicd10code()) |
| | | .append("drcode", getDrcode()) |
| | | .append("drname", getDrname()) |
| | | .append("schemestatus", getSchemestatus()) |
| | | .append("generalschemestatus", getGeneralschemestatus()) |
| | | .append("leaveldeptcode", getLeaveldeptcode()) |
| | | .append("leaveldeptname", getLeaveldeptname()) |
| | | .append("hospitaldistrictid", getHospitaldistrictid()) |
| | | .append("leavehospitaldistrictcode", getLeavehospitaldistrictcode()) |
| | | .append("leavehospitaldistrictname", getLeavehospitaldistrictname()) |
| | | .append("leavehospitaldistrictid", getLeavehospitaldistrictid()) |
| | | .append("deptid", getDeptid()) |
| | | .append("leaveldeptid", getLeaveldeptid()) |
| | | .append("schemetime", getSchemetime()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·å类对象 svy_category |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public class SvyCategory extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long id; |
| | | |
| | | /** åç±»åç§° */ |
| | | @Excel(name = " åç±»åç§° ") |
| | | private String categoryname; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | private Date uploadTime; |
| | | |
| | | public void setId(Long id) |
| | | { |
| | | this.id = id; |
| | | } |
| | | |
| | | 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; |
| | | } |
| | | |
| | | @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 org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·å¼å¸¸å¯¹è±¡ svy_lib_exception |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public class SvyLibException extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long ecid; |
| | | |
| | | /** ä¸ä¸ªçæ¬ID */ |
| | | @Excel(name = " ä¸ä¸ªçæ¬ID ") |
| | | private Long oldid; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** é®é¢é项ID */ |
| | | @Excel(name = " é®é¢é项ID ") |
| | | private Long questionoptionid; |
| | | |
| | | /** é¢ç®ID */ |
| | | @Excel(name = " é¢ç®ID ") |
| | | private Long topicid; |
| | | |
| | | /** é®å·ID */ |
| | | @Excel(name = " é®å·ID ") |
| | | private Long psqid; |
| | | |
| | | /** 䏿 */ |
| | | @Excel(name = " 䏿 ") |
| | | private Long orand; |
| | | |
| | | /** è§åéªè¯ */ |
| | | @Excel(name = " è§åéªè¯ ") |
| | | private String ruleverify; |
| | | |
| | | /** è§åæ¡ä»¶ */ |
| | | @Excel(name = " è§åæ¡ä»¶ ") |
| | | private String ruleconditions; |
| | | |
| | | /** è§åå
容 */ |
| | | @Excel(name = " è§åå
容 ") |
| | | private String rulecontent; |
| | | |
| | | /** ç»ç¼å· */ |
| | | @Excel(name = " ç»ç¼å· ") |
| | | private Long groupnumber; |
| | | |
| | | /** ç¶æ¡ä»¶ID */ |
| | | @Excel(name = " ç¶æ¡ä»¶ID ") |
| | | private Long grouporand; |
| | | |
| | | /** 忡件ç¼å· */ |
| | | @Excel(name = " 忡件ç¼å· ") |
| | | private Long number; |
| | | |
| | | /** æ¯å¦è·è¸ª */ |
| | | @Excel(name = " æ¯å¦è·è¸ª ") |
| | | private Long istrack; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | public void setEcid(Long ecid) |
| | | { |
| | | this.ecid = ecid; |
| | | } |
| | | |
| | | public Long getEcid() |
| | | { |
| | | return ecid; |
| | | } |
| | | public void setOldid(Long oldid) |
| | | { |
| | | this.oldid = oldid; |
| | | } |
| | | |
| | | public Long getOldid() |
| | | { |
| | | return oldid; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | public void setQuestionoptionid(Long questionoptionid) |
| | | { |
| | | this.questionoptionid = questionoptionid; |
| | | } |
| | | |
| | | public Long getQuestionoptionid() |
| | | { |
| | | return questionoptionid; |
| | | } |
| | | public void setTopicid(Long topicid) |
| | | { |
| | | this.topicid = topicid; |
| | | } |
| | | |
| | | public Long getTopicid() |
| | | { |
| | | return topicid; |
| | | } |
| | | public void setPsqid(Long psqid) |
| | | { |
| | | this.psqid = psqid; |
| | | } |
| | | |
| | | public Long getPsqid() |
| | | { |
| | | return psqid; |
| | | } |
| | | public void setOrand(Long orand) |
| | | { |
| | | this.orand = orand; |
| | | } |
| | | |
| | | public Long getOrand() |
| | | { |
| | | return orand; |
| | | } |
| | | public void setRuleverify(String ruleverify) |
| | | { |
| | | this.ruleverify = ruleverify; |
| | | } |
| | | |
| | | public String getRuleverify() |
| | | { |
| | | return ruleverify; |
| | | } |
| | | public void setRuleconditions(String ruleconditions) |
| | | { |
| | | this.ruleconditions = ruleconditions; |
| | | } |
| | | |
| | | public String getRuleconditions() |
| | | { |
| | | return ruleconditions; |
| | | } |
| | | public void setRulecontent(String rulecontent) |
| | | { |
| | | this.rulecontent = rulecontent; |
| | | } |
| | | |
| | | public String getRulecontent() |
| | | { |
| | | return rulecontent; |
| | | } |
| | | public void setGroupnumber(Long groupnumber) |
| | | { |
| | | this.groupnumber = groupnumber; |
| | | } |
| | | |
| | | public Long getGroupnumber() |
| | | { |
| | | return groupnumber; |
| | | } |
| | | public void setGrouporand(Long grouporand) |
| | | { |
| | | this.grouporand = grouporand; |
| | | } |
| | | |
| | | public Long getGrouporand() |
| | | { |
| | | return grouporand; |
| | | } |
| | | public void setNumber(Long number) |
| | | { |
| | | this.number = number; |
| | | } |
| | | |
| | | public Long getNumber() |
| | | { |
| | | return number; |
| | | } |
| | | public void setIstrack(Long istrack) |
| | | { |
| | | this.istrack = istrack; |
| | | } |
| | | |
| | | public Long getIstrack() |
| | | { |
| | | return istrack; |
| | | } |
| | | 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; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("ecid", getEcid()) |
| | | .append("oldid", getOldid()) |
| | | .append("orgid", getOrgid()) |
| | | .append("questionoptionid", getQuestionoptionid()) |
| | | .append("topicid", getTopicid()) |
| | | .append("psqid", getPsqid()) |
| | | .append("orand", getOrand()) |
| | | .append("ruleverify", getRuleverify()) |
| | | .append("ruleconditions", getRuleconditions()) |
| | | .append("rulecontent", getRulecontent()) |
| | | .append("groupnumber", getGroupnumber()) |
| | | .append("grouporand", getGrouporand()) |
| | | .append("number", getNumber()) |
| | | .append("istrack", getIstrack()) |
| | | .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 org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·ç»æå¯¹è±¡ svy_lib_result |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public class SvyLibResult extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long resultid; |
| | | |
| | | /** é®å·ID */ |
| | | @Excel(name = " é®å·ID ") |
| | | private Long svyid; |
| | | |
| | | /** ç»æå
容 */ |
| | | @Excel(name = " ç»æå
容 ") |
| | | private String resultcontent; |
| | | |
| | | /** æä¸ */ |
| | | @Excel(name = " æä¸ ") |
| | | private Long orand; |
| | | |
| | | /** æ¯å¦æ¾ç¤ºå¾å */ |
| | | @Excel(name = " æ¯å¦æ¾ç¤ºå¾å ") |
| | | private Long isshowscore; |
| | | |
| | | /** æåº */ |
| | | @Excel(name = " æåº ") |
| | | private Long sort; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | public void setResultid(Long resultid) |
| | | { |
| | | this.resultid = resultid; |
| | | } |
| | | |
| | | public Long getResultid() |
| | | { |
| | | return resultid; |
| | | } |
| | | public void setSvyid(Long svyid) |
| | | { |
| | | this.svyid = svyid; |
| | | } |
| | | |
| | | public Long getSvyid() |
| | | { |
| | | return svyid; |
| | | } |
| | | public void setResultcontent(String resultcontent) |
| | | { |
| | | this.resultcontent = resultcontent; |
| | | } |
| | | |
| | | public String getResultcontent() |
| | | { |
| | | return resultcontent; |
| | | } |
| | | public void setOrand(Long orand) |
| | | { |
| | | this.orand = orand; |
| | | } |
| | | |
| | | public Long getOrand() |
| | | { |
| | | return orand; |
| | | } |
| | | public void setIsshowscore(Long isshowscore) |
| | | { |
| | | this.isshowscore = isshowscore; |
| | | } |
| | | |
| | | public Long getIsshowscore() |
| | | { |
| | | return isshowscore; |
| | | } |
| | | public void setSort(Long sort) |
| | | { |
| | | this.sort = sort; |
| | | } |
| | | |
| | | public Long getSort() |
| | | { |
| | | return sort; |
| | | } |
| | | 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; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("resultid", getResultid()) |
| | | .append("svyid", getSvyid()) |
| | | .append("resultcontent", getResultcontent()) |
| | | .append("orand", getOrand()) |
| | | .append("isshowscore", getIsshowscore()) |
| | | .append("sort", getSort()) |
| | | .append("orgid", getOrgid()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·å¯¹è±¡ svy_lib_title |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public class SvyLibTitle extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long svyid; |
| | | |
| | | /** é®å·åç±»ID */ |
| | | @Excel(name = " é®å·åç±»ID ") |
| | | private Long categoryid; |
| | | |
| | | /** é®å·ä»£ç */ |
| | | @Excel(name = " é®å·ä»£ç ") |
| | | private String svycode; |
| | | |
| | | /** é®å·åç§° */ |
| | | @Excel(name = " é®å·åç§° ") |
| | | private String svyname; |
| | | |
| | | /** æè¿° */ |
| | | @Excel(name = " æè¿° ") |
| | | private String description; |
| | | |
| | | /** é®å·ä»ç» */ |
| | | @Excel(name = " é®å·ä»ç» ") |
| | | private String introduce; |
| | | |
| | | /** é®å·æç¤º */ |
| | | @Excel(name = " é®å·æç¤º ") |
| | | private String submitprompt; |
| | | |
| | | /** 模æ¿ID */ |
| | | @Excel(name = " 模æ¿ID ") |
| | | private Long templateid; |
| | | |
| | | /** çæ¬ */ |
| | | @Excel(name = " çæ¬ ") |
| | | private BigDecimal version; |
| | | |
| | | /** ä¸å¿åºä»£ç */ |
| | | @Excel(name = " ä¸å¿åºä»£ç ") |
| | | private String centerlibrarycode; |
| | | |
| | | /** ä¸å¿åºID */ |
| | | @Excel(name = " ä¸å¿åºID ") |
| | | private Long centerlibraryid; |
| | | |
| | | /** æ¯å¦æ¬å° */ |
| | | @Excel(name = " æ¯å¦æ¬å° ") |
| | | private Long islocal; |
| | | |
| | | /** æ¯å¦å¯ç¨ */ |
| | | @Excel(name = " æ¯å¦å¯ç¨ ") |
| | | private Long isenable; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | public void setSvyid(Long svyid) |
| | | { |
| | | this.svyid = svyid; |
| | | } |
| | | |
| | | public Long getSvyid() |
| | | { |
| | | return svyid; |
| | | } |
| | | public void setCategoryid(Long categoryid) |
| | | { |
| | | this.categoryid = categoryid; |
| | | } |
| | | |
| | | public Long getCategoryid() |
| | | { |
| | | return categoryid; |
| | | } |
| | | public void setSvycode(String svycode) |
| | | { |
| | | this.svycode = svycode; |
| | | } |
| | | |
| | | public String getSvycode() |
| | | { |
| | | return svycode; |
| | | } |
| | | public void setSvyname(String svyname) |
| | | { |
| | | this.svyname = svyname; |
| | | } |
| | | |
| | | public String getSvyname() |
| | | { |
| | | return svyname; |
| | | } |
| | | public void setDescription(String description) |
| | | { |
| | | this.description = description; |
| | | } |
| | | |
| | | public String getDescription() |
| | | { |
| | | return description; |
| | | } |
| | | public void setIntroduce(String introduce) |
| | | { |
| | | this.introduce = introduce; |
| | | } |
| | | |
| | | public String getIntroduce() |
| | | { |
| | | return introduce; |
| | | } |
| | | public void setSubmitprompt(String submitprompt) |
| | | { |
| | | this.submitprompt = submitprompt; |
| | | } |
| | | |
| | | public String getSubmitprompt() |
| | | { |
| | | return submitprompt; |
| | | } |
| | | public void setTemplateid(Long templateid) |
| | | { |
| | | this.templateid = templateid; |
| | | } |
| | | |
| | | public Long getTemplateid() |
| | | { |
| | | return templateid; |
| | | } |
| | | public void setVersion(BigDecimal version) |
| | | { |
| | | this.version = version; |
| | | } |
| | | |
| | | public BigDecimal getVersion() |
| | | { |
| | | return version; |
| | | } |
| | | public void setCenterlibrarycode(String centerlibrarycode) |
| | | { |
| | | this.centerlibrarycode = centerlibrarycode; |
| | | } |
| | | |
| | | public String getCenterlibrarycode() |
| | | { |
| | | return centerlibrarycode; |
| | | } |
| | | public void setCenterlibraryid(Long centerlibraryid) |
| | | { |
| | | this.centerlibraryid = centerlibraryid; |
| | | } |
| | | |
| | | public Long getCenterlibraryid() |
| | | { |
| | | return centerlibraryid; |
| | | } |
| | | public void setIslocal(Long islocal) |
| | | { |
| | | this.islocal = islocal; |
| | | } |
| | | |
| | | public Long getIslocal() |
| | | { |
| | | return islocal; |
| | | } |
| | | public void setIsenable(Long isenable) |
| | | { |
| | | this.isenable = isenable; |
| | | } |
| | | |
| | | public Long getIsenable() |
| | | { |
| | | return isenable; |
| | | } |
| | | 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; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("svyid", getSvyid()) |
| | | .append("categoryid", getCategoryid()) |
| | | .append("svycode", getSvycode()) |
| | | .append("svyname", getSvyname()) |
| | | .append("description", getDescription()) |
| | | .append("introduce", getIntroduce()) |
| | | .append("submitprompt", getSubmitprompt()) |
| | | .append("templateid", getTemplateid()) |
| | | .append("version", getVersion()) |
| | | .append("centerlibrarycode", getCenterlibrarycode()) |
| | | .append("centerlibraryid", getCenterlibraryid()) |
| | | .append("islocal", getIslocal()) |
| | | .append("isenable", getIsenable()) |
| | | .append("orgid", getOrgid()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·é¢ç®å¯¹è±¡ svy_lib_topic |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public class SvyLibTopic extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long topicid; |
| | | |
| | | /** èçæ¬ID */ |
| | | @Excel(name = " èçæ¬ID ") |
| | | private Long oldid; |
| | | |
| | | /** é®å·ID */ |
| | | @Excel(name = " é®å·ID ") |
| | | private Long svyid; |
| | | |
| | | /** é¢ç®ç±»å;æä¸¾ 1.åé 2å¤é 3填空 */ |
| | | @Excel(name = " é¢ç®ç±»å;æä¸¾ 1.åé 2å¤é 3填空 ") |
| | | private Long topictype; |
| | | |
| | | /** é¢ç®Code */ |
| | | @Excel(name = " é¢ç®Code ") |
| | | private String topiccode; |
| | | |
| | | /** é¢ç® */ |
| | | @Excel(name = " é¢ç® ") |
| | | private String topic; |
| | | |
| | | /** æåº */ |
| | | @Excel(name = " æåº ") |
| | | private Long sort; |
| | | |
| | | /** æ¯å¦å¿
å¡« */ |
| | | @Excel(name = " æ¯å¦å¿
å¡« ") |
| | | private Long ismandatory; |
| | | |
| | | /** æ¯å¦éè */ |
| | | @Excel(name = " æ¯å¦éè ") |
| | | private Long ishide; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | public void setTopicid(Long topicid) |
| | | { |
| | | this.topicid = topicid; |
| | | } |
| | | |
| | | public Long getTopicid() |
| | | { |
| | | return topicid; |
| | | } |
| | | public void setOldid(Long oldid) |
| | | { |
| | | this.oldid = oldid; |
| | | } |
| | | |
| | | public Long getOldid() |
| | | { |
| | | return oldid; |
| | | } |
| | | public void setSvyid(Long svyid) |
| | | { |
| | | this.svyid = svyid; |
| | | } |
| | | |
| | | public Long getSvyid() |
| | | { |
| | | return svyid; |
| | | } |
| | | public void setTopictype(Long topictype) |
| | | { |
| | | this.topictype = topictype; |
| | | } |
| | | |
| | | public Long getTopictype() |
| | | { |
| | | return topictype; |
| | | } |
| | | public void setTopiccode(String topiccode) |
| | | { |
| | | this.topiccode = topiccode; |
| | | } |
| | | |
| | | public String getTopiccode() |
| | | { |
| | | return topiccode; |
| | | } |
| | | public void setTopic(String topic) |
| | | { |
| | | this.topic = topic; |
| | | } |
| | | |
| | | public String getTopic() |
| | | { |
| | | return topic; |
| | | } |
| | | public void setSort(Long sort) |
| | | { |
| | | this.sort = sort; |
| | | } |
| | | |
| | | public Long getSort() |
| | | { |
| | | return sort; |
| | | } |
| | | public void setIsmandatory(Long ismandatory) |
| | | { |
| | | this.ismandatory = ismandatory; |
| | | } |
| | | |
| | | public Long getIsmandatory() |
| | | { |
| | | return ismandatory; |
| | | } |
| | | public void setIshide(Long ishide) |
| | | { |
| | | this.ishide = ishide; |
| | | } |
| | | |
| | | public Long getIshide() |
| | | { |
| | | return ishide; |
| | | } |
| | | public void setDelFlag(String delFlag) |
| | | { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public String getDelFlag() |
| | | { |
| | | return delFlag; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | 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; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("topicid", getTopicid()) |
| | | .append("oldid", getOldid()) |
| | | .append("svyid", getSvyid()) |
| | | .append("topictype", getTopictype()) |
| | | .append("topiccode", getTopiccode()) |
| | | .append("topic", getTopic()) |
| | | .append("sort", getSort()) |
| | | .append("ismandatory", getIsmandatory()) |
| | | .append("ishide", getIshide()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("orgid", getOrgid()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * é®å·é®é¢é项对象 svy_lib_topicoption |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public class SvyLibTopicoption extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long optionid; |
| | | |
| | | /** é¢ç®ID */ |
| | | @Excel(name = " é¢ç®ID ") |
| | | private Long topicid; |
| | | |
| | | /** é®å·ID */ |
| | | @Excel(name = " é®å·ID ") |
| | | private Long svyid; |
| | | |
| | | /** é¢ç®ç±»å */ |
| | | @Excel(name = " é¢ç®ç±»å ") |
| | | private Long topictype; |
| | | |
| | | /** é项Code */ |
| | | @Excel(name = " é项Code ") |
| | | private String optioncode; |
| | | |
| | | /** é项å
容 */ |
| | | @Excel(name = " é项å
容 ") |
| | | private String optioncontent; |
| | | |
| | | /** æ¯å¦åå¨æç» */ |
| | | @Excel(name = " æ¯å¦åå¨æç» ") |
| | | private Long isexistdetail; |
| | | |
| | | /** æç»æ¯å¦å¿
å¡« */ |
| | | @Excel(name = " æç»æ¯å¦å¿
å¡« ") |
| | | private Long detailismandatory; |
| | | |
| | | /** æ¯å¦å¼å¸¸é¡¹ç® */ |
| | | @Excel(name = " æ¯å¦å¼å¸¸é¡¹ç® ") |
| | | private Long isexceptionitem; |
| | | |
| | | /** æ¯å¦è·è¿ */ |
| | | @Excel(name = " æ¯å¦è·è¿ ") |
| | | private Long istrack; |
| | | |
| | | /** åæ° */ |
| | | @Excel(name = " åæ° ") |
| | | private Long score; |
| | | |
| | | /** æç¤º */ |
| | | @Excel(name = " æç¤º ") |
| | | private String prompt; |
| | | |
| | | /** 跳转 */ |
| | | @Excel(name = " 跳转 ") |
| | | private String jump; |
| | | |
| | | /** ç¶é项ID */ |
| | | @Excel(name = " ç¶é项ID ") |
| | | private Long parentoptionid; |
| | | |
| | | /** æ¯å¦äºæ¥ */ |
| | | @Excel(name = " æ¯å¦äºæ¥ ") |
| | | private Long ismutex; |
| | | |
| | | /** éªè¯è§å */ |
| | | @Excel(name = " éªè¯è§å ") |
| | | private String verifyrule; |
| | | |
| | | /** æåº */ |
| | | @Excel(name = " æåº ") |
| | | private Long sort; |
| | | |
| | | /** éªè¯ç±»å;0.ä¸éªè¯ 1.æ´æ° 2.å°æ° 3.ææºå· 4.èº«ä»½è¯ 5.æ¥æ */ |
| | | @Excel(name = " éªè¯ç±»å;0.ä¸éªè¯ 1.æ´æ° 2.å°æ° 3.ææºå· 4.èº«ä»½è¯ 5.æ¥æ ") |
| | | private Long verificationtype; |
| | | |
| | | /** æ¯å¦éå¶èå´ */ |
| | | @Excel(name = " æ¯å¦éå¶èå´ ") |
| | | private Long isrange; |
| | | |
| | | /** æå°èå´ */ |
| | | @Excel(name = " æå°èå´ ") |
| | | private String minrange; |
| | | |
| | | /** æå¤§èå´ */ |
| | | @Excel(name = " æå¤§èå´ ") |
| | | private String maxrange; |
| | | |
| | | /** èå´é¿åº¦;ç¨äºå°æ°ä¿ç使° */ |
| | | @Excel(name = " èå´é¿åº¦;ç¨äºå°æ°ä¿ç使° ") |
| | | private Long rangelength; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** ä¸ä¸çæ¬ID */ |
| | | @Excel(name = " ä¸ä¸çæ¬ID ") |
| | | private Long oldid; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | public void setOptionid(Long optionid) |
| | | { |
| | | this.optionid = optionid; |
| | | } |
| | | |
| | | public Long getOptionid() |
| | | { |
| | | return optionid; |
| | | } |
| | | public void setTopicid(Long topicid) |
| | | { |
| | | this.topicid = topicid; |
| | | } |
| | | |
| | | public Long getTopicid() |
| | | { |
| | | return topicid; |
| | | } |
| | | public void setSvyid(Long svyid) |
| | | { |
| | | this.svyid = svyid; |
| | | } |
| | | |
| | | public Long getSvyid() |
| | | { |
| | | return svyid; |
| | | } |
| | | public void setTopictype(Long topictype) |
| | | { |
| | | this.topictype = topictype; |
| | | } |
| | | |
| | | public Long getTopictype() |
| | | { |
| | | return topictype; |
| | | } |
| | | public void setOptioncode(String optioncode) |
| | | { |
| | | this.optioncode = optioncode; |
| | | } |
| | | |
| | | public String getOptioncode() |
| | | { |
| | | return optioncode; |
| | | } |
| | | public void setOptioncontent(String optioncontent) |
| | | { |
| | | this.optioncontent = optioncontent; |
| | | } |
| | | |
| | | public String getOptioncontent() |
| | | { |
| | | return optioncontent; |
| | | } |
| | | public void setIsexistdetail(Long isexistdetail) |
| | | { |
| | | this.isexistdetail = isexistdetail; |
| | | } |
| | | |
| | | public Long getIsexistdetail() |
| | | { |
| | | return isexistdetail; |
| | | } |
| | | public void setDetailismandatory(Long detailismandatory) |
| | | { |
| | | this.detailismandatory = detailismandatory; |
| | | } |
| | | |
| | | public Long getDetailismandatory() |
| | | { |
| | | return detailismandatory; |
| | | } |
| | | public void setIsexceptionitem(Long isexceptionitem) |
| | | { |
| | | this.isexceptionitem = isexceptionitem; |
| | | } |
| | | |
| | | public Long getIsexceptionitem() |
| | | { |
| | | return isexceptionitem; |
| | | } |
| | | public void setIstrack(Long istrack) |
| | | { |
| | | this.istrack = istrack; |
| | | } |
| | | |
| | | public Long getIstrack() |
| | | { |
| | | return istrack; |
| | | } |
| | | public void setScore(Long score) |
| | | { |
| | | this.score = score; |
| | | } |
| | | |
| | | public Long getScore() |
| | | { |
| | | return score; |
| | | } |
| | | public void setPrompt(String prompt) |
| | | { |
| | | this.prompt = prompt; |
| | | } |
| | | |
| | | public String getPrompt() |
| | | { |
| | | return prompt; |
| | | } |
| | | public void setJump(String jump) |
| | | { |
| | | this.jump = jump; |
| | | } |
| | | |
| | | public String getJump() |
| | | { |
| | | return jump; |
| | | } |
| | | public void setParentoptionid(Long parentoptionid) |
| | | { |
| | | this.parentoptionid = parentoptionid; |
| | | } |
| | | |
| | | public Long getParentoptionid() |
| | | { |
| | | return parentoptionid; |
| | | } |
| | | public void setIsmutex(Long ismutex) |
| | | { |
| | | this.ismutex = ismutex; |
| | | } |
| | | |
| | | public Long getIsmutex() |
| | | { |
| | | return ismutex; |
| | | } |
| | | public void setVerifyrule(String verifyrule) |
| | | { |
| | | this.verifyrule = verifyrule; |
| | | } |
| | | |
| | | public String getVerifyrule() |
| | | { |
| | | return verifyrule; |
| | | } |
| | | public void setSort(Long sort) |
| | | { |
| | | this.sort = sort; |
| | | } |
| | | |
| | | public Long getSort() |
| | | { |
| | | return sort; |
| | | } |
| | | public void setVerificationtype(Long verificationtype) |
| | | { |
| | | this.verificationtype = verificationtype; |
| | | } |
| | | |
| | | public Long getVerificationtype() |
| | | { |
| | | return verificationtype; |
| | | } |
| | | public void setIsrange(Long isrange) |
| | | { |
| | | this.isrange = isrange; |
| | | } |
| | | |
| | | public Long getIsrange() |
| | | { |
| | | return isrange; |
| | | } |
| | | public void setMinrange(String minrange) |
| | | { |
| | | this.minrange = minrange; |
| | | } |
| | | |
| | | public String getMinrange() |
| | | { |
| | | return minrange; |
| | | } |
| | | public void setMaxrange(String maxrange) |
| | | { |
| | | this.maxrange = maxrange; |
| | | } |
| | | |
| | | public String getMaxrange() |
| | | { |
| | | return maxrange; |
| | | } |
| | | public void setRangelength(Long rangelength) |
| | | { |
| | | this.rangelength = rangelength; |
| | | } |
| | | |
| | | public Long getRangelength() |
| | | { |
| | | return rangelength; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | public void setOldid(Long oldid) |
| | | { |
| | | this.oldid = oldid; |
| | | } |
| | | |
| | | public Long getOldid() |
| | | { |
| | | return oldid; |
| | | } |
| | | 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; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("optionid", getOptionid()) |
| | | .append("topicid", getTopicid()) |
| | | .append("svyid", getSvyid()) |
| | | .append("topictype", getTopictype()) |
| | | .append("optioncode", getOptioncode()) |
| | | .append("optioncontent", getOptioncontent()) |
| | | .append("isexistdetail", getIsexistdetail()) |
| | | .append("detailismandatory", getDetailismandatory()) |
| | | .append("isexceptionitem", getIsexceptionitem()) |
| | | .append("istrack", getIstrack()) |
| | | .append("score", getScore()) |
| | | .append("prompt", getPrompt()) |
| | | .append("jump", getJump()) |
| | | .append("parentoptionid", getParentoptionid()) |
| | | .append("ismutex", getIsmutex()) |
| | | .append("verifyrule", getVerifyrule()) |
| | | .append("sort", getSort()) |
| | | .append("verificationtype", getVerificationtype()) |
| | | .append("isrange", getIsrange()) |
| | | .append("minrange", getMinrange()) |
| | | .append("maxrange", getMaxrange()) |
| | | .append("rangelength", getRangelength()) |
| | | .append("orgid", getOrgid()) |
| | | .append("oldid", getOldid()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.PatArchive; |
| | | |
| | | /** |
| | | * æ£è
æ¡£æ¡Mapperæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-01 |
| | | */ |
| | | public interface PatArchiveMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡ |
| | | * |
| | | * @param patid æ£è
æ¡£æ¡ä¸»é® |
| | | * @return æ£è
æ¡£æ¡ |
| | | */ |
| | | public PatArchive selectPatArchiveByPatid(Long patid); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡å表 |
| | | * |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return æ£è
æ¡£æ¡éå |
| | | */ |
| | | public List<PatArchive> selectPatArchiveList(PatArchive patArchive); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
æ¡£æ¡ |
| | | * |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatArchive(PatArchive patArchive); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
æ¡£æ¡ |
| | | * |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatArchive(PatArchive patArchive); |
| | | |
| | | /** |
| | | * å 餿£è
æ¡£æ¡ |
| | | * |
| | | * @param patid æ£è
æ¡£æ¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchiveByPatid(Long patid); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
æ¡£æ¡ |
| | | * |
| | | * @param patids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchiveByPatids(Long[] patids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.PatMedInhosp; |
| | | |
| | | /** |
| | | * æ£è
ä½é¢è®°å½Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-01 |
| | | */ |
| | | public interface PatMedInhospMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
ä½é¢è®°å½ |
| | | * |
| | | * @param inhospid æ£è
ä½é¢è®°å½ä¸»é® |
| | | * @return æ£è
ä½é¢è®°å½ |
| | | */ |
| | | public PatMedInhosp selectPatMedInhospByInhospid(Long inhospid); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ä½é¢è®°å½å表 |
| | | * |
| | | * @param patMedInhosp æ£è
ä½é¢è®°å½ |
| | | * @return æ£è
ä½é¢è®°å½éå |
| | | */ |
| | | public List<PatMedInhosp> selectPatMedInhospList(PatMedInhosp patMedInhosp); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
ä½é¢è®°å½ |
| | | * |
| | | * @param patMedInhosp æ£è
ä½é¢è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatMedInhosp(PatMedInhosp patMedInhosp); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
ä½é¢è®°å½ |
| | | * |
| | | * @param patMedInhosp æ£è
ä½é¢è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatMedInhosp(PatMedInhosp patMedInhosp); |
| | | |
| | | /** |
| | | * å 餿£è
ä½é¢è®°å½ |
| | | * |
| | | * @param inhospid æ£è
ä½é¢è®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedInhospByInhospid(Long inhospid); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
ä½é¢è®°å½ |
| | | * |
| | | * @param inhospids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedInhospByInhospids(Long[] inhospids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyCategory; |
| | | |
| | | /** |
| | | * é®å·åç±»Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface SvyCategoryMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·åç±» |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return é®å·åç±» |
| | | */ |
| | | public SvyCategory selectSvyCategoryById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·åç±»å表 |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return é®å·åç±»éå |
| | | */ |
| | | public List<SvyCategory> selectSvyCategoryList(SvyCategory svyCategory); |
| | | |
| | | /** |
| | | * æ°å¢é®å·åç±» |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyCategory(SvyCategory svyCategory); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·åç±» |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyCategory(SvyCategory svyCategory); |
| | | |
| | | /** |
| | | * å é¤é®å·åç±» |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyCategoryById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·åç±» |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyCategoryByIds(Long[] ids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibException; |
| | | |
| | | /** |
| | | * é®å·å¼å¸¸Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface SvyLibExceptionMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·å¼å¸¸ |
| | | * |
| | | * @param ecid é®å·å¼å¸¸ä¸»é® |
| | | * @return é®å·å¼å¸¸ |
| | | */ |
| | | public SvyLibException selectSvyLibExceptionByEcid(Long ecid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å¼å¸¸å表 |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return é®å·å¼å¸¸éå |
| | | */ |
| | | public List<SvyLibException> selectSvyLibExceptionList(SvyLibException svyLibException); |
| | | |
| | | /** |
| | | * æ°å¢é®å·å¼å¸¸ |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibException(SvyLibException svyLibException); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·å¼å¸¸ |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibException(SvyLibException svyLibException); |
| | | |
| | | /** |
| | | * å é¤é®å·å¼å¸¸ |
| | | * |
| | | * @param ecid é®å·å¼å¸¸ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibExceptionByEcid(Long ecid); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·å¼å¸¸ |
| | | * |
| | | * @param ecids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibExceptionByEcids(Long[] ecids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibResult; |
| | | |
| | | /** |
| | | * é®å·ç»æMapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface SvyLibResultMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·ç»æ |
| | | * |
| | | * @param resultid é®å·ç»æä¸»é® |
| | | * @return é®å·ç»æ |
| | | */ |
| | | public SvyLibResult selectSvyLibResultByResultid(Long resultid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·ç»æå表 |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return é®å·ç»æéå |
| | | */ |
| | | public List<SvyLibResult> selectSvyLibResultList(SvyLibResult svyLibResult); |
| | | |
| | | /** |
| | | * æ°å¢é®å·ç»æ |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibResult(SvyLibResult svyLibResult); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·ç»æ |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibResult(SvyLibResult svyLibResult); |
| | | |
| | | /** |
| | | * å é¤é®å·ç»æ |
| | | * |
| | | * @param resultid é®å·ç»æä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibResultByResultid(Long resultid); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·ç»æ |
| | | * |
| | | * @param resultids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibResultByResultids(Long[] resultids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibTitle; |
| | | |
| | | /** |
| | | * é®å·Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface SvyLibTitleMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å· |
| | | * |
| | | * @param svyid é®å·ä¸»é® |
| | | * @return é®å· |
| | | */ |
| | | public SvyLibTitle selectSvyLibTitleBySvyid(Long svyid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å表 |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return é®å·éå |
| | | */ |
| | | public List<SvyLibTitle> selectSvyLibTitleList(SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * æ°å¢é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTitle(SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTitle(SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * å é¤é®å· |
| | | * |
| | | * @param svyid é®å·ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTitleBySvyid(Long svyid); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å· |
| | | * |
| | | * @param svyids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTitleBySvyids(Long[] svyids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibTopic; |
| | | |
| | | /** |
| | | * é®å·é¢ç®Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface SvyLibTopicMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç® |
| | | * |
| | | * @param topicid é®å·é¢ç®ä¸»é® |
| | | * @return é®å·é¢ç® |
| | | */ |
| | | public SvyLibTopic selectSvyLibTopicByTopicid(Long topicid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®å表 |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return é®å·é¢ç®éå |
| | | */ |
| | | public List<SvyLibTopic> selectSvyLibTopicList(SvyLibTopic svyLibTopic); |
| | | |
| | | /** |
| | | * æ°å¢é®å·é¢ç® |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTopic(SvyLibTopic svyLibTopic); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç® |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTopic(SvyLibTopic svyLibTopic); |
| | | |
| | | /** |
| | | * å é¤é®å·é¢ç® |
| | | * |
| | | * @param topicid é®å·é¢ç®ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicByTopicid(Long topicid); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é¢ç® |
| | | * |
| | | * @param topicids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicByTopicids(Long[] topicids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibTopicoption; |
| | | |
| | | /** |
| | | * é®å·é®é¢é项Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface SvyLibTopicoptionMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢é项 |
| | | * |
| | | * @param optionid é®å·é®é¢éé¡¹ä¸»é® |
| | | * @return é®å·é®é¢é项 |
| | | */ |
| | | public SvyLibTopicoption selectSvyLibTopicoptionByOptionid(Long optionid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢é项å表 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return é®å·é®é¢é项éå |
| | | */ |
| | | public List<SvyLibTopicoption> selectSvyLibTopicoptionList(SvyLibTopicoption svyLibTopicoption); |
| | | |
| | | /** |
| | | * æ°å¢é®å·é®é¢é项 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTopicoption(SvyLibTopicoption svyLibTopicoption); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é®é¢é项 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTopicoption(SvyLibTopicoption svyLibTopicoption); |
| | | |
| | | /** |
| | | * å é¤é®å·é®é¢é项 |
| | | * |
| | | * @param optionid é®å·é®é¢éé¡¹ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicoptionByOptionid(Long optionid); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é®é¢é项 |
| | | * |
| | | * @param optionids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicoptionByOptionids(Long[] optionids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.PatArchive; |
| | | |
| | | /** |
| | | * æ£è
æ¡£æ¡Serviceæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-01 |
| | | */ |
| | | public interface IPatArchiveService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡ |
| | | * |
| | | * @param patid æ£è
æ¡£æ¡ä¸»é® |
| | | * @return æ£è
æ¡£æ¡ |
| | | */ |
| | | public PatArchive selectPatArchiveByPatid(Long patid); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡å表 |
| | | * |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return æ£è
æ¡£æ¡éå |
| | | */ |
| | | public List<PatArchive> selectPatArchiveList(PatArchive patArchive); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
æ¡£æ¡ |
| | | * |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatArchive(PatArchive patArchive); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
æ¡£æ¡ |
| | | * |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatArchive(PatArchive patArchive); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
æ¡£æ¡ |
| | | * |
| | | * @param patids éè¦å é¤çæ£è
æ¡£æ¡ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchiveByPatids(Long[] patids); |
| | | |
| | | /** |
| | | * å 餿£è
æ¡£æ¡ä¿¡æ¯ |
| | | * |
| | | * @param patid æ£è
æ¡£æ¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchiveByPatid(Long patid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.PatMedInhosp; |
| | | |
| | | /** |
| | | * æ£è
ä½é¢è®°å½Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-01 |
| | | */ |
| | | public interface IPatMedInhospService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
ä½é¢è®°å½ |
| | | * |
| | | * @param inhospid æ£è
ä½é¢è®°å½ä¸»é® |
| | | * @return æ£è
ä½é¢è®°å½ |
| | | */ |
| | | public PatMedInhosp selectPatMedInhospByInhospid(Long inhospid); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ä½é¢è®°å½å表 |
| | | * |
| | | * @param patMedInhosp æ£è
ä½é¢è®°å½ |
| | | * @return æ£è
ä½é¢è®°å½éå |
| | | */ |
| | | public List<PatMedInhosp> selectPatMedInhospList(PatMedInhosp patMedInhosp); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
ä½é¢è®°å½ |
| | | * |
| | | * @param patMedInhosp æ£è
ä½é¢è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatMedInhosp(PatMedInhosp patMedInhosp); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
ä½é¢è®°å½ |
| | | * |
| | | * @param patMedInhosp æ£è
ä½é¢è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatMedInhosp(PatMedInhosp patMedInhosp); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
ä½é¢è®°å½ |
| | | * |
| | | * @param inhospids éè¦å é¤çæ£è
ä½é¢è®°å½ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedInhospByInhospids(Long[] inhospids); |
| | | |
| | | /** |
| | | * å 餿£è
ä½é¢è®°å½ä¿¡æ¯ |
| | | * |
| | | * @param inhospid æ£è
ä½é¢è®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedInhospByInhospid(Long inhospid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyCategory; |
| | | |
| | | /** |
| | | * é®å·åç±»Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface ISvyCategoryService |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·åç±» |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return é®å·åç±» |
| | | */ |
| | | public SvyCategory selectSvyCategoryById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·åç±»å表 |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return é®å·åç±»éå |
| | | */ |
| | | public List<SvyCategory> selectSvyCategoryList(SvyCategory svyCategory); |
| | | |
| | | /** |
| | | * æ°å¢é®å·åç±» |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyCategory(SvyCategory svyCategory); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·åç±» |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyCategory(SvyCategory svyCategory); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·åç±» |
| | | * |
| | | * @param ids éè¦å é¤çé®å·å类主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyCategoryByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å é¤é®å·åç±»ä¿¡æ¯ |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyCategoryById(Long id); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibException; |
| | | |
| | | /** |
| | | * é®å·å¼å¸¸Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface ISvyLibExceptionService |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·å¼å¸¸ |
| | | * |
| | | * @param ecid é®å·å¼å¸¸ä¸»é® |
| | | * @return é®å·å¼å¸¸ |
| | | */ |
| | | public SvyLibException selectSvyLibExceptionByEcid(Long ecid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å¼å¸¸å表 |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return é®å·å¼å¸¸éå |
| | | */ |
| | | public List<SvyLibException> selectSvyLibExceptionList(SvyLibException svyLibException); |
| | | |
| | | /** |
| | | * æ°å¢é®å·å¼å¸¸ |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibException(SvyLibException svyLibException); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·å¼å¸¸ |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibException(SvyLibException svyLibException); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·å¼å¸¸ |
| | | * |
| | | * @param ecids éè¦å é¤çé®å·å¼å¸¸ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibExceptionByEcids(Long[] ecids); |
| | | |
| | | /** |
| | | * å é¤é®å·å¼å¸¸ä¿¡æ¯ |
| | | * |
| | | * @param ecid é®å·å¼å¸¸ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibExceptionByEcid(Long ecid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibResult; |
| | | |
| | | /** |
| | | * é®å·ç»æServiceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface ISvyLibResultService |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·ç»æ |
| | | * |
| | | * @param resultid é®å·ç»æä¸»é® |
| | | * @return é®å·ç»æ |
| | | */ |
| | | public SvyLibResult selectSvyLibResultByResultid(Long resultid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·ç»æå表 |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return é®å·ç»æéå |
| | | */ |
| | | public List<SvyLibResult> selectSvyLibResultList(SvyLibResult svyLibResult); |
| | | |
| | | /** |
| | | * æ°å¢é®å·ç»æ |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibResult(SvyLibResult svyLibResult); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·ç»æ |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibResult(SvyLibResult svyLibResult); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·ç»æ |
| | | * |
| | | * @param resultids éè¦å é¤çé®å·ç»æä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibResultByResultids(Long[] resultids); |
| | | |
| | | /** |
| | | * å é¤é®å·ç»æä¿¡æ¯ |
| | | * |
| | | * @param resultid é®å·ç»æä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibResultByResultid(Long resultid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibTitle; |
| | | |
| | | /** |
| | | * é®å·Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface ISvyLibTitleService |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å· |
| | | * |
| | | * @param svyid é®å·ä¸»é® |
| | | * @return é®å· |
| | | */ |
| | | public SvyLibTitle selectSvyLibTitleBySvyid(Long svyid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å表 |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return é®å·éå |
| | | */ |
| | | public List<SvyLibTitle> selectSvyLibTitleList(SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * æ°å¢é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTitle(SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTitle(SvyLibTitle svyLibTitle); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å· |
| | | * |
| | | * @param svyids éè¦å é¤çé®å·ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTitleBySvyids(Long[] svyids); |
| | | |
| | | /** |
| | | * å é¤é®å·ä¿¡æ¯ |
| | | * |
| | | * @param svyid é®å·ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTitleBySvyid(Long svyid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibTopic; |
| | | |
| | | /** |
| | | * é®å·é¢ç®Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface ISvyLibTopicService |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç® |
| | | * |
| | | * @param topicid é®å·é¢ç®ä¸»é® |
| | | * @return é®å·é¢ç® |
| | | */ |
| | | public SvyLibTopic selectSvyLibTopicByTopicid(Long topicid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®å表 |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return é®å·é¢ç®éå |
| | | */ |
| | | public List<SvyLibTopic> selectSvyLibTopicList(SvyLibTopic svyLibTopic); |
| | | |
| | | /** |
| | | * æ°å¢é®å·é¢ç® |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTopic(SvyLibTopic svyLibTopic); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç® |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTopic(SvyLibTopic svyLibTopic); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é¢ç® |
| | | * |
| | | * @param topicids éè¦å é¤çé®å·é¢ç®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicByTopicids(Long[] topicids); |
| | | |
| | | /** |
| | | * å é¤é®å·é¢ç®ä¿¡æ¯ |
| | | * |
| | | * @param topicid é®å·é¢ç®ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicByTopicid(Long topicid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.SvyLibTopicoption; |
| | | |
| | | /** |
| | | * é®å·é®é¢é项Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface ISvyLibTopicoptionService |
| | | { |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢é项 |
| | | * |
| | | * @param optionid é®å·é®é¢éé¡¹ä¸»é® |
| | | * @return é®å·é®é¢é项 |
| | | */ |
| | | public SvyLibTopicoption selectSvyLibTopicoptionByOptionid(Long optionid); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢é项å表 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return é®å·é®é¢é项éå |
| | | */ |
| | | public List<SvyLibTopicoption> selectSvyLibTopicoptionList(SvyLibTopicoption svyLibTopicoption); |
| | | |
| | | /** |
| | | * æ°å¢é®å·é®é¢é项 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return ç»æ |
| | | */ |
| | | public int insertSvyLibTopicoption(SvyLibTopicoption svyLibTopicoption); |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é®é¢é项 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return ç»æ |
| | | */ |
| | | public int updateSvyLibTopicoption(SvyLibTopicoption svyLibTopicoption); |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é®é¢é项 |
| | | * |
| | | * @param optionids éè¦å é¤çé®å·é®é¢é项主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicoptionByOptionids(Long[] optionids); |
| | | |
| | | /** |
| | | * å é¤é®å·é®é¢éé¡¹ä¿¡æ¯ |
| | | * |
| | | * @param optionid é®å·é®é¢éé¡¹ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteSvyLibTopicoptionByOptionid(Long optionid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.PatArchiveMapper; |
| | | import com.smartor.domain.PatArchive; |
| | | import com.smartor.service.IPatArchiveService; |
| | | |
| | | /** |
| | | * æ£è
æ¡£æ¡Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-01 |
| | | */ |
| | | @Service |
| | | public class PatArchiveServiceImpl implements IPatArchiveService |
| | | { |
| | | @Autowired |
| | | private PatArchiveMapper patArchiveMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡ |
| | | * |
| | | * @param patid æ£è
æ¡£æ¡ä¸»é® |
| | | * @return æ£è
æ¡£æ¡ |
| | | */ |
| | | @Override |
| | | public PatArchive selectPatArchiveByPatid(Long patid) |
| | | { |
| | | return patArchiveMapper.selectPatArchiveByPatid(patid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ¡£æ¡å表 |
| | | * |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return æ£è
æ¡£æ¡ |
| | | */ |
| | | @Override |
| | | public List<PatArchive> selectPatArchiveList(PatArchive patArchive) |
| | | { |
| | | return patArchiveMapper.selectPatArchiveList(patArchive); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
æ¡£æ¡ |
| | | * |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertPatArchive(PatArchive patArchive) |
| | | { |
| | | patArchive.setCreateTime(DateUtils.getNowDate()); |
| | | return patArchiveMapper.insertPatArchive(patArchive); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
æ¡£æ¡ |
| | | * |
| | | * @param patArchive æ£è
æ¡£æ¡ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updatePatArchive(PatArchive patArchive) |
| | | { |
| | | patArchive.setUpdateTime(DateUtils.getNowDate()); |
| | | return patArchiveMapper.updatePatArchive(patArchive); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
æ¡£æ¡ |
| | | * |
| | | * @param patids éè¦å é¤çæ£è
æ¡£æ¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatArchiveByPatids(Long[] patids) |
| | | { |
| | | return patArchiveMapper.deletePatArchiveByPatids(patids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
æ¡£æ¡ä¿¡æ¯ |
| | | * |
| | | * @param patid æ£è
æ¡£æ¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatArchiveByPatid(Long patid) |
| | | { |
| | | return patArchiveMapper.deletePatArchiveByPatid(patid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.PatMedInhospMapper; |
| | | import com.smartor.domain.PatMedInhosp; |
| | | import com.smartor.service.IPatMedInhospService; |
| | | |
| | | /** |
| | | * æ£è
ä½é¢è®°å½Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-01 |
| | | */ |
| | | @Service |
| | | public class PatMedInhospServiceImpl implements IPatMedInhospService |
| | | { |
| | | @Autowired |
| | | private PatMedInhospMapper patMedInhospMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ä½é¢è®°å½ |
| | | * |
| | | * @param inhospid æ£è
ä½é¢è®°å½ä¸»é® |
| | | * @return æ£è
ä½é¢è®°å½ |
| | | */ |
| | | @Override |
| | | public PatMedInhosp selectPatMedInhospByInhospid(Long inhospid) |
| | | { |
| | | return patMedInhospMapper.selectPatMedInhospByInhospid(inhospid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ä½é¢è®°å½å表 |
| | | * |
| | | * @param patMedInhosp æ£è
ä½é¢è®°å½ |
| | | * @return æ£è
ä½é¢è®°å½ |
| | | */ |
| | | @Override |
| | | public List<PatMedInhosp> selectPatMedInhospList(PatMedInhosp patMedInhosp) |
| | | { |
| | | return patMedInhospMapper.selectPatMedInhospList(patMedInhosp); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
ä½é¢è®°å½ |
| | | * |
| | | * @param patMedInhosp æ£è
ä½é¢è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertPatMedInhosp(PatMedInhosp patMedInhosp) |
| | | { |
| | | patMedInhosp.setCreateTime(DateUtils.getNowDate()); |
| | | return patMedInhospMapper.insertPatMedInhosp(patMedInhosp); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
ä½é¢è®°å½ |
| | | * |
| | | * @param patMedInhosp æ£è
ä½é¢è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updatePatMedInhosp(PatMedInhosp patMedInhosp) |
| | | { |
| | | patMedInhosp.setUpdateTime(DateUtils.getNowDate()); |
| | | return patMedInhospMapper.updatePatMedInhosp(patMedInhosp); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
ä½é¢è®°å½ |
| | | * |
| | | * @param inhospids éè¦å é¤çæ£è
ä½é¢è®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatMedInhospByInhospids(Long[] inhospids) |
| | | { |
| | | return patMedInhospMapper.deletePatMedInhospByInhospids(inhospids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
ä½é¢è®°å½ä¿¡æ¯ |
| | | * |
| | | * @param inhospid æ£è
ä½é¢è®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatMedInhospByInhospid(Long inhospid) |
| | | { |
| | | return patMedInhospMapper.deletePatMedInhospByInhospid(inhospid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyCategoryMapper; |
| | | import com.smartor.domain.SvyCategory; |
| | | import com.smartor.service.ISvyCategoryService; |
| | | |
| | | /** |
| | | * é®å·åç±»Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Service |
| | | public class SvyCategoryServiceImpl implements ISvyCategoryService |
| | | { |
| | | @Autowired |
| | | private SvyCategoryMapper svyCategoryMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·åç±» |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return é®å·åç±» |
| | | */ |
| | | @Override |
| | | public SvyCategory selectSvyCategoryById(Long id) |
| | | { |
| | | return svyCategoryMapper.selectSvyCategoryById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·åç±»å表 |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return é®å·åç±» |
| | | */ |
| | | @Override |
| | | public List<SvyCategory> selectSvyCategoryList(SvyCategory svyCategory) |
| | | { |
| | | return svyCategoryMapper.selectSvyCategoryList(svyCategory); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·åç±» |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyCategory(SvyCategory svyCategory) |
| | | { |
| | | svyCategory.setCreateTime(DateUtils.getNowDate()); |
| | | return svyCategoryMapper.insertSvyCategory(svyCategory); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·åç±» |
| | | * |
| | | * @param svyCategory é®å·åç±» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyCategory(SvyCategory svyCategory) |
| | | { |
| | | svyCategory.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyCategoryMapper.updateSvyCategory(svyCategory); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·åç±» |
| | | * |
| | | * @param ids éè¦å é¤çé®å·åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyCategoryByIds(Long[] ids) |
| | | { |
| | | return svyCategoryMapper.deleteSvyCategoryByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·åç±»ä¿¡æ¯ |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyCategoryById(Long id) |
| | | { |
| | | return svyCategoryMapper.deleteSvyCategoryById(id); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyLibExceptionMapper; |
| | | import com.smartor.domain.SvyLibException; |
| | | import com.smartor.service.ISvyLibExceptionService; |
| | | |
| | | /** |
| | | * é®å·å¼å¸¸Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Service |
| | | public class SvyLibExceptionServiceImpl implements ISvyLibExceptionService |
| | | { |
| | | @Autowired |
| | | private SvyLibExceptionMapper svyLibExceptionMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å¼å¸¸ |
| | | * |
| | | * @param ecid é®å·å¼å¸¸ä¸»é® |
| | | * @return é®å·å¼å¸¸ |
| | | */ |
| | | @Override |
| | | public SvyLibException selectSvyLibExceptionByEcid(Long ecid) |
| | | { |
| | | return svyLibExceptionMapper.selectSvyLibExceptionByEcid(ecid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å¼å¸¸å表 |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return é®å·å¼å¸¸ |
| | | */ |
| | | @Override |
| | | public List<SvyLibException> selectSvyLibExceptionList(SvyLibException svyLibException) |
| | | { |
| | | return svyLibExceptionMapper.selectSvyLibExceptionList(svyLibException); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·å¼å¸¸ |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibException(SvyLibException svyLibException) |
| | | { |
| | | svyLibException.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibExceptionMapper.insertSvyLibException(svyLibException); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·å¼å¸¸ |
| | | * |
| | | * @param svyLibException é®å·å¼å¸¸ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibException(SvyLibException svyLibException) |
| | | { |
| | | svyLibException.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibExceptionMapper.updateSvyLibException(svyLibException); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·å¼å¸¸ |
| | | * |
| | | * @param ecids éè¦å é¤çé®å·å¼å¸¸ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibExceptionByEcids(Long[] ecids) |
| | | { |
| | | return svyLibExceptionMapper.deleteSvyLibExceptionByEcids(ecids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·å¼å¸¸ä¿¡æ¯ |
| | | * |
| | | * @param ecid é®å·å¼å¸¸ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibExceptionByEcid(Long ecid) |
| | | { |
| | | return svyLibExceptionMapper.deleteSvyLibExceptionByEcid(ecid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyLibResultMapper; |
| | | import com.smartor.domain.SvyLibResult; |
| | | import com.smartor.service.ISvyLibResultService; |
| | | |
| | | /** |
| | | * é®å·ç»æServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Service |
| | | public class SvyLibResultServiceImpl implements ISvyLibResultService |
| | | { |
| | | @Autowired |
| | | private SvyLibResultMapper svyLibResultMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·ç»æ |
| | | * |
| | | * @param resultid é®å·ç»æä¸»é® |
| | | * @return é®å·ç»æ |
| | | */ |
| | | @Override |
| | | public SvyLibResult selectSvyLibResultByResultid(Long resultid) |
| | | { |
| | | return svyLibResultMapper.selectSvyLibResultByResultid(resultid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·ç»æå表 |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return é®å·ç»æ |
| | | */ |
| | | @Override |
| | | public List<SvyLibResult> selectSvyLibResultList(SvyLibResult svyLibResult) |
| | | { |
| | | return svyLibResultMapper.selectSvyLibResultList(svyLibResult); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·ç»æ |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibResult(SvyLibResult svyLibResult) |
| | | { |
| | | svyLibResult.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibResultMapper.insertSvyLibResult(svyLibResult); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·ç»æ |
| | | * |
| | | * @param svyLibResult é®å·ç»æ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibResult(SvyLibResult svyLibResult) |
| | | { |
| | | svyLibResult.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibResultMapper.updateSvyLibResult(svyLibResult); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·ç»æ |
| | | * |
| | | * @param resultids éè¦å é¤çé®å·ç»æä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibResultByResultids(Long[] resultids) |
| | | { |
| | | return svyLibResultMapper.deleteSvyLibResultByResultids(resultids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·ç»æä¿¡æ¯ |
| | | * |
| | | * @param resultid é®å·ç»æä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibResultByResultid(Long resultid) |
| | | { |
| | | return svyLibResultMapper.deleteSvyLibResultByResultid(resultid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyLibTitleMapper; |
| | | import com.smartor.domain.SvyLibTitle; |
| | | import com.smartor.service.ISvyLibTitleService; |
| | | |
| | | /** |
| | | * é®å·Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Service |
| | | public class SvyLibTitleServiceImpl implements ISvyLibTitleService |
| | | { |
| | | @Autowired |
| | | private SvyLibTitleMapper svyLibTitleMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å· |
| | | * |
| | | * @param svyid é®å·ä¸»é® |
| | | * @return é®å· |
| | | */ |
| | | @Override |
| | | public SvyLibTitle selectSvyLibTitleBySvyid(Long svyid) |
| | | { |
| | | return svyLibTitleMapper.selectSvyLibTitleBySvyid(svyid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·å表 |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return é®å· |
| | | */ |
| | | @Override |
| | | public List<SvyLibTitle> selectSvyLibTitleList(SvyLibTitle svyLibTitle) |
| | | { |
| | | return svyLibTitleMapper.selectSvyLibTitleList(svyLibTitle); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibTitle(SvyLibTitle svyLibTitle) |
| | | { |
| | | svyLibTitle.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibTitleMapper.insertSvyLibTitle(svyLibTitle); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å· |
| | | * |
| | | * @param svyLibTitle é®å· |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibTitle(SvyLibTitle svyLibTitle) |
| | | { |
| | | svyLibTitle.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibTitleMapper.updateSvyLibTitle(svyLibTitle); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å· |
| | | * |
| | | * @param svyids éè¦å é¤çé®å·ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTitleBySvyids(Long[] svyids) |
| | | { |
| | | return svyLibTitleMapper.deleteSvyLibTitleBySvyids(svyids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·ä¿¡æ¯ |
| | | * |
| | | * @param svyid é®å·ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTitleBySvyid(Long svyid) |
| | | { |
| | | return svyLibTitleMapper.deleteSvyLibTitleBySvyid(svyid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyLibTopicMapper; |
| | | import com.smartor.domain.SvyLibTopic; |
| | | import com.smartor.service.ISvyLibTopicService; |
| | | |
| | | /** |
| | | * é®å·é¢ç®Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Service |
| | | public class SvyLibTopicServiceImpl implements ISvyLibTopicService |
| | | { |
| | | @Autowired |
| | | private SvyLibTopicMapper svyLibTopicMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç® |
| | | * |
| | | * @param topicid é®å·é¢ç®ä¸»é® |
| | | * @return é®å·é¢ç® |
| | | */ |
| | | @Override |
| | | public SvyLibTopic selectSvyLibTopicByTopicid(Long topicid) |
| | | { |
| | | return svyLibTopicMapper.selectSvyLibTopicByTopicid(topicid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é¢ç®å表 |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return é®å·é¢ç® |
| | | */ |
| | | @Override |
| | | public List<SvyLibTopic> selectSvyLibTopicList(SvyLibTopic svyLibTopic) |
| | | { |
| | | return svyLibTopicMapper.selectSvyLibTopicList(svyLibTopic); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·é¢ç® |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibTopic(SvyLibTopic svyLibTopic) |
| | | { |
| | | svyLibTopic.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibTopicMapper.insertSvyLibTopic(svyLibTopic); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é¢ç® |
| | | * |
| | | * @param svyLibTopic é®å·é¢ç® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibTopic(SvyLibTopic svyLibTopic) |
| | | { |
| | | svyLibTopic.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibTopicMapper.updateSvyLibTopic(svyLibTopic); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é¢ç® |
| | | * |
| | | * @param topicids éè¦å é¤çé®å·é¢ç®ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTopicByTopicids(Long[] topicids) |
| | | { |
| | | return svyLibTopicMapper.deleteSvyLibTopicByTopicids(topicids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·é¢ç®ä¿¡æ¯ |
| | | * |
| | | * @param topicid é®å·é¢ç®ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTopicByTopicid(Long topicid) |
| | | { |
| | | return svyLibTopicMapper.deleteSvyLibTopicByTopicid(topicid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.SvyLibTopicoptionMapper; |
| | | import com.smartor.domain.SvyLibTopicoption; |
| | | import com.smartor.service.ISvyLibTopicoptionService; |
| | | |
| | | /** |
| | | * é®å·é®é¢é项Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Service |
| | | public class SvyLibTopicoptionServiceImpl implements ISvyLibTopicoptionService |
| | | { |
| | | @Autowired |
| | | private SvyLibTopicoptionMapper svyLibTopicoptionMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢é项 |
| | | * |
| | | * @param optionid é®å·é®é¢éé¡¹ä¸»é® |
| | | * @return é®å·é®é¢é项 |
| | | */ |
| | | @Override |
| | | public SvyLibTopicoption selectSvyLibTopicoptionByOptionid(Long optionid) |
| | | { |
| | | return svyLibTopicoptionMapper.selectSvyLibTopicoptionByOptionid(optionid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·é®é¢é项å表 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return é®å·é®é¢é项 |
| | | */ |
| | | @Override |
| | | public List<SvyLibTopicoption> selectSvyLibTopicoptionList(SvyLibTopicoption svyLibTopicoption) |
| | | { |
| | | return svyLibTopicoptionMapper.selectSvyLibTopicoptionList(svyLibTopicoption); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢é®å·é®é¢é项 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertSvyLibTopicoption(SvyLibTopicoption svyLibTopicoption) |
| | | { |
| | | svyLibTopicoption.setCreateTime(DateUtils.getNowDate()); |
| | | return svyLibTopicoptionMapper.insertSvyLibTopicoption(svyLibTopicoption); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹é®å·é®é¢é项 |
| | | * |
| | | * @param svyLibTopicoption é®å·é®é¢é项 |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateSvyLibTopicoption(SvyLibTopicoption svyLibTopicoption) |
| | | { |
| | | svyLibTopicoption.setUpdateTime(DateUtils.getNowDate()); |
| | | return svyLibTopicoptionMapper.updateSvyLibTopicoption(svyLibTopicoption); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤é®å·é®é¢é项 |
| | | * |
| | | * @param optionids éè¦å é¤çé®å·é®é¢éé¡¹ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTopicoptionByOptionids(Long[] optionids) |
| | | { |
| | | return svyLibTopicoptionMapper.deleteSvyLibTopicoptionByOptionids(optionids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤é®å·é®é¢éé¡¹ä¿¡æ¯ |
| | | * |
| | | * @param optionid é®å·é®é¢éé¡¹ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteSvyLibTopicoptionByOptionid(Long optionid) |
| | | { |
| | | return svyLibTopicoptionMapper.deleteSvyLibTopicoptionByOptionid(optionid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?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.PatArchiveMapper"> |
| | | |
| | | <resultMap type="PatArchive" id="PatArchiveResult"> |
| | | <result property="patid" column="patid" /> |
| | | <result property="name" column="name" /> |
| | | <result property="sex" column="sex" /> |
| | | <result property="iccardno" column="iccardno" /> |
| | | <result property="birthdate" column="birthdate" /> |
| | | <result property="age" column="age" /> |
| | | <result property="source" column="source" /> |
| | | <result property="archivetime" column="archivetime" /> |
| | | <result property="archiveby" column="archiveby" /> |
| | | <result property="telcode" column="telcode" /> |
| | | <result property="relativetelcode" column="relativetelcode" /> |
| | | <result property="iccardtype" column="iccardtype" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="openid" column="openid" /> |
| | | <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> |
| | | |
| | | <sql id="selectPatArchiveVo"> |
| | | select patid, name, sex, iccardno, birthdate, age, source, archivetime, archiveby, telcode, relativetelcode, iccardtype, orgid, openid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from pat_archive |
| | | </sql> |
| | | |
| | | <select id="selectPatArchiveList" parameterType="PatArchive" resultMap="PatArchiveResult"> |
| | | <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="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> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatArchiveByPatid" parameterType="Long" resultMap="PatArchiveResult"> |
| | | <include refid="selectPatArchiveVo"/> |
| | | where patid = #{patid} |
| | | </select> |
| | | |
| | | <insert id="insertPatArchive" parameterType="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> |
| | | |
| | | <update id="updatePatArchive" parameterType="PatArchive"> |
| | | update pat_archive |
| | | <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="birthdate != null">birthdate = #{birthdate},</if> |
| | | <if test="age != null">age = #{age},</if> |
| | | <if test="source != null">source = #{source},</if> |
| | | <if test="archivetime != null">archivetime = #{archivetime},</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="orgid != null">orgid = #{orgid},</if> |
| | | <if test="openid != null">openid = #{openid},</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> |
| | | </trim> |
| | | where patid = #{patid} |
| | | </update> |
| | | |
| | | <delete id="deletePatArchiveByPatid" parameterType="Long"> |
| | | delete from pat_archive where patid = #{patid} |
| | | </delete> |
| | | |
| | | <delete id="deletePatArchiveByPatids" parameterType="String"> |
| | | delete from pat_archive where patid in |
| | | <foreach item="patid" collection="array" open="(" separator="," close=")"> |
| | | #{patid} |
| | | </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.PatMedInhospMapper"> |
| | | |
| | | <resultMap type="PatMedInhosp" id="PatMedInhospResult"> |
| | | <result property="inhospid" column="inhospid" /> |
| | | <result property="serialnum" column="serialnum" /> |
| | | <result property="hospitalname" column="hospitalname" /> |
| | | <result property="hospitalcode" column="hospitalcode" /> |
| | | <result property="hospitaldistrictcode" column="hospitaldistrictcode" /> |
| | | <result property="hospitaldistrictname" column="hospitaldistrictname" /> |
| | | <result property="icd10code" column="icd10code" /> |
| | | <result property="diagname" column="diagname" /> |
| | | <result property="starttime" column="starttime" /> |
| | | <result property="endtime" column="endtime" /> |
| | | <result property="deptcode" column="deptcode" /> |
| | | <result property="deptname" column="deptname" /> |
| | | <result property="roomno" column="roomno" /> |
| | | <result property="bedno" column="bedno" /> |
| | | <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="patid" column="patid" /> |
| | | <result property="leavediagname" column="leavediagname" /> |
| | | <result property="leaveicd10code" column="leaveicd10code" /> |
| | | <result property="drcode" column="drcode" /> |
| | | <result property="drname" column="drname" /> |
| | | <result property="schemestatus" column="schemestatus" /> |
| | | <result property="generalschemestatus" column="generalschemestatus" /> |
| | | <result property="leaveldeptcode" column="leaveldeptcode" /> |
| | | <result property="leaveldeptname" column="leaveldeptname" /> |
| | | <result property="hospitaldistrictid" column="hospitaldistrictid" /> |
| | | <result property="leavehospitaldistrictcode" column="leavehospitaldistrictcode" /> |
| | | <result property="leavehospitaldistrictname" column="leavehospitaldistrictname" /> |
| | | <result property="leavehospitaldistrictid" column="leavehospitaldistrictid" /> |
| | | <result property="deptid" column="deptid" /> |
| | | <result property="leaveldeptid" column="leaveldeptid" /> |
| | | <result property="schemetime" column="schemetime" /> |
| | | </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 |
| | | </sql> |
| | | |
| | | <select id="selectPatMedInhospList" parameterType="PatMedInhosp" resultMap="PatMedInhospResult"> |
| | | <include refid="selectPatMedInhospVo"/> |
| | | <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="leavediagname != null and leavediagname != ''"> and leavediagname like concat('%', #{leavediagname}, '%')</if> |
| | | <if test="drname != null and drname != ''"> and drname like concat('%', #{drname}, '%')</if> |
| | | <if test="leaveldeptname != null and leaveldeptname != ''"> and leaveldeptname like concat('%', #{leaveldeptname}, '%')</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 into pat_med_inhosp |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="serialnum != null">serialnum,</if> |
| | | <if test="hospitalname != null">hospitalname,</if> |
| | | <if test="hospitalcode != null">hospitalcode,</if> |
| | | <if test="hospitaldistrictcode != null">hospitaldistrictcode,</if> |
| | | <if test="hospitaldistrictname != null">hospitaldistrictname,</if> |
| | | <if test="icd10code != null">icd10code,</if> |
| | | <if test="diagname != null">diagname,</if> |
| | | <if test="starttime != null">starttime,</if> |
| | | <if test="endtime != null">endtime,</if> |
| | | <if test="deptcode != null">deptcode,</if> |
| | | <if test="deptname != null">deptname,</if> |
| | | <if test="roomno != null">roomno,</if> |
| | | <if test="bedno != null">bedno,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="patid != null">patid,</if> |
| | | <if test="leavediagname != null">leavediagname,</if> |
| | | <if test="leaveicd10code != null">leaveicd10code,</if> |
| | | <if test="drcode != null">drcode,</if> |
| | | <if test="drname != null">drname,</if> |
| | | <if test="schemestatus != null">schemestatus,</if> |
| | | <if test="generalschemestatus != null">generalschemestatus,</if> |
| | | <if test="leaveldeptcode != null">leaveldeptcode,</if> |
| | | <if test="leaveldeptname != null">leaveldeptname,</if> |
| | | <if test="hospitaldistrictid != null">hospitaldistrictid,</if> |
| | | <if test="leavehospitaldistrictcode != null">leavehospitaldistrictcode,</if> |
| | | <if test="leavehospitaldistrictname != null">leavehospitaldistrictname,</if> |
| | | <if test="leavehospitaldistrictid != null">leavehospitaldistrictid,</if> |
| | | <if test="deptid != null">deptid,</if> |
| | | <if test="leaveldeptid != null">leaveldeptid,</if> |
| | | <if test="schemetime != null">schemetime,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="serialnum != null">#{serialnum},</if> |
| | | <if test="hospitalname != null">#{hospitalname},</if> |
| | | <if test="hospitalcode != null">#{hospitalcode},</if> |
| | | <if test="hospitaldistrictcode != null">#{hospitaldistrictcode},</if> |
| | | <if test="hospitaldistrictname != null">#{hospitaldistrictname},</if> |
| | | <if test="icd10code != null">#{icd10code},</if> |
| | | <if test="diagname != null">#{diagname},</if> |
| | | <if test="starttime != null">#{starttime},</if> |
| | | <if test="endtime != null">#{endtime},</if> |
| | | <if test="deptcode != null">#{deptcode},</if> |
| | | <if test="deptname != null">#{deptname},</if> |
| | | <if test="roomno != null">#{roomno},</if> |
| | | <if test="bedno != null">#{bedno},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="patid != null">#{patid},</if> |
| | | <if test="leavediagname != null">#{leavediagname},</if> |
| | | <if test="leaveicd10code != null">#{leaveicd10code},</if> |
| | | <if test="drcode != null">#{drcode},</if> |
| | | <if test="drname != null">#{drname},</if> |
| | | <if test="schemestatus != null">#{schemestatus},</if> |
| | | <if test="generalschemestatus != null">#{generalschemestatus},</if> |
| | | <if test="leaveldeptcode != null">#{leaveldeptcode},</if> |
| | | <if test="leaveldeptname != null">#{leaveldeptname},</if> |
| | | <if test="hospitaldistrictid != null">#{hospitaldistrictid},</if> |
| | | <if test="leavehospitaldistrictcode != null">#{leavehospitaldistrictcode},</if> |
| | | <if test="leavehospitaldistrictname != null">#{leavehospitaldistrictname},</if> |
| | | <if test="leavehospitaldistrictid != null">#{leavehospitaldistrictid},</if> |
| | | <if test="deptid != null">#{deptid},</if> |
| | | <if test="leaveldeptid != null">#{leaveldeptid},</if> |
| | | <if test="schemetime != null">#{schemetime},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatMedInhosp" parameterType="PatMedInhosp"> |
| | | update pat_med_inhosp |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="serialnum != null">serialnum = #{serialnum},</if> |
| | | <if test="hospitalname != null">hospitalname = #{hospitalname},</if> |
| | | <if test="hospitalcode != null">hospitalcode = #{hospitalcode},</if> |
| | | <if test="hospitaldistrictcode != null">hospitaldistrictcode = #{hospitaldistrictcode},</if> |
| | | <if test="hospitaldistrictname != null">hospitaldistrictname = #{hospitaldistrictname},</if> |
| | | <if test="icd10code != null">icd10code = #{icd10code},</if> |
| | | <if test="diagname != null">diagname = #{diagname},</if> |
| | | <if test="starttime != null">starttime = #{starttime},</if> |
| | | <if test="endtime != null">endtime = #{endtime},</if> |
| | | <if test="deptcode != null">deptcode = #{deptcode},</if> |
| | | <if test="deptname != null">deptname = #{deptname},</if> |
| | | <if test="roomno != null">roomno = #{roomno},</if> |
| | | <if test="bedno != null">bedno = #{bedno},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="patid != null">patid = #{patid},</if> |
| | | <if test="leavediagname != null">leavediagname = #{leavediagname},</if> |
| | | <if test="leaveicd10code != null">leaveicd10code = #{leaveicd10code},</if> |
| | | <if test="drcode != null">drcode = #{drcode},</if> |
| | | <if test="drname != null">drname = #{drname},</if> |
| | | <if test="schemestatus != null">schemestatus = #{schemestatus},</if> |
| | | <if test="generalschemestatus != null">generalschemestatus = #{generalschemestatus},</if> |
| | | <if test="leaveldeptcode != null">leaveldeptcode = #{leaveldeptcode},</if> |
| | | <if test="leaveldeptname != null">leaveldeptname = #{leaveldeptname},</if> |
| | | <if test="hospitaldistrictid != null">hospitaldistrictid = #{hospitaldistrictid},</if> |
| | | <if test="leavehospitaldistrictcode != null">leavehospitaldistrictcode = #{leavehospitaldistrictcode},</if> |
| | | <if test="leavehospitaldistrictname != null">leavehospitaldistrictname = #{leavehospitaldistrictname},</if> |
| | | <if test="leavehospitaldistrictid != null">leavehospitaldistrictid = #{leavehospitaldistrictid},</if> |
| | | <if test="deptid != null">deptid = #{deptid},</if> |
| | | <if test="leaveldeptid != null">leaveldeptid = #{leaveldeptid},</if> |
| | | <if test="schemetime != null">schemetime = #{schemetime},</if> |
| | | </trim> |
| | | where inhospid = #{inhospid} |
| | | </update> |
| | | |
| | | <delete id="deletePatMedInhospByInhospid" parameterType="Long"> |
| | | delete from pat_med_inhosp where inhospid = #{inhospid} |
| | | </delete> |
| | | |
| | | <delete id="deletePatMedInhospByInhospids" parameterType="String"> |
| | | delete from pat_med_inhosp where inhospid in |
| | | <foreach item="inhospid" collection="array" open="(" separator="," close=")"> |
| | | #{inhospid} |
| | | </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.SvyCategoryMapper"> |
| | | |
| | | <resultMap type="SvyCategory" id="SvyCategoryResult"> |
| | | <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> |
| | | |
| | | <sql id="selectSvyCategoryVo"> |
| | | select id, categoryname, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from svy_category |
| | | </sql> |
| | | |
| | | <select id="selectSvyCategoryList" parameterType="SvyCategory" resultMap="SvyCategoryResult"> |
| | | <include refid="selectSvyCategoryVo"/> |
| | | <where> |
| | | <if test="categoryname != null and categoryname != ''"> and categoryname like concat('%', #{categoryname}, '%')</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyCategoryById" parameterType="Long" resultMap="SvyCategoryResult"> |
| | | <include refid="selectSvyCategoryVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertSvyCategory" parameterType="SvyCategory" useGeneratedKeys="true" keyProperty="id"> |
| | | insert into svy_category |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="categoryname != null">categoryname,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="categoryname != null">#{categoryname},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyCategory" parameterType="SvyCategory"> |
| | | update svy_category |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="categoryname != null">categoryname = #{categoryname},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyCategoryById" parameterType="Long"> |
| | | delete from svy_category where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyCategoryByIds" parameterType="String"> |
| | | delete from svy_category where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.SvyLibExceptionMapper"> |
| | | |
| | | <resultMap type="SvyLibException" id="SvyLibExceptionResult"> |
| | | <result property="ecid" column="ecid" /> |
| | | <result property="oldid" column="oldid" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="questionoptionid" column="questionoptionid" /> |
| | | <result property="topicid" column="topicid" /> |
| | | <result property="psqid" column="psqid" /> |
| | | <result property="orand" column="orand" /> |
| | | <result property="ruleverify" column="ruleverify" /> |
| | | <result property="ruleconditions" column="ruleconditions" /> |
| | | <result property="rulecontent" column="rulecontent" /> |
| | | <result property="groupnumber" column="groupnumber" /> |
| | | <result property="grouporand" column="grouporand" /> |
| | | <result property="number" column="number" /> |
| | | <result property="istrack" column="istrack" /> |
| | | <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> |
| | | |
| | | <sql id="selectSvyLibExceptionVo"> |
| | | select ecid, oldid, orgid, questionoptionid, topicid, psqid, orand, ruleverify, ruleconditions, rulecontent, groupnumber, grouporand, number, istrack, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from svy_lib_exception |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibExceptionList" parameterType="SvyLibException" resultMap="SvyLibExceptionResult"> |
| | | <include refid="selectSvyLibExceptionVo"/> |
| | | <where> |
| | | <if test="oldid != null "> and oldid = #{oldid}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <if test="questionoptionid != null "> and questionoptionid = #{questionoptionid}</if> |
| | | <if test="topicid != null "> and topicid = #{topicid}</if> |
| | | <if test="psqid != null "> and psqid = #{psqid}</if> |
| | | <if test="orand != null "> and orand = #{orand}</if> |
| | | <if test="ruleverify != null and ruleverify != ''"> and ruleverify = #{ruleverify}</if> |
| | | <if test="ruleconditions != null and ruleconditions != ''"> and ruleconditions = #{ruleconditions}</if> |
| | | <if test="rulecontent != null and rulecontent != ''"> and rulecontent = #{rulecontent}</if> |
| | | <if test="groupnumber != null "> and groupnumber = #{groupnumber}</if> |
| | | <if test="grouporand != null "> and grouporand = #{grouporand}</if> |
| | | <if test="number != null "> and number = #{number}</if> |
| | | <if test="istrack != null "> and istrack = #{istrack}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibExceptionByEcid" parameterType="Long" resultMap="SvyLibExceptionResult"> |
| | | <include refid="selectSvyLibExceptionVo"/> |
| | | where ecid = #{ecid} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibException" parameterType="SvyLibException" useGeneratedKeys="true" keyProperty="ecid"> |
| | | insert into svy_lib_exception |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="oldid != null">oldid,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="questionoptionid != null">questionoptionid,</if> |
| | | <if test="topicid != null">topicid,</if> |
| | | <if test="psqid != null">psqid,</if> |
| | | <if test="orand != null">orand,</if> |
| | | <if test="ruleverify != null">ruleverify,</if> |
| | | <if test="ruleconditions != null">ruleconditions,</if> |
| | | <if test="rulecontent != null">rulecontent,</if> |
| | | <if test="groupnumber != null">groupnumber,</if> |
| | | <if test="grouporand != null">grouporand,</if> |
| | | <if test="number != null">number,</if> |
| | | <if test="istrack != null">istrack,</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="oldid != null">#{oldid},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="questionoptionid != null">#{questionoptionid},</if> |
| | | <if test="topicid != null">#{topicid},</if> |
| | | <if test="psqid != null">#{psqid},</if> |
| | | <if test="orand != null">#{orand},</if> |
| | | <if test="ruleverify != null">#{ruleverify},</if> |
| | | <if test="ruleconditions != null">#{ruleconditions},</if> |
| | | <if test="rulecontent != null">#{rulecontent},</if> |
| | | <if test="groupnumber != null">#{groupnumber},</if> |
| | | <if test="grouporand != null">#{grouporand},</if> |
| | | <if test="number != null">#{number},</if> |
| | | <if test="istrack != null">#{istrack},</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> |
| | | |
| | | <update id="updateSvyLibException" parameterType="SvyLibException"> |
| | | update svy_lib_exception |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="oldid != null">oldid = #{oldid},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="questionoptionid != null">questionoptionid = #{questionoptionid},</if> |
| | | <if test="topicid != null">topicid = #{topicid},</if> |
| | | <if test="psqid != null">psqid = #{psqid},</if> |
| | | <if test="orand != null">orand = #{orand},</if> |
| | | <if test="ruleverify != null">ruleverify = #{ruleverify},</if> |
| | | <if test="ruleconditions != null">ruleconditions = #{ruleconditions},</if> |
| | | <if test="rulecontent != null">rulecontent = #{rulecontent},</if> |
| | | <if test="groupnumber != null">groupnumber = #{groupnumber},</if> |
| | | <if test="grouporand != null">grouporand = #{grouporand},</if> |
| | | <if test="number != null">number = #{number},</if> |
| | | <if test="istrack != null">istrack = #{istrack},</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> |
| | | </trim> |
| | | where ecid = #{ecid} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibExceptionByEcid" parameterType="Long"> |
| | | delete from svy_lib_exception where ecid = #{ecid} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyLibExceptionByEcids" parameterType="String"> |
| | | delete from svy_lib_exception where ecid in |
| | | <foreach item="ecid" collection="array" open="(" separator="," close=")"> |
| | | #{ecid} |
| | | </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.SvyLibResultMapper"> |
| | | |
| | | <resultMap type="SvyLibResult" id="SvyLibResultResult"> |
| | | <result property="resultid" column="resultid" /> |
| | | <result property="svyid" column="svyid" /> |
| | | <result property="resultcontent" column="resultcontent" /> |
| | | <result property="orand" column="orand" /> |
| | | <result property="isshowscore" column="isshowscore" /> |
| | | <result property="sort" column="sort" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibResultVo"> |
| | | select resultid, svyid, resultcontent, orand, isshowscore, sort, orgid, del_flag, create_by, create_time, update_by, update_time, isupload, upload_time from svy_lib_result |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibResultList" parameterType="SvyLibResult" resultMap="SvyLibResultResult"> |
| | | <include refid="selectSvyLibResultVo"/> |
| | | <where> |
| | | <if test="svyid != null "> and svyid = #{svyid}</if> |
| | | <if test="resultcontent != null and resultcontent != ''"> and resultcontent = #{resultcontent}</if> |
| | | <if test="orand != null "> and orand = #{orand}</if> |
| | | <if test="isshowscore != null "> and isshowscore = #{isshowscore}</if> |
| | | <if test="sort != null "> and sort = #{sort}</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> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibResultByResultid" parameterType="Long" resultMap="SvyLibResultResult"> |
| | | <include refid="selectSvyLibResultVo"/> |
| | | where resultid = #{resultid} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibResult" parameterType="SvyLibResult" useGeneratedKeys="true" keyProperty="resultid"> |
| | | insert into svy_lib_result |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="svyid != null">svyid,</if> |
| | | <if test="resultcontent != null">resultcontent,</if> |
| | | <if test="orand != null">orand,</if> |
| | | <if test="isshowscore != null">isshowscore,</if> |
| | | <if test="sort != null">sort,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="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> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="svyid != null">#{svyid},</if> |
| | | <if test="resultcontent != null">#{resultcontent},</if> |
| | | <if test="orand != null">#{orand},</if> |
| | | <if test="isshowscore != null">#{isshowscore},</if> |
| | | <if test="sort != null">#{sort},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibResult" parameterType="SvyLibResult"> |
| | | update svy_lib_result |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="svyid != null">svyid = #{svyid},</if> |
| | | <if test="resultcontent != null">resultcontent = #{resultcontent},</if> |
| | | <if test="orand != null">orand = #{orand},</if> |
| | | <if test="isshowscore != null">isshowscore = #{isshowscore},</if> |
| | | <if test="sort != null">sort = #{sort},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="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> |
| | | </trim> |
| | | where resultid = #{resultid} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibResultByResultid" parameterType="Long"> |
| | | delete from svy_lib_result where resultid = #{resultid} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyLibResultByResultids" parameterType="String"> |
| | | delete from svy_lib_result where resultid in |
| | | <foreach item="resultid" collection="array" open="(" separator="," close=")"> |
| | | #{resultid} |
| | | </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.SvyLibTitleMapper"> |
| | | |
| | | <resultMap type="SvyLibTitle" id="SvyLibTitleResult"> |
| | | <result property="svyid" column="svyid" /> |
| | | <result property="categoryid" column="categoryid" /> |
| | | <result property="svycode" column="svycode" /> |
| | | <result property="svyname" column="svyname" /> |
| | | <result property="description" column="description" /> |
| | | <result property="introduce" column="introduce" /> |
| | | <result property="submitprompt" column="submitprompt" /> |
| | | <result property="templateid" column="templateid" /> |
| | | <result property="version" column="version" /> |
| | | <result property="centerlibrarycode" column="centerlibrarycode" /> |
| | | <result property="centerlibraryid" column="centerlibraryid" /> |
| | | <result property="islocal" column="islocal" /> |
| | | <result property="isenable" column="isenable" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTitleVo"> |
| | | select svyid, categoryid, svycode, svyname, description, introduce, submitprompt, templateid, version, centerlibrarycode, centerlibraryid, islocal, isenable, orgid, del_flag, create_by, create_time, update_by, update_time, isupload, upload_time from svy_lib_title |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibTitleList" parameterType="SvyLibTitle" resultMap="SvyLibTitleResult"> |
| | | <include refid="selectSvyLibTitleVo"/> |
| | | <where> |
| | | <if test="categoryid != null "> and categoryid = #{categoryid}</if> |
| | | <if test="svycode != null and svycode != ''"> and svycode = #{svycode}</if> |
| | | <if test="svyname != null and svyname != ''"> and svyname like concat('%', #{svyname}, '%')</if> |
| | | <if test="description != null and description != ''"> and description = #{description}</if> |
| | | <if test="introduce != null and introduce != ''"> and introduce = #{introduce}</if> |
| | | <if test="submitprompt != null and submitprompt != ''"> and submitprompt = #{submitprompt}</if> |
| | | <if test="templateid != null "> and templateid = #{templateid}</if> |
| | | <if test="version != null "> and version = #{version}</if> |
| | | <if test="centerlibrarycode != null and centerlibrarycode != ''"> and centerlibrarycode = #{centerlibrarycode}</if> |
| | | <if test="centerlibraryid != null "> and centerlibraryid = #{centerlibraryid}</if> |
| | | <if test="islocal != null "> and islocal = #{islocal}</if> |
| | | <if test="isenable != null "> and isenable = #{isenable}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibTitleBySvyid" parameterType="Long" resultMap="SvyLibTitleResult"> |
| | | <include refid="selectSvyLibTitleVo"/> |
| | | where svyid = #{svyid} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibTitle" parameterType="SvyLibTitle" useGeneratedKeys="true" keyProperty="svyid"> |
| | | insert into svy_lib_title |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="categoryid != null">categoryid,</if> |
| | | <if test="svycode != null">svycode,</if> |
| | | <if test="svyname != null">svyname,</if> |
| | | <if test="description != null">description,</if> |
| | | <if test="introduce != null">introduce,</if> |
| | | <if test="submitprompt != null">submitprompt,</if> |
| | | <if test="templateid != null">templateid,</if> |
| | | <if test="version != null">version,</if> |
| | | <if test="centerlibrarycode != null">centerlibrarycode,</if> |
| | | <if test="centerlibraryid != null">centerlibraryid,</if> |
| | | <if test="islocal != null">islocal,</if> |
| | | <if test="isenable != null">isenable,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="categoryid != null">#{categoryid},</if> |
| | | <if test="svycode != null">#{svycode},</if> |
| | | <if test="svyname != null">#{svyname},</if> |
| | | <if test="description != null">#{description},</if> |
| | | <if test="introduce != null">#{introduce},</if> |
| | | <if test="submitprompt != null">#{submitprompt},</if> |
| | | <if test="templateid != null">#{templateid},</if> |
| | | <if test="version != null">#{version},</if> |
| | | <if test="centerlibrarycode != null">#{centerlibrarycode},</if> |
| | | <if test="centerlibraryid != null">#{centerlibraryid},</if> |
| | | <if test="islocal != null">#{islocal},</if> |
| | | <if test="isenable != null">#{isenable},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibTitle" parameterType="SvyLibTitle"> |
| | | update svy_lib_title |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="categoryid != null">categoryid = #{categoryid},</if> |
| | | <if test="svycode != null">svycode = #{svycode},</if> |
| | | <if test="svyname != null">svyname = #{svyname},</if> |
| | | <if test="description != null">description = #{description},</if> |
| | | <if test="introduce != null">introduce = #{introduce},</if> |
| | | <if test="submitprompt != null">submitprompt = #{submitprompt},</if> |
| | | <if test="templateid != null">templateid = #{templateid},</if> |
| | | <if test="version != null">version = #{version},</if> |
| | | <if test="centerlibrarycode != null">centerlibrarycode = #{centerlibrarycode},</if> |
| | | <if test="centerlibraryid != null">centerlibraryid = #{centerlibraryid},</if> |
| | | <if test="islocal != null">islocal = #{islocal},</if> |
| | | <if test="isenable != null">isenable = #{isenable},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | </trim> |
| | | where svyid = #{svyid} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibTitleBySvyid" parameterType="Long"> |
| | | delete from svy_lib_title where svyid = #{svyid} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyLibTitleBySvyids" parameterType="String"> |
| | | delete from svy_lib_title where svyid in |
| | | <foreach item="svyid" collection="array" open="(" separator="," close=")"> |
| | | #{svyid} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.SvyLibTopicMapper"> |
| | | |
| | | <resultMap type="SvyLibTopic" id="SvyLibTopicResult"> |
| | | <result property="topicid" column="topicid" /> |
| | | <result property="oldid" column="oldid" /> |
| | | <result property="svyid" column="svyid" /> |
| | | <result property="topictype" column="topictype" /> |
| | | <result property="topiccode" column="topiccode" /> |
| | | <result property="topic" column="topic" /> |
| | | <result property="sort" column="sort" /> |
| | | <result property="ismandatory" column="ismandatory" /> |
| | | <result property="ishide" column="ishide" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTopicVo"> |
| | | select topicid, oldid, svyid, topictype, topiccode, topic, sort, ismandatory, ishide, del_flag, orgid, create_by, create_time, update_by, update_time, isupload, upload_time from svy_lib_topic |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibTopicList" parameterType="SvyLibTopic" resultMap="SvyLibTopicResult"> |
| | | <include refid="selectSvyLibTopicVo"/> |
| | | <where> |
| | | <if test="oldid != null "> and oldid = #{oldid}</if> |
| | | <if test="svyid != null "> and svyid = #{svyid}</if> |
| | | <if test="topictype != null "> and topictype = #{topictype}</if> |
| | | <if test="topiccode != null and topiccode != ''"> and topiccode = #{topiccode}</if> |
| | | <if test="topic != null and topic != ''"> and topic = #{topic}</if> |
| | | <if test="sort != null "> and sort = #{sort}</if> |
| | | <if test="ismandatory != null "> and ismandatory = #{ismandatory}</if> |
| | | <if test="ishide != null "> and ishide = #{ishide}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibTopicByTopicid" parameterType="Long" resultMap="SvyLibTopicResult"> |
| | | <include refid="selectSvyLibTopicVo"/> |
| | | where topicid = #{topicid} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibTopic" parameterType="SvyLibTopic" useGeneratedKeys="true" keyProperty="topicid"> |
| | | insert into svy_lib_topic |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="oldid != null">oldid,</if> |
| | | <if test="svyid != null">svyid,</if> |
| | | <if test="topictype != null">topictype,</if> |
| | | <if test="topiccode != null">topiccode,</if> |
| | | <if test="topic != null">topic,</if> |
| | | <if test="sort != null">sort,</if> |
| | | <if test="ismandatory != null">ismandatory,</if> |
| | | <if test="ishide != null">ishide,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="oldid != null">#{oldid},</if> |
| | | <if test="svyid != null">#{svyid},</if> |
| | | <if test="topictype != null">#{topictype},</if> |
| | | <if test="topiccode != null">#{topiccode},</if> |
| | | <if test="topic != null">#{topic},</if> |
| | | <if test="sort != null">#{sort},</if> |
| | | <if test="ismandatory != null">#{ismandatory},</if> |
| | | <if test="ishide != null">#{ishide},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibTopic" parameterType="SvyLibTopic"> |
| | | update svy_lib_topic |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="oldid != null">oldid = #{oldid},</if> |
| | | <if test="svyid != null">svyid = #{svyid},</if> |
| | | <if test="topictype != null">topictype = #{topictype},</if> |
| | | <if test="topiccode != null">topiccode = #{topiccode},</if> |
| | | <if test="topic != null">topic = #{topic},</if> |
| | | <if test="sort != null">sort = #{sort},</if> |
| | | <if test="ismandatory != null">ismandatory = #{ismandatory},</if> |
| | | <if test="ishide != null">ishide = #{ishide},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | </trim> |
| | | where topicid = #{topicid} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibTopicByTopicid" parameterType="Long"> |
| | | delete from svy_lib_topic where topicid = #{topicid} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyLibTopicByTopicids" parameterType="String"> |
| | | delete from svy_lib_topic where topicid in |
| | | <foreach item="topicid" collection="array" open="(" separator="," close=")"> |
| | | #{topicid} |
| | | </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.SvyLibTopicoptionMapper"> |
| | | |
| | | <resultMap type="SvyLibTopicoption" id="SvyLibTopicoptionResult"> |
| | | <result property="optionid" column="optionid" /> |
| | | <result property="topicid" column="topicid" /> |
| | | <result property="svyid" column="svyid" /> |
| | | <result property="topictype" column="topictype" /> |
| | | <result property="optioncode" column="optioncode" /> |
| | | <result property="optioncontent" column="optioncontent" /> |
| | | <result property="isexistdetail" column="isexistdetail" /> |
| | | <result property="detailismandatory" column="detailismandatory" /> |
| | | <result property="isexceptionitem" column="isexceptionitem" /> |
| | | <result property="istrack" column="istrack" /> |
| | | <result property="score" column="score" /> |
| | | <result property="prompt" column="prompt" /> |
| | | <result property="jump" column="jump" /> |
| | | <result property="parentoptionid" column="parentoptionid" /> |
| | | <result property="ismutex" column="ismutex" /> |
| | | <result property="verifyrule" column="verifyrule" /> |
| | | <result property="sort" column="sort" /> |
| | | <result property="verificationtype" column="verificationtype" /> |
| | | <result property="isrange" column="isrange" /> |
| | | <result property="minrange" column="minrange" /> |
| | | <result property="maxrange" column="maxrange" /> |
| | | <result property="rangelength" column="rangelength" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="oldid" column="oldid" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTopicoptionVo"> |
| | | select optionid, topicid, svyid, topictype, optioncode, optioncontent, isexistdetail, detailismandatory, isexceptionitem, istrack, score, prompt, jump, parentoptionid, ismutex, verifyrule, sort, verificationtype, isrange, minrange, maxrange, rangelength, orgid, oldid, del_flag, create_by, create_time, update_by, update_time, isupload, upload_time from svy_lib_topicoption |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibTopicoptionList" parameterType="SvyLibTopicoption" resultMap="SvyLibTopicoptionResult"> |
| | | <include refid="selectSvyLibTopicoptionVo"/> |
| | | <where> |
| | | <if test="topicid != null "> and topicid = #{topicid}</if> |
| | | <if test="svyid != null "> and svyid = #{svyid}</if> |
| | | <if test="topictype != null "> and topictype = #{topictype}</if> |
| | | <if test="optioncode != null and optioncode != ''"> and optioncode = #{optioncode}</if> |
| | | <if test="optioncontent != null and optioncontent != ''"> and optioncontent = #{optioncontent}</if> |
| | | <if test="isexistdetail != null "> and isexistdetail = #{isexistdetail}</if> |
| | | <if test="detailismandatory != null "> and detailismandatory = #{detailismandatory}</if> |
| | | <if test="isexceptionitem != null "> and isexceptionitem = #{isexceptionitem}</if> |
| | | <if test="istrack != null "> and istrack = #{istrack}</if> |
| | | <if test="score != null "> and score = #{score}</if> |
| | | <if test="prompt != null and prompt != ''"> and prompt = #{prompt}</if> |
| | | <if test="jump != null and jump != ''"> and jump = #{jump}</if> |
| | | <if test="parentoptionid != null "> and parentoptionid = #{parentoptionid}</if> |
| | | <if test="ismutex != null "> and ismutex = #{ismutex}</if> |
| | | <if test="verifyrule != null and verifyrule != ''"> and verifyrule = #{verifyrule}</if> |
| | | <if test="sort != null "> and sort = #{sort}</if> |
| | | <if test="verificationtype != null "> and verificationtype = #{verificationtype}</if> |
| | | <if test="isrange != null "> and isrange = #{isrange}</if> |
| | | <if test="minrange != null and minrange != ''"> and minrange = #{minrange}</if> |
| | | <if test="maxrange != null and maxrange != ''"> and maxrange = #{maxrange}</if> |
| | | <if test="rangelength != null "> and rangelength = #{rangelength}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <if test="oldid != null "> and oldid = #{oldid}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibTopicoptionByOptionid" parameterType="Long" resultMap="SvyLibTopicoptionResult"> |
| | | <include refid="selectSvyLibTopicoptionVo"/> |
| | | where optionid = #{optionid} |
| | | </select> |
| | | |
| | | <insert id="insertSvyLibTopicoption" parameterType="SvyLibTopicoption" useGeneratedKeys="true" keyProperty="optionid"> |
| | | insert into svy_lib_topicoption |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="topicid != null">topicid,</if> |
| | | <if test="svyid != null">svyid,</if> |
| | | <if test="topictype != null">topictype,</if> |
| | | <if test="optioncode != null">optioncode,</if> |
| | | <if test="optioncontent != null">optioncontent,</if> |
| | | <if test="isexistdetail != null">isexistdetail,</if> |
| | | <if test="detailismandatory != null">detailismandatory,</if> |
| | | <if test="isexceptionitem != null">isexceptionitem,</if> |
| | | <if test="istrack != null">istrack,</if> |
| | | <if test="score != null">score,</if> |
| | | <if test="prompt != null">prompt,</if> |
| | | <if test="jump != null">jump,</if> |
| | | <if test="parentoptionid != null">parentoptionid,</if> |
| | | <if test="ismutex != null">ismutex,</if> |
| | | <if test="verifyrule != null">verifyrule,</if> |
| | | <if test="sort != null">sort,</if> |
| | | <if test="verificationtype != null">verificationtype,</if> |
| | | <if test="isrange != null">isrange,</if> |
| | | <if test="minrange != null">minrange,</if> |
| | | <if test="maxrange != null">maxrange,</if> |
| | | <if test="rangelength != null">rangelength,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="oldid != null">oldid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="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> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="topicid != null">#{topicid},</if> |
| | | <if test="svyid != null">#{svyid},</if> |
| | | <if test="topictype != null">#{topictype},</if> |
| | | <if test="optioncode != null">#{optioncode},</if> |
| | | <if test="optioncontent != null">#{optioncontent},</if> |
| | | <if test="isexistdetail != null">#{isexistdetail},</if> |
| | | <if test="detailismandatory != null">#{detailismandatory},</if> |
| | | <if test="isexceptionitem != null">#{isexceptionitem},</if> |
| | | <if test="istrack != null">#{istrack},</if> |
| | | <if test="score != null">#{score},</if> |
| | | <if test="prompt != null">#{prompt},</if> |
| | | <if test="jump != null">#{jump},</if> |
| | | <if test="parentoptionid != null">#{parentoptionid},</if> |
| | | <if test="ismutex != null">#{ismutex},</if> |
| | | <if test="verifyrule != null">#{verifyrule},</if> |
| | | <if test="sort != null">#{sort},</if> |
| | | <if test="verificationtype != null">#{verificationtype},</if> |
| | | <if test="isrange != null">#{isrange},</if> |
| | | <if test="minrange != null">#{minrange},</if> |
| | | <if test="maxrange != null">#{maxrange},</if> |
| | | <if test="rangelength != null">#{rangelength},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="oldid != null">#{oldid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyLibTopicoption" parameterType="SvyLibTopicoption"> |
| | | update svy_lib_topicoption |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="topicid != null">topicid = #{topicid},</if> |
| | | <if test="svyid != null">svyid = #{svyid},</if> |
| | | <if test="topictype != null">topictype = #{topictype},</if> |
| | | <if test="optioncode != null">optioncode = #{optioncode},</if> |
| | | <if test="optioncontent != null">optioncontent = #{optioncontent},</if> |
| | | <if test="isexistdetail != null">isexistdetail = #{isexistdetail},</if> |
| | | <if test="detailismandatory != null">detailismandatory = #{detailismandatory},</if> |
| | | <if test="isexceptionitem != null">isexceptionitem = #{isexceptionitem},</if> |
| | | <if test="istrack != null">istrack = #{istrack},</if> |
| | | <if test="score != null">score = #{score},</if> |
| | | <if test="prompt != null">prompt = #{prompt},</if> |
| | | <if test="jump != null">jump = #{jump},</if> |
| | | <if test="parentoptionid != null">parentoptionid = #{parentoptionid},</if> |
| | | <if test="ismutex != null">ismutex = #{ismutex},</if> |
| | | <if test="verifyrule != null">verifyrule = #{verifyrule},</if> |
| | | <if test="sort != null">sort = #{sort},</if> |
| | | <if test="verificationtype != null">verificationtype = #{verificationtype},</if> |
| | | <if test="isrange != null">isrange = #{isrange},</if> |
| | | <if test="minrange != null">minrange = #{minrange},</if> |
| | | <if test="maxrange != null">maxrange = #{maxrange},</if> |
| | | <if test="rangelength != null">rangelength = #{rangelength},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="oldid != null">oldid = #{oldid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="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> |
| | | </trim> |
| | | where optionid = #{optionid} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibTopicoptionByOptionid" parameterType="Long"> |
| | | delete from svy_lib_topicoption where optionid = #{optionid} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyLibTopicoptionByOptionids" parameterType="String"> |
| | | delete from svy_lib_topicoption where optionid in |
| | | <foreach item="optionid" collection="array" open="(" separator="," close=")"> |
| | | #{optionid} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |