【丽水】妇幼档案拆分为妇科/儿科主表与详情表并完成CRUD
已删除4个文件
已重命名1个文件
已添加20个文件
已复制3个文件
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.AddOrgId; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.PatChildArchive; |
| | | import com.smartor.service.IPatChildArchiveService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¿ç§æ¡£æ¡Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Api(description = "å¿ç§æ¡£æ¡") |
| | | @RestController |
| | | @RequestMapping("/smartor/childArchive") |
| | | public class PatChildArchiveController extends BaseController { |
| | | @Autowired |
| | | private IPatChildArchiveService patChildArchiveService; |
| | | |
| | | @ApiOperation("æ¥è¯¢å¿ç§æ¡£æ¡å表") |
| | | //@PreAuthorize("@ss.hasPermi('system:childArchive:list')") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/selectPatChildArchiveList") |
| | | public TableDataInfo selectPatChildArchiveList(@RequestBody PatChildArchive patChildArchive) { |
| | | PageUtils.startPageByPost(patChildArchive.getPageNum(), patChildArchive.getPageSize()); |
| | | List<PatChildArchive> list = patChildArchiveService.selectPatChildArchiveList(patChildArchive); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | @ApiOperation("导åºå¿ç§æ¡£æ¡å表") |
| | | //@PreAuthorize("@ss.hasPermi('system:childArchive:export')") |
| | | @Log(title = "å¿ç§æ¡£æ¡", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatChildArchive patChildArchive) { |
| | | List<PatChildArchive> list = patChildArchiveService.selectPatChildArchiveList(patChildArchive); |
| | | ExcelUtil<PatChildArchive> util = new ExcelUtil<PatChildArchive>(PatChildArchive.class); |
| | | util.exportExcel(response, list, "å¿ç§æ¡£æ¡æ°æ®"); |
| | | } |
| | | |
| | | @ApiOperation("è·åå¿ç§æ¡£æ¡è¯¦ç»ä¿¡æ¯") |
| | | //@PreAuthorize("@ss.hasPermi('system:childArchive:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patChildArchiveService.selectPatChildArchiveById(id)); |
| | | } |
| | | |
| | | @ApiOperation("æ°å¢å¿ç§æ¡£æ¡") |
| | | //@PreAuthorize("@ss.hasPermi('system:childArchive:add')") |
| | | @Log(title = "å¿ç§æ¡£æ¡", businessType = BusinessType.INSERT) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatChildArchive patChildArchive) { |
| | | SysUser user = getLoginUser().getUser(); |
| | | patChildArchive.setOrgid(user.getOrgid()); |
| | | return toAjax(patChildArchiveService.insertPatChildArchive(patChildArchive)); |
| | | } |
| | | |
| | | @ApiOperation("ä¿®æ¹å¿ç§æ¡£æ¡") |
| | | //@PreAuthorize("@ss.hasPermi('system:childArchive:edit')") |
| | | @Log(title = "å¿ç§æ¡£æ¡", businessType = BusinessType.UPDATE) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatChildArchive patChildArchive) { |
| | | return toAjax(patChildArchiveService.updatePatChildArchive(patChildArchive)); |
| | | } |
| | | |
| | | @ApiOperation("å é¤å¿ç§æ¡£æ¡") |
| | | //@PreAuthorize("@ss.hasPermi('system:childArchive:remove')") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patChildArchiveService.deletePatChildArchiveByIds(ids)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.AddOrgId; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.PatChildArchiveDetail; |
| | | import com.smartor.service.IPatChildArchiveDetailService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¿ç§æ¡£æ¡è¯¦æ
Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Api(description = "å¿ç§æ¡£æ¡è¯¦æ
") |
| | | @RestController |
| | | @RequestMapping("/smartor/childArchiveDetail") |
| | | public class PatChildArchiveDetailController extends BaseController { |
| | | @Autowired |
| | | private IPatChildArchiveDetailService patChildArchiveDetailService; |
| | | |
| | | @ApiOperation("æ¥è¯¢å¿ç§æ¡£æ¡è¯¦æ
å表") |
| | | //@PreAuthorize("@ss.hasPermi('system:childArchiveDetail:list')") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/selectPatChildArchiveDetailList") |
| | | public TableDataInfo selectPatChildArchiveDetailList(@RequestBody PatChildArchiveDetail patChildArchiveDetail) { |
| | | PageUtils.startPageByPost(patChildArchiveDetail.getPageNum(), patChildArchiveDetail.getPageSize()); |
| | | List<PatChildArchiveDetail> list = patChildArchiveDetailService.selectPatChildArchiveDetailList(patChildArchiveDetail); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | @ApiOperation("导åºå¿ç§æ¡£æ¡è¯¦æ
å表") |
| | | //@PreAuthorize("@ss.hasPermi('system:childArchiveDetail:export')") |
| | | @Log(title = "å¿ç§æ¡£æ¡è¯¦æ
", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatChildArchiveDetail patChildArchiveDetail) { |
| | | List<PatChildArchiveDetail> list = patChildArchiveDetailService.selectPatChildArchiveDetailList(patChildArchiveDetail); |
| | | ExcelUtil<PatChildArchiveDetail> util = new ExcelUtil<PatChildArchiveDetail>(PatChildArchiveDetail.class); |
| | | util.exportExcel(response, list, "å¿ç§æ¡£æ¡è¯¦æ
æ°æ®"); |
| | | } |
| | | |
| | | @ApiOperation("è·åå¿ç§æ¡£æ¡è¯¦æ
详ç»ä¿¡æ¯") |
| | | //@PreAuthorize("@ss.hasPermi('system:childArchiveDetail:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patChildArchiveDetailService.selectPatChildArchiveDetailById(id)); |
| | | } |
| | | |
| | | @ApiOperation("æ°å¢å¿ç§æ¡£æ¡è¯¦æ
") |
| | | //@PreAuthorize("@ss.hasPermi('system:childArchiveDetail:add')") |
| | | @Log(title = "å¿ç§æ¡£æ¡è¯¦æ
", businessType = BusinessType.INSERT) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatChildArchiveDetail patChildArchiveDetail) { |
| | | SysUser user = getLoginUser().getUser(); |
| | | patChildArchiveDetail.setOrgid(user.getOrgid()); |
| | | return toAjax(patChildArchiveDetailService.insertPatChildArchiveDetail(patChildArchiveDetail)); |
| | | } |
| | | |
| | | @ApiOperation("ä¿®æ¹å¿ç§æ¡£æ¡è¯¦æ
") |
| | | //@PreAuthorize("@ss.hasPermi('system:childArchiveDetail:edit')") |
| | | @Log(title = "å¿ç§æ¡£æ¡è¯¦æ
", businessType = BusinessType.UPDATE) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatChildArchiveDetail patChildArchiveDetail) { |
| | | return toAjax(patChildArchiveDetailService.updatePatChildArchiveDetail(patChildArchiveDetail)); |
| | | } |
| | | |
| | | @ApiOperation("å é¤å¿ç§æ¡£æ¡è¯¦æ
") |
| | | //@PreAuthorize("@ss.hasPermi('system:childArchiveDetail:remove')") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patChildArchiveDetailService.deletePatChildArchiveDetailByIds(ids)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.AddOrgId; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.PatMaternityArchive; |
| | | import com.smartor.service.IPatMaternityArchiveService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¦ç§æ¡£æ¡Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Api(description = "å¦ç§æ¡£æ¡") |
| | | @RestController |
| | | @RequestMapping("/smartor/maternityArchive") |
| | | public class PatMaternityArchiveController extends BaseController { |
| | | @Autowired |
| | | private IPatMaternityArchiveService patMaternityArchiveService; |
| | | |
| | | @ApiOperation("æ¥è¯¢å¦ç§æ¡£æ¡å表") |
| | | //@PreAuthorize("@ss.hasPermi('system:maternityArchive:list')") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/selectPatMaternityArchiveList") |
| | | public TableDataInfo selectPatMaternityArchiveList(@RequestBody PatMaternityArchive patMaternityArchive) { |
| | | PageUtils.startPageByPost(patMaternityArchive.getPageNum(), patMaternityArchive.getPageSize()); |
| | | List<PatMaternityArchive> list = patMaternityArchiveService.selectPatMaternityArchiveList(patMaternityArchive); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | @ApiOperation("导åºå¦ç§æ¡£æ¡å表") |
| | | //@PreAuthorize("@ss.hasPermi('system:maternityArchive:export')") |
| | | @Log(title = "å¦ç§æ¡£æ¡", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatMaternityArchive patMaternityArchive) { |
| | | List<PatMaternityArchive> list = patMaternityArchiveService.selectPatMaternityArchiveList(patMaternityArchive); |
| | | ExcelUtil<PatMaternityArchive> util = new ExcelUtil<PatMaternityArchive>(PatMaternityArchive.class); |
| | | util.exportExcel(response, list, "å¦ç§æ¡£æ¡æ°æ®"); |
| | | } |
| | | |
| | | @ApiOperation("è·åå¦ç§æ¡£æ¡è¯¦ç»ä¿¡æ¯") |
| | | //@PreAuthorize("@ss.hasPermi('system:maternityArchive:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patMaternityArchiveService.selectPatMaternityArchiveById(id)); |
| | | } |
| | | |
| | | @ApiOperation("æ°å¢å¦ç§æ¡£æ¡") |
| | | //@PreAuthorize("@ss.hasPermi('system:maternityArchive:add')") |
| | | @Log(title = "å¦ç§æ¡£æ¡", businessType = BusinessType.INSERT) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMaternityArchive patMaternityArchive) { |
| | | SysUser user = getLoginUser().getUser(); |
| | | patMaternityArchive.setOrgid(user.getOrgid()); |
| | | return toAjax(patMaternityArchiveService.insertPatMaternityArchive(patMaternityArchive)); |
| | | } |
| | | |
| | | @ApiOperation("ä¿®æ¹å¦ç§æ¡£æ¡") |
| | | //@PreAuthorize("@ss.hasPermi('system:maternityArchive:edit')") |
| | | @Log(title = "å¦ç§æ¡£æ¡", businessType = BusinessType.UPDATE) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMaternityArchive patMaternityArchive) { |
| | | return toAjax(patMaternityArchiveService.updatePatMaternityArchive(patMaternityArchive)); |
| | | } |
| | | |
| | | @ApiOperation("å é¤å¦ç§æ¡£æ¡") |
| | | //@PreAuthorize("@ss.hasPermi('system:maternityArchive:remove')") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patMaternityArchiveService.deletePatMaternityArchiveByIds(ids)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.AddOrgId; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.PatMaternityArchiveDetail; |
| | | import com.smartor.service.IPatMaternityArchiveDetailService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¦ç§æ¡£æ¡è¯¦æ
Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Api(description = "å¦ç§æ¡£æ¡è¯¦æ
") |
| | | @RestController |
| | | @RequestMapping("/smartor/maternityArchiveDetail") |
| | | public class PatMaternityArchiveDetailController extends BaseController { |
| | | @Autowired |
| | | private IPatMaternityArchiveDetailService patMaternityArchiveDetailService; |
| | | |
| | | @ApiOperation("æ¥è¯¢å¦ç§æ¡£æ¡è¯¦æ
å表") |
| | | //@PreAuthorize("@ss.hasPermi('system:maternityArchiveDetail:list')") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/selectPatMaternityArchiveDetailList") |
| | | public TableDataInfo selectPatMaternityArchiveDetailList(@RequestBody PatMaternityArchiveDetail patMaternityArchiveDetail) { |
| | | PageUtils.startPageByPost(patMaternityArchiveDetail.getPageNum(), patMaternityArchiveDetail.getPageSize()); |
| | | List<PatMaternityArchiveDetail> list = patMaternityArchiveDetailService.selectPatMaternityArchiveDetailList(patMaternityArchiveDetail); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | @ApiOperation("导åºå¦ç§æ¡£æ¡è¯¦æ
å表") |
| | | //@PreAuthorize("@ss.hasPermi('system:maternityArchiveDetail:export')") |
| | | @Log(title = "å¦ç§æ¡£æ¡è¯¦æ
", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatMaternityArchiveDetail patMaternityArchiveDetail) { |
| | | List<PatMaternityArchiveDetail> list = patMaternityArchiveDetailService.selectPatMaternityArchiveDetailList(patMaternityArchiveDetail); |
| | | ExcelUtil<PatMaternityArchiveDetail> util = new ExcelUtil<PatMaternityArchiveDetail>(PatMaternityArchiveDetail.class); |
| | | util.exportExcel(response, list, "å¦ç§æ¡£æ¡è¯¦æ
æ°æ®"); |
| | | } |
| | | |
| | | @ApiOperation("è·åå¦ç§æ¡£æ¡è¯¦æ
详ç»ä¿¡æ¯") |
| | | //@PreAuthorize("@ss.hasPermi('system:maternityArchiveDetail:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patMaternityArchiveDetailService.selectPatMaternityArchiveDetailById(id)); |
| | | } |
| | | |
| | | @ApiOperation("æ°å¢å¦ç§æ¡£æ¡è¯¦æ
") |
| | | //@PreAuthorize("@ss.hasPermi('system:maternityArchiveDetail:add')") |
| | | @Log(title = "å¦ç§æ¡£æ¡è¯¦æ
", businessType = BusinessType.INSERT) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMaternityArchiveDetail patMaternityArchiveDetail) { |
| | | SysUser user = getLoginUser().getUser(); |
| | | patMaternityArchiveDetail.setOrgid(user.getOrgid()); |
| | | return toAjax(patMaternityArchiveDetailService.insertPatMaternityArchiveDetail(patMaternityArchiveDetail)); |
| | | } |
| | | |
| | | @ApiOperation("ä¿®æ¹å¦ç§æ¡£æ¡è¯¦æ
") |
| | | //@PreAuthorize("@ss.hasPermi('system:maternityArchiveDetail:edit')") |
| | | @Log(title = "å¦ç§æ¡£æ¡è¯¦æ
", businessType = BusinessType.UPDATE) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMaternityArchiveDetail patMaternityArchiveDetail) { |
| | | return toAjax(patMaternityArchiveDetailService.updatePatMaternityArchiveDetail(patMaternityArchiveDetail)); |
| | | } |
| | | |
| | | @ApiOperation("å é¤å¦ç§æ¡£æ¡è¯¦æ
") |
| | | //@PreAuthorize("@ss.hasPermi('system:maternityArchiveDetail:remove')") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patMaternityArchiveDetailService.deletePatMaternityArchiveDetailByIds(ids)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * å¿ç§æ¡£æ¡å¯¹è±¡ pat_child_archive |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "å¿ç§æ¡£æ¡å¯¹è±¡") |
| | | public class PatChildArchive extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** å¿ç§æ¡£æ¡ä¸»é®ID */ |
| | | @ApiModelProperty(value = "å¿ç§æ¡£æ¡ä¸»é®ID") |
| | | private Long id; |
| | | |
| | | /** å¿ç§æ¡£æ¡ç±»å: 1 è¥å
»æ§ç¾ç
2 å¦ä¹ å°é¾3 é«å±å¿ä¸æ¡ */ |
| | | @Excel(name = "æ¡£æ¡ç±»å") |
| | | @ApiModelProperty(value = "å¿ç§æ¡£æ¡ç±»å: 1 è¥å
»æ§ç¾ç
2 å¦ä¹ å°é¾3 é«å±å¿ä¸æ¡") |
| | | private String archiveType; |
| | | |
| | | /** é¨è¯ç¼å· */ |
| | | @Excel(name = "é¨è¯ç¼å·") |
| | | @ApiModelProperty(value = "é¨è¯ç¼å·") |
| | | private String outhospno; |
| | | |
| | | /** ä½é¢ç¼å· */ |
| | | @Excel(name = "ä½é¢ç¼å·") |
| | | @ApiModelProperty(value = "ä½é¢ç¼å·") |
| | | private String inhospno; |
| | | |
| | | /** æµæ°´å· */ |
| | | @Excel(name = "æµæ°´å·") |
| | | @ApiModelProperty(value = "æµæ°´å·") |
| | | private String serialnum; |
| | | |
| | | /** æ£è
ID */ |
| | | @Excel(name = "æ£è
ID") |
| | | @ApiModelProperty(value = "æ£è
ID") |
| | | private Long patid; |
| | | |
| | | /** æ£è
å§å */ |
| | | @Excel(name = "æ£è
å§å") |
| | | @ApiModelProperty(value = "æ£è
å§å") |
| | | private String patname; |
| | | |
| | | /** å®¶é¿å§å */ |
| | | @Excel(name = "å®¶é¿å§å") |
| | | @ApiModelProperty(value = "å®¶é¿å§å") |
| | | private String parentname; |
| | | |
| | | /** åºçæ¥æ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "åºçæ¥æ", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "åºçæ¥æ") |
| | | private Date birthdate; |
| | | |
| | | /** è¯ä»¶å·ç */ |
| | | @Excel(name = "è¯ä»¶å·ç ") |
| | | @ApiModelProperty(value = "è¯ä»¶å·ç ") |
| | | private String idcardno; |
| | | |
| | | /** èç³»çµè¯ */ |
| | | @Excel(name = "èç³»çµè¯") |
| | | @ApiModelProperty(value = "èç³»çµè¯") |
| | | private String phone; |
| | | |
| | | /** è¯ææ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "è¯ææ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "è¯ææ¶é´") |
| | | private Date diagTime; |
| | | |
| | | /** 建档æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "建档æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "建档æ¶é´") |
| | | private Date archiveTime; |
| | | |
| | | /** æé访æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "æé访æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "æé访æ¶é´") |
| | | private Date plannedFollowTime; |
| | | |
| | | /** éè®¿å¨æ(次æ°) */ |
| | | @Excel(name = "éè®¿å¨æ(次æ°)") |
| | | @ApiModelProperty(value = "éè®¿å¨æ(次æ°)") |
| | | private String followupCycleTimes; |
| | | |
| | | /** æ§å« 1:ç· 2:女 */ |
| | | @Excel(name = "æ§å«") |
| | | @ApiModelProperty(value = "æ§å« 1:ç· 2:女") |
| | | private Long sex; |
| | | |
| | | /** 主治å»ç */ |
| | | @Excel(name = "主治å»ç") |
| | | @ApiModelProperty(value = "主治å»ç") |
| | | private String doctorCode; |
| | | |
| | | /** 主治å»çå§å */ |
| | | @Excel(name = "主治å»çå§å") |
| | | @ApiModelProperty(value = "主治å»çå§å") |
| | | private String doctorName; |
| | | |
| | | /** ç»ç®¡å»ç */ |
| | | @Excel(name = "ç»ç®¡å»ç") |
| | | @ApiModelProperty(value = "ç»ç®¡å»ç") |
| | | private String managementDoctorCode; |
| | | |
| | | /** ç»ç®¡å»çå§å */ |
| | | @Excel(name = "ç»ç®¡å»çå§å") |
| | | @ApiModelProperty(value = "ç»ç®¡å»çå§å") |
| | | private String managementDoctorName; |
| | | |
| | | /** ç§å®¤ç¼å· */ |
| | | @Excel(name = "ç§å®¤ç¼å·") |
| | | @ApiModelProperty(value = "ç§å®¤ç¼å·") |
| | | private String deptcode; |
| | | |
| | | /** ç§å®¤åç§° */ |
| | | @Excel(name = "ç§å®¤åç§°") |
| | | @ApiModelProperty(value = "ç§å®¤åç§°") |
| | | private String deptname; |
| | | |
| | | /** ç
åºç¼å· */ |
| | | @Excel(name = "ç
åºç¼å·") |
| | | @ApiModelProperty(value = "ç
åºç¼å·") |
| | | private String wardcode; |
| | | |
| | | /** ç
åºåç§° */ |
| | | @Excel(name = "ç
åºåç§°") |
| | | @ApiModelProperty(value = "ç
åºåç§°") |
| | | private String wardname; |
| | | |
| | | /** è¯æID */ |
| | | @Excel(name = "è¯æID") |
| | | @ApiModelProperty(value = "è¯æID") |
| | | private String icd10code; |
| | | |
| | | /** è¯æåç§° */ |
| | | @Excel(name = "è¯æåç§°") |
| | | @ApiModelProperty(value = "è¯æåç§°") |
| | | private String diagname; |
| | | |
| | | /** ç»æ¡ç¶æ */ |
| | | @Excel(name = "ç»æ¡ç¶æ") |
| | | @ApiModelProperty(value = "ç»æ¡ç¶æ") |
| | | private String closeStatus; |
| | | |
| | | /** ç»è®°äººå */ |
| | | @Excel(name = "ç»è®°äººå") |
| | | @ApiModelProperty(value = "ç»è®°äººå") |
| | | private String registerUser; |
| | | |
| | | /** å»é¢æºæID */ |
| | | @Excel(name = "å»é¢æºæID") |
| | | @ApiModelProperty(value = "å»é¢æºæID") |
| | | private String orgid; |
| | | |
| | | /** é¢åºID */ |
| | | @Excel(name = "é¢åºID") |
| | | @ApiModelProperty(value = "é¢åºID") |
| | | private String campusid; |
| | | |
| | | /** å 餿 å¿ï¼0ï¼æªå é¤ 1ï¼å·²å é¤ï¼ */ |
| | | @ApiModelProperty(value = "å 餿 å¿ï¼0ï¼æªå é¤ 1ï¼å·²å é¤ï¼") |
| | | private String delFlag; |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * å¿ç§æ¡£æ¡è¯¦æ
对象 pat_child_archive_detail |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "å¿ç§æ¡£æ¡è¯¦æ
对象") |
| | | public class PatChildArchiveDetail extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** å¿ç§æ¡£æ¡è¯¦æ
主é®ID */ |
| | | @ApiModelProperty(value = "å¿ç§æ¡£æ¡è¯¦æ
主é®ID") |
| | | private Long id; |
| | | |
| | | /** å¿ç§æ¡£æ¡ä¸»é®ID å¯¹åº pat_child_archive.id */ |
| | | @Excel(name = "æ¡£æ¡ID") |
| | | @ApiModelProperty(value = "å¿ç§æ¡£æ¡ä¸»é®ID å¯¹åº pat_child_archive.id") |
| | | private Long archiveid; |
| | | |
| | | /** æ¡£æ¡ç±»å: 1 è¥å
»æ§ç¾ç
2 å¦ä¹ å°é¾3 é«å±å¿ä¸æ¡ */ |
| | | @Excel(name = "æ¡£æ¡ç±»å") |
| | | @ApiModelProperty(value = "æ¡£æ¡ç±»å: 1 è¥å
»æ§ç¾ç
2 å¦ä¹ å°é¾3 é«å±å¿ä¸æ¡") |
| | | private String archiveType; |
| | | |
| | | /** æ¥æºç±»å: 1 é¨è¯è®°å½ */ |
| | | @Excel(name = "æ¥æºç±»å") |
| | | @ApiModelProperty(value = "æ¥æºç±»å: 1 é¨è¯è®°å½") |
| | | private String sourceType; |
| | | |
| | | /** é¨è¯ç¼å· */ |
| | | @Excel(name = "é¨è¯ç¼å·") |
| | | @ApiModelProperty(value = "é¨è¯ç¼å·") |
| | | private String outhospno; |
| | | |
| | | /** ä½é¢ç¼å· */ |
| | | @Excel(name = "ä½é¢ç¼å·") |
| | | @ApiModelProperty(value = "ä½é¢ç¼å·") |
| | | private String inhospno; |
| | | |
| | | /** æµæ°´å· */ |
| | | @Excel(name = "æµæ°´å·") |
| | | @ApiModelProperty(value = "æµæ°´å·") |
| | | private String serialnum; |
| | | |
| | | /** æ£è
ID */ |
| | | @Excel(name = "æ£è
ID") |
| | | @ApiModelProperty(value = "æ£è
ID") |
| | | private Long patid; |
| | | |
| | | /** æ£è
å§å */ |
| | | @Excel(name = "æ£è
å§å") |
| | | @ApiModelProperty(value = "æ£è
å§å") |
| | | private String patname; |
| | | |
| | | /** å®¶é¿å§å */ |
| | | @Excel(name = "å®¶é¿å§å") |
| | | @ApiModelProperty(value = "å®¶é¿å§å") |
| | | private String parentname; |
| | | |
| | | /** å®¶é¿ä¸å¿ç«¥å
³ç³» */ |
| | | @Excel(name = "å®¶é¿ä¸å¿ç«¥å
³ç³»") |
| | | @ApiModelProperty(value = "å®¶é¿ä¸å¿ç«¥å
³ç³»") |
| | | private String parentRelation; |
| | | |
| | | /** å®¶é¿èç³»çµè¯ */ |
| | | @Excel(name = "å®¶é¿èç³»çµè¯") |
| | | @ApiModelProperty(value = "å®¶é¿èç³»çµè¯") |
| | | private String parentPhone; |
| | | |
| | | /** å®¶é¿è¯ä»¶å·ç */ |
| | | @Excel(name = "å®¶é¿è¯ä»¶å·ç ") |
| | | @ApiModelProperty(value = "å®¶é¿è¯ä»¶å·ç ") |
| | | private String parentIdcardno; |
| | | |
| | | /** å®¶é¿èç³»å°å */ |
| | | @Excel(name = "å®¶é¿èç³»å°å") |
| | | @ApiModelProperty(value = "å®¶é¿èç³»å°å") |
| | | private String parentAddress; |
| | | |
| | | /** åºçæ¥æ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "åºçæ¥æ", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "åºçæ¥æ") |
| | | private Date birthdate; |
| | | |
| | | /** è¯ä»¶å·ç */ |
| | | @Excel(name = "è¯ä»¶å·ç ") |
| | | @ApiModelProperty(value = "è¯ä»¶å·ç ") |
| | | private String idcardno; |
| | | |
| | | /** èç³»çµè¯ */ |
| | | @Excel(name = "èç³»çµè¯") |
| | | @ApiModelProperty(value = "èç³»çµè¯") |
| | | private String phone; |
| | | |
| | | /** è¯ææ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "è¯ææ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "è¯ææ¶é´") |
| | | private Date diagTime; |
| | | |
| | | /** 建档æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "建档æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "建档æ¶é´") |
| | | private Date archiveTime; |
| | | |
| | | /** æ§å« 1:ç· 2:女 */ |
| | | @Excel(name = "æ§å«") |
| | | @ApiModelProperty(value = "æ§å« 1:ç· 2:女") |
| | | private Long sex; |
| | | |
| | | /** 主治å»ç */ |
| | | @Excel(name = "主治å»ç") |
| | | @ApiModelProperty(value = "主治å»ç") |
| | | private String doctorCode; |
| | | |
| | | /** 主治å»çå§å */ |
| | | @Excel(name = "主治å»çå§å") |
| | | @ApiModelProperty(value = "主治å»çå§å") |
| | | private String doctorName; |
| | | |
| | | /** ç»ç®¡å»ç */ |
| | | @Excel(name = "ç»ç®¡å»ç") |
| | | @ApiModelProperty(value = "ç»ç®¡å»ç") |
| | | private String managementDoctorCode; |
| | | |
| | | /** ç»ç®¡å»çå§å */ |
| | | @Excel(name = "ç»ç®¡å»çå§å") |
| | | @ApiModelProperty(value = "ç»ç®¡å»çå§å") |
| | | private String managementDoctorName; |
| | | |
| | | /** ç§å®¤ç¼å· */ |
| | | @Excel(name = "ç§å®¤ç¼å·") |
| | | @ApiModelProperty(value = "ç§å®¤ç¼å·") |
| | | private String deptcode; |
| | | |
| | | /** ç§å®¤åç§° */ |
| | | @Excel(name = "ç§å®¤åç§°") |
| | | @ApiModelProperty(value = "ç§å®¤åç§°") |
| | | private String deptname; |
| | | |
| | | /** ç
åºç¼å· */ |
| | | @Excel(name = "ç
åºç¼å·") |
| | | @ApiModelProperty(value = "ç
åºç¼å·") |
| | | private String wardcode; |
| | | |
| | | /** ç
åºåç§° */ |
| | | @Excel(name = "ç
åºåç§°") |
| | | @ApiModelProperty(value = "ç
åºåç§°") |
| | | private String wardname; |
| | | |
| | | /** è¯æID */ |
| | | @Excel(name = "è¯æID") |
| | | @ApiModelProperty(value = "è¯æID") |
| | | private String icd10code; |
| | | |
| | | /** è¯æåç§° */ |
| | | @Excel(name = "è¯æåç§°") |
| | | @ApiModelProperty(value = "è¯æåç§°") |
| | | private String diagname; |
| | | |
| | | /** è¥å
»æ§ç¾ç
ID */ |
| | | @Excel(name = "è¥å
»æ§ç¾ç
ID") |
| | | @ApiModelProperty(value = "è¥å
»æ§ç¾ç
ID") |
| | | private String nutritionIcd10Code; |
| | | |
| | | /** è¥å
»æ§ç¾ç
åç§° */ |
| | | @Excel(name = "è¥å
»æ§ç¾ç
åç§°") |
| | | @ApiModelProperty(value = "è¥å
»æ§ç¾ç
åç§°") |
| | | private String nutritionDiagName; |
| | | |
| | | /** è¥å
»æ§ç¾ç
-使 ¼æµé */ |
| | | @ApiModelProperty(value = "è¥å
»æ§ç¾ç
-使 ¼æµé") |
| | | private String ndPhysicalMeasurements; |
| | | |
| | | /** è¥å
»æ§ç¾ç
-è³é£è¯ä¼° */ |
| | | @ApiModelProperty(value = "è¥å
»æ§ç¾ç
-è³é£è¯ä¼°") |
| | | private String ndDietaryAssessment; |
| | | |
| | | /** è¥å
»æ§ç¾ç
-干颿¹æ¡ */ |
| | | @ApiModelProperty(value = "è¥å
»æ§ç¾ç
-干颿¹æ¡") |
| | | private String ndInterventionProgram; |
| | | |
| | | /** å¦ä¹ å°é¾-é¢çº¦æ
åµ */ |
| | | @ApiModelProperty(value = "å¦ä¹ å°é¾-é¢çº¦æ
åµ") |
| | | private String appointmentSituation; |
| | | |
| | | /** å¦ä¹ å°é¾-å¦ä¹ è½åè¯ä¼° */ |
| | | @ApiModelProperty(value = "å¦ä¹ å°é¾-å¦ä¹ è½åè¯ä¼°") |
| | | private String ldLearningAbilityAssessment; |
| | | |
| | | /** å¦ä¹ å°é¾-è¡ä¸ºè¯ä¼° */ |
| | | @ApiModelProperty(value = "å¦ä¹ å°é¾-è¡ä¸ºè¯ä¼°") |
| | | private String ldBehavioralAssessment; |
| | | |
| | | /** å¦ä¹ å°é¾-å¹²é¢è®ç»è®°å½ */ |
| | | @ApiModelProperty(value = "å¦ä¹ å°é¾-å¹²é¢è®ç»è®°å½") |
| | | private String ldInterventionTrainingRecord; |
| | | |
| | | /** é«å±å¿ä¸æ¡-é«å±å¿åç±» */ |
| | | @Excel(name = "é«å±å¿åç±»") |
| | | @ApiModelProperty(value = "é«å±å¿ä¸æ¡-é«å±å¿åç±»") |
| | | private String highRiskChildType; |
| | | |
| | | /** é«å±å¿ä¸æ¡-é«å±å¿åç§° */ |
| | | @Excel(name = "é«å±å¿åç§°") |
| | | @ApiModelProperty(value = "é«å±å¿ä¸æ¡-é«å±å¿åç§°") |
| | | private String highRiskChildName; |
| | | |
| | | /** é«å±å¿ä¸æ¡-æé访æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "æé访æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "é«å±å¿ä¸æ¡-æé访æ¶é´") |
| | | private Date plannedFollowTime; |
| | | |
| | | /** é«å±å¿ä¸æ¡-çé¿åè²æ£æµ */ |
| | | @ApiModelProperty(value = "é«å±å¿ä¸æ¡-çé¿åè²æ£æµ") |
| | | private String hrcGrowthDevelopmentMonitoring; |
| | | |
| | | /** é«å±å¿ä¸æ¡-ç¥ç»ç³»ç»è¯ä¼° */ |
| | | @ApiModelProperty(value = "é«å±å¿ä¸æ¡-ç¥ç»ç³»ç»è¯ä¼°") |
| | | private String hrcNeurologicalEvaluation; |
| | | |
| | | /** é«å±å¿ä¸æ¡-å¹²é¢è®°å½ */ |
| | | @ApiModelProperty(value = "é«å±å¿ä¸æ¡-å¹²é¢è®°å½") |
| | | private String hrcInterventionRecords; |
| | | |
| | | /** ç»æ¡ç¶æ */ |
| | | @Excel(name = "ç»æ¡ç¶æ") |
| | | @ApiModelProperty(value = "ç»æ¡ç¶æ") |
| | | private String closeStatus; |
| | | |
| | | /** åºçåå¨ */ |
| | | @Excel(name = "åºçåå¨") |
| | | @ApiModelProperty(value = "åºçåå¨") |
| | | private BigDecimal gestationalWeek; |
| | | |
| | | /** åºçä½é(kg) */ |
| | | @Excel(name = "åºçä½é(kg)") |
| | | @ApiModelProperty(value = "åºçä½é(kg)") |
| | | private BigDecimal birthWeight; |
| | | |
| | | /** ç»è®°äººå */ |
| | | @Excel(name = "ç»è®°äººå") |
| | | @ApiModelProperty(value = "ç»è®°äººå") |
| | | private String registerUser; |
| | | |
| | | /** å»é¢æºæID */ |
| | | @Excel(name = "å»é¢æºæID") |
| | | @ApiModelProperty(value = "å»é¢æºæID") |
| | | private String orgid; |
| | | |
| | | /** é¢åºID */ |
| | | @Excel(name = "é¢åºID") |
| | | @ApiModelProperty(value = "é¢åºID") |
| | | private String campusid; |
| | | |
| | | /** å 餿 å¿ï¼0ï¼æªå é¤ 1ï¼å·²å é¤ï¼ */ |
| | | @ApiModelProperty(value = "å 餿 å¿ï¼0ï¼æªå é¤ 1ï¼å·²å é¤ï¼") |
| | | private String delFlag; |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * å¦ç§æ¡£æ¡å¯¹è±¡ pat_maternity_archive |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "å¦ç§æ¡£æ¡å¯¹è±¡") |
| | | public class PatMaternityArchive extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** å¦ç§æ¡£æ¡ä¸»é®ID */ |
| | | @ApiModelProperty(value = "å¦ç§æ¡£æ¡ä¸»é®ID") |
| | | private Long id; |
| | | |
| | | /** å¦å¹¼æ¡£æ¡ç±»å: 1 æ©åå
³ç±2 å´ç»ç»æMHI */ |
| | | @Excel(name = "æ¡£æ¡ç±»å") |
| | | @ApiModelProperty(value = "å¦å¹¼æ¡£æ¡ç±»å: 1 æ©åå
³ç±2 å´ç»ç»æMHI") |
| | | private String archiveType; |
| | | |
| | | /** é¨è¯ç¼å· */ |
| | | @Excel(name = "é¨è¯ç¼å·") |
| | | @ApiModelProperty(value = "é¨è¯ç¼å·") |
| | | private String outhospno; |
| | | |
| | | /** ä½é¢ç¼å· */ |
| | | @Excel(name = "ä½é¢ç¼å·") |
| | | @ApiModelProperty(value = "ä½é¢ç¼å·") |
| | | private String inhospno; |
| | | |
| | | /** æµæ°´å· */ |
| | | @Excel(name = "æµæ°´å·") |
| | | @ApiModelProperty(value = "æµæ°´å·") |
| | | private String serialnum; |
| | | |
| | | /** æ£è
ID */ |
| | | @Excel(name = "æ£è
ID") |
| | | @ApiModelProperty(value = "æ£è
ID") |
| | | private Long patid; |
| | | |
| | | /** æ£è
å§å */ |
| | | @Excel(name = "æ£è
å§å") |
| | | @ApiModelProperty(value = "æ£è
å§å") |
| | | private String patname; |
| | | |
| | | /** å®¶é¿å§å */ |
| | | @Excel(name = "å®¶é¿å§å") |
| | | @ApiModelProperty(value = "å®¶é¿å§å") |
| | | private String parentname; |
| | | |
| | | /** åºçæ¥æ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "åºçæ¥æ", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "åºçæ¥æ") |
| | | private Date birthdate; |
| | | |
| | | /** è¯ä»¶å·ç */ |
| | | @Excel(name = "è¯ä»¶å·ç ") |
| | | @ApiModelProperty(value = "è¯ä»¶å·ç ") |
| | | private String idcardno; |
| | | |
| | | /** èç³»çµè¯ */ |
| | | @Excel(name = "èç³»çµè¯") |
| | | @ApiModelProperty(value = "èç³»çµè¯") |
| | | private String phone; |
| | | |
| | | /** è¯ææ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "è¯ææ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "è¯ææ¶é´") |
| | | private Date diagTime; |
| | | |
| | | /** 建档æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "建档æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "建档æ¶é´") |
| | | private Date archiveTime; |
| | | |
| | | /** æé访æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "æé访æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "æé访æ¶é´") |
| | | private Date plannedFollowTime; |
| | | |
| | | /** éè®¿å¨æ(次æ°) */ |
| | | @Excel(name = "éè®¿å¨æ(次æ°)") |
| | | @ApiModelProperty(value = "éè®¿å¨æ(次æ°)") |
| | | private String followupCycleTimes; |
| | | |
| | | /** æ§å« 1:ç· 2:女 */ |
| | | @Excel(name = "æ§å«") |
| | | @ApiModelProperty(value = "æ§å« 1:ç· 2:女") |
| | | private Long sex; |
| | | |
| | | /** 主治å»ç */ |
| | | @Excel(name = "主治å»ç") |
| | | @ApiModelProperty(value = "主治å»ç") |
| | | private String doctorCode; |
| | | |
| | | /** 主治å»çå§å */ |
| | | @Excel(name = "主治å»çå§å") |
| | | @ApiModelProperty(value = "主治å»çå§å") |
| | | private String doctorName; |
| | | |
| | | /** ç»ç®¡å»ç */ |
| | | @Excel(name = "ç»ç®¡å»ç") |
| | | @ApiModelProperty(value = "ç»ç®¡å»ç") |
| | | private String managementDoctorCode; |
| | | |
| | | /** ç»ç®¡å»çå§å */ |
| | | @Excel(name = "ç»ç®¡å»çå§å") |
| | | @ApiModelProperty(value = "ç»ç®¡å»çå§å") |
| | | private String managementDoctorName; |
| | | |
| | | /** ç§å®¤ç¼å· */ |
| | | @Excel(name = "ç§å®¤ç¼å·") |
| | | @ApiModelProperty(value = "ç§å®¤ç¼å·") |
| | | private String deptcode; |
| | | |
| | | /** ç§å®¤åç§° */ |
| | | @Excel(name = "ç§å®¤åç§°") |
| | | @ApiModelProperty(value = "ç§å®¤åç§°") |
| | | private String deptname; |
| | | |
| | | /** ç
åºç¼å· */ |
| | | @Excel(name = "ç
åºç¼å·") |
| | | @ApiModelProperty(value = "ç
åºç¼å·") |
| | | private String wardcode; |
| | | |
| | | /** ç
åºåç§° */ |
| | | @Excel(name = "ç
åºåç§°") |
| | | @ApiModelProperty(value = "ç
åºåç§°") |
| | | private String wardname; |
| | | |
| | | /** è¯æID */ |
| | | @Excel(name = "è¯æID") |
| | | @ApiModelProperty(value = "è¯æID") |
| | | private String icd10code; |
| | | |
| | | /** è¯æåç§° */ |
| | | @Excel(name = "è¯æåç§°") |
| | | @ApiModelProperty(value = "è¯æåç§°") |
| | | private String diagname; |
| | | |
| | | /** å¦å¨ æ
åµ */ |
| | | @Excel(name = "å¦å¨ æ
åµ") |
| | | @ApiModelProperty(value = "å¦å¨ æ
åµ") |
| | | private String pregnancySituation; |
| | | |
| | | /** ç»æ¡ç¶æ */ |
| | | @Excel(name = "ç»æ¡ç¶æ") |
| | | @ApiModelProperty(value = "ç»æ¡ç¶æ") |
| | | private String closeStatus; |
| | | |
| | | /** ç»è®°äººå */ |
| | | @Excel(name = "ç»è®°äººå") |
| | | @ApiModelProperty(value = "ç»è®°äººå") |
| | | private String registerUser; |
| | | |
| | | /** å»é¢æºæID */ |
| | | @Excel(name = "å»é¢æºæID") |
| | | @ApiModelProperty(value = "å»é¢æºæID") |
| | | private String orgid; |
| | | |
| | | /** é¢åºID */ |
| | | @Excel(name = "é¢åºID") |
| | | @ApiModelProperty(value = "é¢åºID") |
| | | private String campusid; |
| | | |
| | | /** å 餿 å¿ï¼0ï¼æªå é¤ 1ï¼å·²å é¤ï¼ */ |
| | | @ApiModelProperty(value = "å 餿 å¿ï¼0ï¼æªå é¤ 1ï¼å·²å é¤ï¼") |
| | | private String delFlag; |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * å¦ç§æ¡£æ¡è¯¦æ
对象 pat_maternity_archive_detail |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "å¦ç§æ¡£æ¡è¯¦æ
对象") |
| | | public class PatMaternityArchiveDetail extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** å¦ç§æ¡£æ¡è¯¦æ
主é®ID */ |
| | | @ApiModelProperty(value = "å¦ç§æ¡£æ¡è¯¦æ
主é®ID") |
| | | private Long id; |
| | | |
| | | /** å¦ç§æ¡£æ¡ä¸»é®ID å¯¹åº pat_maternity_archive.id */ |
| | | @Excel(name = "æ¡£æ¡ID") |
| | | @ApiModelProperty(value = "å¦ç§æ¡£æ¡ä¸»é®ID å¯¹åº pat_maternity_archive.id") |
| | | private Long archiveid; |
| | | |
| | | /** æ¡£æ¡ç±»å: 1 æ©åå
³ç±2 å´ç»ç»æMHI */ |
| | | @Excel(name = "æ¡£æ¡ç±»å") |
| | | @ApiModelProperty(value = "æ¡£æ¡ç±»å: 1 æ©åå
³ç±2 å´ç»ç»æMHI") |
| | | private String archiveType; |
| | | |
| | | /** æ¥æºç±»å: 1 é¨è¯è®°å½ */ |
| | | @Excel(name = "æ¥æºç±»å") |
| | | @ApiModelProperty(value = "æ¥æºç±»å: 1 é¨è¯è®°å½") |
| | | private String sourceType; |
| | | |
| | | /** é¨è¯ç¼å· */ |
| | | @Excel(name = "é¨è¯ç¼å·") |
| | | @ApiModelProperty(value = "é¨è¯ç¼å·") |
| | | private String outhospno; |
| | | |
| | | /** ä½é¢ç¼å· */ |
| | | @Excel(name = "ä½é¢ç¼å·") |
| | | @ApiModelProperty(value = "ä½é¢ç¼å·") |
| | | private String inhospno; |
| | | |
| | | /** æµæ°´å· */ |
| | | @Excel(name = "æµæ°´å·") |
| | | @ApiModelProperty(value = "æµæ°´å·") |
| | | private String serialnum; |
| | | |
| | | /** æ£è
ID */ |
| | | @Excel(name = "æ£è
ID") |
| | | @ApiModelProperty(value = "æ£è
ID") |
| | | private Long patid; |
| | | |
| | | /** æ£è
å§å */ |
| | | @Excel(name = "æ£è
å§å") |
| | | @ApiModelProperty(value = "æ£è
å§å") |
| | | private String patname; |
| | | |
| | | /** åºçæ¥æ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "åºçæ¥æ", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "åºçæ¥æ") |
| | | private Date birthdate; |
| | | |
| | | /** è¯ä»¶å·ç */ |
| | | @Excel(name = "è¯ä»¶å·ç ") |
| | | @ApiModelProperty(value = "è¯ä»¶å·ç ") |
| | | private String idcardno; |
| | | |
| | | /** èç³»çµè¯ */ |
| | | @Excel(name = "èç³»çµè¯") |
| | | @ApiModelProperty(value = "èç³»çµè¯") |
| | | private String phone; |
| | | |
| | | /** è¯ææ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "è¯ææ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "è¯ææ¶é´") |
| | | private Date diagTime; |
| | | |
| | | /** 建档æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "建档æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "建档æ¶é´") |
| | | private Date archiveTime; |
| | | |
| | | /** æé访æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "æé访æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "æé访æ¶é´") |
| | | private Date plannedFollowTime; |
| | | |
| | | /** æ§å« 1:ç· 2:女 */ |
| | | @Excel(name = "æ§å«") |
| | | @ApiModelProperty(value = "æ§å« 1:ç· 2:女") |
| | | private Long sex; |
| | | |
| | | /** 主治å»ç */ |
| | | @Excel(name = "主治å»ç") |
| | | @ApiModelProperty(value = "主治å»ç") |
| | | private String doctorCode; |
| | | |
| | | /** 主治å»çå§å */ |
| | | @Excel(name = "主治å»çå§å") |
| | | @ApiModelProperty(value = "主治å»çå§å") |
| | | private String doctorName; |
| | | |
| | | /** ç»ç®¡å»ç */ |
| | | @Excel(name = "ç»ç®¡å»ç") |
| | | @ApiModelProperty(value = "ç»ç®¡å»ç") |
| | | private String managementDoctorCode; |
| | | |
| | | /** ç»ç®¡å»çå§å */ |
| | | @Excel(name = "ç»ç®¡å»çå§å") |
| | | @ApiModelProperty(value = "ç»ç®¡å»çå§å") |
| | | private String managementDoctorName; |
| | | |
| | | /** ç§å®¤ç¼å· */ |
| | | @Excel(name = "ç§å®¤ç¼å·") |
| | | @ApiModelProperty(value = "ç§å®¤ç¼å·") |
| | | private String deptcode; |
| | | |
| | | /** ç§å®¤åç§° */ |
| | | @Excel(name = "ç§å®¤åç§°") |
| | | @ApiModelProperty(value = "ç§å®¤åç§°") |
| | | private String deptname; |
| | | |
| | | /** ç
åºç¼å· */ |
| | | @Excel(name = "ç
åºç¼å·") |
| | | @ApiModelProperty(value = "ç
åºç¼å·") |
| | | private String wardcode; |
| | | |
| | | /** ç
åºåç§° */ |
| | | @Excel(name = "ç
åºåç§°") |
| | | @ApiModelProperty(value = "ç
åºåç§°") |
| | | private String wardname; |
| | | |
| | | /** è¯æID */ |
| | | @Excel(name = "è¯æID") |
| | | @ApiModelProperty(value = "è¯æID") |
| | | private String icd10code; |
| | | |
| | | /** è¯æåç§° */ |
| | | @Excel(name = "è¯æåç§°") |
| | | @ApiModelProperty(value = "è¯æåç§°") |
| | | private String diagname; |
| | | |
| | | /** å¦å¨ æ
åµ */ |
| | | @ApiModelProperty(value = "å¦å¨ æ
åµ") |
| | | private String pregnancySituation; |
| | | |
| | | /** å
·ä½æ
åµ */ |
| | | @ApiModelProperty(value = "å
·ä½æ
åµ") |
| | | private String specificSituation; |
| | | |
| | | /** å¤ç建议 */ |
| | | @ApiModelProperty(value = "å¤ç建议") |
| | | private String handleSuggestion; |
| | | |
| | | /** ç»æ¡ç¶æ */ |
| | | @Excel(name = "ç»æ¡ç¶æ") |
| | | @ApiModelProperty(value = "ç»æ¡ç¶æ") |
| | | private String closeStatus; |
| | | |
| | | /** æ¯å¦å»ºå 0-å¦ 1-æ¯ */ |
| | | @Excel(name = "æ¯å¦å»ºå") |
| | | @ApiModelProperty(value = "æ¯å¦å»ºå 0-å¦ 1-æ¯") |
| | | private String isRecordEstablished; |
| | | |
| | | /** é¢äº§æ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "é¢äº§æ", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "é¢äº§æ") |
| | | private Date dueDate; |
| | | |
| | | /** ç»è®°äººå */ |
| | | @Excel(name = "ç»è®°äººå") |
| | | @ApiModelProperty(value = "ç»è®°äººå") |
| | | private String registerUser; |
| | | |
| | | /** éè®¿å¨æ */ |
| | | @ApiModelProperty(value = "éè®¿å¨æ") |
| | | private String followupPeriod; |
| | | |
| | | /** æ©åå
³ç±-æ©åé访表 */ |
| | | @ApiModelProperty(value = "æ©åå
³ç±-æ©åé访表") |
| | | private String epEarlyPregnancyFollowupForm; |
| | | |
| | | /** å´ç»ç»æMHI-æ´å¹´æé访系ç»é®é¢è¡¨ */ |
| | | @ApiModelProperty(value = "å´ç»ç»æMHI-æ´å¹´æé访系ç»é®é¢è¡¨") |
| | | private String mhiMenopauseFollowupSystemIssuesForm; |
| | | |
| | | /** å´ç»ç»æMHI-MHTé¦è¯ç
å表 */ |
| | | @ApiModelProperty(value = "å´ç»ç»æMHI-MHTé¦è¯ç
å表") |
| | | private String mhiMhtInitialVisitMedicalRecordForm; |
| | | |
| | | /** å´ç»ç»æMHI-MHTå¤è¯ç
å表 */ |
| | | @ApiModelProperty(value = "å´ç»ç»æMHI-MHTå¤è¯ç
å表") |
| | | private String mhiMhtFollowUpMedicalRecordForm; |
| | | |
| | | /** å´ç»ç»æMHI-æ¹è¯ Kuppermanè¯åæ å表 */ |
| | | @ApiModelProperty(value = "å´ç»ç»æMHI-æ¹è¯ Kuppermanè¯åæ å表") |
| | | private String mhiModifiedKuppermanScoringScaleForm; |
| | | |
| | | /** å´ç»ç»æMHI-æ´å¹´æè¯å®é表ï¼MRSï¼ */ |
| | | @ApiModelProperty(value = "å´ç»ç»æMHI-æ´å¹´æè¯å®é表ï¼MRSï¼") |
| | | private String mhiMenopauseRatingScaleForm; |
| | | |
| | | /** å´ç»ç»æMHI-å¹å
¹å ¡ç¡ç è´¨éææ°é表ï¼PSQIï¼ */ |
| | | @ApiModelProperty(value = "å´ç»ç»æMHI-å¹å
¹å ¡ç¡ç è´¨éææ°é表ï¼PSQIï¼") |
| | | private String mhiPittsburghSleepQualityIndexForm; |
| | | |
| | | /** å»é¢æºæID */ |
| | | @Excel(name = "å»é¢æºæID") |
| | | @ApiModelProperty(value = "å»é¢æºæID") |
| | | private String orgid; |
| | | |
| | | /** é¢åºID */ |
| | | @Excel(name = "é¢åºID") |
| | | @ApiModelProperty(value = "é¢åºID") |
| | | private String campusid; |
| | | |
| | | /** å 餿 å¿ï¼0ï¼æªå é¤ 1ï¼å·²å é¤ï¼ */ |
| | | @ApiModelProperty(value = "å 餿 å¿ï¼0ï¼æªå é¤ 1ï¼å·²å é¤ï¼") |
| | | private String delFlag; |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.PatChildArchiveDetail; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¿ç§æ¡£æ¡è¯¦æ
Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Mapper |
| | | public interface PatChildArchiveDetailMapper |
| | | { |
| | | public PatChildArchiveDetail selectPatChildArchiveDetailById(Long id); |
| | | |
| | | public List<PatChildArchiveDetail> selectPatChildArchiveDetailList(PatChildArchiveDetail patChildArchiveDetail); |
| | | |
| | | public int insertPatChildArchiveDetail(PatChildArchiveDetail patChildArchiveDetail); |
| | | |
| | | public int updatePatChildArchiveDetail(PatChildArchiveDetail patChildArchiveDetail); |
| | | |
| | | public int deletePatChildArchiveDetailById(Long id); |
| | | |
| | | public int deletePatChildArchiveDetailByIds(Long[] ids); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.PatChildArchive; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¿ç§æ¡£æ¡Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Mapper |
| | | public interface PatChildArchiveMapper |
| | | { |
| | | public PatChildArchive selectPatChildArchiveById(Long id); |
| | | |
| | | public List<PatChildArchive> selectPatChildArchiveList(PatChildArchive patChildArchive); |
| | | |
| | | public int insertPatChildArchive(PatChildArchive patChildArchive); |
| | | |
| | | public int updatePatChildArchive(PatChildArchive patChildArchive); |
| | | |
| | | public int deletePatChildArchiveById(Long id); |
| | | |
| | | public int deletePatChildArchiveByIds(Long[] ids); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.PatMaternityArchiveDetail; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¦ç§æ¡£æ¡è¯¦æ
Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Mapper |
| | | public interface PatMaternityArchiveDetailMapper |
| | | { |
| | | public PatMaternityArchiveDetail selectPatMaternityArchiveDetailById(Long id); |
| | | |
| | | public List<PatMaternityArchiveDetail> selectPatMaternityArchiveDetailList(PatMaternityArchiveDetail patMaternityArchiveDetail); |
| | | |
| | | public int insertPatMaternityArchiveDetail(PatMaternityArchiveDetail patMaternityArchiveDetail); |
| | | |
| | | public int updatePatMaternityArchiveDetail(PatMaternityArchiveDetail patMaternityArchiveDetail); |
| | | |
| | | public int deletePatMaternityArchiveDetailById(Long id); |
| | | |
| | | public int deletePatMaternityArchiveDetailByIds(Long[] ids); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.PatMaternityArchive; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¦ç§æ¡£æ¡Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Mapper |
| | | public interface PatMaternityArchiveMapper |
| | | { |
| | | public PatMaternityArchive selectPatMaternityArchiveById(Long id); |
| | | |
| | | public List<PatMaternityArchive> selectPatMaternityArchiveList(PatMaternityArchive patMaternityArchive); |
| | | |
| | | public int insertPatMaternityArchive(PatMaternityArchive patMaternityArchive); |
| | | |
| | | public int updatePatMaternityArchive(PatMaternityArchive patMaternityArchive); |
| | | |
| | | public int deletePatMaternityArchiveById(Long id); |
| | | |
| | | public int deletePatMaternityArchiveByIds(Long[] ids); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.PatChildArchiveDetail; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¿ç§æ¡£æ¡è¯¦æ
Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | public interface IPatChildArchiveDetailService |
| | | { |
| | | public PatChildArchiveDetail selectPatChildArchiveDetailById(Long id); |
| | | |
| | | public List<PatChildArchiveDetail> selectPatChildArchiveDetailList(PatChildArchiveDetail patChildArchiveDetail); |
| | | |
| | | public int insertPatChildArchiveDetail(PatChildArchiveDetail patChildArchiveDetail); |
| | | |
| | | public int updatePatChildArchiveDetail(PatChildArchiveDetail patChildArchiveDetail); |
| | | |
| | | public int deletePatChildArchiveDetailByIds(Long[] ids); |
| | | |
| | | public int deletePatChildArchiveDetailById(Long id); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.PatChildArchive; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¿ç§æ¡£æ¡Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | public interface IPatChildArchiveService |
| | | { |
| | | public PatChildArchive selectPatChildArchiveById(Long id); |
| | | |
| | | public List<PatChildArchive> selectPatChildArchiveList(PatChildArchive patChildArchive); |
| | | |
| | | public int insertPatChildArchive(PatChildArchive patChildArchive); |
| | | |
| | | public int updatePatChildArchive(PatChildArchive patChildArchive); |
| | | |
| | | public int deletePatChildArchiveByIds(Long[] ids); |
| | | |
| | | public int deletePatChildArchiveById(Long id); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.PatMaternityArchiveDetail; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¦ç§æ¡£æ¡è¯¦æ
Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | public interface IPatMaternityArchiveDetailService |
| | | { |
| | | public PatMaternityArchiveDetail selectPatMaternityArchiveDetailById(Long id); |
| | | |
| | | public List<PatMaternityArchiveDetail> selectPatMaternityArchiveDetailList(PatMaternityArchiveDetail patMaternityArchiveDetail); |
| | | |
| | | public int insertPatMaternityArchiveDetail(PatMaternityArchiveDetail patMaternityArchiveDetail); |
| | | |
| | | public int updatePatMaternityArchiveDetail(PatMaternityArchiveDetail patMaternityArchiveDetail); |
| | | |
| | | public int deletePatMaternityArchiveDetailByIds(Long[] ids); |
| | | |
| | | public int deletePatMaternityArchiveDetailById(Long id); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.PatMaternityArchive; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¦ç§æ¡£æ¡Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | public interface IPatMaternityArchiveService |
| | | { |
| | | public PatMaternityArchive selectPatMaternityArchiveById(Long id); |
| | | |
| | | public List<PatMaternityArchive> selectPatMaternityArchiveList(PatMaternityArchive patMaternityArchive); |
| | | |
| | | public int insertPatMaternityArchive(PatMaternityArchive patMaternityArchive); |
| | | |
| | | public int updatePatMaternityArchive(PatMaternityArchive patMaternityArchive); |
| | | |
| | | public int deletePatMaternityArchiveByIds(Long[] ids); |
| | | |
| | | public int deletePatMaternityArchiveById(Long id); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.PatChildArchiveDetail; |
| | | import com.smartor.mapper.PatChildArchiveDetailMapper; |
| | | import com.smartor.service.IPatChildArchiveDetailService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¿ç§æ¡£æ¡è¯¦æ
Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Service |
| | | public class PatChildArchiveDetailServiceImpl implements IPatChildArchiveDetailService |
| | | { |
| | | @Autowired |
| | | private PatChildArchiveDetailMapper patChildArchiveDetailMapper; |
| | | |
| | | @Override |
| | | public PatChildArchiveDetail selectPatChildArchiveDetailById(Long id) |
| | | { |
| | | return patChildArchiveDetailMapper.selectPatChildArchiveDetailById(id); |
| | | } |
| | | |
| | | @Override |
| | | public List<PatChildArchiveDetail> selectPatChildArchiveDetailList(PatChildArchiveDetail patChildArchiveDetail) |
| | | { |
| | | return patChildArchiveDetailMapper.selectPatChildArchiveDetailList(patChildArchiveDetail); |
| | | } |
| | | |
| | | @Override |
| | | public int insertPatChildArchiveDetail(PatChildArchiveDetail patChildArchiveDetail) |
| | | { |
| | | patChildArchiveDetail.setCreateTime(DateUtils.getNowDate()); |
| | | return patChildArchiveDetailMapper.insertPatChildArchiveDetail(patChildArchiveDetail); |
| | | } |
| | | |
| | | @Override |
| | | public int updatePatChildArchiveDetail(PatChildArchiveDetail patChildArchiveDetail) |
| | | { |
| | | patChildArchiveDetail.setUpdateTime(DateUtils.getNowDate()); |
| | | return patChildArchiveDetailMapper.updatePatChildArchiveDetail(patChildArchiveDetail); |
| | | } |
| | | |
| | | @Override |
| | | public int deletePatChildArchiveDetailByIds(Long[] ids) |
| | | { |
| | | return patChildArchiveDetailMapper.deletePatChildArchiveDetailByIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public int deletePatChildArchiveDetailById(Long id) |
| | | { |
| | | return patChildArchiveDetailMapper.deletePatChildArchiveDetailById(id); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.PatChildArchive; |
| | | import com.smartor.mapper.PatChildArchiveMapper; |
| | | import com.smartor.service.IPatChildArchiveService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¿ç§æ¡£æ¡Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Service |
| | | public class PatChildArchiveServiceImpl implements IPatChildArchiveService |
| | | { |
| | | @Autowired |
| | | private PatChildArchiveMapper patChildArchiveMapper; |
| | | |
| | | @Override |
| | | public PatChildArchive selectPatChildArchiveById(Long id) |
| | | { |
| | | return patChildArchiveMapper.selectPatChildArchiveById(id); |
| | | } |
| | | |
| | | @Override |
| | | public List<PatChildArchive> selectPatChildArchiveList(PatChildArchive patChildArchive) |
| | | { |
| | | return patChildArchiveMapper.selectPatChildArchiveList(patChildArchive); |
| | | } |
| | | |
| | | @Override |
| | | public int insertPatChildArchive(PatChildArchive patChildArchive) |
| | | { |
| | | patChildArchive.setCreateTime(DateUtils.getNowDate()); |
| | | return patChildArchiveMapper.insertPatChildArchive(patChildArchive); |
| | | } |
| | | |
| | | @Override |
| | | public int updatePatChildArchive(PatChildArchive patChildArchive) |
| | | { |
| | | patChildArchive.setUpdateTime(DateUtils.getNowDate()); |
| | | return patChildArchiveMapper.updatePatChildArchive(patChildArchive); |
| | | } |
| | | |
| | | @Override |
| | | public int deletePatChildArchiveByIds(Long[] ids) |
| | | { |
| | | return patChildArchiveMapper.deletePatChildArchiveByIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public int deletePatChildArchiveById(Long id) |
| | | { |
| | | return patChildArchiveMapper.deletePatChildArchiveById(id); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.PatMaternityArchiveDetail; |
| | | import com.smartor.mapper.PatMaternityArchiveDetailMapper; |
| | | import com.smartor.service.IPatMaternityArchiveDetailService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¦ç§æ¡£æ¡è¯¦æ
Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Service |
| | | public class PatMaternityArchiveDetailServiceImpl implements IPatMaternityArchiveDetailService |
| | | { |
| | | @Autowired |
| | | private PatMaternityArchiveDetailMapper patMaternityArchiveDetailMapper; |
| | | |
| | | @Override |
| | | public PatMaternityArchiveDetail selectPatMaternityArchiveDetailById(Long id) |
| | | { |
| | | return patMaternityArchiveDetailMapper.selectPatMaternityArchiveDetailById(id); |
| | | } |
| | | |
| | | @Override |
| | | public List<PatMaternityArchiveDetail> selectPatMaternityArchiveDetailList(PatMaternityArchiveDetail patMaternityArchiveDetail) |
| | | { |
| | | return patMaternityArchiveDetailMapper.selectPatMaternityArchiveDetailList(patMaternityArchiveDetail); |
| | | } |
| | | |
| | | @Override |
| | | public int insertPatMaternityArchiveDetail(PatMaternityArchiveDetail patMaternityArchiveDetail) |
| | | { |
| | | patMaternityArchiveDetail.setCreateTime(DateUtils.getNowDate()); |
| | | return patMaternityArchiveDetailMapper.insertPatMaternityArchiveDetail(patMaternityArchiveDetail); |
| | | } |
| | | |
| | | @Override |
| | | public int updatePatMaternityArchiveDetail(PatMaternityArchiveDetail patMaternityArchiveDetail) |
| | | { |
| | | patMaternityArchiveDetail.setUpdateTime(DateUtils.getNowDate()); |
| | | return patMaternityArchiveDetailMapper.updatePatMaternityArchiveDetail(patMaternityArchiveDetail); |
| | | } |
| | | |
| | | @Override |
| | | public int deletePatMaternityArchiveDetailByIds(Long[] ids) |
| | | { |
| | | return patMaternityArchiveDetailMapper.deletePatMaternityArchiveDetailByIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public int deletePatMaternityArchiveDetailById(Long id) |
| | | { |
| | | return patMaternityArchiveDetailMapper.deletePatMaternityArchiveDetailById(id); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.PatMaternityArchive; |
| | | import com.smartor.mapper.PatMaternityArchiveMapper; |
| | | import com.smartor.service.IPatMaternityArchiveService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¦ç§æ¡£æ¡Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2026-10-09 |
| | | */ |
| | | @Service |
| | | public class PatMaternityArchiveServiceImpl implements IPatMaternityArchiveService |
| | | { |
| | | @Autowired |
| | | private PatMaternityArchiveMapper patMaternityArchiveMapper; |
| | | |
| | | @Override |
| | | public PatMaternityArchive selectPatMaternityArchiveById(Long id) |
| | | { |
| | | return patMaternityArchiveMapper.selectPatMaternityArchiveById(id); |
| | | } |
| | | |
| | | @Override |
| | | public List<PatMaternityArchive> selectPatMaternityArchiveList(PatMaternityArchive patMaternityArchive) |
| | | { |
| | | return patMaternityArchiveMapper.selectPatMaternityArchiveList(patMaternityArchive); |
| | | } |
| | | |
| | | @Override |
| | | public int insertPatMaternityArchive(PatMaternityArchive patMaternityArchive) |
| | | { |
| | | patMaternityArchive.setCreateTime(DateUtils.getNowDate()); |
| | | return patMaternityArchiveMapper.insertPatMaternityArchive(patMaternityArchive); |
| | | } |
| | | |
| | | @Override |
| | | public int updatePatMaternityArchive(PatMaternityArchive patMaternityArchive) |
| | | { |
| | | patMaternityArchive.setUpdateTime(DateUtils.getNowDate()); |
| | | return patMaternityArchiveMapper.updatePatMaternityArchive(patMaternityArchive); |
| | | } |
| | | |
| | | @Override |
| | | public int deletePatMaternityArchiveByIds(Long[] ids) |
| | | { |
| | | return patMaternityArchiveMapper.deletePatMaternityArchiveByIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public int deletePatMaternityArchiveById(Long id) |
| | | { |
| | | return patMaternityArchiveMapper.deletePatMaternityArchiveById(id); |
| | | } |
| | | } |
copy from smartor/src/main/resources/mapper/smartor/PatMaternityChildArchiveMapper.xml
copy to smartor/src/main/resources/mapper/smartor/PatChildArchiveDetailMapper.xml
| Îļþ´Ó smartor/src/main/resources/mapper/smartor/PatMaternityChildArchiveMapper.xml ¸´ÖÆ |
| | |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.PatMaternityChildArchiveMapper"> |
| | | <mapper namespace="com.smartor.mapper.PatChildArchiveDetailMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.PatMaternityChildArchive" id="PatMaternityChildArchiveResult"> |
| | | <resultMap type="com.smartor.domain.PatChildArchiveDetail" id="PatChildArchiveDetailResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="type" column="type"/> |
| | | <result property="archiveid" column="archiveid"/> |
| | | <result property="archiveType" column="archive_type"/> |
| | | <result property="sourceType" column="source_type"/> |
| | | <result property="outhospno" column="outhospno"/> |
| | | <result property="inhospno" column="inhospno"/> |
| | | <result property="serialnum" column="serialnum"/> |
| | | <result property="patid" column="patid"/> |
| | | <result property="patname" column="patname"/> |
| | | <result property="parentname" column="parentname"/> |
| | | <result property="parentRelation" column="parent_relation"/> |
| | | <result property="parentPhone" column="parent_phone"/> |
| | | <result property="parentIdcardno" column="parent_idcardno"/> |
| | | <result property="parentAddress" column="parent_address"/> |
| | | <result property="birthdate" column="birthdate"/> |
| | | <result property="idcardno" column="idcardno"/> |
| | | <result property="phone" column="phone"/> |
| | | <result property="diagTime" column="diag_time"/> |
| | | <result property="archiveTime" column="archive_time"/> |
| | | <result property="plannedFollowTime" column="planned_follow_time"/> |
| | | <result property="followupCycleTimes" column="followup_cycle_times"/> |
| | | <result property="sex" column="sex"/> |
| | | <result property="doctorCode" column="doctor_code"/> |
| | | <result property="doctorName" column="doctor_name"/> |
| | |
| | | <result property="wardname" column="wardname"/> |
| | | <result property="icd10code" column="icd10code"/> |
| | | <result property="diagname" column="diagname"/> |
| | | <result property="pregnancySituation" column="pregnancy_situation"/> |
| | | <result property="appointmentSituation" column="appointment_situation"/> |
| | | <result property="closeStatus" column="close_status"/> |
| | | <result property="nutritionIcd10Code" column="nutrition_icd10_code"/> |
| | | <result property="nutritionDiagName" column="nutrition_diag_name"/> |
| | | <result property="gestationalWeek" column="gestational_week"/> |
| | | <result property="birthWeight" column="birth_weight"/> |
| | | <result property="ndPhysicalMeasurements" column="nd_physical_measurements"/> |
| | | <result property="ndDietaryAssessment" column="nd_dietary_assessment"/> |
| | | <result property="ndInterventionProgram" column="nd_intervention_program"/> |
| | | <result property="appointmentSituation" column="appointment_situation"/> |
| | | <result property="ldLearningAbilityAssessment" column="ld_learning_ability_assessment"/> |
| | | <result property="ldBehavioralAssessment" column="ld_behavioral_assessment"/> |
| | | <result property="ldInterventionTrainingRecord" column="ld_intervention_training_record"/> |
| | | <result property="highRiskChildType" column="high_risk_child_type"/> |
| | | <result property="highRiskChildName" column="high_risk_child_name"/> |
| | | <result property="plannedFollowTime" column="planned_follow_time"/> |
| | | <result property="hrcGrowthDevelopmentMonitoring" column="hrc_growth_development_monitoring"/> |
| | | <result property="hrcNeurologicalEvaluation" column="hrc_neurological_evaluation"/> |
| | | <result property="hrcInterventionRecords" column="hrc_intervention_records"/> |
| | | <result property="closeStatus" column="close_status"/> |
| | | <result property="gestationalWeek" column="gestational_week"/> |
| | | <result property="birthWeight" column="birth_weight"/> |
| | | <result property="registerUser" column="register_user"/> |
| | | <result property="remark" column="remark"/> |
| | | <result property="orgid" column="orgid"/> |
| | |
| | | <result property="delFlag" column="del_flag"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatMaternityChildArchiveVo"> |
| | | <sql id="selectPatChildArchiveDetailVo"> |
| | | select id, |
| | | type, |
| | | archiveid, |
| | | archive_type, |
| | | source_type, |
| | | outhospno, |
| | | inhospno, |
| | | serialnum, |
| | | patid, |
| | | patname, |
| | | parentname, |
| | | parent_relation, |
| | | parent_phone, |
| | | parent_idcardno, |
| | | parent_address, |
| | | birthdate, |
| | | idcardno, |
| | | phone, |
| | | diag_time, |
| | | archive_time, |
| | | planned_follow_time, |
| | | followup_cycle_times, |
| | | sex, |
| | | doctor_code, |
| | | doctor_name, |
| | |
| | | wardname, |
| | | icd10code, |
| | | diagname, |
| | | pregnancy_situation, |
| | | appointment_situation, |
| | | close_status, |
| | | nutrition_icd10_code, |
| | | nutrition_diag_name, |
| | | gestational_week, |
| | | birth_weight, |
| | | nd_physical_measurements, |
| | | nd_dietary_assessment, |
| | | nd_intervention_program, |
| | | appointment_situation, |
| | | ld_learning_ability_assessment, |
| | | ld_behavioral_assessment, |
| | | ld_intervention_training_record, |
| | | high_risk_child_type, |
| | | high_risk_child_name, |
| | | planned_follow_time, |
| | | hrc_growth_development_monitoring, |
| | | hrc_neurological_evaluation, |
| | | hrc_intervention_records, |
| | | close_status, |
| | | gestational_week, |
| | | birth_weight, |
| | | register_user, |
| | | remark, |
| | | orgid, |
| | |
| | | create_by, |
| | | create_time, |
| | | del_flag |
| | | from pat_maternity_child_archive |
| | | from pat_child_archive_detail |
| | | </sql> |
| | | |
| | | <select id="selectPatMaternityChildArchiveList" parameterType="com.smartor.domain.PatMaternityChildArchive" |
| | | resultMap="PatMaternityChildArchiveResult"> |
| | | <include refid="selectPatMaternityChildArchiveVo"/> |
| | | <select id="selectPatChildArchiveDetailList" parameterType="com.smartor.domain.PatChildArchiveDetail" |
| | | resultMap="PatChildArchiveDetailResult"> |
| | | <include refid="selectPatChildArchiveDetailVo"/> |
| | | where 1=1 |
| | | and del_flag = '0' |
| | | <if test="type != null and type != ''">and type = #{type}</if> |
| | | <if test="archiveid != null">and archiveid = #{archiveid}</if> |
| | | <if test="archiveType != null and archiveType != ''">and archive_type = #{archiveType}</if> |
| | | <if test="sourceType != null and sourceType != ''">and source_type = #{sourceType}</if> |
| | | <if test="outhospno != null and outhospno != ''">and outhospno = #{outhospno}</if> |
| | | <if test="inhospno != null and inhospno != ''">and inhospno = #{inhospno}</if> |
| | | <if test="serialnum != null and serialnum != ''">and serialnum = #{serialnum}</if> |
| | | <if test="patid != null">and patid = #{patid}</if> |
| | | <if test="patname != null and patname != ''">and patname like concat('%', #{patname}, '%')</if> |
| | | <if test="parentname != null and parentname != ''">and parentname like concat('%', #{parentname}, '%')</if> |
| | | <if test="birthdate != null">and birthdate = #{birthdate}</if> |
| | | <if test="idcardno != null and idcardno != ''">and idcardno = #{idcardno}</if> |
| | | <if test="phone != null and phone != ''">and phone = #{phone}</if> |
| | | <if test="diagTime != null">and diag_time = #{diagTime}</if> |
| | | <if test="plannedFollowTime != null">and planned_follow_time = #{plannedFollowTime}</if> |
| | | <if test="followupCycleTimes != null and followupCycleTimes != ''">and followup_cycle_times = #{followupCycleTimes}</if> |
| | | <if test="sex != null">and sex = #{sex}</if> |
| | | <if test="doctorCode != null and doctorCode != ''">and doctor_code = #{doctorCode}</if> |
| | | <if test="doctorName != null and doctorName != ''">and doctor_name like concat('%', #{doctorName}, '%')</if> |
| | |
| | | <if test="wardname != null and wardname != ''">and wardname like concat('%', #{wardname}, '%')</if> |
| | | <if test="icd10code != null and icd10code != ''">and icd10code = #{icd10code}</if> |
| | | <if test="diagname != null and diagname != ''">and diagname like concat('%', #{diagname}, '%')</if> |
| | | <if test="pregnancySituation != null and pregnancySituation != ''">and pregnancy_situation = #{pregnancySituation}</if> |
| | | <if test="appointmentSituation != null and appointmentSituation != ''">and appointment_situation = #{appointmentSituation}</if> |
| | | <if test="closeStatus != null and closeStatus != ''">and close_status = #{closeStatus}</if> |
| | | <if test="nutritionIcd10Code != null and nutritionIcd10Code != ''">and nutrition_icd10_code = #{nutritionIcd10Code}</if> |
| | | <if test="nutritionDiagName != null and nutritionDiagName != ''">and nutrition_diag_name like concat('%', #{nutritionDiagName}, '%')</if> |
| | | <if test="gestationalWeek != null">and gestational_week = #{gestationalWeek}</if> |
| | | <if test="birthWeight != null">and birth_weight = #{birthWeight}</if> |
| | | <if test="highRiskChildType != null and highRiskChildType != ''">and high_risk_child_type = #{highRiskChildType}</if> |
| | | <if test="highRiskChildName != null and highRiskChildName != ''">and high_risk_child_name like concat('%', #{highRiskChildName}, '%')</if> |
| | | <if test="closeStatus != null and closeStatus != ''">and close_status = #{closeStatus}</if> |
| | | <if test="gestationalWeek != null">and gestational_week = #{gestationalWeek}</if> |
| | | <if test="birthWeight != null">and birth_weight = #{birthWeight}</if> |
| | | <if test="registerUser != null and registerUser != ''">and register_user = #{registerUser}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="campusid != null and campusid != ''">and campusid = #{campusid}</if> |
| | |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectPatMaternityChildArchiveById" parameterType="Long" resultMap="PatMaternityChildArchiveResult"> |
| | | <include refid="selectPatMaternityChildArchiveVo"/> |
| | | <select id="selectPatChildArchiveDetailById" parameterType="Long" resultMap="PatChildArchiveDetailResult"> |
| | | <include refid="selectPatChildArchiveDetailVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertPatMaternityChildArchive" parameterType="com.smartor.domain.PatMaternityChildArchive" |
| | | <insert id="insertPatChildArchiveDetail" parameterType="com.smartor.domain.PatChildArchiveDetail" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into pat_maternity_child_archive |
| | | insert into pat_child_archive_detail |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="type != null">type,</if> |
| | | <if test="archiveid != null">archiveid,</if> |
| | | <if test="archiveType != null">archive_type,</if> |
| | | <if test="sourceType != null">source_type,</if> |
| | | <if test="outhospno != null">outhospno,</if> |
| | | <if test="inhospno != null">inhospno,</if> |
| | | <if test="serialnum != null">serialnum,</if> |
| | | <if test="patid != null">patid,</if> |
| | | <if test="patname != null">patname,</if> |
| | | <if test="parentname != null">parentname,</if> |
| | | <if test="parentRelation != null">parent_relation,</if> |
| | | <if test="parentPhone != null">parent_phone,</if> |
| | | <if test="parentIdcardno != null">parent_idcardno,</if> |
| | | <if test="parentAddress != null">parent_address,</if> |
| | | <if test="birthdate != null">birthdate,</if> |
| | | <if test="idcardno != null">idcardno,</if> |
| | | <if test="phone != null">phone,</if> |
| | | <if test="diagTime != null">diag_time,</if> |
| | | <if test="archiveTime != null">archive_time,</if> |
| | | <if test="plannedFollowTime != null">planned_follow_time,</if> |
| | | <if test="followupCycleTimes != null">followup_cycle_times,</if> |
| | | <if test="sex != null">sex,</if> |
| | | <if test="doctorCode != null">doctor_code,</if> |
| | | <if test="doctorName != null">doctor_name,</if> |
| | |
| | | <if test="wardname != null">wardname,</if> |
| | | <if test="icd10code != null">icd10code,</if> |
| | | <if test="diagname != null">diagname,</if> |
| | | <if test="pregnancySituation != null">pregnancy_situation,</if> |
| | | <if test="appointmentSituation != null">appointment_situation,</if> |
| | | <if test="closeStatus != null">close_status,</if> |
| | | <if test="nutritionIcd10Code != null">nutrition_icd10_code,</if> |
| | | <if test="nutritionDiagName != null">nutrition_diag_name,</if> |
| | | <if test="gestationalWeek != null">gestational_week,</if> |
| | | <if test="birthWeight != null">birth_weight,</if> |
| | | <if test="ndPhysicalMeasurements != null">nd_physical_measurements,</if> |
| | | <if test="ndDietaryAssessment != null">nd_dietary_assessment,</if> |
| | | <if test="ndInterventionProgram != null">nd_intervention_program,</if> |
| | | <if test="appointmentSituation != null">appointment_situation,</if> |
| | | <if test="ldLearningAbilityAssessment != null">ld_learning_ability_assessment,</if> |
| | | <if test="ldBehavioralAssessment != null">ld_behavioral_assessment,</if> |
| | | <if test="ldInterventionTrainingRecord != null">ld_intervention_training_record,</if> |
| | | <if test="highRiskChildType != null">high_risk_child_type,</if> |
| | | <if test="highRiskChildName != null">high_risk_child_name,</if> |
| | | <if test="plannedFollowTime != null">planned_follow_time,</if> |
| | | <if test="hrcGrowthDevelopmentMonitoring != null">hrc_growth_development_monitoring,</if> |
| | | <if test="hrcNeurologicalEvaluation != null">hrc_neurological_evaluation,</if> |
| | | <if test="hrcInterventionRecords != null">hrc_intervention_records,</if> |
| | | <if test="closeStatus != null">close_status,</if> |
| | | <if test="gestationalWeek != null">gestational_week,</if> |
| | | <if test="birthWeight != null">birth_weight,</if> |
| | | <if test="registerUser != null">register_user,</if> |
| | | <if test="remark != null">remark,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="type != null">#{type},</if> |
| | | <if test="archiveid != null">#{archiveid},</if> |
| | | <if test="archiveType != null">#{archiveType},</if> |
| | | <if test="sourceType != null">#{sourceType},</if> |
| | | <if test="outhospno != null">#{outhospno},</if> |
| | | <if test="inhospno != null">#{inhospno},</if> |
| | | <if test="serialnum != null">#{serialnum},</if> |
| | | <if test="patid != null">#{patid},</if> |
| | | <if test="patname != null">#{patname},</if> |
| | | <if test="parentname != null">#{parentname},</if> |
| | | <if test="parentRelation != null">#{parentRelation},</if> |
| | | <if test="parentPhone != null">#{parentPhone},</if> |
| | | <if test="parentIdcardno != null">#{parentIdcardno},</if> |
| | | <if test="parentAddress != null">#{parentAddress},</if> |
| | | <if test="birthdate != null">#{birthdate},</if> |
| | | <if test="idcardno != null">#{idcardno},</if> |
| | | <if test="phone != null">#{phone},</if> |
| | | <if test="diagTime != null">#{diagTime},</if> |
| | | <if test="archiveTime != null">#{archiveTime},</if> |
| | | <if test="plannedFollowTime != null">#{plannedFollowTime},</if> |
| | | <if test="followupCycleTimes != null">#{followupCycleTimes},</if> |
| | | <if test="sex != null">#{sex},</if> |
| | | <if test="doctorCode != null">#{doctorCode},</if> |
| | | <if test="doctorName != null">#{doctorName},</if> |
| | |
| | | <if test="wardname != null">#{wardname},</if> |
| | | <if test="icd10code != null">#{icd10code},</if> |
| | | <if test="diagname != null">#{diagname},</if> |
| | | <if test="pregnancySituation != null">#{pregnancySituation},</if> |
| | | <if test="appointmentSituation != null">#{appointmentSituation},</if> |
| | | <if test="closeStatus != null">#{closeStatus},</if> |
| | | <if test="nutritionIcd10Code != null">#{nutritionIcd10Code},</if> |
| | | <if test="nutritionDiagName != null">#{nutritionDiagName},</if> |
| | | <if test="gestationalWeek != null">#{gestationalWeek},</if> |
| | | <if test="birthWeight != null">#{birthWeight},</if> |
| | | <if test="ndPhysicalMeasurements != null">#{ndPhysicalMeasurements},</if> |
| | | <if test="ndDietaryAssessment != null">#{ndDietaryAssessment},</if> |
| | | <if test="ndInterventionProgram != null">#{ndInterventionProgram},</if> |
| | | <if test="appointmentSituation != null">#{appointmentSituation},</if> |
| | | <if test="ldLearningAbilityAssessment != null">#{ldLearningAbilityAssessment},</if> |
| | | <if test="ldBehavioralAssessment != null">#{ldBehavioralAssessment},</if> |
| | | <if test="ldInterventionTrainingRecord != null">#{ldInterventionTrainingRecord},</if> |
| | | <if test="highRiskChildType != null">#{highRiskChildType},</if> |
| | | <if test="highRiskChildName != null">#{highRiskChildName},</if> |
| | | <if test="plannedFollowTime != null">#{plannedFollowTime},</if> |
| | | <if test="hrcGrowthDevelopmentMonitoring != null">#{hrcGrowthDevelopmentMonitoring},</if> |
| | | <if test="hrcNeurologicalEvaluation != null">#{hrcNeurologicalEvaluation},</if> |
| | | <if test="hrcInterventionRecords != null">#{hrcInterventionRecords},</if> |
| | | <if test="closeStatus != null">#{closeStatus},</if> |
| | | <if test="gestationalWeek != null">#{gestationalWeek},</if> |
| | | <if test="birthWeight != null">#{birthWeight},</if> |
| | | <if test="registerUser != null">#{registerUser},</if> |
| | | <if test="remark != null">#{remark},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatMaternityChildArchive" parameterType="com.smartor.domain.PatMaternityChildArchive"> |
| | | update pat_maternity_child_archive |
| | | <update id="updatePatChildArchiveDetail" parameterType="com.smartor.domain.PatChildArchiveDetail"> |
| | | update pat_child_archive_detail |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="type != null">type = #{type},</if> |
| | | <if test="archiveid != null">archiveid = #{archiveid},</if> |
| | | <if test="archiveType != null">archive_type = #{archiveType},</if> |
| | | <if test="sourceType != null">source_type = #{sourceType},</if> |
| | | <if test="outhospno != null">outhospno = #{outhospno},</if> |
| | | <if test="inhospno != null">inhospno = #{inhospno},</if> |
| | | <if test="serialnum != null">serialnum = #{serialnum},</if> |
| | | <if test="patid != null">patid = #{patid},</if> |
| | | <if test="patname != null">patname = #{patname},</if> |
| | | <if test="parentname != null">parentname = #{parentname},</if> |
| | | <if test="parentRelation != null">parent_relation = #{parentRelation},</if> |
| | | <if test="parentPhone != null">parent_phone = #{parentPhone},</if> |
| | | <if test="parentIdcardno != null">parent_idcardno = #{parentIdcardno},</if> |
| | | <if test="parentAddress != null">parent_address = #{parentAddress},</if> |
| | | <if test="birthdate != null">birthdate = #{birthdate},</if> |
| | | <if test="idcardno != null">idcardno = #{idcardno},</if> |
| | | <if test="phone != null">phone = #{phone},</if> |
| | | <if test="diagTime != null">diag_time = #{diagTime},</if> |
| | | <if test="archiveTime != null">archive_time = #{archiveTime},</if> |
| | | <if test="plannedFollowTime != null">planned_follow_time = #{plannedFollowTime},</if> |
| | | <if test="followupCycleTimes != null">followup_cycle_times = #{followupCycleTimes},</if> |
| | | <if test="sex != null">sex = #{sex},</if> |
| | | <if test="doctorCode != null">doctor_code = #{doctorCode},</if> |
| | | <if test="doctorName != null">doctor_name = #{doctorName},</if> |
| | |
| | | <if test="wardname != null">wardname = #{wardname},</if> |
| | | <if test="icd10code != null">icd10code = #{icd10code},</if> |
| | | <if test="diagname != null">diagname = #{diagname},</if> |
| | | <if test="pregnancySituation != null">pregnancy_situation = #{pregnancySituation},</if> |
| | | <if test="appointmentSituation != null">appointment_situation = #{appointmentSituation},</if> |
| | | <if test="closeStatus != null">close_status = #{closeStatus},</if> |
| | | <if test="nutritionIcd10Code != null">nutrition_icd10_code = #{nutritionIcd10Code},</if> |
| | | <if test="nutritionDiagName != null">nutrition_diag_name = #{nutritionDiagName},</if> |
| | | <if test="gestationalWeek != null">gestational_week = #{gestationalWeek},</if> |
| | | <if test="birthWeight != null">birth_weight = #{birthWeight},</if> |
| | | <if test="ndPhysicalMeasurements != null">nd_physical_measurements = #{ndPhysicalMeasurements},</if> |
| | | <if test="ndDietaryAssessment != null">nd_dietary_assessment = #{ndDietaryAssessment},</if> |
| | | <if test="ndInterventionProgram != null">nd_intervention_program = #{ndInterventionProgram},</if> |
| | | <if test="appointmentSituation != null">appointment_situation = #{appointmentSituation},</if> |
| | | <if test="ldLearningAbilityAssessment != null">ld_learning_ability_assessment = #{ldLearningAbilityAssessment},</if> |
| | | <if test="ldBehavioralAssessment != null">ld_behavioral_assessment = #{ldBehavioralAssessment},</if> |
| | | <if test="ldInterventionTrainingRecord != null">ld_intervention_training_record = #{ldInterventionTrainingRecord},</if> |
| | | <if test="highRiskChildType != null">high_risk_child_type = #{highRiskChildType},</if> |
| | | <if test="highRiskChildName != null">high_risk_child_name = #{highRiskChildName},</if> |
| | | <if test="plannedFollowTime != null">planned_follow_time = #{plannedFollowTime},</if> |
| | | <if test="hrcGrowthDevelopmentMonitoring != null">hrc_growth_development_monitoring = #{hrcGrowthDevelopmentMonitoring},</if> |
| | | <if test="hrcNeurologicalEvaluation != null">hrc_neurological_evaluation = #{hrcNeurologicalEvaluation},</if> |
| | | <if test="hrcInterventionRecords != null">hrc_intervention_records = #{hrcInterventionRecords},</if> |
| | | <if test="closeStatus != null">close_status = #{closeStatus},</if> |
| | | <if test="gestationalWeek != null">gestational_week = #{gestationalWeek},</if> |
| | | <if test="birthWeight != null">birth_weight = #{birthWeight},</if> |
| | | <if test="registerUser != null">register_user = #{registerUser},</if> |
| | | <if test="remark != null">remark = #{remark},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deletePatMaternityChildArchiveById" parameterType="Long"> |
| | | update pat_maternity_child_archive |
| | | <update id="deletePatChildArchiveDetailById" parameterType="Long"> |
| | | update pat_child_archive_detail |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | del_flag = '1' |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deletePatMaternityChildArchiveByIds" parameterType="String"> |
| | | update pat_maternity_child_archive set del_flag = '1' where id in |
| | | <update id="deletePatChildArchiveDetailByIds" parameterType="String"> |
| | | update pat_child_archive_detail set del_flag = '1' where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
copy from smartor/src/main/resources/mapper/smartor/PatMaternityChildArchiveMapper.xml
copy to smartor/src/main/resources/mapper/smartor/PatChildArchiveMapper.xml
| Îļþ´Ó smartor/src/main/resources/mapper/smartor/PatMaternityChildArchiveMapper.xml ¸´ÖÆ |
| | |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.PatMaternityChildArchiveMapper"> |
| | | <mapper namespace="com.smartor.mapper.PatChildArchiveMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.PatMaternityChildArchive" id="PatMaternityChildArchiveResult"> |
| | | <resultMap type="com.smartor.domain.PatChildArchive" id="PatChildArchiveResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="type" column="type"/> |
| | | <result property="archiveType" column="archive_type"/> |
| | | <result property="outhospno" column="outhospno"/> |
| | | <result property="inhospno" column="inhospno"/> |
| | |
| | | <result property="wardname" column="wardname"/> |
| | | <result property="icd10code" column="icd10code"/> |
| | | <result property="diagname" column="diagname"/> |
| | | <result property="pregnancySituation" column="pregnancy_situation"/> |
| | | <result property="appointmentSituation" column="appointment_situation"/> |
| | | <result property="closeStatus" column="close_status"/> |
| | | <result property="nutritionIcd10Code" column="nutrition_icd10_code"/> |
| | | <result property="nutritionDiagName" column="nutrition_diag_name"/> |
| | | <result property="gestationalWeek" column="gestational_week"/> |
| | | <result property="birthWeight" column="birth_weight"/> |
| | | <result property="highRiskChildType" column="high_risk_child_type"/> |
| | | <result property="highRiskChildName" column="high_risk_child_name"/> |
| | | <result property="registerUser" column="register_user"/> |
| | | <result property="remark" column="remark"/> |
| | | <result property="orgid" column="orgid"/> |
| | |
| | | <result property="delFlag" column="del_flag"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatMaternityChildArchiveVo"> |
| | | <sql id="selectPatChildArchiveVo"> |
| | | select id, |
| | | type, |
| | | archive_type, |
| | | outhospno, |
| | | inhospno, |
| | |
| | | wardname, |
| | | icd10code, |
| | | diagname, |
| | | pregnancy_situation, |
| | | appointment_situation, |
| | | close_status, |
| | | nutrition_icd10_code, |
| | | nutrition_diag_name, |
| | | gestational_week, |
| | | birth_weight, |
| | | high_risk_child_type, |
| | | high_risk_child_name, |
| | | register_user, |
| | | remark, |
| | | orgid, |
| | |
| | | create_by, |
| | | create_time, |
| | | del_flag |
| | | from pat_maternity_child_archive |
| | | from pat_child_archive |
| | | </sql> |
| | | |
| | | <select id="selectPatMaternityChildArchiveList" parameterType="com.smartor.domain.PatMaternityChildArchive" |
| | | resultMap="PatMaternityChildArchiveResult"> |
| | | <include refid="selectPatMaternityChildArchiveVo"/> |
| | | <select id="selectPatChildArchiveList" parameterType="com.smartor.domain.PatChildArchive" |
| | | resultMap="PatChildArchiveResult"> |
| | | <include refid="selectPatChildArchiveVo"/> |
| | | where 1=1 |
| | | and del_flag = '0' |
| | | <if test="type != null and type != ''">and type = #{type}</if> |
| | | <if test="archiveType != null and archiveType != ''">and archive_type = #{archiveType}</if> |
| | | <if test="outhospno != null and outhospno != ''">and outhospno = #{outhospno}</if> |
| | | <if test="inhospno != null and inhospno != ''">and inhospno = #{inhospno}</if> |
| | |
| | | <if test="wardname != null and wardname != ''">and wardname like concat('%', #{wardname}, '%')</if> |
| | | <if test="icd10code != null and icd10code != ''">and icd10code = #{icd10code}</if> |
| | | <if test="diagname != null and diagname != ''">and diagname like concat('%', #{diagname}, '%')</if> |
| | | <if test="pregnancySituation != null and pregnancySituation != ''">and pregnancy_situation = #{pregnancySituation}</if> |
| | | <if test="appointmentSituation != null and appointmentSituation != ''">and appointment_situation = #{appointmentSituation}</if> |
| | | <if test="closeStatus != null and closeStatus != ''">and close_status = #{closeStatus}</if> |
| | | <if test="nutritionIcd10Code != null and nutritionIcd10Code != ''">and nutrition_icd10_code = #{nutritionIcd10Code}</if> |
| | | <if test="nutritionDiagName != null and nutritionDiagName != ''">and nutrition_diag_name like concat('%', #{nutritionDiagName}, '%')</if> |
| | | <if test="gestationalWeek != null">and gestational_week = #{gestationalWeek}</if> |
| | | <if test="birthWeight != null">and birth_weight = #{birthWeight}</if> |
| | | <if test="highRiskChildType != null and highRiskChildType != ''">and high_risk_child_type = #{highRiskChildType}</if> |
| | | <if test="highRiskChildName != null and highRiskChildName != ''">and high_risk_child_name like concat('%', #{highRiskChildName}, '%')</if> |
| | | <if test="registerUser != null and registerUser != ''">and register_user = #{registerUser}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="campusid != null and campusid != ''">and campusid = #{campusid}</if> |
| | |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectPatMaternityChildArchiveById" parameterType="Long" resultMap="PatMaternityChildArchiveResult"> |
| | | <include refid="selectPatMaternityChildArchiveVo"/> |
| | | <select id="selectPatChildArchiveById" parameterType="Long" resultMap="PatChildArchiveResult"> |
| | | <include refid="selectPatChildArchiveVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertPatMaternityChildArchive" parameterType="com.smartor.domain.PatMaternityChildArchive" |
| | | <insert id="insertPatChildArchive" parameterType="com.smartor.domain.PatChildArchive" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into pat_maternity_child_archive |
| | | insert into pat_child_archive |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="type != null">type,</if> |
| | | <if test="archiveType != null">archive_type,</if> |
| | | <if test="outhospno != null">outhospno,</if> |
| | | <if test="inhospno != null">inhospno,</if> |
| | |
| | | <if test="wardname != null">wardname,</if> |
| | | <if test="icd10code != null">icd10code,</if> |
| | | <if test="diagname != null">diagname,</if> |
| | | <if test="pregnancySituation != null">pregnancy_situation,</if> |
| | | <if test="appointmentSituation != null">appointment_situation,</if> |
| | | <if test="closeStatus != null">close_status,</if> |
| | | <if test="nutritionIcd10Code != null">nutrition_icd10_code,</if> |
| | | <if test="nutritionDiagName != null">nutrition_diag_name,</if> |
| | | <if test="gestationalWeek != null">gestational_week,</if> |
| | | <if test="birthWeight != null">birth_weight,</if> |
| | | <if test="highRiskChildType != null">high_risk_child_type,</if> |
| | | <if test="highRiskChildName != null">high_risk_child_name,</if> |
| | | <if test="registerUser != null">register_user,</if> |
| | | <if test="remark != null">remark,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="type != null">#{type},</if> |
| | | <if test="archiveType != null">#{archiveType},</if> |
| | | <if test="outhospno != null">#{outhospno},</if> |
| | | <if test="inhospno != null">#{inhospno},</if> |
| | |
| | | <if test="wardname != null">#{wardname},</if> |
| | | <if test="icd10code != null">#{icd10code},</if> |
| | | <if test="diagname != null">#{diagname},</if> |
| | | <if test="pregnancySituation != null">#{pregnancySituation},</if> |
| | | <if test="appointmentSituation != null">#{appointmentSituation},</if> |
| | | <if test="closeStatus != null">#{closeStatus},</if> |
| | | <if test="nutritionIcd10Code != null">#{nutritionIcd10Code},</if> |
| | | <if test="nutritionDiagName != null">#{nutritionDiagName},</if> |
| | | <if test="gestationalWeek != null">#{gestationalWeek},</if> |
| | | <if test="birthWeight != null">#{birthWeight},</if> |
| | | <if test="highRiskChildType != null">#{highRiskChildType},</if> |
| | | <if test="highRiskChildName != null">#{highRiskChildName},</if> |
| | | <if test="registerUser != null">#{registerUser},</if> |
| | | <if test="remark != null">#{remark},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatMaternityChildArchive" parameterType="com.smartor.domain.PatMaternityChildArchive"> |
| | | update pat_maternity_child_archive |
| | | <update id="updatePatChildArchive" parameterType="com.smartor.domain.PatChildArchive"> |
| | | update pat_child_archive |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="type != null">type = #{type},</if> |
| | | <if test="archiveType != null">archive_type = #{archiveType},</if> |
| | | <if test="outhospno != null">outhospno = #{outhospno},</if> |
| | | <if test="inhospno != null">inhospno = #{inhospno},</if> |
| | |
| | | <if test="wardname != null">wardname = #{wardname},</if> |
| | | <if test="icd10code != null">icd10code = #{icd10code},</if> |
| | | <if test="diagname != null">diagname = #{diagname},</if> |
| | | <if test="pregnancySituation != null">pregnancy_situation = #{pregnancySituation},</if> |
| | | <if test="appointmentSituation != null">appointment_situation = #{appointmentSituation},</if> |
| | | <if test="closeStatus != null">close_status = #{closeStatus},</if> |
| | | <if test="nutritionIcd10Code != null">nutrition_icd10_code = #{nutritionIcd10Code},</if> |
| | | <if test="nutritionDiagName != null">nutrition_diag_name = #{nutritionDiagName},</if> |
| | | <if test="gestationalWeek != null">gestational_week = #{gestationalWeek},</if> |
| | | <if test="birthWeight != null">birth_weight = #{birthWeight},</if> |
| | | <if test="highRiskChildType != null">high_risk_child_type = #{highRiskChildType},</if> |
| | | <if test="highRiskChildName != null">high_risk_child_name = #{highRiskChildName},</if> |
| | | <if test="registerUser != null">register_user = #{registerUser},</if> |
| | | <if test="remark != null">remark = #{remark},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deletePatMaternityChildArchiveById" parameterType="Long"> |
| | | update pat_maternity_child_archive |
| | | <update id="deletePatChildArchiveById" parameterType="Long"> |
| | | update pat_child_archive |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | del_flag = '1' |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deletePatMaternityChildArchiveByIds" parameterType="String"> |
| | | update pat_maternity_child_archive set del_flag = '1' where id in |
| | | <update id="deletePatChildArchiveByIds" parameterType="String"> |
| | | update pat_child_archive set del_flag = '1' where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
copy from smartor/src/main/resources/mapper/smartor/PatMaternityChildArchiveMapper.xml
copy to smartor/src/main/resources/mapper/smartor/PatMaternityArchiveDetailMapper.xml
| Îļþ´Ó smartor/src/main/resources/mapper/smartor/PatMaternityChildArchiveMapper.xml ¸´ÖÆ |
| | |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.PatMaternityChildArchiveMapper"> |
| | | <mapper namespace="com.smartor.mapper.PatMaternityArchiveDetailMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.PatMaternityChildArchive" id="PatMaternityChildArchiveResult"> |
| | | <resultMap type="com.smartor.domain.PatMaternityArchiveDetail" id="PatMaternityArchiveDetailResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="type" column="type"/> |
| | | <result property="archiveid" column="archiveid"/> |
| | | <result property="archiveType" column="archive_type"/> |
| | | <result property="sourceType" column="source_type"/> |
| | | <result property="outhospno" column="outhospno"/> |
| | | <result property="inhospno" column="inhospno"/> |
| | | <result property="serialnum" column="serialnum"/> |
| | | <result property="patid" column="patid"/> |
| | | <result property="patname" column="patname"/> |
| | | <result property="parentname" column="parentname"/> |
| | | <result property="birthdate" column="birthdate"/> |
| | | <result property="idcardno" column="idcardno"/> |
| | | <result property="phone" column="phone"/> |
| | | <result property="diagTime" column="diag_time"/> |
| | | <result property="archiveTime" column="archive_time"/> |
| | | <result property="plannedFollowTime" column="planned_follow_time"/> |
| | | <result property="followupCycleTimes" column="followup_cycle_times"/> |
| | | <result property="sex" column="sex"/> |
| | | <result property="doctorCode" column="doctor_code"/> |
| | | <result property="doctorName" column="doctor_name"/> |
| | |
| | | <result property="icd10code" column="icd10code"/> |
| | | <result property="diagname" column="diagname"/> |
| | | <result property="pregnancySituation" column="pregnancy_situation"/> |
| | | <result property="appointmentSituation" column="appointment_situation"/> |
| | | <result property="specificSituation" column="specific_situation"/> |
| | | <result property="handleSuggestion" column="handle_suggestion"/> |
| | | <result property="closeStatus" column="close_status"/> |
| | | <result property="nutritionIcd10Code" column="nutrition_icd10_code"/> |
| | | <result property="nutritionDiagName" column="nutrition_diag_name"/> |
| | | <result property="gestationalWeek" column="gestational_week"/> |
| | | <result property="birthWeight" column="birth_weight"/> |
| | | <result property="highRiskChildType" column="high_risk_child_type"/> |
| | | <result property="highRiskChildName" column="high_risk_child_name"/> |
| | | <result property="isRecordEstablished" column="is_record_established"/> |
| | | <result property="dueDate" column="due_date"/> |
| | | <result property="registerUser" column="register_user"/> |
| | | <result property="followupPeriod" column="followup_period"/> |
| | | <result property="epEarlyPregnancyFollowupForm" column="ep_early_pregnancy_followup_form"/> |
| | | <result property="mhiMenopauseFollowupSystemIssuesForm" column="mhi_menopause_followup_system_issues_form"/> |
| | | <result property="mhiMhtInitialVisitMedicalRecordForm" column="mhi_mht_initial_visit_medical_record_form"/> |
| | | <result property="mhiMhtFollowUpMedicalRecordForm" column="mhi_mht_follow_up_medical_record_form"/> |
| | | <result property="mhiModifiedKuppermanScoringScaleForm" column="mhi_modified_kupperman_scoring_scale_form"/> |
| | | <result property="mhiMenopauseRatingScaleForm" column="mhi_menopause_rating_scale_form"/> |
| | | <result property="mhiPittsburghSleepQualityIndexForm" column="mhi_pittsburgh_sleep_quality_index_form"/> |
| | | <result property="remark" column="remark"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="campusid" column="campusid"/> |
| | |
| | | <result property="delFlag" column="del_flag"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatMaternityChildArchiveVo"> |
| | | <sql id="selectPatMaternityArchiveDetailVo"> |
| | | select id, |
| | | type, |
| | | archiveid, |
| | | archive_type, |
| | | source_type, |
| | | outhospno, |
| | | inhospno, |
| | | serialnum, |
| | | patid, |
| | | patname, |
| | | parentname, |
| | | birthdate, |
| | | idcardno, |
| | | phone, |
| | | diag_time, |
| | | archive_time, |
| | | planned_follow_time, |
| | | followup_cycle_times, |
| | | sex, |
| | | doctor_code, |
| | | doctor_name, |
| | |
| | | icd10code, |
| | | diagname, |
| | | pregnancy_situation, |
| | | appointment_situation, |
| | | specific_situation, |
| | | handle_suggestion, |
| | | close_status, |
| | | nutrition_icd10_code, |
| | | nutrition_diag_name, |
| | | gestational_week, |
| | | birth_weight, |
| | | high_risk_child_type, |
| | | high_risk_child_name, |
| | | is_record_established, |
| | | due_date, |
| | | register_user, |
| | | followup_period, |
| | | ep_early_pregnancy_followup_form, |
| | | mhi_menopause_followup_system_issues_form, |
| | | mhi_mht_initial_visit_medical_record_form, |
| | | mhi_mht_follow_up_medical_record_form, |
| | | mhi_modified_kupperman_scoring_scale_form, |
| | | mhi_menopause_rating_scale_form, |
| | | mhi_pittsburgh_sleep_quality_index_form, |
| | | remark, |
| | | orgid, |
| | | campusid, |
| | |
| | | create_by, |
| | | create_time, |
| | | del_flag |
| | | from pat_maternity_child_archive |
| | | from pat_maternity_archive_detail |
| | | </sql> |
| | | |
| | | <select id="selectPatMaternityChildArchiveList" parameterType="com.smartor.domain.PatMaternityChildArchive" |
| | | resultMap="PatMaternityChildArchiveResult"> |
| | | <include refid="selectPatMaternityChildArchiveVo"/> |
| | | <select id="selectPatMaternityArchiveDetailList" parameterType="com.smartor.domain.PatMaternityArchiveDetail" |
| | | resultMap="PatMaternityArchiveDetailResult"> |
| | | <include refid="selectPatMaternityArchiveDetailVo"/> |
| | | where 1=1 |
| | | and del_flag = '0' |
| | | <if test="type != null and type != ''">and type = #{type}</if> |
| | | <if test="archiveid != null">and archiveid = #{archiveid}</if> |
| | | <if test="archiveType != null and archiveType != ''">and archive_type = #{archiveType}</if> |
| | | <if test="sourceType != null and sourceType != ''">and source_type = #{sourceType}</if> |
| | | <if test="outhospno != null and outhospno != ''">and outhospno = #{outhospno}</if> |
| | | <if test="inhospno != null and inhospno != ''">and inhospno = #{inhospno}</if> |
| | | <if test="serialnum != null and serialnum != ''">and serialnum = #{serialnum}</if> |
| | | <if test="patid != null">and patid = #{patid}</if> |
| | | <if test="patname != null and patname != ''">and patname like concat('%', #{patname}, '%')</if> |
| | | <if test="parentname != null and parentname != ''">and parentname like concat('%', #{parentname}, '%')</if> |
| | | <if test="birthdate != null">and birthdate = #{birthdate}</if> |
| | | <if test="idcardno != null and idcardno != ''">and idcardno = #{idcardno}</if> |
| | | <if test="phone != null and phone != ''">and phone = #{phone}</if> |
| | | <if test="diagTime != null">and diag_time = #{diagTime}</if> |
| | | <if test="plannedFollowTime != null">and planned_follow_time = #{plannedFollowTime}</if> |
| | | <if test="followupCycleTimes != null and followupCycleTimes != ''">and followup_cycle_times = #{followupCycleTimes}</if> |
| | | <if test="sex != null">and sex = #{sex}</if> |
| | | <if test="doctorCode != null and doctorCode != ''">and doctor_code = #{doctorCode}</if> |
| | | <if test="doctorName != null and doctorName != ''">and doctor_name like concat('%', #{doctorName}, '%')</if> |
| | |
| | | <if test="wardname != null and wardname != ''">and wardname like concat('%', #{wardname}, '%')</if> |
| | | <if test="icd10code != null and icd10code != ''">and icd10code = #{icd10code}</if> |
| | | <if test="diagname != null and diagname != ''">and diagname like concat('%', #{diagname}, '%')</if> |
| | | <if test="pregnancySituation != null and pregnancySituation != ''">and pregnancy_situation = #{pregnancySituation}</if> |
| | | <if test="appointmentSituation != null and appointmentSituation != ''">and appointment_situation = #{appointmentSituation}</if> |
| | | <if test="closeStatus != null and closeStatus != ''">and close_status = #{closeStatus}</if> |
| | | <if test="nutritionIcd10Code != null and nutritionIcd10Code != ''">and nutrition_icd10_code = #{nutritionIcd10Code}</if> |
| | | <if test="nutritionDiagName != null and nutritionDiagName != ''">and nutrition_diag_name like concat('%', #{nutritionDiagName}, '%')</if> |
| | | <if test="gestationalWeek != null">and gestational_week = #{gestationalWeek}</if> |
| | | <if test="birthWeight != null">and birth_weight = #{birthWeight}</if> |
| | | <if test="highRiskChildType != null and highRiskChildType != ''">and high_risk_child_type = #{highRiskChildType}</if> |
| | | <if test="highRiskChildName != null and highRiskChildName != ''">and high_risk_child_name like concat('%', #{highRiskChildName}, '%')</if> |
| | | <if test="isRecordEstablished != null and isRecordEstablished != ''">and is_record_established = #{isRecordEstablished}</if> |
| | | <if test="registerUser != null and registerUser != ''">and register_user = #{registerUser}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="campusid != null and campusid != ''">and campusid = #{campusid}</if> |
| | |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectPatMaternityChildArchiveById" parameterType="Long" resultMap="PatMaternityChildArchiveResult"> |
| | | <include refid="selectPatMaternityChildArchiveVo"/> |
| | | <select id="selectPatMaternityArchiveDetailById" parameterType="Long" resultMap="PatMaternityArchiveDetailResult"> |
| | | <include refid="selectPatMaternityArchiveDetailVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertPatMaternityChildArchive" parameterType="com.smartor.domain.PatMaternityChildArchive" |
| | | <insert id="insertPatMaternityArchiveDetail" parameterType="com.smartor.domain.PatMaternityArchiveDetail" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into pat_maternity_child_archive |
| | | insert into pat_maternity_archive_detail |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="type != null">type,</if> |
| | | <if test="archiveid != null">archiveid,</if> |
| | | <if test="archiveType != null">archive_type,</if> |
| | | <if test="sourceType != null">source_type,</if> |
| | | <if test="outhospno != null">outhospno,</if> |
| | | <if test="inhospno != null">inhospno,</if> |
| | | <if test="serialnum != null">serialnum,</if> |
| | | <if test="patid != null">patid,</if> |
| | | <if test="patname != null">patname,</if> |
| | | <if test="parentname != null">parentname,</if> |
| | | <if test="birthdate != null">birthdate,</if> |
| | | <if test="idcardno != null">idcardno,</if> |
| | | <if test="phone != null">phone,</if> |
| | | <if test="diagTime != null">diag_time,</if> |
| | | <if test="archiveTime != null">archive_time,</if> |
| | | <if test="plannedFollowTime != null">planned_follow_time,</if> |
| | | <if test="followupCycleTimes != null">followup_cycle_times,</if> |
| | | <if test="sex != null">sex,</if> |
| | | <if test="doctorCode != null">doctor_code,</if> |
| | | <if test="doctorName != null">doctor_name,</if> |
| | |
| | | <if test="icd10code != null">icd10code,</if> |
| | | <if test="diagname != null">diagname,</if> |
| | | <if test="pregnancySituation != null">pregnancy_situation,</if> |
| | | <if test="appointmentSituation != null">appointment_situation,</if> |
| | | <if test="specificSituation != null">specific_situation,</if> |
| | | <if test="handleSuggestion != null">handle_suggestion,</if> |
| | | <if test="closeStatus != null">close_status,</if> |
| | | <if test="nutritionIcd10Code != null">nutrition_icd10_code,</if> |
| | | <if test="nutritionDiagName != null">nutrition_diag_name,</if> |
| | | <if test="gestationalWeek != null">gestational_week,</if> |
| | | <if test="birthWeight != null">birth_weight,</if> |
| | | <if test="highRiskChildType != null">high_risk_child_type,</if> |
| | | <if test="highRiskChildName != null">high_risk_child_name,</if> |
| | | <if test="isRecordEstablished != null">is_record_established,</if> |
| | | <if test="dueDate != null">due_date,</if> |
| | | <if test="registerUser != null">register_user,</if> |
| | | <if test="followupPeriod != null">followup_period,</if> |
| | | <if test="epEarlyPregnancyFollowupForm != null">ep_early_pregnancy_followup_form,</if> |
| | | <if test="mhiMenopauseFollowupSystemIssuesForm != null">mhi_menopause_followup_system_issues_form,</if> |
| | | <if test="mhiMhtInitialVisitMedicalRecordForm != null">mhi_mht_initial_visit_medical_record_form,</if> |
| | | <if test="mhiMhtFollowUpMedicalRecordForm != null">mhi_mht_follow_up_medical_record_form,</if> |
| | | <if test="mhiModifiedKuppermanScoringScaleForm != null">mhi_modified_kupperman_scoring_scale_form,</if> |
| | | <if test="mhiMenopauseRatingScaleForm != null">mhi_menopause_rating_scale_form,</if> |
| | | <if test="mhiPittsburghSleepQualityIndexForm != null">mhi_pittsburgh_sleep_quality_index_form,</if> |
| | | <if test="remark != null">remark,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="campusid != null">campusid,</if> |
| | |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="type != null">#{type},</if> |
| | | <if test="archiveid != null">#{archiveid},</if> |
| | | <if test="archiveType != null">#{archiveType},</if> |
| | | <if test="sourceType != null">#{sourceType},</if> |
| | | <if test="outhospno != null">#{outhospno},</if> |
| | | <if test="inhospno != null">#{inhospno},</if> |
| | | <if test="serialnum != null">#{serialnum},</if> |
| | | <if test="patid != null">#{patid},</if> |
| | | <if test="patname != null">#{patname},</if> |
| | | <if test="parentname != null">#{parentname},</if> |
| | | <if test="birthdate != null">#{birthdate},</if> |
| | | <if test="idcardno != null">#{idcardno},</if> |
| | | <if test="phone != null">#{phone},</if> |
| | | <if test="diagTime != null">#{diagTime},</if> |
| | | <if test="archiveTime != null">#{archiveTime},</if> |
| | | <if test="plannedFollowTime != null">#{plannedFollowTime},</if> |
| | | <if test="followupCycleTimes != null">#{followupCycleTimes},</if> |
| | | <if test="sex != null">#{sex},</if> |
| | | <if test="doctorCode != null">#{doctorCode},</if> |
| | | <if test="doctorName != null">#{doctorName},</if> |
| | |
| | | <if test="icd10code != null">#{icd10code},</if> |
| | | <if test="diagname != null">#{diagname},</if> |
| | | <if test="pregnancySituation != null">#{pregnancySituation},</if> |
| | | <if test="appointmentSituation != null">#{appointmentSituation},</if> |
| | | <if test="specificSituation != null">#{specificSituation},</if> |
| | | <if test="handleSuggestion != null">#{handleSuggestion},</if> |
| | | <if test="closeStatus != null">#{closeStatus},</if> |
| | | <if test="nutritionIcd10Code != null">#{nutritionIcd10Code},</if> |
| | | <if test="nutritionDiagName != null">#{nutritionDiagName},</if> |
| | | <if test="gestationalWeek != null">#{gestationalWeek},</if> |
| | | <if test="birthWeight != null">#{birthWeight},</if> |
| | | <if test="highRiskChildType != null">#{highRiskChildType},</if> |
| | | <if test="highRiskChildName != null">#{highRiskChildName},</if> |
| | | <if test="isRecordEstablished != null">#{isRecordEstablished},</if> |
| | | <if test="dueDate != null">#{dueDate},</if> |
| | | <if test="registerUser != null">#{registerUser},</if> |
| | | <if test="followupPeriod != null">#{followupPeriod},</if> |
| | | <if test="epEarlyPregnancyFollowupForm != null">#{epEarlyPregnancyFollowupForm},</if> |
| | | <if test="mhiMenopauseFollowupSystemIssuesForm != null">#{mhiMenopauseFollowupSystemIssuesForm},</if> |
| | | <if test="mhiMhtInitialVisitMedicalRecordForm != null">#{mhiMhtInitialVisitMedicalRecordForm},</if> |
| | | <if test="mhiMhtFollowUpMedicalRecordForm != null">#{mhiMhtFollowUpMedicalRecordForm},</if> |
| | | <if test="mhiModifiedKuppermanScoringScaleForm != null">#{mhiModifiedKuppermanScoringScaleForm},</if> |
| | | <if test="mhiMenopauseRatingScaleForm != null">#{mhiMenopauseRatingScaleForm},</if> |
| | | <if test="mhiPittsburghSleepQualityIndexForm != null">#{mhiPittsburghSleepQualityIndexForm},</if> |
| | | <if test="remark != null">#{remark},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="campusid != null">#{campusid},</if> |
| | |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatMaternityChildArchive" parameterType="com.smartor.domain.PatMaternityChildArchive"> |
| | | update pat_maternity_child_archive |
| | | <update id="updatePatMaternityArchiveDetail" parameterType="com.smartor.domain.PatMaternityArchiveDetail"> |
| | | update pat_maternity_archive_detail |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="type != null">type = #{type},</if> |
| | | <if test="archiveid != null">archiveid = #{archiveid},</if> |
| | | <if test="archiveType != null">archive_type = #{archiveType},</if> |
| | | <if test="sourceType != null">source_type = #{sourceType},</if> |
| | | <if test="outhospno != null">outhospno = #{outhospno},</if> |
| | | <if test="inhospno != null">inhospno = #{inhospno},</if> |
| | | <if test="serialnum != null">serialnum = #{serialnum},</if> |
| | | <if test="patid != null">patid = #{patid},</if> |
| | | <if test="patname != null">patname = #{patname},</if> |
| | | <if test="parentname != null">parentname = #{parentname},</if> |
| | | <if test="birthdate != null">birthdate = #{birthdate},</if> |
| | | <if test="idcardno != null">idcardno = #{idcardno},</if> |
| | | <if test="phone != null">phone = #{phone},</if> |
| | | <if test="diagTime != null">diag_time = #{diagTime},</if> |
| | | <if test="archiveTime != null">archive_time = #{archiveTime},</if> |
| | | <if test="plannedFollowTime != null">planned_follow_time = #{plannedFollowTime},</if> |
| | | <if test="followupCycleTimes != null">followup_cycle_times = #{followupCycleTimes},</if> |
| | | <if test="sex != null">sex = #{sex},</if> |
| | | <if test="doctorCode != null">doctor_code = #{doctorCode},</if> |
| | | <if test="doctorName != null">doctor_name = #{doctorName},</if> |
| | |
| | | <if test="icd10code != null">icd10code = #{icd10code},</if> |
| | | <if test="diagname != null">diagname = #{diagname},</if> |
| | | <if test="pregnancySituation != null">pregnancy_situation = #{pregnancySituation},</if> |
| | | <if test="appointmentSituation != null">appointment_situation = #{appointmentSituation},</if> |
| | | <if test="specificSituation != null">specific_situation = #{specificSituation},</if> |
| | | <if test="handleSuggestion != null">handle_suggestion = #{handleSuggestion},</if> |
| | | <if test="closeStatus != null">close_status = #{closeStatus},</if> |
| | | <if test="nutritionIcd10Code != null">nutrition_icd10_code = #{nutritionIcd10Code},</if> |
| | | <if test="nutritionDiagName != null">nutrition_diag_name = #{nutritionDiagName},</if> |
| | | <if test="gestationalWeek != null">gestational_week = #{gestationalWeek},</if> |
| | | <if test="birthWeight != null">birth_weight = #{birthWeight},</if> |
| | | <if test="highRiskChildType != null">high_risk_child_type = #{highRiskChildType},</if> |
| | | <if test="highRiskChildName != null">high_risk_child_name = #{highRiskChildName},</if> |
| | | <if test="isRecordEstablished != null">is_record_established = #{isRecordEstablished},</if> |
| | | <if test="dueDate != null">due_date = #{dueDate},</if> |
| | | <if test="registerUser != null">register_user = #{registerUser},</if> |
| | | <if test="followupPeriod != null">followup_period = #{followupPeriod},</if> |
| | | <if test="epEarlyPregnancyFollowupForm != null">ep_early_pregnancy_followup_form = #{epEarlyPregnancyFollowupForm},</if> |
| | | <if test="mhiMenopauseFollowupSystemIssuesForm != null">mhi_menopause_followup_system_issues_form = #{mhiMenopauseFollowupSystemIssuesForm},</if> |
| | | <if test="mhiMhtInitialVisitMedicalRecordForm != null">mhi_mht_initial_visit_medical_record_form = #{mhiMhtInitialVisitMedicalRecordForm},</if> |
| | | <if test="mhiMhtFollowUpMedicalRecordForm != null">mhi_mht_follow_up_medical_record_form = #{mhiMhtFollowUpMedicalRecordForm},</if> |
| | | <if test="mhiModifiedKuppermanScoringScaleForm != null">mhi_modified_kupperman_scoring_scale_form = #{mhiModifiedKuppermanScoringScaleForm},</if> |
| | | <if test="mhiMenopauseRatingScaleForm != null">mhi_menopause_rating_scale_form = #{mhiMenopauseRatingScaleForm},</if> |
| | | <if test="mhiPittsburghSleepQualityIndexForm != null">mhi_pittsburgh_sleep_quality_index_form = #{mhiPittsburghSleepQualityIndexForm},</if> |
| | | <if test="remark != null">remark = #{remark},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="campusid != null">campusid = #{campusid},</if> |
| | |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deletePatMaternityChildArchiveById" parameterType="Long"> |
| | | update pat_maternity_child_archive |
| | | <update id="deletePatMaternityArchiveDetailById" parameterType="Long"> |
| | | update pat_maternity_archive_detail |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | del_flag = '1' |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deletePatMaternityChildArchiveByIds" parameterType="String"> |
| | | update pat_maternity_child_archive set del_flag = '1' where id in |
| | | <update id="deletePatMaternityArchiveDetailByIds" parameterType="String"> |
| | | update pat_maternity_archive_detail set del_flag = '1' where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| ÎļþÃû´Ó smartor/src/main/resources/mapper/smartor/PatMaternityChildArchiveMapper.xml ÐÞ¸Ä |
| | |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.PatMaternityChildArchiveMapper"> |
| | | <mapper namespace="com.smartor.mapper.PatMaternityArchiveMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.PatMaternityChildArchive" id="PatMaternityChildArchiveResult"> |
| | | <resultMap type="com.smartor.domain.PatMaternityArchive" id="PatMaternityArchiveResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="type" column="type"/> |
| | | <result property="archiveType" column="archive_type"/> |
| | | <result property="outhospno" column="outhospno"/> |
| | | <result property="inhospno" column="inhospno"/> |
| | |
| | | <result property="icd10code" column="icd10code"/> |
| | | <result property="diagname" column="diagname"/> |
| | | <result property="pregnancySituation" column="pregnancy_situation"/> |
| | | <result property="appointmentSituation" column="appointment_situation"/> |
| | | <result property="closeStatus" column="close_status"/> |
| | | <result property="nutritionIcd10Code" column="nutrition_icd10_code"/> |
| | | <result property="nutritionDiagName" column="nutrition_diag_name"/> |
| | | <result property="gestationalWeek" column="gestational_week"/> |
| | | <result property="birthWeight" column="birth_weight"/> |
| | | <result property="highRiskChildType" column="high_risk_child_type"/> |
| | | <result property="highRiskChildName" column="high_risk_child_name"/> |
| | | <result property="registerUser" column="register_user"/> |
| | | <result property="remark" column="remark"/> |
| | | <result property="orgid" column="orgid"/> |
| | |
| | | <result property="delFlag" column="del_flag"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatMaternityChildArchiveVo"> |
| | | <sql id="selectPatMaternityArchiveVo"> |
| | | select id, |
| | | type, |
| | | archive_type, |
| | | outhospno, |
| | | inhospno, |
| | |
| | | icd10code, |
| | | diagname, |
| | | pregnancy_situation, |
| | | appointment_situation, |
| | | close_status, |
| | | nutrition_icd10_code, |
| | | nutrition_diag_name, |
| | | gestational_week, |
| | | birth_weight, |
| | | high_risk_child_type, |
| | | high_risk_child_name, |
| | | register_user, |
| | | remark, |
| | | orgid, |
| | |
| | | create_by, |
| | | create_time, |
| | | del_flag |
| | | from pat_maternity_child_archive |
| | | from pat_maternity_archive |
| | | </sql> |
| | | |
| | | <select id="selectPatMaternityChildArchiveList" parameterType="com.smartor.domain.PatMaternityChildArchive" |
| | | resultMap="PatMaternityChildArchiveResult"> |
| | | <include refid="selectPatMaternityChildArchiveVo"/> |
| | | <select id="selectPatMaternityArchiveList" parameterType="com.smartor.domain.PatMaternityArchive" |
| | | resultMap="PatMaternityArchiveResult"> |
| | | <include refid="selectPatMaternityArchiveVo"/> |
| | | where 1=1 |
| | | and del_flag = '0' |
| | | <if test="type != null and type != ''">and type = #{type}</if> |
| | | <if test="archiveType != null and archiveType != ''">and archive_type = #{archiveType}</if> |
| | | <if test="outhospno != null and outhospno != ''">and outhospno = #{outhospno}</if> |
| | | <if test="inhospno != null and inhospno != ''">and inhospno = #{inhospno}</if> |
| | |
| | | <if test="icd10code != null and icd10code != ''">and icd10code = #{icd10code}</if> |
| | | <if test="diagname != null and diagname != ''">and diagname like concat('%', #{diagname}, '%')</if> |
| | | <if test="pregnancySituation != null and pregnancySituation != ''">and pregnancy_situation = #{pregnancySituation}</if> |
| | | <if test="appointmentSituation != null and appointmentSituation != ''">and appointment_situation = #{appointmentSituation}</if> |
| | | <if test="closeStatus != null and closeStatus != ''">and close_status = #{closeStatus}</if> |
| | | <if test="nutritionIcd10Code != null and nutritionIcd10Code != ''">and nutrition_icd10_code = #{nutritionIcd10Code}</if> |
| | | <if test="nutritionDiagName != null and nutritionDiagName != ''">and nutrition_diag_name like concat('%', #{nutritionDiagName}, '%')</if> |
| | | <if test="gestationalWeek != null">and gestational_week = #{gestationalWeek}</if> |
| | | <if test="birthWeight != null">and birth_weight = #{birthWeight}</if> |
| | | <if test="highRiskChildType != null and highRiskChildType != ''">and high_risk_child_type = #{highRiskChildType}</if> |
| | | <if test="highRiskChildName != null and highRiskChildName != ''">and high_risk_child_name like concat('%', #{highRiskChildName}, '%')</if> |
| | | <if test="registerUser != null and registerUser != ''">and register_user = #{registerUser}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="campusid != null and campusid != ''">and campusid = #{campusid}</if> |
| | |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectPatMaternityChildArchiveById" parameterType="Long" resultMap="PatMaternityChildArchiveResult"> |
| | | <include refid="selectPatMaternityChildArchiveVo"/> |
| | | <select id="selectPatMaternityArchiveById" parameterType="Long" resultMap="PatMaternityArchiveResult"> |
| | | <include refid="selectPatMaternityArchiveVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertPatMaternityChildArchive" parameterType="com.smartor.domain.PatMaternityChildArchive" |
| | | <insert id="insertPatMaternityArchive" parameterType="com.smartor.domain.PatMaternityArchive" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into pat_maternity_child_archive |
| | | insert into pat_maternity_archive |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="type != null">type,</if> |
| | | <if test="archiveType != null">archive_type,</if> |
| | | <if test="outhospno != null">outhospno,</if> |
| | | <if test="inhospno != null">inhospno,</if> |
| | |
| | | <if test="icd10code != null">icd10code,</if> |
| | | <if test="diagname != null">diagname,</if> |
| | | <if test="pregnancySituation != null">pregnancy_situation,</if> |
| | | <if test="appointmentSituation != null">appointment_situation,</if> |
| | | <if test="closeStatus != null">close_status,</if> |
| | | <if test="nutritionIcd10Code != null">nutrition_icd10_code,</if> |
| | | <if test="nutritionDiagName != null">nutrition_diag_name,</if> |
| | | <if test="gestationalWeek != null">gestational_week,</if> |
| | | <if test="birthWeight != null">birth_weight,</if> |
| | | <if test="highRiskChildType != null">high_risk_child_type,</if> |
| | | <if test="highRiskChildName != null">high_risk_child_name,</if> |
| | | <if test="registerUser != null">register_user,</if> |
| | | <if test="remark != null">remark,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="type != null">#{type},</if> |
| | | <if test="archiveType != null">#{archiveType},</if> |
| | | <if test="outhospno != null">#{outhospno},</if> |
| | | <if test="inhospno != null">#{inhospno},</if> |
| | |
| | | <if test="icd10code != null">#{icd10code},</if> |
| | | <if test="diagname != null">#{diagname},</if> |
| | | <if test="pregnancySituation != null">#{pregnancySituation},</if> |
| | | <if test="appointmentSituation != null">#{appointmentSituation},</if> |
| | | <if test="closeStatus != null">#{closeStatus},</if> |
| | | <if test="nutritionIcd10Code != null">#{nutritionIcd10Code},</if> |
| | | <if test="nutritionDiagName != null">#{nutritionDiagName},</if> |
| | | <if test="gestationalWeek != null">#{gestationalWeek},</if> |
| | | <if test="birthWeight != null">#{birthWeight},</if> |
| | | <if test="highRiskChildType != null">#{highRiskChildType},</if> |
| | | <if test="highRiskChildName != null">#{highRiskChildName},</if> |
| | | <if test="registerUser != null">#{registerUser},</if> |
| | | <if test="remark != null">#{remark},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatMaternityChildArchive" parameterType="com.smartor.domain.PatMaternityChildArchive"> |
| | | update pat_maternity_child_archive |
| | | <update id="updatePatMaternityArchive" parameterType="com.smartor.domain.PatMaternityArchive"> |
| | | update pat_maternity_archive |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="type != null">type = #{type},</if> |
| | | <if test="archiveType != null">archive_type = #{archiveType},</if> |
| | | <if test="outhospno != null">outhospno = #{outhospno},</if> |
| | | <if test="inhospno != null">inhospno = #{inhospno},</if> |
| | |
| | | <if test="icd10code != null">icd10code = #{icd10code},</if> |
| | | <if test="diagname != null">diagname = #{diagname},</if> |
| | | <if test="pregnancySituation != null">pregnancy_situation = #{pregnancySituation},</if> |
| | | <if test="appointmentSituation != null">appointment_situation = #{appointmentSituation},</if> |
| | | <if test="closeStatus != null">close_status = #{closeStatus},</if> |
| | | <if test="nutritionIcd10Code != null">nutrition_icd10_code = #{nutritionIcd10Code},</if> |
| | | <if test="nutritionDiagName != null">nutrition_diag_name = #{nutritionDiagName},</if> |
| | | <if test="gestationalWeek != null">gestational_week = #{gestationalWeek},</if> |
| | | <if test="birthWeight != null">birth_weight = #{birthWeight},</if> |
| | | <if test="highRiskChildType != null">high_risk_child_type = #{highRiskChildType},</if> |
| | | <if test="highRiskChildName != null">high_risk_child_name = #{highRiskChildName},</if> |
| | | <if test="registerUser != null">register_user = #{registerUser},</if> |
| | | <if test="remark != null">remark = #{remark},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deletePatMaternityChildArchiveById" parameterType="Long"> |
| | | update pat_maternity_child_archive |
| | | <update id="deletePatMaternityArchiveById" parameterType="Long"> |
| | | update pat_maternity_archive |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | del_flag = '1' |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deletePatMaternityChildArchiveByIds" parameterType="String"> |
| | | update pat_maternity_child_archive set del_flag = '1' where id in |
| | | <update id="deletePatMaternityArchiveByIds" parameterType="String"> |
| | | update pat_maternity_archive set del_flag = '1' where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |