¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.PatArchinvecontact; |
| | | import com.smartor.service.IPatArchinvecontactService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
èç³»æ¹å¼Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | @Api(description = "æ£è
èç³»æ¹å¼") |
| | | @RestController |
| | | @RequestMapping("/system/archinvecontact") |
| | | public class PatArchinvecontactController extends BaseController { |
| | | @Autowired |
| | | private IPatArchinvecontactService patArchinvecontactService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
èç³»æ¹å¼å表") |
| | | @PreAuthorize("@ss.hasPermi('system:archinvecontact:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatArchinvecontact patArchinvecontact) { |
| | | startPage(); |
| | | List<PatArchinvecontact> list = patArchinvecontactService.selectPatArchinvecontactList(patArchinvecontact); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ£è
èç³»æ¹å¼å表 |
| | | */ |
| | | @ApiOperation("å¯¼åºæ£è
èç³»æ¹å¼å表") |
| | | @PreAuthorize("@ss.hasPermi('system:archinvecontact:export')") |
| | | @Log(title = "æ£è
èç³»æ¹å¼", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatArchinvecontact patArchinvecontact) { |
| | | List<PatArchinvecontact> list = patArchinvecontactService.selectPatArchinvecontactList(patArchinvecontact); |
| | | ExcelUtil<PatArchinvecontact> util = new ExcelUtil<PatArchinvecontact>(PatArchinvecontact.class); |
| | | util.exportExcel(response, list, "æ£è
èç³»æ¹å¼æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åæ£è
èç³»æ¹å¼è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åæ£è
èç³»æ¹å¼è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('system:archinvecontact:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patArchinvecontactService.selectPatArchinvecontactById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
èç³»æ¹å¼ |
| | | */ |
| | | @ApiOperation("æ°å¢æ£è
èç³»æ¹å¼") |
| | | @PreAuthorize("@ss.hasPermi('system:archinvecontact:add')") |
| | | @Log(title = "æ£è
èç³»æ¹å¼", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody PatArchinvecontact patArchinvecontact) { |
| | | return toAjax(patArchinvecontactService.insertPatArchinvecontact(patArchinvecontact)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
èç³»æ¹å¼ |
| | | */ |
| | | @ApiOperation("ä¿®æ¹æ£è
èç³»æ¹å¼") |
| | | @PreAuthorize("@ss.hasPermi('system:archinvecontact:edit')") |
| | | @Log(title = "æ£è
èç³»æ¹å¼", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody PatArchinvecontact patArchinvecontact) { |
| | | return toAjax(patArchinvecontactService.updatePatArchinvecontact(patArchinvecontact)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
èç³»æ¹å¼ |
| | | */ |
| | | @ApiOperation("å 餿£è
èç³»æ¹å¼") |
| | | @PreAuthorize("@ss.hasPermi('system:archinvecontact:remove')") |
| | | @Log(title = "æ£è
èç³»æ¹å¼", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patArchinvecontactService.deletePatArchinvecontactByIds(ids)); |
| | | } |
| | | } |
| | |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ ç¾å表") |
| | | @PreAuthorize("@ss.hasPermi('system:tag:list')") |
| | | @GetMapping("/list") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody BaseTag baseTag) { |
| | | startPage(); |
| | | List<BaseTag> list = baseTagService.selectBaseTagList(baseTag); |
| | |
| | | * @author ruoyi |
| | | * @date 2023-06-07 |
| | | */ |
| | | @Api("æ£è
è¡ç³è®°å½") |
| | | @Api(description = "æ£è
è¡ç³è®°å½") |
| | | @RestController |
| | | @RequestMapping("/system/bloodsugar") |
| | | public class PatMedBloodsugarController extends BaseController { |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.PatMedDrug; |
| | | import com.smartor.service.IPatMedDrugService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
ç¨è¯è®°å½Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | @Api(description = "æ£è
ç¨è¯è®°å½") |
| | | @RestController |
| | | @RequestMapping("/system/drug") |
| | | public class PatMedDrugController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IPatMedDrugService patMedDrugService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ç¨è¯è®°å½å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
ç¨è¯è®°å½å表") |
| | | @PreAuthorize("@ss.hasPermi('system:drug:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatMedDrug patMedDrug) |
| | | { |
| | | startPage(); |
| | | List<PatMedDrug> list = patMedDrugService.selectPatMedDrugList(patMedDrug); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ£è
ç¨è¯è®°å½å表 |
| | | */ |
| | | @ApiOperation("å¯¼åºæ£è
ç¨è¯è®°å½å表") |
| | | @PreAuthorize("@ss.hasPermi('system:drug:export')") |
| | | @Log(title = "æ£è
ç¨è¯è®°å½", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatMedDrug patMedDrug) |
| | | { |
| | | List<PatMedDrug> list = patMedDrugService.selectPatMedDrugList(patMedDrug); |
| | | ExcelUtil<PatMedDrug> util = new ExcelUtil<PatMedDrug>(PatMedDrug.class); |
| | | util.exportExcel(response, list, "æ£è
ç¨è¯è®°å½æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åæ£è
ç¨è¯è®°å½è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åæ£è
ç¨è¯è®°å½è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('system:drug:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | return success(patMedDrugService.selectPatMedDrugById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
ç¨è¯è®°å½ |
| | | */ |
| | | @ApiOperation("æ°å¢æ£è
ç¨è¯è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('system:drug:add')") |
| | | @Log(title = "æ£è
ç¨è¯è®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody PatMedDrug patMedDrug) |
| | | { |
| | | return toAjax(patMedDrugService.insertPatMedDrug(patMedDrug)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
ç¨è¯è®°å½ |
| | | */ |
| | | @ApiOperation("ä¿®æ¹æ£è
ç¨è¯è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('system:drug:edit')") |
| | | @Log(title = "æ£è
ç¨è¯è®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody PatMedDrug patMedDrug) |
| | | { |
| | | return toAjax(patMedDrugService.updatePatMedDrug(patMedDrug)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
ç¨è¯è®°å½ |
| | | */ |
| | | @ApiOperation("å 餿£è
ç¨è¯è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('system:drug:remove')") |
| | | @Log(title = "æ£è
ç¨è¯è®°å½", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(patMedDrugService.deletePatMedDrugByIds(ids)); |
| | | } |
| | | } |
| | |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/hypertension") |
| | | @Api("æ£è
é«è¡åè®°å½") |
| | | public class PatMedHypertensionController extends BaseController |
| | | { |
| | | @Api(description = "æ£è
é«è¡åè®°å½") |
| | | public class PatMedHypertensionController extends BaseController { |
| | | @Autowired |
| | | private IPatMedHypertensionService patMedHypertensionService; |
| | | |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:list')") |
| | | @GetMapping("/list") |
| | | @ApiOperation("æ¥è¯¢æ£è
é«è¡åè®°å½å表") |
| | | public TableDataInfo list(PatMedHypertension patMedHypertension) |
| | | { |
| | | public TableDataInfo list(PatMedHypertension patMedHypertension) { |
| | | startPage(); |
| | | List<PatMedHypertension> list = patMedHypertensionService.selectPatMedHypertensionList(patMedHypertension); |
| | | return getDataTable(list); |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:export')") |
| | | @Log(title = "æ£è
é«è¡åè®°å½", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatMedHypertension patMedHypertension) |
| | | { |
| | | public void export(HttpServletResponse response, PatMedHypertension patMedHypertension) { |
| | | List<PatMedHypertension> list = patMedHypertensionService.selectPatMedHypertensionList(patMedHypertension); |
| | | ExcelUtil<PatMedHypertension> util = new ExcelUtil<PatMedHypertension>(PatMedHypertension.class); |
| | | util.exportExcel(response, list, "æ£è
é«è¡åè®°å½æ°æ®"); |
| | |
| | | @ApiImplicitParam(name = "getInfo", value = "主é®ID", dataType = "long", dataTypeClass = Long.class) |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patMedHypertensionService.selectPatMedHypertensionById(id)); |
| | | } |
| | | |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:add')") |
| | | @Log(title = "æ£è
é«è¡åè®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody PatMedHypertension patMedHypertension) |
| | | { |
| | | public AjaxResult add(@RequestBody PatMedHypertension patMedHypertension) { |
| | | return toAjax(patMedHypertensionService.insertPatMedHypertension(patMedHypertension)); |
| | | } |
| | | |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:hypertension:edit')") |
| | | @Log(title = "æ£è
é«è¡åè®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody PatMedHypertension patMedHypertension) |
| | | { |
| | | public AjaxResult edit(@RequestBody PatMedHypertension patMedHypertension) { |
| | | return toAjax(patMedHypertensionService.updatePatMedHypertension(patMedHypertension)); |
| | | } |
| | | |
| | |
| | | @Log(title = "æ£è
é«è¡åè®°å½", businessType = BusinessType.DELETE) |
| | | @ApiImplicitParam(name = "remove", value = "主é®ID", dataType = "long", dataTypeClass = Array.class) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patMedHypertensionService.deletePatMedHypertensionByIds(ids)); |
| | | } |
| | | } |
| | |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | @Api(description = "æ£è
ä½é¢è®°å½") |
| | | @RestController |
| | | @RequestMapping("/smartor/patinhosp") |
| | | public class PatMedInhospController extends BaseController |
| | |
| | | /** |
| | | * æ¥è¯¢æ£è
ä½é¢è®°å½å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
ä½é¢è®°å½å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patinhosp:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatMedInhosp patMedInhosp) |
| | |
| | | /** |
| | | * å¯¼åºæ£è
ä½é¢è®°å½å表 |
| | | */ |
| | | @ApiOperation("å¯¼åºæ£è
ä½é¢è®°å½å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patinhosp:export')") |
| | | @Log(title = "æ£è
ä½é¢è®°å½", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | |
| | | /** |
| | | * è·åæ£è
ä½é¢è®°å½è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åæ£è
ä½é¢è®°å½è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patinhosp:query')") |
| | | @GetMapping(value = "/{inhospid}") |
| | | public AjaxResult getInfo(@PathVariable("inhospid") Long inhospid) |
| | |
| | | /** |
| | | * æ°å¢æ£è
ä½é¢è®°å½ |
| | | */ |
| | | @ApiOperation("æ°å¢æ£è
ä½é¢è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patinhosp:add')") |
| | | @Log(title = "æ£è
ä½é¢è®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | |
| | | /** |
| | | * ä¿®æ¹æ£è
ä½é¢è®°å½ |
| | | */ |
| | | @ApiOperation("ä¿®æ¹æ£è
ä½é¢è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patinhosp:edit')") |
| | | @Log(title = "æ£è
ä½é¢è®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | |
| | | /** |
| | | * å 餿£è
ä½é¢è®°å½ |
| | | */ |
| | | @ApiOperation("å 餿£è
ä½é¢è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patinhosp:remove')") |
| | | @Log(title = "æ£è
ä½é¢è®°å½", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{inhospids}") |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.PatMedInspection; |
| | | import com.smartor.service.IPatMedInspectionService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
æ£æ¥æ£éªè®°å½Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | @Api(description = "æ£è
æ£æ¥æ£éªè®°å½") |
| | | @RestController |
| | | @RequestMapping("/system/inspection") |
| | | public class PatMedInspectionController extends BaseController { |
| | | @Autowired |
| | | private IPatMedInspectionService patMedInspectionService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ£æ¥æ£éªè®°å½å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
æ£æ¥æ£éªè®°å½å表") |
| | | @PreAuthorize("@ss.hasPermi('system:inspection:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatMedInspection patMedInspection) { |
| | | startPage(); |
| | | List<PatMedInspection> list = patMedInspectionService.selectPatMedInspectionList(patMedInspection); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ£è
æ£æ¥æ£éªè®°å½å表 |
| | | */ |
| | | @ApiOperation("å¯¼åºæ£è
æ£æ¥æ£éªè®°å½å表") |
| | | @PreAuthorize("@ss.hasPermi('system:inspection:export')") |
| | | @Log(title = "æ£è
æ£æ¥æ£éªè®°å½", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatMedInspection patMedInspection) { |
| | | List<PatMedInspection> list = patMedInspectionService.selectPatMedInspectionList(patMedInspection); |
| | | ExcelUtil<PatMedInspection> util = new ExcelUtil<PatMedInspection>(PatMedInspection.class); |
| | | util.exportExcel(response, list, "æ£è
æ£æ¥æ£éªè®°å½æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åæ£è
æ£æ¥æ£éªè®°å½è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åæ£è
æ£æ¥æ£éªè®°å½è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('system:inspection:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(patMedInspectionService.selectPatMedInspectionById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
æ£æ¥æ£éªè®°å½ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:inspection:add')") |
| | | @Log(title = "æ°å¢æ£è
æ£æ¥æ£éªè®°å½", businessType = BusinessType.INSERT) |
| | | @ApiOperation("æ°å¢æ£è
æ£æ¥æ£éªè®°å½") |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody PatMedInspection patMedInspection) { |
| | | return toAjax(patMedInspectionService.insertPatMedInspection(patMedInspection)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
æ£æ¥æ£éªè®°å½ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:inspection:edit')") |
| | | @Log(title = "ä¿®æ¹æ£è
æ£æ¥æ£éªè®°å½", businessType = BusinessType.UPDATE) |
| | | @ApiOperation("ä¿®æ¹æ£è
æ£æ¥æ£éªè®°å½") |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody PatMedInspection patMedInspection) { |
| | | return toAjax(patMedInspectionService.updatePatMedInspection(patMedInspection)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
æ£æ¥æ£éªè®°å½ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:inspection:remove')") |
| | | @Log(title = "æ£è
æ£æ¥æ£éªè®°å½", businessType = BusinessType.DELETE) |
| | | @ApiOperation("æ£è
æ£æ¥æ£éªè®°å½") |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(patMedInspectionService.deletePatMedInspectionByIds(ids)); |
| | | } |
| | | } |
| | |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/patouthosp") |
| | | @Api("æ£è
é¨è¯è®°å½") |
| | | @Api(description = "æ£è
é¨è¯è®°å½") |
| | | public class PatMedOuthospController extends BaseController { |
| | | @Autowired |
| | | private IPatMedOuthospService patMedOuthospService; |
| | |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | @Api(description = "æ£è
使£è®°å½") |
| | | @RestController |
| | | @RequestMapping("/smartor/patphysical") |
| | | public class PatMedPhysicalController extends BaseController |
| | |
| | | /** |
| | | * æ¥è¯¢æ£è
使£è®°å½å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
使£è®°å½å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatMedPhysical patMedPhysical) |
| | |
| | | /** |
| | | * å¯¼åºæ£è
使£è®°å½å表 |
| | | */ |
| | | @ApiOperation("å¯¼åºæ£è
使£è®°å½å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:export')") |
| | | @Log(title = "æ£è
使£è®°å½", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | |
| | | /** |
| | | * è·åæ£è
使£è®°å½è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åæ£è
使£è®°å½è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | |
| | | /** |
| | | * æ°å¢æ£è
使£è®°å½ |
| | | */ |
| | | @ApiOperation("æ°å¢æ£è
使£è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:add')") |
| | | @Log(title = "æ£è
使£è®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | |
| | | /** |
| | | * ä¿®æ¹æ£è
使£è®°å½ |
| | | */ |
| | | @ApiOperation("ä¿®æ¹æ£è
使£è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:edit')") |
| | | @Log(title = "æ£è
使£è®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | |
| | | /** |
| | | * å 餿£è
使£è®°å½ |
| | | */ |
| | | @ApiOperation("å 餿£è
使£è®°å½") |
| | | @PreAuthorize("@ss.hasPermi('smartor:patphysical:remove')") |
| | | @Log(title = "æ£è
使£è®°å½", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | |
| | | * @author ruoyi |
| | | * @date 2023-06-07 |
| | | */ |
| | | @Api("æ£è
ä½éè®°å½") |
| | | @Api(description = "æ£è
ä½éè®°å½") |
| | | @RestController |
| | | @RequestMapping("/system/weight") |
| | | public class PatMedWeightController extends BaseController |
| | |
| | | package com.smartor.controller; |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | @Api(description = "é®å·åç±»") |
| | | @RestController |
| | | @RequestMapping("/smartor/svycategory") |
| | | public class SvyCategoryController extends BaseController |
| | | { |
| | | public class SvyCategoryController extends BaseController { |
| | | @Autowired |
| | | private ISvyCategoryService svyCategoryService; |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SvyCategory svyCategory) |
| | | { |
| | | public TableDataInfo list(SvyCategory svyCategory) { |
| | | startPage(); |
| | | List<SvyCategory> list = svyCategoryService.selectSvyCategoryList(svyCategory); |
| | | return getDataTable(list); |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:export')") |
| | | @Log(title = "é®å·åç±»", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SvyCategory svyCategory) |
| | | { |
| | | public void export(HttpServletResponse response, SvyCategory svyCategory) { |
| | | List<SvyCategory> list = svyCategoryService.selectSvyCategoryList(svyCategory); |
| | | ExcelUtil<SvyCategory> util = new ExcelUtil<SvyCategory>(SvyCategory.class); |
| | | util.exportExcel(response, list, "é®å·åç±»æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åé®å·å类详ç»ä¿¡æ¯ |
| | | * è·åé®å·å类信æ¯éè¿åç±»åç§° |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | return success(svyCategoryService.selectSvyCategoryById(id)); |
| | | // @PreAuthorize("@ss.hasPermi('smartor:svycategory:query')") |
| | | @ApiOperation("è·åé®å·å类详ç»ä¿¡æ¯ï¼é®å·ç±»å«ï¼") |
| | | @PostMapping(value = "/getInfo") |
| | | public TableDataInfo getInfo(@RequestParam(required = false) String categoryname) { |
| | | return getDataTable(svyCategoryService.selectSvyCategoryById(categoryname)); |
| | | } |
| | | |
| | | /** |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:add')") |
| | | @Log(title = "é®å·åç±»", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SvyCategory svyCategory) |
| | | { |
| | | public AjaxResult add(@RequestBody SvyCategory svyCategory) { |
| | | return toAjax(svyCategoryService.insertSvyCategory(svyCategory)); |
| | | } |
| | | |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:edit')") |
| | | @Log(title = "é®å·åç±»", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SvyCategory svyCategory) |
| | | { |
| | | public AjaxResult edit(@RequestBody SvyCategory svyCategory) { |
| | | return toAjax(svyCategoryService.updateSvyCategory(svyCategory)); |
| | | } |
| | | |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:svycategory:remove')") |
| | | @Log(title = "é®å·åç±»", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(svyCategoryService.deleteSvyCategoryByIds(ids)); |
| | | } |
| | | } |
| | |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æ¯å¦å¼å¯ |
| | | */ |
| | | @ApiModelProperty("æ¯å¦å¼å¯ 1å¼å¯ 0å
³é") |
| | | private Integer isenable; |
| | | |
| | | } |
| | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(name = "èªå¢ID") |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private Long tagcategoryid; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty(name = "æºæID") |
| | | @ApiModelProperty(value = "æºæID") |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * æ¼é³ç |
| | | */ |
| | | @ApiModelProperty(name = "æ¼é³ç ") |
| | | @ApiModelProperty(value = "æ¼é³ç ") |
| | | @Excel(name = " æ¼é³ç ") |
| | | private String pym; |
| | | |
| | | /** |
| | | * äºç¬ç |
| | | */ |
| | | @ApiModelProperty(name = "äºç¬ç ") |
| | | @ApiModelProperty(value = "äºç¬ç ") |
| | | @Excel(name = " äºç¬ç ") |
| | | private String wbm; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(name = "å 餿 è®°") |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @ApiModelProperty(name = "ä¸ä¼ æ è®°") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @ApiModelProperty(name = "ä¸ä¼ æ¶é´") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | |
| | | /** |
| | | * æ ç¾åç§° |
| | | */ |
| | | @ApiModelProperty(name = "æ ç¾ç±»å«åç§°") |
| | | @ApiModelProperty(value = "æ ç¾ç±»å«åç§°") |
| | | @Excel(name = " æ ç¾ç±»å«åç§° ") |
| | | private String categoryname; |
| | | |
| | | @ApiModelProperty(name = "æ ç¾æ°é") |
| | | @ApiModelProperty(value = "æ ç¾æ°é") |
| | | private String tagNum; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * æ£è
èç³»æ¹å¼å¯¹è±¡ pat_archinvecontact |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | @ApiModel(value = "PatArchinvecontact", description = "æ£è
èç³»æ¹å¼å¯¹è±¡") |
| | | @Data |
| | | public class PatArchinvecontact extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private Long id; |
| | | |
| | | /** |
| | | * èç³»æ¹å¼ID |
| | | */ |
| | | @Excel(name = " èç³»æ¹å¼ID ") |
| | | @ApiModelProperty(value = "èç³»æ¹å¼ID") |
| | | private Long patid; |
| | | |
| | | /** |
| | | * èç³»æ¹å¼ |
| | | */ |
| | | @Excel(name = " èç³»æ¹å¼ ") |
| | | @ApiModelProperty(value = "èç³»æ¹å¼") |
| | | private String contactway; |
| | | |
| | | /** |
| | | * å
³ç³» |
| | | */ |
| | | @Excel(name = " å
³ç³» ") |
| | | @ApiModelProperty(value = "å
³ç³»") |
| | | private Long relation; |
| | | |
| | | /** |
| | | * æ°æ®æ¥æº |
| | | */ |
| | | @Excel(name = " æ°æ®æ¥æº ") |
| | | @ApiModelProperty(value = "æ°æ®æ¥æº") |
| | | private Long datasource; |
| | | |
| | | /** |
| | | * æ¯å¦é»è®¤ |
| | | */ |
| | | @Excel(name = " æ¯å¦é»è®¤ ") |
| | | @ApiModelProperty(value = "æ¯å¦é»è®¤") |
| | | private Long isdefault; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * èç³»å§å |
| | | */ |
| | | @Excel(name = " èç³»å§å ") |
| | | @ApiModelProperty(value = "èç³»å§å") |
| | | private String contactname; |
| | | |
| | | |
| | | } |
| | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(name = "èªå¢ID") |
| | | @ApiModelProperty("èªå¢ID") |
| | | private Long patid; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(name = "èªå¢ID") |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private Long patid; |
| | | |
| | | /** |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * æ£è
ç¨è¯è®°å½å¯¹è±¡ pat_med_drug |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | public class PatMedDrug extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | private Long id; |
| | | |
| | | /** æµæ°´å· */ |
| | | @Excel(name = " æµæ°´å· ") |
| | | private String serialnum; |
| | | |
| | | /** æ¡£æ¡ID */ |
| | | @Excel(name = " æ¡£æ¡ID ") |
| | | private Long patid; |
| | | |
| | | /** è¯ååç§° */ |
| | | @Excel(name = " è¯ååç§° ") |
| | | private String drugname; |
| | | |
| | | /** 弿¹æ¥æ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " 弿¹æ¥æ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date opendate; |
| | | |
| | | /** è¯åç±»å */ |
| | | @Excel(name = " è¯åç±»å ") |
| | | private String drugtype; |
| | | |
| | | /** åä½ */ |
| | | @Excel(name = " åä½ ") |
| | | private String unit; |
| | | |
| | | /** è§æ ¼ */ |
| | | @Excel(name = " è§æ ¼ ") |
| | | private String spec; |
| | | |
| | | /** ç¨æ³ */ |
| | | @Excel(name = " ç¨æ³ ") |
| | | private String drugusage; |
| | | |
| | | /** åé */ |
| | | @Excel(name = " åé ") |
| | | private String dose; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date uploadTime; |
| | | |
| | | /** è¯åID */ |
| | | @Excel(name = " è¯åID ") |
| | | private Long drugid; |
| | | |
| | | /** å°±è¯ç±»å */ |
| | | @Excel(name = " å°±è¯ç±»å ") |
| | | private Long visittype; |
| | | |
| | | /** å°±è¯ID */ |
| | | @Excel(name = " å°±è¯ID ") |
| | | private Long visitid; |
| | | |
| | | /** æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå°±è¯ 9æ å¹é
æ¹æ¡ */ |
| | | @Excel(name = " æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå°±è¯ 9æ å¹é
æ¹æ¡ ") |
| | | private Long schemestatus; |
| | | |
| | | /** æ¹æ¡ç¶ææä½æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " æ¹æ¡ç¶ææä½æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date schemetime; |
| | | |
| | | public void setId(Long id) |
| | | { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getId() |
| | | { |
| | | return id; |
| | | } |
| | | public void setSerialnum(String serialnum) |
| | | { |
| | | this.serialnum = serialnum; |
| | | } |
| | | |
| | | public String getSerialnum() |
| | | { |
| | | return serialnum; |
| | | } |
| | | public void setPatid(Long patid) |
| | | { |
| | | this.patid = patid; |
| | | } |
| | | |
| | | public Long getPatid() |
| | | { |
| | | return patid; |
| | | } |
| | | public void setDrugname(String drugname) |
| | | { |
| | | this.drugname = drugname; |
| | | } |
| | | |
| | | public String getDrugname() |
| | | { |
| | | return drugname; |
| | | } |
| | | public void setOpendate(Date opendate) |
| | | { |
| | | this.opendate = opendate; |
| | | } |
| | | |
| | | public Date getOpendate() |
| | | { |
| | | return opendate; |
| | | } |
| | | public void setDrugtype(String drugtype) |
| | | { |
| | | this.drugtype = drugtype; |
| | | } |
| | | |
| | | public String getDrugtype() |
| | | { |
| | | return drugtype; |
| | | } |
| | | public void setUnit(String unit) |
| | | { |
| | | this.unit = unit; |
| | | } |
| | | |
| | | public String getUnit() |
| | | { |
| | | return unit; |
| | | } |
| | | public void setSpec(String spec) |
| | | { |
| | | this.spec = spec; |
| | | } |
| | | |
| | | public String getSpec() |
| | | { |
| | | return spec; |
| | | } |
| | | public void setDrugusage(String drugusage) |
| | | { |
| | | this.drugusage = drugusage; |
| | | } |
| | | |
| | | public String getDrugusage() |
| | | { |
| | | return drugusage; |
| | | } |
| | | public void setDose(String dose) |
| | | { |
| | | this.dose = dose; |
| | | } |
| | | |
| | | public String getDose() |
| | | { |
| | | return dose; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | public void setDelFlag(String delFlag) |
| | | { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public String getDelFlag() |
| | | { |
| | | return delFlag; |
| | | } |
| | | public void setIsupload(Long isupload) |
| | | { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Long getIsupload() |
| | | { |
| | | return isupload; |
| | | } |
| | | public void setUploadTime(Date uploadTime) |
| | | { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public Date getUploadTime() |
| | | { |
| | | return uploadTime; |
| | | } |
| | | public void setDrugid(Long drugid) |
| | | { |
| | | this.drugid = drugid; |
| | | } |
| | | |
| | | public Long getDrugid() |
| | | { |
| | | return drugid; |
| | | } |
| | | public void setVisittype(Long visittype) |
| | | { |
| | | this.visittype = visittype; |
| | | } |
| | | |
| | | public Long getVisittype() |
| | | { |
| | | return visittype; |
| | | } |
| | | public void setVisitid(Long visitid) |
| | | { |
| | | this.visitid = visitid; |
| | | } |
| | | |
| | | public Long getVisitid() |
| | | { |
| | | return visitid; |
| | | } |
| | | public void setSchemestatus(Long schemestatus) |
| | | { |
| | | this.schemestatus = schemestatus; |
| | | } |
| | | |
| | | public Long getSchemestatus() |
| | | { |
| | | return schemestatus; |
| | | } |
| | | public void setSchemetime(Date schemetime) |
| | | { |
| | | this.schemetime = schemetime; |
| | | } |
| | | |
| | | public Date getSchemetime() |
| | | { |
| | | return schemetime; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("id", getId()) |
| | | .append("serialnum", getSerialnum()) |
| | | .append("patid", getPatid()) |
| | | .append("drugname", getDrugname()) |
| | | .append("opendate", getOpendate()) |
| | | .append("drugtype", getDrugtype()) |
| | | .append("unit", getUnit()) |
| | | .append("spec", getSpec()) |
| | | .append("drugusage", getDrugusage()) |
| | | .append("dose", getDose()) |
| | | .append("orgid", getOrgid()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .append("drugid", getDrugid()) |
| | | .append("visittype", getVisittype()) |
| | | .append("visitid", getVisitid()) |
| | | .append("schemestatus", getSchemestatus()) |
| | | .append("schemetime", getSchemetime()) |
| | | .toString(); |
| | | } |
| | | } |
| | |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | @ApiModel(value = "PatMedInhosp", description = "æ£è
ä½é¢è®°å½å¯¹è±¡") |
| | | public class PatMedInhosp extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private Long inhospid; |
| | | |
| | | /** æµæ°´å· */ |
| | | @ApiModelProperty(value = "æµæ°´å·") |
| | | private String serialnum; |
| | | |
| | | /** å»é¢åç§° */ |
| | | @ApiModelProperty(value = "å»é¢åç§°") |
| | | @Excel(name = " å»é¢åç§° ") |
| | | private String hospitalname; |
| | | |
| | | /** å»é¢ç¼å· */ |
| | | @ApiModelProperty(value = "å»é¢ç¼å·") |
| | | private String hospitalcode; |
| | | |
| | | /** é¢åºç¼å· */ |
| | | @ApiModelProperty(value = "é¢åºç¼å·") |
| | | private String hospitaldistrictcode; |
| | | |
| | | /** é¢åºåç§° */ |
| | | @ApiModelProperty(value = "é¢åºåç§°") |
| | | @Excel(name = " é¢åºåç§° ") |
| | | private String hospitaldistrictname; |
| | | |
| | | /** å
¥é¢è¯æICDå¼ */ |
| | | @ApiModelProperty(value = "å
¥é¢è¯æICDå¼") |
| | | private String icd10code; |
| | | |
| | | /** å
¥é¢è¯æåç§° */ |
| | | @ApiModelProperty(value = "å
¥é¢è¯æåç§°") |
| | | private String diagname; |
| | | |
| | | /** å
¥é¢æ¶é´ */ |
| | | @ApiModelProperty(value = "å
¥é¢æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " å
¥é¢æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date starttime; |
| | | |
| | | /** åºé¢æ¶é´ */ |
| | | @ApiModelProperty(value = "åºé¢æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " åºé¢æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date endtime; |
| | | |
| | | /** å
¥é¢ç§å®¤ä»£ç */ |
| | | @ApiModelProperty(value = "å
¥é¢ç§å®¤ä»£ç ") |
| | | private String deptcode; |
| | | |
| | | /** å
¥é¢ç§å®¤åç§° */ |
| | | @ApiModelProperty(value = "å
¥é¢ç§å®¤åç§°") |
| | | private String deptname; |
| | | |
| | | /** æ¿é´å· */ |
| | | @ApiModelProperty(value = "æ¿é´å·") |
| | | private String roomno; |
| | | |
| | | /** åºä½å· */ |
| | | @ApiModelProperty(value = "åºä½å·") |
| | | @Excel(name = " åºä½å· ") |
| | | private String bedno; |
| | | |
| | | /** æºæID */ |
| | | @ApiModelProperty(value = "æºæID") |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** æ¡£æ¡ID */ |
| | | @ApiModelProperty(value = "æ¡£æ¡ID") |
| | | private Long patid; |
| | | |
| | | /** åºé¢è¯æ */ |
| | | @ApiModelProperty(value = "åºé¢è¯æ") |
| | | @Excel(name = " åºé¢è¯æ ") |
| | | private String leavediagname; |
| | | |
| | | /** åºé¢è¯æICDå¼ */ |
| | | @ApiModelProperty(value = "åºé¢è¯æICDå¼") |
| | | private String leaveicd10code; |
| | | |
| | | /** å»çå·¥å· */ |
| | | @ApiModelProperty(value = "å»çå·¥å·") |
| | | private String drcode; |
| | | |
| | | /** å»çåç§° */ |
| | | @ApiModelProperty(value = "å»çåç§°") |
| | | @Excel(name = " å»çåç§° ") |
| | | private String drname; |
| | | |
| | | /** æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå
¥é¢ 2çæåºé¢ 9æ å¹é
æ¹æ¡ */ |
| | | @ApiModelProperty(value = "æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå
¥é¢ 2çæåºé¢ 9æ å¹é
æ¹æ¡") |
| | | private Long schemestatus; |
| | | |
| | | /** æ¯å¦çæéç¨æ¹æ¡ç¶æ;0æªçæ 1çæ 9æ å¹é
æ¹æ¡ */ |
| | | @ApiModelProperty(value = "æ¯å¦çæéç¨æ¹æ¡ç¶æ;0æªçæ 1çæ 9æ å¹é
æ¹æ¡") |
| | | private Long generalschemestatus; |
| | | |
| | | /** åºé¢ç§å®¤ä»£ç */ |
| | | @ApiModelProperty(value = "åºé¢ç§å®¤ä»£ç ") |
| | | private String leaveldeptcode; |
| | | |
| | | /** åºé¢ç§å®¤åç§° */ |
| | | @ApiModelProperty(value = "åºé¢ç§å®¤åç§°") |
| | | @Excel(name = " åºé¢ç§å®¤åç§° ") |
| | | private String leaveldeptname; |
| | | |
| | | /** ç
åºID */ |
| | | @ApiModelProperty(value = "ç
åºID") |
| | | private Long hospitaldistrictid; |
| | | |
| | | /** åºé¢ç
åºç¼å· */ |
| | | @ApiModelProperty(value = "åºé¢ç
åºç¼å·") |
| | | private String leavehospitaldistrictcode; |
| | | |
| | | /** åºé¢ç
åºåç§° */ |
| | | @ApiModelProperty(value = "åºé¢ç
åºåç§°") |
| | | @Excel(name = " åºé¢ç
åºåç§° ") |
| | | private String leavehospitaldistrictname; |
| | | |
| | | /** åºé¢ç
åºID */ |
| | | @ApiModelProperty(value = "åºé¢ç
åºID") |
| | | private Long leavehospitaldistrictid; |
| | | |
| | | /** å
¥é¢ç§å®¤ID */ |
| | | @ApiModelProperty(value = "å
¥é¢ç§å®¤ID") |
| | | private Long deptid; |
| | | |
| | | /** åºé¢ç§å®¤ID */ |
| | | @ApiModelProperty(value = "åºé¢ç§å®¤ID") |
| | | private Long leaveldeptid; |
| | | |
| | | /** æ¹æ¡ç¶ææä½æ¶é´ */ |
| | | @ApiModelProperty(value = "æ¹æ¡ç¶ææä½æ¶é´") |
| | | private Date schemetime; |
| | | |
| | | public void setInhospid(Long inhospid) |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * æ£è
æ£æ¥æ£éªè®°å½å¯¹è±¡ pat_med_inspection |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | @ApiModel(value = "PatMedInspection", description = "æ£è
æ£æ¥æ£éªè®°å½å¯¹è±¡") |
| | | public class PatMedInspection extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private Long id; |
| | | |
| | | /** æµæ°´å· */ |
| | | @Excel(name = " æµæ°´å· ") |
| | | @ApiModelProperty(value = "æµæ°´å·") |
| | | private String serialnum; |
| | | |
| | | /** æ¡£æ¡ID */ |
| | | @Excel(name = " æ¡£æ¡ID ") |
| | | @ApiModelProperty(value = "æ¡£æ¡ID") |
| | | private Long patid; |
| | | |
| | | /** ç±»å;0.æ£éªé¡¹ç® 1.æ£æ¥é¡¹ç® */ |
| | | @ApiModelProperty(value = "ç±»å;0.æ£éªé¡¹ç® 1.æ£æ¥é¡¹ç®") |
| | | @Excel(name = " ç±»å;0.æ£éªé¡¹ç® 1.æ£æ¥é¡¹ç® ") |
| | | private Long projecttype; |
| | | |
| | | /** 项ç®ç¼å· */ |
| | | @Excel(name = " 项ç®ç¼å· ") |
| | | @ApiModelProperty(value = "项ç®ç¼å·") |
| | | private String projectcode; |
| | | |
| | | /** 项ç®åç§° */ |
| | | @Excel(name = " 项ç®åç§° ") |
| | | @ApiModelProperty(value = "项ç®åç§°") |
| | | private String projectname; |
| | | |
| | | /** æ¥åæ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " æ¥åæ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "æ¥åæ¶é´") |
| | | private Date reporttime; |
| | | |
| | | /** å»é¢åç§° */ |
| | | @Excel(name = " å»é¢åç§° ") |
| | | @ApiModelProperty(value = "å»é¢åç§°") |
| | | private String hospitalname; |
| | | |
| | | /** å»é¢ç¼å· */ |
| | | @Excel(name = " å»é¢ç¼å· ") |
| | | @ApiModelProperty(value = "å»é¢ç¼å·") |
| | | private String hospitalcode; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** 项ç®ID */ |
| | | @Excel(name = " 项ç®ID ") |
| | | @ApiModelProperty(value = "项ç®ID") |
| | | private Long projectid; |
| | | |
| | | /** ç³è¯·æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ç³è¯·æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ç³è¯·æ¶é´") |
| | | private Date applicationtime; |
| | | |
| | | /** å°±è¯ç±»å */ |
| | | @Excel(name = " å°±è¯ç±»å ") |
| | | @ApiModelProperty(value = "å°±è¯ç±»å") |
| | | private Long visittype; |
| | | |
| | | /** å°±è¯ID */ |
| | | @Excel(name = " å°±è¯ID ") |
| | | @ApiModelProperty(value = "å°±è¯ID") |
| | | private Long visitid; |
| | | |
| | | /** æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæç³è¯·å 2.çææ¥åå 9æ å¹é
æ¹æ¡ */ |
| | | @Excel(name = " æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæç³è¯·å 2.çææ¥åå 9æ å¹é
æ¹æ¡ ") |
| | | @ApiModelProperty(value = "æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæç³è¯·å 2.çææ¥åå 9æ å¹é
æ¹æ¡") |
| | | private Long schemestatus; |
| | | |
| | | /** æ¯å¦å¼å¸¸;0å¦ 1æ¯ */ |
| | | @Excel(name = " æ¯å¦å¼å¸¸;0å¦ 1æ¯ ") |
| | | @ApiModelProperty(value = "æ¯å¦å¼å¸¸;0å¦ 1æ¯") |
| | | private Long isabnormal; |
| | | |
| | | /** æ¥åç»è®º */ |
| | | @Excel(name = " æ¥åç»è®º ") |
| | | @ApiModelProperty(value = "æ¥åç»è®º") |
| | | private String reportconclusion; |
| | | |
| | | /** æ¹æ¡ç¶ææä½æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " æ¹æ¡ç¶ææä½æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "æ¹æ¡ç¶ææä½æ¶é´") |
| | | private Date schemetime; |
| | | |
| | | /** å¼åç§å®¤ä»£ç */ |
| | | @Excel(name = " å¼åç§å®¤ä»£ç ") |
| | | @ApiModelProperty(value = "å¼åç§å®¤ä»£ç ") |
| | | private String deptcode; |
| | | |
| | | /** å¼åç§å®¤åç§° */ |
| | | @Excel(name = " å¼åç§å®¤åç§° ") |
| | | @ApiModelProperty(value = "å¼åç§å®¤åç§°") |
| | | private String deptname; |
| | | |
| | | /** å¼åç§å®¤ID */ |
| | | @Excel(name = " å¼åç§å®¤ID ") |
| | | @ApiModelProperty(value = "å¼åç§å®¤ID") |
| | | private Long deptid; |
| | | |
| | | public void setId(Long id) |
| | | { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getId() |
| | | { |
| | | return id; |
| | | } |
| | | public void setSerialnum(String serialnum) |
| | | { |
| | | this.serialnum = serialnum; |
| | | } |
| | | |
| | | public String getSerialnum() |
| | | { |
| | | return serialnum; |
| | | } |
| | | public void setPatid(Long patid) |
| | | { |
| | | this.patid = patid; |
| | | } |
| | | |
| | | public Long getPatid() |
| | | { |
| | | return patid; |
| | | } |
| | | public void setProjecttype(Long projecttype) |
| | | { |
| | | this.projecttype = projecttype; |
| | | } |
| | | |
| | | public Long getProjecttype() |
| | | { |
| | | return projecttype; |
| | | } |
| | | public void setProjectcode(String projectcode) |
| | | { |
| | | this.projectcode = projectcode; |
| | | } |
| | | |
| | | public String getProjectcode() |
| | | { |
| | | return projectcode; |
| | | } |
| | | public void setProjectname(String projectname) |
| | | { |
| | | this.projectname = projectname; |
| | | } |
| | | |
| | | public String getProjectname() |
| | | { |
| | | return projectname; |
| | | } |
| | | public void setReporttime(Date reporttime) |
| | | { |
| | | this.reporttime = reporttime; |
| | | } |
| | | |
| | | public Date getReporttime() |
| | | { |
| | | return reporttime; |
| | | } |
| | | public void setHospitalname(String hospitalname) |
| | | { |
| | | this.hospitalname = hospitalname; |
| | | } |
| | | |
| | | public String getHospitalname() |
| | | { |
| | | return hospitalname; |
| | | } |
| | | public void setHospitalcode(String hospitalcode) |
| | | { |
| | | this.hospitalcode = hospitalcode; |
| | | } |
| | | |
| | | public String getHospitalcode() |
| | | { |
| | | return hospitalcode; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | public void setDelFlag(String delFlag) |
| | | { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public String getDelFlag() |
| | | { |
| | | return delFlag; |
| | | } |
| | | public void setIsupload(Long isupload) |
| | | { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Long getIsupload() |
| | | { |
| | | return isupload; |
| | | } |
| | | public void setUploadTime(Date uploadTime) |
| | | { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public Date getUploadTime() |
| | | { |
| | | return uploadTime; |
| | | } |
| | | public void setProjectid(Long projectid) |
| | | { |
| | | this.projectid = projectid; |
| | | } |
| | | |
| | | public Long getProjectid() |
| | | { |
| | | return projectid; |
| | | } |
| | | public void setApplicationtime(Date applicationtime) |
| | | { |
| | | this.applicationtime = applicationtime; |
| | | } |
| | | |
| | | public Date getApplicationtime() |
| | | { |
| | | return applicationtime; |
| | | } |
| | | public void setVisittype(Long visittype) |
| | | { |
| | | this.visittype = visittype; |
| | | } |
| | | |
| | | public Long getVisittype() |
| | | { |
| | | return visittype; |
| | | } |
| | | public void setVisitid(Long visitid) |
| | | { |
| | | this.visitid = visitid; |
| | | } |
| | | |
| | | public Long getVisitid() |
| | | { |
| | | return visitid; |
| | | } |
| | | public void setSchemestatus(Long schemestatus) |
| | | { |
| | | this.schemestatus = schemestatus; |
| | | } |
| | | |
| | | public Long getSchemestatus() |
| | | { |
| | | return schemestatus; |
| | | } |
| | | public void setIsabnormal(Long isabnormal) |
| | | { |
| | | this.isabnormal = isabnormal; |
| | | } |
| | | |
| | | public Long getIsabnormal() |
| | | { |
| | | return isabnormal; |
| | | } |
| | | public void setReportconclusion(String reportconclusion) |
| | | { |
| | | this.reportconclusion = reportconclusion; |
| | | } |
| | | |
| | | public String getReportconclusion() |
| | | { |
| | | return reportconclusion; |
| | | } |
| | | public void setSchemetime(Date schemetime) |
| | | { |
| | | this.schemetime = schemetime; |
| | | } |
| | | |
| | | public Date getSchemetime() |
| | | { |
| | | return schemetime; |
| | | } |
| | | public void setDeptcode(String deptcode) |
| | | { |
| | | this.deptcode = deptcode; |
| | | } |
| | | |
| | | public String getDeptcode() |
| | | { |
| | | return deptcode; |
| | | } |
| | | public void setDeptname(String deptname) |
| | | { |
| | | this.deptname = deptname; |
| | | } |
| | | |
| | | public String getDeptname() |
| | | { |
| | | return deptname; |
| | | } |
| | | public void setDeptid(Long deptid) |
| | | { |
| | | this.deptid = deptid; |
| | | } |
| | | |
| | | public Long getDeptid() |
| | | { |
| | | return deptid; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("id", getId()) |
| | | .append("serialnum", getSerialnum()) |
| | | .append("patid", getPatid()) |
| | | .append("projecttype", getProjecttype()) |
| | | .append("projectcode", getProjectcode()) |
| | | .append("projectname", getProjectname()) |
| | | .append("reporttime", getReporttime()) |
| | | .append("hospitalname", getHospitalname()) |
| | | .append("hospitalcode", getHospitalcode()) |
| | | .append("orgid", getOrgid()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .append("projectid", getProjectid()) |
| | | .append("applicationtime", getApplicationtime()) |
| | | .append("visittype", getVisittype()) |
| | | .append("visitid", getVisitid()) |
| | | .append("schemestatus", getSchemestatus()) |
| | | .append("isabnormal", getIsabnormal()) |
| | | .append("reportconclusion", getReportconclusion()) |
| | | .append("schemetime", getSchemetime()) |
| | | .append("deptcode", getDeptcode()) |
| | | .append("deptname", getDeptname()) |
| | | .append("deptid", getDeptid()) |
| | | .toString(); |
| | | } |
| | | } |
| | |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | @ApiModel(value = "PatMedPhysical", description = "æ£è
使£è®°å½å¯¹è±¡") |
| | | public class PatMedPhysical extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private Long id; |
| | | |
| | | /** æµæ°´å· */ |
| | | @Excel(name = " æµæ°´å· ") |
| | | @ApiModelProperty(value = "æµæ°´å·") |
| | | private String serialnum; |
| | | |
| | | /** æ¡£æ¡ID */ |
| | | @ApiModelProperty(value = "æ¡£æ¡ID") |
| | | private Long patid; |
| | | |
| | | /** æ»ç»å»çå·¥å· */ |
| | | @ApiModelProperty(value = "æ»ç»å»çå·¥å·") |
| | | private String drcode; |
| | | |
| | | /** æ»ç»å»çåç§° */ |
| | | @Excel(name = " æ»ç»å»çåç§° ") |
| | | @ApiModelProperty(value = "æ»ç»å»çåç§°") |
| | | private String drname; |
| | | |
| | | /** 使£åä½/å»é¢ç¼å· */ |
| | | @ApiModelProperty(value = "使£åä½/å»é¢ç¼å·") |
| | | private String hospitalcode; |
| | | |
| | | /** 使£åä½/å»é¢ */ |
| | | @Excel(name = " 使£åä½/å»é¢ ") |
| | | @ApiModelProperty(value = "使£åä½/å»é¢") |
| | | private String hospitalname; |
| | | |
| | | /** 使£æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "使£æ¶é´") |
| | | @Excel(name = " 使£æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date physicaldate; |
| | | |
| | | /** æºæID */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** ç§å®¤ä»£ç */ |
| | | @ApiModelProperty(value = "ç§å®¤ä»£ç ") |
| | | private String deptcode; |
| | | |
| | | /** ç§å®¤åç§° */ |
| | | @ApiModelProperty(value = "ç§å®¤åç§°") |
| | | @Excel(name = " ç§å®¤åç§° ") |
| | | private String deptname; |
| | | |
| | | /** 使£é¡¹ç®åç§° */ |
| | | @ApiModelProperty(value = "使£é¡¹ç®åç§°") |
| | | @Excel(name = " 使£é¡¹ç®åç§° ") |
| | | private String projectname; |
| | | |
| | | /** 使£é¡¹ç®ç¼ç */ |
| | | @ApiModelProperty(value = "使£é¡¹ç®ç¼ç ") |
| | | private String projectcode; |
| | | |
| | | /** ç¶æ;0.å·²é¢çº¦ 1.已使£ 2.æ¥åå·²åº */ |
| | | @ApiModelProperty(value = "ç¶æ;0.å·²é¢çº¦ 1.已使£ 2.æ¥åå·²åº") |
| | | private Long state; |
| | | |
| | | /** æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæä½æ£å 2çæä½æ£å 3.çææ¥åå·²åº 9æ å¹é
æ¹æ¡ */ |
| | | @ApiModelProperty(value = "æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæä½æ£å 2çæä½æ£å 3.çææ¥åå·²åº 9æ å¹é
æ¹æ¡") |
| | | private Long schemestatus; |
| | | |
| | | /** æ¯å¦çæéç¨æ¹æ¡ç¶æ;0æªçæ 1çæ 9æ å¹é
æ¹æ¡ */ |
| | | @ApiModelProperty(value = "æ¯å¦çæéç¨æ¹æ¡ç¶æ;0æªçæ 1çæ 9æ å¹é
æ¹æ¡") |
| | | private Long generalschemestatus; |
| | | |
| | | /** ç§å®¤ID */ |
| | | @ApiModelProperty(value = "ç§å®¤ID") |
| | | private Long deptid; |
| | | |
| | | /** 使£å¥é¤ID */ |
| | | @ApiModelProperty(value = "使£å¥é¤ID") |
| | | private Long projectid; |
| | | |
| | | /** æ¹æ¡ç¶ææä½æ¶é´ */ |
| | | @ApiModelProperty(value = "æ¹æ¡ç¶ææä½æ¶é´") |
| | | private Date schemetime; |
| | | |
| | | public void setId(Long id) |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public class SvyCategory extends BaseEntity |
| | | { |
| | | @ApiModel(value = "SvyCategory", description = "é®å·å类对象") |
| | | @Data |
| | | public class SvyCategory extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private Long id; |
| | | |
| | | /** åç±»åç§° */ |
| | | /** |
| | | * åç±»åç§° |
| | | */ |
| | | @ApiModelProperty(value = "é®å·åç±»åç§°") |
| | | @Excel(name = " åç±»åç§° ") |
| | | private String categoryname; |
| | | |
| | | /** æºæID */ |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty(value = "æºæID") |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | public void setId(Long id) |
| | | { |
| | | this.id = id; |
| | | } |
| | | /** |
| | | * é®å·æ°é |
| | | */ |
| | | @ApiModelProperty(value = "é®å·æ°é") |
| | | private String svyNum; |
| | | |
| | | public Long getId() |
| | | { |
| | | return id; |
| | | } |
| | | public void setCategoryname(String categoryname) |
| | | { |
| | | this.categoryname = categoryname; |
| | | } |
| | | |
| | | public String getCategoryname() |
| | | { |
| | | return categoryname; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | public void setDelFlag(String delFlag) |
| | | { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public String getDelFlag() |
| | | { |
| | | return delFlag; |
| | | } |
| | | public void setIsupload(Long isupload) |
| | | { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Long getIsupload() |
| | | { |
| | | return isupload; |
| | | } |
| | | public void setUploadTime(Date uploadTime) |
| | | { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public Date getUploadTime() |
| | | { |
| | | return uploadTime; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("id", getId()) |
| | | .append("categoryname", getCategoryname()) |
| | | .append("orgid", getOrgid()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.PatArchinvecontact; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
èç³»æ¹å¼Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | @Mapper |
| | | public interface PatArchinvecontactMapper { |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param id æ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return æ£è
èç³»æ¹å¼ |
| | | */ |
| | | public PatArchinvecontact selectPatArchinvecontactById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼å表 |
| | | * |
| | | * @param patArchinvecontact æ£è
èç³»æ¹å¼ |
| | | * @return æ£è
èç³»æ¹å¼éå |
| | | */ |
| | | public List<PatArchinvecontact> selectPatArchinvecontactList(PatArchinvecontact patArchinvecontact); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param patArchinvecontact æ£è
èç³»æ¹å¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatArchinvecontact(PatArchinvecontact patArchinvecontact); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param patArchinvecontact æ£è
èç³»æ¹å¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatArchinvecontact(PatArchinvecontact patArchinvecontact); |
| | | |
| | | /** |
| | | * å 餿£è
èç³»æ¹å¼ |
| | | * |
| | | * @param id æ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchinvecontactById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
èç³»æ¹å¼ |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchinvecontactByIds(Long[] ids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.PatMedDrug; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
ç¨è¯è®°å½Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | @Mapper |
| | | public interface PatMedDrugMapper { |
| | | /** |
| | | * æ¥è¯¢æ£è
ç¨è¯è®°å½ |
| | | * |
| | | * @param id æ£è
ç¨è¯è®°å½ä¸»é® |
| | | * @return æ£è
ç¨è¯è®°å½ |
| | | */ |
| | | public PatMedDrug selectPatMedDrugById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ç¨è¯è®°å½å表 |
| | | * |
| | | * @param patMedDrug æ£è
ç¨è¯è®°å½ |
| | | * @return æ£è
ç¨è¯è®°å½éå |
| | | */ |
| | | public List<PatMedDrug> selectPatMedDrugList(PatMedDrug patMedDrug); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
ç¨è¯è®°å½ |
| | | * |
| | | * @param patMedDrug æ£è
ç¨è¯è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatMedDrug(PatMedDrug patMedDrug); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
ç¨è¯è®°å½ |
| | | * |
| | | * @param patMedDrug æ£è
ç¨è¯è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatMedDrug(PatMedDrug patMedDrug); |
| | | |
| | | /** |
| | | * å 餿£è
ç¨è¯è®°å½ |
| | | * |
| | | * @param id æ£è
ç¨è¯è®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedDrugById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
ç¨è¯è®°å½ |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedDrugByIds(Long[] ids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.PatMedInspection; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
æ£æ¥æ£éªè®°å½Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | @Mapper |
| | | public interface PatMedInspectionMapper { |
| | | /** |
| | | * æ¥è¯¢æ£è
æ£æ¥æ£éªè®°å½ |
| | | * |
| | | * @param id æ£è
æ£æ¥æ£éªè®°å½ä¸»é® |
| | | * @return æ£è
æ£æ¥æ£éªè®°å½ |
| | | */ |
| | | public PatMedInspection selectPatMedInspectionById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ£æ¥æ£éªè®°å½å表 |
| | | * |
| | | * @param patMedInspection æ£è
æ£æ¥æ£éªè®°å½ |
| | | * @return æ£è
æ£æ¥æ£éªè®°å½éå |
| | | */ |
| | | public List<PatMedInspection> selectPatMedInspectionList(PatMedInspection patMedInspection); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
æ£æ¥æ£éªè®°å½ |
| | | * |
| | | * @param patMedInspection æ£è
æ£æ¥æ£éªè®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatMedInspection(PatMedInspection patMedInspection); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
æ£æ¥æ£éªè®°å½ |
| | | * |
| | | * @param patMedInspection æ£è
æ£æ¥æ£éªè®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatMedInspection(PatMedInspection patMedInspection); |
| | | |
| | | /** |
| | | * å 餿£è
æ£æ¥æ£éªè®°å½ |
| | | * |
| | | * @param id æ£è
æ£æ¥æ£éªè®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedInspectionById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
æ£æ¥æ£éªè®°å½ |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedInspectionByIds(Long[] ids); |
| | | } |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.smartor.domain.SvyCategory; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * é®å·åç±»Mapperæ¥å£ |
| | |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface SvyCategoryMapper |
| | | { |
| | | @Mapper |
| | | public interface SvyCategoryMapper { |
| | | /** |
| | | * æ¥è¯¢é®å·åç±» |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return é®å·åç±» |
| | | */ |
| | | public SvyCategory selectSvyCategoryById(Long id); |
| | | public List<SvyCategory> selectSvyCategoryById(String categoryname); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·åç±»å表 |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.PatArchinvecontact; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
èç³»æ¹å¼Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | public interface IPatArchinvecontactService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param id æ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return æ£è
èç³»æ¹å¼ |
| | | */ |
| | | public PatArchinvecontact selectPatArchinvecontactById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼å表 |
| | | * |
| | | * @param patArchinvecontact æ£è
èç³»æ¹å¼ |
| | | * @return æ£è
èç³»æ¹å¼éå |
| | | */ |
| | | public List<PatArchinvecontact> selectPatArchinvecontactList(PatArchinvecontact patArchinvecontact); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param patArchinvecontact æ£è
èç³»æ¹å¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatArchinvecontact(PatArchinvecontact patArchinvecontact); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param patArchinvecontact æ£è
èç³»æ¹å¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatArchinvecontact(PatArchinvecontact patArchinvecontact); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
èç³»æ¹å¼ |
| | | * |
| | | * @param ids éè¦å é¤çæ£è
èç³»æ¹å¼ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchinvecontactByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å 餿£è
èç³»æ¹å¼ä¿¡æ¯ |
| | | * |
| | | * @param id æ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatArchinvecontactById(Long id); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.PatMedDrug; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
ç¨è¯è®°å½Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | public interface IPatMedDrugService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
ç¨è¯è®°å½ |
| | | * |
| | | * @param id æ£è
ç¨è¯è®°å½ä¸»é® |
| | | * @return æ£è
ç¨è¯è®°å½ |
| | | */ |
| | | public PatMedDrug selectPatMedDrugById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ç¨è¯è®°å½å表 |
| | | * |
| | | * @param patMedDrug æ£è
ç¨è¯è®°å½ |
| | | * @return æ£è
ç¨è¯è®°å½éå |
| | | */ |
| | | public List<PatMedDrug> selectPatMedDrugList(PatMedDrug patMedDrug); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
ç¨è¯è®°å½ |
| | | * |
| | | * @param patMedDrug æ£è
ç¨è¯è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatMedDrug(PatMedDrug patMedDrug); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
ç¨è¯è®°å½ |
| | | * |
| | | * @param patMedDrug æ£è
ç¨è¯è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatMedDrug(PatMedDrug patMedDrug); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
ç¨è¯è®°å½ |
| | | * |
| | | * @param ids éè¦å é¤çæ£è
ç¨è¯è®°å½ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedDrugByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å 餿£è
ç¨è¯è®°å½ä¿¡æ¯ |
| | | * |
| | | * @param id æ£è
ç¨è¯è®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedDrugById(Long id); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.PatMedInspection; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
æ£æ¥æ£éªè®°å½Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | public interface IPatMedInspectionService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
æ£æ¥æ£éªè®°å½ |
| | | * |
| | | * @param id æ£è
æ£æ¥æ£éªè®°å½ä¸»é® |
| | | * @return æ£è
æ£æ¥æ£éªè®°å½ |
| | | */ |
| | | public PatMedInspection selectPatMedInspectionById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ£æ¥æ£éªè®°å½å表 |
| | | * |
| | | * @param patMedInspection æ£è
æ£æ¥æ£éªè®°å½ |
| | | * @return æ£è
æ£æ¥æ£éªè®°å½éå |
| | | */ |
| | | public List<PatMedInspection> selectPatMedInspectionList(PatMedInspection patMedInspection); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
æ£æ¥æ£éªè®°å½ |
| | | * |
| | | * @param patMedInspection æ£è
æ£æ¥æ£éªè®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatMedInspection(PatMedInspection patMedInspection); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
æ£æ¥æ£éªè®°å½ |
| | | * |
| | | * @param patMedInspection æ£è
æ£æ¥æ£éªè®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatMedInspection(PatMedInspection patMedInspection); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
æ£æ¥æ£éªè®°å½ |
| | | * |
| | | * @param ids éè¦å é¤çæ£è
æ£æ¥æ£éªè®°å½ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedInspectionByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å 餿£è
æ£æ¥æ£éªè®°å½ä¿¡æ¯ |
| | | * |
| | | * @param id æ£è
æ£æ¥æ£éªè®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedInspectionById(Long id); |
| | | } |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.smartor.domain.SvyCategory; |
| | | |
| | | /** |
| | |
| | | * @author ruoyi |
| | | * @date 2023-03-02 |
| | | */ |
| | | public interface ISvyCategoryService |
| | | { |
| | | public interface ISvyCategoryService { |
| | | /** |
| | | * æ¥è¯¢é®å·åç±» |
| | | * |
| | | * @param id é®å·åç±»ä¸»é® |
| | | * @return é®å·åç±» |
| | | */ |
| | | public SvyCategory selectSvyCategoryById(Long id); |
| | | public List<SvyCategory> selectSvyCategoryById(String categoryname); |
| | | |
| | | /** |
| | | * æ¥è¯¢é®å·åç±»å表 |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.PatArchinvecontact; |
| | | import com.smartor.mapper.PatArchinvecontactMapper; |
| | | import com.smartor.service.IPatArchinvecontactService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
èç³»æ¹å¼Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | @Service |
| | | public class PatArchinvecontactServiceImpl implements IPatArchinvecontactService |
| | | { |
| | | @Autowired |
| | | private PatArchinvecontactMapper patArchinvecontactMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param id æ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return æ£è
èç³»æ¹å¼ |
| | | */ |
| | | @Override |
| | | public PatArchinvecontact selectPatArchinvecontactById(Long id) |
| | | { |
| | | return patArchinvecontactMapper.selectPatArchinvecontactById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
èç³»æ¹å¼å表 |
| | | * |
| | | * @param patArchinvecontact æ£è
èç³»æ¹å¼ |
| | | * @return æ£è
èç³»æ¹å¼ |
| | | */ |
| | | @Override |
| | | public List<PatArchinvecontact> selectPatArchinvecontactList(PatArchinvecontact patArchinvecontact) |
| | | { |
| | | return patArchinvecontactMapper.selectPatArchinvecontactList(patArchinvecontact); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param patArchinvecontact æ£è
èç³»æ¹å¼ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertPatArchinvecontact(PatArchinvecontact patArchinvecontact) |
| | | { |
| | | patArchinvecontact.setCreateTime(DateUtils.getNowDate()); |
| | | return patArchinvecontactMapper.insertPatArchinvecontact(patArchinvecontact); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
èç³»æ¹å¼ |
| | | * |
| | | * @param patArchinvecontact æ£è
èç³»æ¹å¼ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updatePatArchinvecontact(PatArchinvecontact patArchinvecontact) |
| | | { |
| | | patArchinvecontact.setUpdateTime(DateUtils.getNowDate()); |
| | | return patArchinvecontactMapper.updatePatArchinvecontact(patArchinvecontact); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
èç³»æ¹å¼ |
| | | * |
| | | * @param ids éè¦å é¤çæ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatArchinvecontactByIds(Long[] ids) |
| | | { |
| | | return patArchinvecontactMapper.deletePatArchinvecontactByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
èç³»æ¹å¼ä¿¡æ¯ |
| | | * |
| | | * @param id æ£è
èç³»æ¹å¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatArchinvecontactById(Long id) |
| | | { |
| | | return patArchinvecontactMapper.deletePatArchinvecontactById(id); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.PatMedDrug; |
| | | import com.smartor.mapper.PatMedDrugMapper; |
| | | import com.smartor.service.IPatMedDrugService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * æ£è
ç¨è¯è®°å½Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | @Service |
| | | public class PatMedDrugServiceImpl implements IPatMedDrugService { |
| | | @Autowired |
| | | private PatMedDrugMapper patMedDrugMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ç¨è¯è®°å½ |
| | | * |
| | | * @param id æ£è
ç¨è¯è®°å½ä¸»é® |
| | | * @return æ£è
ç¨è¯è®°å½ |
| | | */ |
| | | @Override |
| | | public PatMedDrug selectPatMedDrugById(Long id) { |
| | | return patMedDrugMapper.selectPatMedDrugById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ç¨è¯è®°å½å表 |
| | | * |
| | | * @param patMedDrug æ£è
ç¨è¯è®°å½ |
| | | * @return æ£è
ç¨è¯è®°å½ |
| | | */ |
| | | @Override |
| | | public List<PatMedDrug> selectPatMedDrugList(PatMedDrug patMedDrug) { |
| | | return patMedDrugMapper.selectPatMedDrugList(patMedDrug); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
ç¨è¯è®°å½ |
| | | * |
| | | * @param patMedDrug æ£è
ç¨è¯è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertPatMedDrug(PatMedDrug patMedDrug) { |
| | | patMedDrug.setCreateTime(DateUtils.getNowDate()); |
| | | return patMedDrugMapper.insertPatMedDrug(patMedDrug); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
ç¨è¯è®°å½ |
| | | * |
| | | * @param patMedDrug æ£è
ç¨è¯è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updatePatMedDrug(PatMedDrug patMedDrug) { |
| | | patMedDrug.setUpdateTime(DateUtils.getNowDate()); |
| | | return patMedDrugMapper.updatePatMedDrug(patMedDrug); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
ç¨è¯è®°å½ |
| | | * |
| | | * @param ids éè¦å é¤çæ£è
ç¨è¯è®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatMedDrugByIds(Long[] ids) { |
| | | return patMedDrugMapper.deletePatMedDrugByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
ç¨è¯è®°å½ä¿¡æ¯ |
| | | * |
| | | * @param id æ£è
ç¨è¯è®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatMedDrugById(Long id) { |
| | | return patMedDrugMapper.deletePatMedDrugById(id); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.PatMedInspection; |
| | | import com.smartor.mapper.PatMedInspectionMapper; |
| | | import com.smartor.service.IPatMedInspectionService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
æ£æ¥æ£éªè®°å½Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-06-16 |
| | | */ |
| | | @Service |
| | | public class PatMedInspectionServiceImpl implements IPatMedInspectionService |
| | | { |
| | | @Autowired |
| | | private PatMedInspectionMapper patMedInspectionMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ£æ¥æ£éªè®°å½ |
| | | * |
| | | * @param id æ£è
æ£æ¥æ£éªè®°å½ä¸»é® |
| | | * @return æ£è
æ£æ¥æ£éªè®°å½ |
| | | */ |
| | | @Override |
| | | public PatMedInspection selectPatMedInspectionById(Long id) |
| | | { |
| | | return patMedInspectionMapper.selectPatMedInspectionById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
æ£æ¥æ£éªè®°å½å表 |
| | | * |
| | | * @param patMedInspection æ£è
æ£æ¥æ£éªè®°å½ |
| | | * @return æ£è
æ£æ¥æ£éªè®°å½ |
| | | */ |
| | | @Override |
| | | public List<PatMedInspection> selectPatMedInspectionList(PatMedInspection patMedInspection) |
| | | { |
| | | return patMedInspectionMapper.selectPatMedInspectionList(patMedInspection); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
æ£æ¥æ£éªè®°å½ |
| | | * |
| | | * @param patMedInspection æ£è
æ£æ¥æ£éªè®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertPatMedInspection(PatMedInspection patMedInspection) |
| | | { |
| | | patMedInspection.setCreateTime(DateUtils.getNowDate()); |
| | | return patMedInspectionMapper.insertPatMedInspection(patMedInspection); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
æ£æ¥æ£éªè®°å½ |
| | | * |
| | | * @param patMedInspection æ£è
æ£æ¥æ£éªè®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updatePatMedInspection(PatMedInspection patMedInspection) |
| | | { |
| | | patMedInspection.setUpdateTime(DateUtils.getNowDate()); |
| | | return patMedInspectionMapper.updatePatMedInspection(patMedInspection); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
æ£æ¥æ£éªè®°å½ |
| | | * |
| | | * @param ids éè¦å é¤çæ£è
æ£æ¥æ£éªè®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatMedInspectionByIds(Long[] ids) |
| | | { |
| | | return patMedInspectionMapper.deletePatMedInspectionByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
æ£æ¥æ£éªè®°å½ä¿¡æ¯ |
| | | * |
| | | * @param id æ£è
æ£æ¥æ£éªè®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatMedInspectionById(Long id) |
| | | { |
| | | return patMedInspectionMapper.deletePatMedInspectionById(id); |
| | | } |
| | | } |
| | |
| | | * @return é®å·åç±» |
| | | */ |
| | | @Override |
| | | public SvyCategory selectSvyCategoryById(Long id) |
| | | public List<SvyCategory> selectSvyCategoryById(String categoryname) |
| | | { |
| | | return svyCategoryMapper.selectSvyCategoryById(id); |
| | | return svyCategoryMapper.selectSvyCategoryById(categoryname); |
| | | } |
| | | |
| | | /** |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.PatArchinvecontactMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.PatArchinvecontact" id="PatArchinvecontactResult"> |
| | | <result property="id" column="id" /> |
| | | <result property="patid" column="patid" /> |
| | | <result property="contactway" column="contactway" /> |
| | | <result property="relation" column="relation" /> |
| | | <result property="datasource" column="datasource" /> |
| | | <result property="isdefault" column="isdefault" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | <result property="contactname" column="contactname" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatArchinvecontactVo"> |
| | | select id, patid, contactway, relation, datasource, isdefault, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, contactname from pat_archinvecontact |
| | | </sql> |
| | | |
| | | <select id="selectPatArchinvecontactList" parameterType="com.smartor.domain.PatArchinvecontact" resultMap="PatArchinvecontactResult"> |
| | | <include refid="selectPatArchinvecontactVo"/> |
| | | <where> |
| | | <if test="patid != null "> and patid = #{patid}</if> |
| | | <if test="contactway != null and contactway != ''"> and contactway = #{contactway}</if> |
| | | <if test="relation != null "> and relation = #{relation}</if> |
| | | <if test="datasource != null "> and datasource = #{datasource}</if> |
| | | <if test="isdefault != null "> and isdefault = #{isdefault}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | <if test="contactname != null and contactname != ''"> and contactname like concat('%', #{contactname}, '%')</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatArchinvecontactById" parameterType="Long" resultMap="PatArchinvecontactResult"> |
| | | <include refid="selectPatArchinvecontactVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertPatArchinvecontact" parameterType="com.smartor.domain.PatArchinvecontact" useGeneratedKeys="true" keyProperty="id"> |
| | | insert into pat_archinvecontact |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="patid != null">patid,</if> |
| | | <if test="contactway != null">contactway,</if> |
| | | <if test="relation != null">relation,</if> |
| | | <if test="datasource != null">datasource,</if> |
| | | <if test="isdefault != null">isdefault,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="contactname != null">contactname,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="patid != null">#{patid},</if> |
| | | <if test="contactway != null">#{contactway},</if> |
| | | <if test="relation != null">#{relation},</if> |
| | | <if test="datasource != null">#{datasource},</if> |
| | | <if test="isdefault != null">#{isdefault},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="contactname != null">#{contactname},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatArchinvecontact" parameterType="com.smartor.domain.PatArchinvecontact"> |
| | | update pat_archinvecontact |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="patid != null">patid = #{patid},</if> |
| | | <if test="contactway != null">contactway = #{contactway},</if> |
| | | <if test="relation != null">relation = #{relation},</if> |
| | | <if test="datasource != null">datasource = #{datasource},</if> |
| | | <if test="isdefault != null">isdefault = #{isdefault},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="contactname != null">contactname = #{contactname},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deletePatArchinvecontactById" parameterType="Long"> |
| | | delete from pat_archinvecontact where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deletePatArchinvecontactByIds" parameterType="String"> |
| | | delete from pat_archinvecontact where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.PatMedDrugMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.PatMedDrug" id="PatMedDrugResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="serialnum" column="serialnum"/> |
| | | <result property="patid" column="patid"/> |
| | | <result property="drugname" column="drugname"/> |
| | | <result property="opendate" column="opendate"/> |
| | | <result property="drugtype" column="drugtype"/> |
| | | <result property="unit" column="unit"/> |
| | | <result property="spec" column="spec"/> |
| | | <result property="drugusage" column="drugusage"/> |
| | | <result property="dose" column="dose"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="drugid" column="drugid"/> |
| | | <result property="visittype" column="visittype"/> |
| | | <result property="visitid" column="visitid"/> |
| | | <result property="schemestatus" column="schemestatus"/> |
| | | <result property="schemetime" column="schemetime"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatMedDrugVo"> |
| | | select id, |
| | | serialnum, |
| | | patid, |
| | | drugname, |
| | | opendate, |
| | | drugtype, |
| | | unit, |
| | | spec, |
| | | drugusage, |
| | | dose, |
| | | orgid, |
| | | del_flag, |
| | | update_by, |
| | | update_time, |
| | | create_by, |
| | | create_time, |
| | | isupload, |
| | | upload_time, |
| | | drugid, |
| | | visittype, |
| | | visitid, |
| | | schemestatus, |
| | | schemetime |
| | | from pat_med_drug |
| | | </sql> |
| | | |
| | | <select id="selectPatMedDrugList" parameterType="com.smartor.domain.PatMedDrug" resultMap="PatMedDrugResult"> |
| | | <include refid="selectPatMedDrugVo"/> |
| | | <where> |
| | | <if test="serialnum != null and serialnum != ''">and serialnum = #{serialnum}</if> |
| | | <if test="patid != null ">and patid = #{patid}</if> |
| | | <if test="drugname != null and drugname != ''">and drugname like concat('%', #{drugname}, '%')</if> |
| | | <if test="opendate != null ">and opendate = #{opendate}</if> |
| | | <if test="drugtype != null and drugtype != ''">and drugtype = #{drugtype}</if> |
| | | <if test="unit != null and unit != ''">and unit = #{unit}</if> |
| | | <if test="spec != null and spec != ''">and spec = #{spec}</if> |
| | | <if test="drugusage != null and drugusage != ''">and drugusage = #{drugusage}</if> |
| | | <if test="dose != null and dose != ''">and dose = #{dose}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="drugid != null ">and drugid = #{drugid}</if> |
| | | <if test="visittype != null ">and visittype = #{visittype}</if> |
| | | <if test="visitid != null ">and visitid = #{visitid}</if> |
| | | <if test="schemestatus != null ">and schemestatus = #{schemestatus}</if> |
| | | <if test="schemetime != null ">and schemetime = #{schemetime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatMedDrugById" parameterType="Long" resultMap="PatMedDrugResult"> |
| | | <include refid="selectPatMedDrugVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertPatMedDrug" parameterType="com.smartor.domain.PatMedDrug" useGeneratedKeys="true" |
| | | keyProperty="id"> |
| | | insert into pat_med_drug |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="serialnum != null">serialnum,</if> |
| | | <if test="patid != null">patid,</if> |
| | | <if test="drugname != null">drugname,</if> |
| | | <if test="opendate != null">opendate,</if> |
| | | <if test="drugtype != null">drugtype,</if> |
| | | <if test="unit != null">unit,</if> |
| | | <if test="spec != null">spec,</if> |
| | | <if test="drugusage != null">drugusage,</if> |
| | | <if test="dose != null">dose,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="drugid != null">drugid,</if> |
| | | <if test="visittype != null">visittype,</if> |
| | | <if test="visitid != null">visitid,</if> |
| | | <if test="schemestatus != null">schemestatus,</if> |
| | | <if test="schemetime != null">schemetime,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="serialnum != null">#{serialnum},</if> |
| | | <if test="patid != null">#{patid},</if> |
| | | <if test="drugname != null">#{drugname},</if> |
| | | <if test="opendate != null">#{opendate},</if> |
| | | <if test="drugtype != null">#{drugtype},</if> |
| | | <if test="unit != null">#{unit},</if> |
| | | <if test="spec != null">#{spec},</if> |
| | | <if test="drugusage != null">#{drugusage},</if> |
| | | <if test="dose != null">#{dose},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="drugid != null">#{drugid},</if> |
| | | <if test="visittype != null">#{visittype},</if> |
| | | <if test="visitid != null">#{visitid},</if> |
| | | <if test="schemestatus != null">#{schemestatus},</if> |
| | | <if test="schemetime != null">#{schemetime},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatMedDrug" parameterType="com.smartor.domain.PatMedDrug"> |
| | | update pat_med_drug |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="serialnum != null">serialnum = #{serialnum},</if> |
| | | <if test="patid != null">patid = #{patid},</if> |
| | | <if test="drugname != null">drugname = #{drugname},</if> |
| | | <if test="opendate != null">opendate = #{opendate},</if> |
| | | <if test="drugtype != null">drugtype = #{drugtype},</if> |
| | | <if test="unit != null">unit = #{unit},</if> |
| | | <if test="spec != null">spec = #{spec},</if> |
| | | <if test="drugusage != null">drugusage = #{drugusage},</if> |
| | | <if test="dose != null">dose = #{dose},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="drugid != null">drugid = #{drugid},</if> |
| | | <if test="visittype != null">visittype = #{visittype},</if> |
| | | <if test="visitid != null">visitid = #{visitid},</if> |
| | | <if test="schemestatus != null">schemestatus = #{schemestatus},</if> |
| | | <if test="schemetime != null">schemetime = #{schemetime},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deletePatMedDrugById" parameterType="Long"> |
| | | delete |
| | | from pat_med_drug |
| | | where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deletePatMedDrugByIds" parameterType="String"> |
| | | delete from pat_med_drug where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.PatMedInspectionMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.PatMedInspection" id="PatMedInspectionResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="serialnum" column="serialnum"/> |
| | | <result property="patid" column="patid"/> |
| | | <result property="projecttype" column="projecttype"/> |
| | | <result property="projectcode" column="projectcode"/> |
| | | <result property="projectname" column="projectname"/> |
| | | <result property="reporttime" column="reporttime"/> |
| | | <result property="hospitalname" column="hospitalname"/> |
| | | <result property="hospitalcode" column="hospitalcode"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="projectid" column="projectid"/> |
| | | <result property="applicationtime" column="applicationtime"/> |
| | | <result property="visittype" column="visittype"/> |
| | | <result property="visitid" column="visitid"/> |
| | | <result property="schemestatus" column="schemestatus"/> |
| | | <result property="isabnormal" column="isabnormal"/> |
| | | <result property="reportconclusion" column="reportconclusion"/> |
| | | <result property="schemetime" column="schemetime"/> |
| | | <result property="deptcode" column="deptcode"/> |
| | | <result property="deptname" column="deptname"/> |
| | | <result property="deptid" column="deptid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatMedInspectionVo"> |
| | | select id, |
| | | serialnum, |
| | | patid, |
| | | projecttype, |
| | | projectcode, |
| | | projectname, |
| | | reporttime, |
| | | hospitalname, |
| | | hospitalcode, |
| | | orgid, |
| | | del_flag, |
| | | update_by, |
| | | update_time, |
| | | create_by, |
| | | create_time, |
| | | isupload, |
| | | upload_time, |
| | | projectid, |
| | | applicationtime, |
| | | visittype, |
| | | visitid, |
| | | schemestatus, |
| | | isabnormal, |
| | | reportconclusion, |
| | | schemetime, |
| | | deptcode, |
| | | deptname, |
| | | deptid |
| | | from pat_med_inspection |
| | | </sql> |
| | | |
| | | <select id="selectPatMedInspectionList" parameterType="com.smartor.domain.PatMedInspection" |
| | | resultMap="PatMedInspectionResult"> |
| | | <include refid="selectPatMedInspectionVo"/> |
| | | <where> |
| | | <if test="serialnum != null and serialnum != ''">and serialnum = #{serialnum}</if> |
| | | <if test="patid != null ">and patid = #{patid}</if> |
| | | <if test="projecttype != null ">and projecttype = #{projecttype}</if> |
| | | <if test="projectcode != null and projectcode != ''">and projectcode = #{projectcode}</if> |
| | | <if test="projectname != null and projectname != ''">and projectname like concat('%', #{projectname}, |
| | | '%') |
| | | </if> |
| | | <if test="reporttime != null ">and reporttime = #{reporttime}</if> |
| | | <if test="hospitalname != null and hospitalname != ''">and hospitalname like concat('%', #{hospitalname}, |
| | | '%') |
| | | </if> |
| | | <if test="hospitalcode != null and hospitalcode != ''">and hospitalcode = #{hospitalcode}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="projectid != null ">and projectid = #{projectid}</if> |
| | | <if test="applicationtime != null ">and applicationtime = #{applicationtime}</if> |
| | | <if test="visittype != null ">and visittype = #{visittype}</if> |
| | | <if test="visitid != null ">and visitid = #{visitid}</if> |
| | | <if test="schemestatus != null ">and schemestatus = #{schemestatus}</if> |
| | | <if test="isabnormal != null ">and isabnormal = #{isabnormal}</if> |
| | | <if test="reportconclusion != null and reportconclusion != ''">and reportconclusion = #{reportconclusion} |
| | | </if> |
| | | <if test="schemetime != null ">and schemetime = #{schemetime}</if> |
| | | <if test="deptcode != null and deptcode != ''">and deptcode = #{deptcode}</if> |
| | | <if test="deptname != null and deptname != ''">and deptname like concat('%', #{deptname}, '%')</if> |
| | | <if test="deptid != null ">and deptid = #{deptid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatMedInspectionById" parameterType="Long" resultMap="PatMedInspectionResult"> |
| | | <include refid="selectPatMedInspectionVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertPatMedInspection" parameterType="com.smartor.domain.PatMedInspection" useGeneratedKeys="true" |
| | | keyProperty="id"> |
| | | insert into pat_med_inspection |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="serialnum != null">serialnum,</if> |
| | | <if test="patid != null">patid,</if> |
| | | <if test="projecttype != null">projecttype,</if> |
| | | <if test="projectcode != null">projectcode,</if> |
| | | <if test="projectname != null">projectname,</if> |
| | | <if test="reporttime != null">reporttime,</if> |
| | | <if test="hospitalname != null">hospitalname,</if> |
| | | <if test="hospitalcode != null">hospitalcode,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="projectid != null">projectid,</if> |
| | | <if test="applicationtime != null">applicationtime,</if> |
| | | <if test="visittype != null">visittype,</if> |
| | | <if test="visitid != null">visitid,</if> |
| | | <if test="schemestatus != null">schemestatus,</if> |
| | | <if test="isabnormal != null">isabnormal,</if> |
| | | <if test="reportconclusion != null">reportconclusion,</if> |
| | | <if test="schemetime != null">schemetime,</if> |
| | | <if test="deptcode != null">deptcode,</if> |
| | | <if test="deptname != null">deptname,</if> |
| | | <if test="deptid != null">deptid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="serialnum != null">#{serialnum},</if> |
| | | <if test="patid != null">#{patid},</if> |
| | | <if test="projecttype != null">#{projecttype},</if> |
| | | <if test="projectcode != null">#{projectcode},</if> |
| | | <if test="projectname != null">#{projectname},</if> |
| | | <if test="reporttime != null">#{reporttime},</if> |
| | | <if test="hospitalname != null">#{hospitalname},</if> |
| | | <if test="hospitalcode != null">#{hospitalcode},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="projectid != null">#{projectid},</if> |
| | | <if test="applicationtime != null">#{applicationtime},</if> |
| | | <if test="visittype != null">#{visittype},</if> |
| | | <if test="visitid != null">#{visitid},</if> |
| | | <if test="schemestatus != null">#{schemestatus},</if> |
| | | <if test="isabnormal != null">#{isabnormal},</if> |
| | | <if test="reportconclusion != null">#{reportconclusion},</if> |
| | | <if test="schemetime != null">#{schemetime},</if> |
| | | <if test="deptcode != null">#{deptcode},</if> |
| | | <if test="deptname != null">#{deptname},</if> |
| | | <if test="deptid != null">#{deptid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatMedInspection" parameterType="com.smartor.domain.PatMedInspection"> |
| | | update pat_med_inspection |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="serialnum != null">serialnum = #{serialnum},</if> |
| | | <if test="patid != null">patid = #{patid},</if> |
| | | <if test="projecttype != null">projecttype = #{projecttype},</if> |
| | | <if test="projectcode != null">projectcode = #{projectcode},</if> |
| | | <if test="projectname != null">projectname = #{projectname},</if> |
| | | <if test="reporttime != null">reporttime = #{reporttime},</if> |
| | | <if test="hospitalname != null">hospitalname = #{hospitalname},</if> |
| | | <if test="hospitalcode != null">hospitalcode = #{hospitalcode},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="projectid != null">projectid = #{projectid},</if> |
| | | <if test="applicationtime != null">applicationtime = #{applicationtime},</if> |
| | | <if test="visittype != null">visittype = #{visittype},</if> |
| | | <if test="visitid != null">visitid = #{visitid},</if> |
| | | <if test="schemestatus != null">schemestatus = #{schemestatus},</if> |
| | | <if test="isabnormal != null">isabnormal = #{isabnormal},</if> |
| | | <if test="reportconclusion != null">reportconclusion = #{reportconclusion},</if> |
| | | <if test="schemetime != null">schemetime = #{schemetime},</if> |
| | | <if test="deptcode != null">deptcode = #{deptcode},</if> |
| | | <if test="deptname != null">deptname = #{deptname},</if> |
| | | <if test="deptid != null">deptid = #{deptid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deletePatMedInspectionById" parameterType="Long"> |
| | | delete |
| | | from pat_med_inspection |
| | | where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deletePatMedInspectionByIds" parameterType="String"> |
| | | delete from pat_med_inspection where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.SvyCategoryMapper"> |
| | | |
| | | <resultMap type="SvyCategory" id="SvyCategoryResult"> |
| | | <resultMap type="com.smartor.domain.SvyCategory" id="SvyCategoryResult"> |
| | | <result property="id" column="id" /> |
| | | <result property="categoryname" column="categoryname" /> |
| | | <result property="orgid" column="orgid" /> |
| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyCategoryVo"> |
| | | select id, categoryname, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from svy_category |
| | | select id, |
| | | categoryname, |
| | | orgid, |
| | | del_flag, |
| | | update_by, |
| | | update_time, |
| | | create_by, |
| | | create_time, |
| | | isupload, |
| | | upload_time |
| | | from svy_category |
| | | </sql> |
| | | |
| | | <select id="selectSvyCategoryList" parameterType="SvyCategory" resultMap="SvyCategoryResult"> |
| | | <select id="selectSvyCategoryList" parameterType="com.smartor.domain.SvyCategory" resultMap="SvyCategoryResult"> |
| | | <include refid="selectSvyCategoryVo"/> |
| | | <where> |
| | | <if test="categoryname != null and categoryname != ''"> and categoryname like concat('%', #{categoryname}, '%')</if> |
| | | <if test="categoryname != null and categoryname != ''">and categoryname like concat('%', #{categoryname}, |
| | | '%') |
| | | </if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyCategoryById" parameterType="Long" resultMap="SvyCategoryResult"> |
| | | <include refid="selectSvyCategoryVo"/> |
| | | where id = #{id} |
| | | <select id="selectSvyCategoryById" parameterType="String" resultType="com.smartor.domain.SvyCategory"> |
| | | select a.id, |
| | | a.categoryname, |
| | | a. orgid, |
| | | a.del_flag, |
| | | a.update_by, |
| | | a.update_time, |
| | | a.create_by, |
| | | a.create_time, |
| | | a.isupload, |
| | | a.upload_time, |
| | | count(b.svyid) svyNum |
| | | from svy_category a,svy_lib_title b |
| | | <where> |
| | | a.id = b.categoryid |
| | | <if test="categoryname != null and categoryname != ''"> |
| | | and categoryname = #{categoryname} |
| | | </if> |
| | | </where> |
| | | group by a.categoryname |
| | | </select> |
| | | |
| | | <insert id="insertSvyCategory" parameterType="SvyCategory" useGeneratedKeys="true" keyProperty="id"> |
| | | <insert id="insertSvyCategory" parameterType="com.smartor.domain.SvyCategory" useGeneratedKeys="true" |
| | | keyProperty="id"> |
| | | insert into svy_category |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="categoryname != null">categoryname,</if> |
| | |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateSvyCategory" parameterType="SvyCategory"> |
| | | <update id="updateSvyCategory" parameterType="com.smartor.domain.SvyCategory"> |
| | | update svy_category |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="categoryname != null">categoryname = #{categoryname},</if> |
| | |
| | | </update> |
| | | |
| | | <delete id="deleteSvyCategoryById" parameterType="Long"> |
| | | delete from svy_category where id = #{id} |
| | | delete |
| | | from svy_category |
| | | where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteSvyCategoryByIds" parameterType="String"> |