| | |
| | | public TableDataInfo list(ServiceDonateorgan serviceDonateorgan) { |
| | | startPage(); |
| | | List<ServiceDonateorgan> list = serviceDonateorganService.queryList(serviceDonateorgan); |
| | | if (!CollectionUtils.isEmpty(list)) { |
| | | List<ServiceDonateorganVO> serviceDonateorganVOS = DtoConversionUtils.sourceToTarget(list, ServiceDonateorganVO.class); |
| | | // for (ServiceDonateorganVO serviceDonateorganVO : serviceDonateorganVOS) { |
| | | // ServiceOrganallocation serviceOrganallocation = new ServiceOrganallocation(); |
| | | // serviceOrganallocation.setOrganid(serviceDonateorganVO.getId()); |
| | | // List<ServiceOrganallocation> serviceOrganallocations = serviceOrganallocationService.selectServiceOrganallocationList(serviceOrganallocation); |
| | | // serviceDonateorganVO.setServiceOrganallocations(serviceOrganallocations); |
| | | // } |
| | | return getDataTable(serviceDonateorganVOS); |
| | | } |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * å¨å®åé
累计 |
| | | */ |
| | | @ApiOperation("å¨å®åé
累计") |
| | | @GetMapping("/countList") |
| | | public TableDataInfo countList(ServiceDonateorgan serviceDonateorgan) { |
| | | startPage(); |
| | | List<ServiceDonateorgan> list = serviceDonateorganService.countList(serviceDonateorgan); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | |
| | | import com.ruoyi.common.annotation.RepeatSubmit; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.PageDomain; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.core.page.TableSupport; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.common.utils.bean.DtoConversionUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | |
| | | serviceDonorchargeorganVO.setAnnexFilesList(rbDetailFiles); |
| | | } |
| | | } |
| | | |
| | | return getDataTable(serviceDonorchargeorganVOList); |
| | | return getDataTable2(serviceDonorchargeorganVOList, list); |
| | | } |
| | | |
| | | /** |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.project; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.annotation.RepeatSubmit; |
| | | 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.ruoyi.project.domain.ServiceFundtax; |
| | | import com.ruoyi.project.service.IServiceFundtaxService; |
| | | 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 java.util.Arrays; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-03-13 |
| | | */ |
| | | @Api("ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»") |
| | | @RestController |
| | | @RequestMapping("/system/fundtax") |
| | | public class ServiceFundtaxController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IServiceFundtaxService serviceFundtaxService; |
| | | |
| | | /** |
| | | * æ¥è¯¢ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»å表") |
| | | @PreAuthorize("@ss.hasPermi('system:fundtax:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceFundtax serviceFundtax) |
| | | { |
| | | startPage(); |
| | | List<ServiceFundtax> list = serviceFundtaxService.queryList(serviceFundtax); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»å表 |
| | | */ |
| | | @ApiOperation("导åºä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»å表") |
| | | @PreAuthorize("@ss.hasPermi('system:fundtax:export')") |
| | | @Log(title = "ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceFundtax serviceFundtax) |
| | | { |
| | | List<ServiceFundtax> list = serviceFundtaxService.queryList(serviceFundtax); |
| | | ExcelUtil<ServiceFundtax> util = new ExcelUtil<ServiceFundtax>(ServiceFundtax.class); |
| | | return util.exportExcel(list, "ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('system:fundtax:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | return AjaxResult.success(serviceFundtaxService.getById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸» |
| | | */ |
| | | @ApiOperation("æ°å¢ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»") |
| | | @PreAuthorize("@ss.hasPermi('system:fundtax:add')") |
| | | @Log(title = "ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceFundtax serviceFundtax) |
| | | { |
| | | return toAjax(serviceFundtaxService.save(serviceFundtax)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸» |
| | | */ |
| | | @ApiOperation("ä¿®æ¹ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»") |
| | | @PreAuthorize("@ss.hasPermi('system:fundtax:edit')") |
| | | @Log(title = "ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceFundtax serviceFundtax) |
| | | { |
| | | return toAjax(serviceFundtaxService.updateById(serviceFundtax)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸» |
| | | */ |
| | | @ApiOperation("å é¤ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»") |
| | | @PreAuthorize("@ss.hasPermi('system:fundtax:remove')") |
| | | @Log(title = "ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(serviceFundtaxService.removeByIds(Arrays.asList(ids))); |
| | | } |
| | | } |
| | |
| | | } |
| | | |
| | | /** |
| | | * ååºè¯·æ±åé¡µæ°æ® |
| | | */ |
| | | @SuppressWarnings({ "rawtypes", "unchecked" }) |
| | | protected TableDataInfo getDataTable2(List<?> list,List<?> list2) |
| | | { |
| | | TableDataInfo rspData = new TableDataInfo(); |
| | | rspData.setCode(HttpStatus.SUCCESS); |
| | | rspData.setMsg("æ¥è¯¢æå"); |
| | | rspData.setRows(list); |
| | | rspData.setTotal(new PageInfo(list2).getTotal()); |
| | | return rspData; |
| | | } |
| | | |
| | | /** |
| | | * ååºæ¹éä¿åæ°æ® |
| | | */ |
| | | @SuppressWarnings({ "rawtypes", "unchecked" }) |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.common.utils; |
| | | |
| | | import com.github.pagehelper.PageHelper; |
| | | import com.ruoyi.common.core.page.PageDomain; |
| | | import com.ruoyi.common.core.page.TableSupport; |
| | | import com.ruoyi.common.utils.sql.SqlUtil; |
| | | |
| | | /** |
| | | * å页工å
·ç±» |
| | | * |
| | | * @author ruoyi |
| | | */ |
| | | public class PageUtils extends PageHelper { |
| | | /** |
| | | * 设置请æ±åé¡µæ°æ® |
| | | */ |
| | | public static void startPage() { |
| | | PageDomain pageDomain = TableSupport.buildPageRequest(); |
| | | Integer pageNum = pageDomain.getPageNum(); |
| | | Integer pageSize = pageDomain.getPageSize(); |
| | | String orderBy = SqlUtil.escapeOrderBySql(pageDomain.getOrderBy()); |
| | | Boolean reasonable = pageDomain.getReasonable(); |
| | | PageHelper.startPage(pageNum, pageSize, orderBy).setReasonable(reasonable); |
| | | } |
| | | |
| | | /** |
| | | * 设置请æ±åé¡µæ°æ® |
| | | */ |
| | | public static void startPageByPost(Integer pageNum, Integer pageSize) { |
| | | if (pageNum == null) pageNum = 1; |
| | | if (pageSize == null) pageSize = 10; |
| | | PageHelper.startPage(pageNum, pageSize, "").setReasonable(true); |
| | | } |
| | | |
| | | /** |
| | | * æ¸
çå页ç线ç¨åé |
| | | */ |
| | | public static void clearPage() { |
| | | PageHelper.clearPage(); |
| | | } |
| | | } |
| | |
| | | package com.ruoyi.project.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | |
| | | private String caseno; |
| | | |
| | | |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(exist = false) |
| | | private Date starttime; |
| | | |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(exist = false) |
| | | private Date endtime; |
| | | |
| | | @TableField(exist = false) |
| | | private String city; |
| | | |
| | | /** |
| | | * æ¥åè
ç¼å· |
| | | */ |
| | | @TableField(exist = false) |
| | | private String reporterno; |
| | | |
| | | |
| | | } |
| | | |
| | |
| | | * è´¹ç¨å½å
¥æ¶é´ |
| | | */ |
| | | @ApiModelProperty("è´¹ç¨å½å
¥æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "è´¹ç¨å½å
¥æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "è´¹ç¨å½å
¥æ¶é´", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date organtime; |
| | | |
| | | /** |
| | |
| | | * æ¥æ¶æ¥æ |
| | | */ |
| | | @ApiModelProperty("æ¥æ¶æ¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date receiveTime; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»å¯¹è±¡ service_fundtax |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-03-13 |
| | | */ |
| | | @Data |
| | | @ApiModel("ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»") |
| | | public class ServiceFundtax extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** 主é®id */ |
| | | @ApiModelProperty("主é®id") |
| | | //æ°æ®åºèªå¢æ¹æ@TableId(type = IdType.AUTO) |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** ç³è¯·ç¼å· */ |
| | | @ApiModelProperty("ç³è¯·ç¼å·") |
| | | @Excel(name = "ç³è¯·ç¼å·") |
| | | private String applyno; |
| | | |
| | | /** ç®ç¨æ¶é´ */ |
| | | @ApiModelProperty("ç®ç¨æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "ç®ç¨æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date taxedtime; |
| | | |
| | | /** ç³è¯·äººç¼å· */ |
| | | @ApiModelProperty("ç³è¯·äººç¼å·") |
| | | @Excel(name = "ç³è¯·äººç¼å·") |
| | | private String userno; |
| | | |
| | | /** ç³è¯·äººå§å */ |
| | | @ApiModelProperty("ç³è¯·äººå§å") |
| | | @Excel(name = "ç³è¯·äººå§å") |
| | | private String username; |
| | | |
| | | /** é¨é¨ç¼å· */ |
| | | @ApiModelProperty("é¨é¨ç¼å·") |
| | | @Excel(name = "é¨é¨ç¼å·") |
| | | private String deptmentno; |
| | | |
| | | /** é¨é¨åç§° */ |
| | | @ApiModelProperty("é¨é¨åç§°") |
| | | @Excel(name = "é¨é¨åç§°") |
| | | private String deptmentname; |
| | | |
| | | /** é¨é¨ä¸»ç®¡å·¥å· */ |
| | | @ApiModelProperty("é¨é¨ä¸»ç®¡å·¥å·") |
| | | @Excel(name = "é¨é¨ä¸»ç®¡å·¥å·") |
| | | private String managerno; |
| | | |
| | | /** é¨é¨ä¸»ç®¡åå */ |
| | | @ApiModelProperty("é¨é¨ä¸»ç®¡åå") |
| | | @Excel(name = "é¨é¨ä¸»ç®¡åå") |
| | | private String managername; |
| | | |
| | | /** ç¨åéé¢å计 */ |
| | | @ApiModelProperty("ç¨åéé¢å计") |
| | | @Excel(name = "ç¨åéé¢å计") |
| | | private BigDecimal pretaxamount; |
| | | |
| | | /** ç¨åéé¢å计 */ |
| | | @ApiModelProperty("ç¨åéé¢å计") |
| | | @Excel(name = "ç¨åéé¢å计") |
| | | private BigDecimal taxedamount; |
| | | |
| | | /** è´¹ç¨æ»éé¢ */ |
| | | @ApiModelProperty("è´¹ç¨æ»éé¢") |
| | | @Excel(name = "è´¹ç¨æ»éé¢") |
| | | private BigDecimal taxamount; |
| | | |
| | | /** å»å¦ææ¬å计 */ |
| | | @ApiModelProperty("å»å¦ææ¬å计") |
| | | @Excel(name = "å»å¦ææ¬å计") |
| | | private BigDecimal medicalcost; |
| | | |
| | | /** éä½ä¿®å¤æ¯æææ¬å计 */ |
| | | @ApiModelProperty("éä½ä¿®å¤æ¯æææ¬å计") |
| | | @Excel(name = "éä½ä¿®å¤æ¯æææ¬å计") |
| | | private BigDecimal bodymaintaincost; |
| | | |
| | | /** å¨å®è·åææ¬å计 */ |
| | | @ApiModelProperty("å¨å®è·åææ¬å计") |
| | | @Excel(name = "å¨å®è·åææ¬å计") |
| | | private BigDecimal organgaincost; |
| | | |
| | | /** å¨å®å»å¦æ¯æææ¬ */ |
| | | @ApiModelProperty("å¨å®å»å¦æ¯æææ¬") |
| | | @Excel(name = "å¨å®å»å¦æ¯æææ¬") |
| | | private BigDecimal organmaintaincost; |
| | | |
| | | /** è®°å½ç¶æ */ |
| | | @ApiModelProperty("è®°å½ç¶æ") |
| | | @Excel(name = "è®°å½ç¶æ") |
| | | private Long recordstatus; |
| | | |
| | | /** é¢å®¡ç¶æï¼1ãå¾
é¢å®¡ï¼2ãé¢ç®éè¿ï¼çå¾
纸质æ¥éææï¼3ãæ¶å°çº¸è´¨æ¥éææ */ |
| | | @ApiModelProperty("é¢å®¡ç¶æï¼1ãå¾
é¢å®¡ï¼2ãé¢ç®éè¿ï¼çå¾
纸质æ¥éææï¼3ãæ¶å°çº¸è´¨æ¥éææ") |
| | | @Excel(name = "é¢å®¡ç¶æï¼1ãå¾
é¢å®¡ï¼2ãé¢ç®éè¿ï¼çå¾
纸质æ¥éææï¼3ãæ¶å°çº¸è´¨æ¥éææ") |
| | | private Long checkstatus; |
| | | |
| | | /** å½åå®¡æ ¸çº§å« å¤äºåªä¸ªé¶æ®µ 0ï¼ç³è¯·ï¼1ï¼ä¸çº§å®¡æ ¸ï¼2ï¼äºçº§å®¡æ ¸ï¼3ï¼ä¸çº§å®¡æ ¸ç */ |
| | | @ApiModelProperty("å½åå®¡æ ¸çº§å« å¤äºåªä¸ªé¶æ®µ 0ï¼ç³è¯·ï¼1ï¼ä¸çº§å®¡æ ¸ï¼2ï¼äºçº§å®¡æ ¸ï¼3ï¼ä¸çº§å®¡æ ¸ç") |
| | | @Excel(name = "å½åå®¡æ ¸çº§å« å¤äºåªä¸ªé¶æ®µ 0ï¼ç³è¯·ï¼1ï¼ä¸çº§å®¡æ ¸ï¼2ï¼äºçº§å®¡æ ¸ï¼3ï¼ä¸çº§å®¡æ ¸ç") |
| | | private Long flowlevel; |
| | | |
| | | /** è´¢å¡éå199ï¼ä¸ä¼ å»é¢100ï¼ */ |
| | | @ApiModelProperty("è´¢å¡éå199ï¼ä¸ä¼ å»é¢100ï¼") |
| | | @Excel(name = "è´¢å¡éå199ï¼ä¸ä¼ å»é¢100ï¼") |
| | | private Long backflowlevel; |
| | | |
| | | /** åæ¾ç¶æ */ |
| | | @ApiModelProperty("åæ¾ç¶æ") |
| | | @Excel(name = "åæ¾ç¶æ") |
| | | private String isdistribute; |
| | | |
| | | /** 仿¬¾æ¥æ */ |
| | | @ApiModelProperty("仿¬¾æ¥æ") |
| | | @Excel(name = "仿¬¾æ¥æ") |
| | | private String riqi; |
| | | |
| | | /** ä¸å¿ç¾å */ |
| | | @ApiModelProperty("ä¸å¿ç¾å") |
| | | @Excel(name = "ä¸å¿ç¾å") |
| | | private String opochecker; |
| | | |
| | | /** è´¢å¡å¯é¢é¿ç¾å */ |
| | | @ApiModelProperty("è´¢å¡å¯é¢é¿ç¾å") |
| | | @Excel(name = "è´¢å¡å¯é¢é¿ç¾å") |
| | | private String finvicepresident; |
| | | |
| | | /** ä¸å¡å¯é¢é¿ç¾å */ |
| | | @ApiModelProperty("ä¸å¡å¯é¢é¿ç¾å") |
| | | @Excel(name = "ä¸å¡å¯é¢é¿ç¾å") |
| | | private String busvicepresident; |
| | | |
| | | /** é¢é¿å®¡æ¹ */ |
| | | @ApiModelProperty("é¢é¿å®¡æ¹") |
| | | @Excel(name = "é¢é¿å®¡æ¹") |
| | | private String president; |
| | | |
| | | /** åå
¬å®¤ä¸»ä»»ç¾å */ |
| | | @ApiModelProperty("åå
¬å®¤ä¸»ä»»ç¾å") |
| | | @Excel(name = "åå
¬å®¤ä¸»ä»»ç¾å") |
| | | private String officedirector; |
| | | |
| | | /** è´¢å¡å®¤ä¸»ä»»ç¾å */ |
| | | @ApiModelProperty("è´¢å¡å®¤ä¸»ä»»ç¾å") |
| | | @Excel(name = "è´¢å¡å®¤ä¸»ä»»ç¾å") |
| | | private String financedirector; |
| | | |
| | | /** è´¢å¡å®¡æ ¸ */ |
| | | @ApiModelProperty("è´¢å¡å®¡æ ¸") |
| | | @Excel(name = "è´¢å¡å®¡æ ¸") |
| | | private String financechecher; |
| | | |
| | | /** æ°æ®æ¯å¦å
许è¿å
¥shared表 0ï¼å¦ 1ï¼æ¯ï¼2ï¼å·²è¿å
¥ */ |
| | | @ApiModelProperty("æ°æ®æ¯å¦å
许è¿å
¥shared表 0ï¼å¦ 1ï¼æ¯ï¼2ï¼å·²è¿å
¥") |
| | | @Excel(name = "æ°æ®æ¯å¦å
许è¿å
¥shared表 0ï¼å¦ 1ï¼æ¯ï¼2ï¼å·²è¿å
¥") |
| | | private String uploadflag; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @ApiModelProperty("ä¸ä¼ æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "ä¸ä¼ æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date uploadtime; |
| | | |
| | | /** æ¥ç¨è®°å½æå
¥å享表失败 */ |
| | | @ApiModelProperty("æ¥ç¨è®°å½æå
¥å享表失败") |
| | | @Excel(name = "æ¥ç¨è®°å½æå
¥å享表失败") |
| | | private String updownremark; |
| | | |
| | | } |
| | | |
| | |
| | | package com.ruoyi.project.domain; |
| | | |
| | | import java.text.SimpleDateFormat; |
| | | import java.time.LocalDateTime; |
| | | import java.time.format.DateTimeFormatter; |
| | | import java.util.Date; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * å¨å®åé
对象 service_organallocation |
| | | * |
| | |
| | | package com.ruoyi.project.domain.vo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | public class EthicalReviewVO { |
| | | public class EthicalReviewVO extends BaseEntity { |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty("$column.columnComment") |
| | | //æ°æ®åºèªå¢æ¹æ@TableId(type = IdType.AUTO) |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | private String donorno; |
| | | private String recordstate; |
| | | |
| | | /** |
| | | * å§å |
| | | */ |
| | | @ApiModelProperty("å§å") |
| | | @Excel(name = "å§å") |
| | | private String name; |
| | | |
| | | /** |
| | | * æ§å« |
| | | */ |
| | | @ApiModelProperty("æ§å«") |
| | | private String sex; |
| | | //private Long idcardtype; |
| | | |
| | | /** |
| | | * è¯ä»¶ç±»å |
| | | */ |
| | | @ApiModelProperty("è¯ä»¶ç±»å") |
| | | private Long idcardtype; |
| | | |
| | | /** |
| | | * è¯ä»¶å·ç |
| | | */ |
| | | @ApiModelProperty("è¯ä»¶å·ç ") |
| | | private String idcardno; |
| | | |
| | | /** |
| | | * å¹´é¾ |
| | | */ |
| | | @ApiModelProperty("å¹´é¾") |
| | | private Long age; |
| | | private String birthday; |
| | | |
| | | /** |
| | | * å¹´é¾åä½ |
| | | */ |
| | | @ApiModelProperty("å¹´é¾åä½") |
| | | private String ageunit; |
| | | |
| | | /** |
| | | * åºçæ¥æ |
| | | */ |
| | | @ApiModelProperty("åºçæ¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date birthday; |
| | | |
| | | /** |
| | | * èç³»çµè¯ |
| | | */ |
| | | @ApiModelProperty("èç³»çµè¯") |
| | | private String phone; |
| | | |
| | | /** |
| | | * ç°ä½å°å |
| | | */ |
| | | @ApiModelProperty("ç°ä½å°å") |
| | | private String residenceaddress; |
| | | |
| | | /** |
| | | * å½ç± |
| | | */ |
| | | @ApiModelProperty("å½ç±") |
| | | private String nationality; |
| | | |
| | | /** |
| | | * ç(åº/å¸) |
| | | */ |
| | | @ApiModelProperty("ç(åº/å¸)") |
| | | @Excel(name = "ç(åº/å¸)") |
| | | private String residenceprovince; |
| | | |
| | | /** |
| | | * ç±è´¯ |
| | | */ |
| | | @ApiModelProperty("ç±è´¯") |
| | | @Excel(name = "ç±è´¯") |
| | | private String nativeplace; |
| | | |
| | | /** |
| | | * ç°ä½å°åçåç§° |
| | | */ |
| | | @ApiModelProperty("ç°ä½å°åçåç§°") |
| | | private String residenceprovincename; |
| | | |
| | | /** |
| | | * æ°æ |
| | | */ |
| | | @ApiModelProperty("æ°æ") |
| | | private String nation; |
| | | |
| | | /** |
| | | * èä¸ |
| | | */ |
| | | @ApiModelProperty("èä¸") |
| | | private String occupation; |
| | | |
| | | /** |
| | | * å¸(å·) |
| | | */ |
| | | @ApiModelProperty("å¸(å·)") |
| | | private String residencecity; |
| | | |
| | | /** |
| | | * å¸åç§° |
| | | */ |
| | | @ApiModelProperty("å¸åç§°") |
| | | private String residencecityname; |
| | | |
| | | /** |
| | | * å¦å |
| | | */ |
| | | @ApiModelProperty("å¦å") |
| | | private String education; |
| | | |
| | | /** |
| | | * å¿ï¼å¸/åºï¼ |
| | | */ |
| | | @ApiModelProperty("å¿ï¼å¸/åºï¼") |
| | | private String residencetown; |
| | | |
| | | /** |
| | | * æå±è¡éï¼éï¼åç§° |
| | | */ |
| | | @ApiModelProperty("æå±è¡éï¼éï¼åç§°") |
| | | private String residencetownname; |
| | | |
| | | /** |
| | | * 社åºï¼æï¼ç¼å· æ ¹æ®è¡æ¿åºå表 |
| | | */ |
| | | @ApiModelProperty("社åºï¼æï¼ç¼å· æ ¹æ®è¡æ¿åºå表") |
| | | private String residencecommunity; |
| | | |
| | | /** |
| | | * 社åºï¼æï¼åç§° |
| | | */ |
| | | @ApiModelProperty("社åºï¼æï¼åç§°") |
| | | private String residencecommunityname; |
| | | |
| | | /** |
| | | * æå±åºåç¼å· æ ¹æ®è¡æ¿åºå表 |
| | | */ |
| | | @ApiModelProperty("æå±åºåç¼å· æ ¹æ®è¡æ¿åºå表") |
| | | private String residencecountycode; |
| | | |
| | | /** |
| | | * æå±åºååç§° |
| | | */ |
| | | @ApiModelProperty("æå±åºååç§°") |
| | | private String residencecountyname; |
| | | |
| | | /** |
| | | * æ·ç±å°å |
| | | */ |
| | | @ApiModelProperty("æ·ç±å°å") |
| | | private String registeraddress; |
| | | |
| | | /** |
| | | * ç(åº/å¸) |
| | | */ |
| | | @ApiModelProperty("ç(åº/å¸)") |
| | | private String registerprovince; |
| | | |
| | | /** |
| | | * æ·ç±å°åçåç§° |
| | | */ |
| | | @ApiModelProperty("æ·ç±å°åçåç§°") |
| | | private String registerprovincename; |
| | | |
| | | /** |
| | | * å¸(å·) |
| | | */ |
| | | @ApiModelProperty("å¸(å·)") |
| | | private String registercity; |
| | | |
| | | /** |
| | | * å¸åç§° |
| | | */ |
| | | @ApiModelProperty("å¸åç§°") |
| | | private String registercityname; |
| | | |
| | | /** |
| | | * å¿ï¼å¸/åºï¼ |
| | | */ |
| | | @ApiModelProperty("å¿ï¼å¸/åºï¼") |
| | | private String registertown; |
| | | |
| | | /** |
| | | * æå±è¡éï¼éï¼åç§° |
| | | */ |
| | | @ApiModelProperty("æå±è¡éï¼éï¼åç§°") |
| | | private String registertownname; |
| | | |
| | | /** |
| | | * 社åºï¼æï¼ç¼å· æ ¹æ®è¡æ¿åºå表 |
| | | */ |
| | | @ApiModelProperty("社åºï¼æï¼ç¼å· æ ¹æ®è¡æ¿åºå表") |
| | | private String registercommunity; |
| | | |
| | | /** |
| | | * 社åºï¼æï¼åç§° |
| | | */ |
| | | @ApiModelProperty("社åºï¼æï¼åç§°") |
| | | private String registercommunityname; |
| | | |
| | | /** |
| | | * æå±åºåç¼å· æ ¹æ®è¡æ¿åºå表 |
| | | */ |
| | | @ApiModelProperty("æå±åºåç¼å· æ ¹æ®è¡æ¿åºå表") |
| | | private String registercountycode; |
| | | |
| | | /** |
| | | * æå±åºååç§° |
| | | */ |
| | | @ApiModelProperty("æå±åºååç§°") |
| | | private String registercountyname; |
| | | |
| | | /** |
| | | * è®°å½ç¶æ |
| | | */ |
| | | @ApiModelProperty("è®°å½ç¶æ") |
| | | @Excel(name = "è®°å½ç¶æ") |
| | | private String recordstate; |
| | | |
| | | /** |
| | | * æ²»çå»é¢ |
| | | */ |
| | | @ApiModelProperty("æ²»çå»é¢") |
| | | private String treatmenthospitalno; |
| | | |
| | | /** |
| | | * æå¨å»çæºæ |
| | | */ |
| | | @ApiModelProperty("æå¨å»çæºæ") |
| | | @Excel(name = "æå¨å»çæºæ") |
| | | private String treatmenthospitalname; |
| | | |
| | | /** |
| | | * ç§å®¤ |
| | | */ |
| | | @ApiModelProperty("ç§å®¤") |
| | | private String treatmentdeptname; |
| | | |
| | | /** |
| | | * ç¾ç
è¯æ |
| | | */ |
| | | @ApiModelProperty("ç¾ç
è¯æ") |
| | | private String diagnosisno; |
| | | |
| | | /** |
| | | * ç¾ç
è¯æåç§° |
| | | */ |
| | | @ApiModelProperty("ç¾ç
è¯æåç§°") |
| | | private String diagnosisname; |
| | | private String reporterno; |
| | | private String reportername; |
| | | private String reporterphone; |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date reporttime; |
| | | |
| | | /** |
| | | * è¡å |
| | | */ |
| | | @ApiModelProperty("è¡å ") |
| | | private String bloodtype; |
| | | private Long rhyin; |
| | | |
| | | /** |
| | | * ä½é¢å· |
| | | */ |
| | | @ApiModelProperty("ä½é¢å·") |
| | | private String inpatientno; |
| | | |
| | | /** |
| | | * Rhé´æ§ |
| | | */ |
| | | @ApiModelProperty("Rhé´æ§") |
| | | private String rhyin; |
| | | |
| | | /** |
| | | * æç®è
ç¼å· |
| | | */ |
| | | @ApiModelProperty("æç®è
ç¼å·") |
| | | private String donorno; |
| | | |
| | | /** |
| | | * æç®ç±»å« |
| | | */ |
| | | @ApiModelProperty("æç®ç±»å«") |
| | | private String donationcategory; |
| | | |
| | | /** |
| | | * ç
æ
æ¦åµ |
| | | */ |
| | | @ApiModelProperty("ç
æ
æ¦åµ") |
| | | private String illnessoverview; |
| | | |
| | | /** |
| | | * ç¾ç
ç±»å |
| | | */ |
| | | @ApiModelProperty("ç¾ç
ç±»å") |
| | | private String diseasetype; |
| | | |
| | | /** |
| | | * ä¼ æç
æ
åµ |
| | | */ |
| | | @ApiModelProperty("ä¼ æç
æ
åµ") |
| | | private String infectious; |
| | | |
| | | /** |
| | | * æ¬äººææ¿ |
| | | */ |
| | | @ApiModelProperty("æ¬äººææ¿ ") |
| | | private String selfwill; |
| | | |
| | | /** |
| | | * å
¶ä»æ
åµ |
| | | */ |
| | | @ApiModelProperty("å
¶ä»æ
åµ") |
| | | private String othercases; |
| | | |
| | | /** |
| | | * äº²å±ææ¿ |
| | | */ |
| | | @ApiModelProperty("äº²å±ææ¿") |
| | | private Long kinshipwill; |
| | | |
| | | /** |
| | | * å
¶ä» |
| | | */ |
| | | @ApiModelProperty("å
¶ä»") |
| | | private String diseasetypeOther; |
| | | |
| | | /** |
| | | * 亲å±å
³ç³»ç¶åµ |
| | | */ |
| | | @ApiModelProperty("亲å±å
³ç³»ç¶åµ") |
| | | private String kinship; |
| | | |
| | | /** |
| | | * ä¿¡æ¯æ¥æº |
| | | */ |
| | | @ApiModelProperty("ä¿¡æ¯æ¥æº") |
| | | private String infosources; |
| | | |
| | | /** |
| | | * 红åå伿ºæç¼å· éèªæºæè¡¨ |
| | | */ |
| | | @ApiModelProperty("红åå伿ºæç¼å· éèªæºæè¡¨") |
| | | private String redorganno; |
| | | |
| | | /** |
| | | * 红åå伿ºæåç§° |
| | | */ |
| | | @ApiModelProperty("红åå伿ºæåç§°") |
| | | private String redorganname; |
| | | |
| | | /** |
| | | * 红ååä¼è系人 |
| | | */ |
| | | @ApiModelProperty("红ååä¼è系人") |
| | | private String contactperson; |
| | | |
| | | /** |
| | | * å
¶ä» |
| | | */ |
| | | @ApiModelProperty("å
¶ä»") |
| | | private String infectiousOther; |
| | | |
| | | /** |
| | | * 红ååä¼èç³»çµè¯ |
| | | */ |
| | | @ApiModelProperty("红ååä¼èç³»çµè¯") |
| | | private String contactnumber; |
| | | |
| | | /** |
| | | * æ¥åè
ç¼å· |
| | | */ |
| | | @ApiModelProperty("æ¥åè
ç¼å·") |
| | | private String reporterno; |
| | | |
| | | /** |
| | | * æ¥åè
å§å |
| | | */ |
| | | @ApiModelProperty("æ¥åè
å§å") |
| | | @Excel(name = "æ¥åè
å§å") |
| | | private String reportername; |
| | | |
| | | /** |
| | | * ç
人ç¶åµ |
| | | */ |
| | | @ApiModelProperty("ç
人ç¶åµ") |
| | | private String patientstate; |
| | | private Long fcid; |
| | | // private String expertopinion; |
| | | // private String expertconclusion; |
| | | // private String expertname; |
| | | // @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | // @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | // private Date conclusiontime; |
| | | // private String conclusionannex; |
| | | // private String conclusionorder; |
| | | |
| | | private Long infoid; |
| | | private String fcdonorno; |
| | | private String flowname; |
| | | private String flowannex; |
| | | private String flowcontent; |
| | | private String flowconclusion; |
| | | private Long delFlag; |
| | | private String createBy; |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createTime; |
| | | private String updateBy; |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateTime; |
| | | /** |
| | | * æ¥åè
èç³»çµè¯ |
| | | */ |
| | | @ApiModelProperty("æ¥åè
èç³»çµè¯") |
| | | private String reporterphone; |
| | | |
| | | private String basecreateby; |
| | | /** |
| | | * ä¿¡æ¯æ¥æºå
¶ä» |
| | | */ |
| | | @ApiModelProperty("ä¿¡æ¯æ¥æºå
¶ä»") |
| | | private String infosourcesOther; |
| | | |
| | | /** |
| | | * æ¥åæ¶é´ |
| | | */ |
| | | @ApiModelProperty("æ¥åæ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "æ¥åæ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date reporttime; |
| | | |
| | | /** |
| | | * å
¶ä» |
| | | */ |
| | | @ApiModelProperty("å
¶ä»") |
| | | private String kinshipOther; |
| | | |
| | | /** |
| | | * 主è¦äº²å± |
| | | */ |
| | | @ApiModelProperty("主è¦äº²å±") |
| | | private String majorrelatives; |
| | | |
| | | /** |
| | | * ä¸æèµ è
å
³ç³» |
| | | */ |
| | | @ApiModelProperty("ä¸æèµ è
å
³ç³»") |
| | | private String familyrelations; |
| | | |
| | | /** |
| | | * è·åç»ç»ç¼å· |
| | | */ |
| | | @ApiModelProperty("è·åç»ç»ç¼å·") |
| | | private String acquisitiontissueno; |
| | | |
| | | /** |
| | | * è·åç»ç»åç§° |
| | | */ |
| | | @ApiModelProperty("è·åç»ç»åç§°") |
| | | private String acquisitiontissuename; |
| | | |
| | | /** |
| | | * ä¿¡æ¯åå§å |
| | | */ |
| | | @ApiModelProperty("ä¿¡æ¯åå§å") |
| | | private String infoname; |
| | | |
| | | /** |
| | | * ä¿¡æ¯åèç³»æ¹å¼ |
| | | */ |
| | | @ApiModelProperty("ä¿¡æ¯åèç³»æ¹å¼") |
| | | private String infophone; |
| | | |
| | | /** |
| | | * èç³»æ¶é´ |
| | | */ |
| | | @ApiModelProperty("èç³»æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date contacttime; |
| | | |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(exist = false) |
| | | private Date starttime; |
| | | |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField(exist = false) |
| | | private Date endtime; |
| | | |
| | | @TableField(exist = false) |
| | | private String city; |
| | | |
| | | |
| | | private Long deptid; |
| | | |
| | | @ApiModelProperty("é¨é¨åç§°") |
| | | @Excel(name = "é¨é¨åç§°") |
| | | private String deptname; |
| | | |
| | | @ApiModelProperty("ç»é¿ç¼ç ") |
| | | @Excel(name = "ç»é¿ç¼ç ") |
| | | private String leaderno; |
| | | |
| | | @ApiModelProperty("ç»é¿åç§°") |
| | | @Excel(name = "ç»é¿åç§°") |
| | | private String leadername; |
| | | |
| | | @ApiModelProperty("ä¸å¡å°åº") |
| | | @Excel(name = "ä¸å¡å°åº") |
| | | private String businessarea; |
| | | |
| | | |
| | | @ApiModelProperty("éä»¶å°å") |
| | | @Excel(name = "éä»¶å°å") |
| | | private String annexfiles; |
| | | |
| | | |
| | | @ApiModelProperty("工使µ") |
| | | @Excel(name = "工使µ") |
| | | private Integer workflow; |
| | | |
| | | |
| | | @ApiModelProperty("ç»æ¢æ¡ä¾ï¼0å¼å¯ï¼1ç»æ¢ é»è®¤å¼ï¼0") |
| | | @Excel(name = "ç»æ¢æ¡ä¾") |
| | | private Integer terminationCase; |
| | | |
| | | @ApiModelProperty("æ¡ä¾æ¶é´") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date donatetime; |
| | | |
| | | @ApiModelProperty("æ¡ä¾åºå·") |
| | | private String donateno; |
| | | |
| | | @ApiModelProperty("service_ethicalreviewopinionsç主é®") |
| | | private Long fcid; |
| | | |
| | | @ApiModelProperty("delFlag") |
| | | private Long delFlag; |
| | | |
| | | /** |
| | | * ä¸å®¶æè§ |
| | | */ |
| | | @ApiModelProperty("ä¸å®¶æè§") |
| | | @Excel(name = "ä¸å®¶æè§") |
| | | private String expertopinion; |
| | | |
| | | /** |
| | | * ä¸å®¶ç»è®º è§åå
¸ sys_0_1 |
| | | */ |
| | | @ApiModelProperty("ä¸å®¶ç»è®º è§åå
¸ sys_0_1 ") |
| | | @Excel(name = "ä¸å®¶ç»è®º è§åå
¸ sys_0_1 ") |
| | | private Long expertconclusion; |
| | | |
| | | |
| | | /** |
| | | * ä¸å®¶åå |
| | | */ |
| | | @ApiModelProperty("ä¸å®¶åå") |
| | | @Excel(name = "ä¸å®¶åå") |
| | | private String expertname; |
| | | |
| | | /** |
| | | * ç»è®ºæ¶é´ |
| | | */ |
| | | @ApiModelProperty("ç»è®ºæ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "ç»è®ºæ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date conclusiontime; |
| | | |
| | | /** |
| | | * ç»è®ºéä»¶ å¯ç©º å¤ä¸ªç¨;å·éå¼ |
| | | */ |
| | | @ApiModelProperty("ç»è®ºéä»¶ å¯ç©º å¤ä¸ªç¨;å·éå¼") |
| | | @Excel(name = "ç»è®ºéä»¶ å¯ç©º å¤ä¸ªç¨;å·éå¼") |
| | | private String conclusionannex; |
| | | |
| | | |
| | | /** |
| | | * ç»è®ºé¡ºåº |
| | | */ |
| | | @ApiModelProperty("ç»è®ºé¡ºåº") |
| | | @Excel(name = "ç»è®ºé¡ºåº") |
| | | private Long conclusionorder; |
| | | |
| | | /** |
| | | * Basecreateby |
| | | */ |
| | | @ApiModelProperty("Basecreateby") |
| | | @TableField(exist = false) |
| | | private String basecreateby; |
| | | |
| | | } |
| | |
| | | String getOrganNameByNo(String organno); |
| | | |
| | | List<ServiceDonateorgan> selectAll(TimeVO timeVO); |
| | | |
| | | List<ServiceDonateorgan> countList(ServiceDonateorgan serviceDonateorgan); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.project.domain.ServiceFundtax; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-03-13 |
| | | */ |
| | | public interface ServiceFundtaxMapper extends BaseMapper<ServiceFundtax> |
| | | { |
| | | /** |
| | | * æ¥è¯¢ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»å表 |
| | | * |
| | | * @param serviceFundtax ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸» |
| | | * @return ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»éå |
| | | */ |
| | | public List<ServiceFundtax> selectServiceFundtaxList(ServiceFundtax serviceFundtax); |
| | | } |
| | |
| | | |
| | | Boolean editArrayData(List<ServiceDonateorgan> serviceDonateorgans); |
| | | |
| | | List<ServiceDonateorgan> countList(ServiceDonateorgan serviceDonateorgan); |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.project.domain.ServiceFundtax; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-03-13 |
| | | */ |
| | | public interface IServiceFundtaxService extends IService<ServiceFundtax> |
| | | { |
| | | |
| | | /** |
| | | * æ¥è¯¢ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»å表 |
| | | * |
| | | * @param serviceFundtax ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸» |
| | | * @return ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»éå |
| | | */ |
| | | public List<ServiceFundtax> queryList(ServiceFundtax serviceFundtax); |
| | | } |
| | |
| | | import com.ruoyi.project.domain.vo.countByRecordStateVO; |
| | | import com.ruoyi.project.mapper.*; |
| | | import com.ruoyi.project.service.*; |
| | | import com.ruoyi.system.mapper.SysUserMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | |
| | | |
| | | @Autowired |
| | | private IServiceDonatecompletioninfoService serviceDonatecompletioninfoService; |
| | | @Autowired |
| | | private SysUserMapper sysUserMapper; |
| | | |
| | | |
| | | /** |
| | |
| | | donatebaseinfo.put("updatetime", serviceDonatebaseinfo.getUpdateTime() != null ? DateUtils.parseDateToStr("yyyy-MM-dd HH:mm:ss", serviceDonatebaseinfo.getUpdateTime()) : ""); |
| | | donatebaseinfo.put("createperson", null); |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfo.getCreateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceDonatebaseinfo.getCreateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | donatebaseinfo.put("createperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceDonatebaseinfo.getCreateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | donatebaseinfo.put("createperson", sysUser.getNickName()); |
| | | } |
| | | } |
| | | donatebaseinfo.put("updateperson", null); |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfo.getUpdateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceDonatebaseinfo.getUpdateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | donatebaseinfo.put("updateperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceDonatebaseinfo.getUpdateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | donatebaseinfo.put("updateperson", sysUser.getNickName()); |
| | | } |
| | | } |
| | | donatebaseinfo.put("process", ""); |
| | | //å°è£
serviceDonateorganæ½å¨æç®è¿åæ°æ® |
| | |
| | | medicalevaluation.put("updatetime", serviceMedicalevaluations.get(0).getUpdateTime() != null ? DateUtils.parseDateToStr("yyyy-MM-dd HH:mm:ss", serviceMedicalevaluations.get(0).getUpdateTime()) : null); |
| | | medicalevaluation.put("createperson", null); |
| | | if (StringUtils.isNotBlank(serviceMedicalevaluations.get(0).getCreateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceMedicalevaluations.get(0).getCreateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | medicalevaluation.put("createperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceMedicalevaluations.get(0).getCreateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | medicalevaluation.put("createperson", sysUser.getNickName()); |
| | | } |
| | | } |
| | | medicalevaluation.put("updateperson", null); |
| | | if (StringUtils.isNotBlank(serviceMedicalevaluations.get(0).getUpdateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceMedicalevaluations.get(0).getUpdateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | medicalevaluation.put("updateperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceMedicalevaluations.get(0).getUpdateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | medicalevaluation.put("updateperson", sysUser.getNickName()); |
| | | } |
| | | |
| | | } |
| | | medicalevaluation.put("process", ""); |
| | | } |
| | |
| | | relativesconfirmation.put("updatetime", serviceRelativesconfirmations.get(0).getUpdateTime() != null ? DateUtils.parseDateToStr("yyyy-MM-dd HH:mm:ss", serviceRelativesconfirmations.get(0).getUpdateTime()) : ""); |
| | | relativesconfirmation.put("createperson", null); |
| | | if (StringUtils.isNotBlank(serviceRelativesconfirmations.get(0).getCreateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceRelativesconfirmations.get(0).getCreateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | relativesconfirmation.put("createperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceRelativesconfirmations.get(0).getCreateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | relativesconfirmation.put("createperson", sysUser.getNickName()); |
| | | } |
| | | |
| | | } |
| | | relativesconfirmation.put("updateperson", null); |
| | | if (StringUtils.isNotBlank(serviceRelativesconfirmations.get(0).getUpdateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceRelativesconfirmations.get(0).getUpdateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | relativesconfirmation.put("updateperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceRelativesconfirmations.get(0).getUpdateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | relativesconfirmation.put("updateperson", sysUser.getNickName()); |
| | | } |
| | | } |
| | | relativesconfirmation.put("process", ""); |
| | | } |
| | |
| | | donateflowcharts.put("updatetime", serviceEthicalreviewopinionsList.get(0).getUpdateTime() != null ? DateUtils.parseDateToStr("yyyy-MM-dd HH:mm:ss", serviceEthicalreviewopinionsList.get(0).getUpdateTime()) : ""); |
| | | donateflowcharts.put("createperson", null); |
| | | if (StringUtils.isNotBlank(serviceEthicalreviewopinionsList.get(0).getCreateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceEthicalreviewopinionsList.get(0).getCreateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | donateflowcharts.put("createperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceEthicalreviewopinionsList.get(0).getCreateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | donateflowcharts.put("createperson", sysUser.getNickName()); |
| | | } |
| | | |
| | | } |
| | | donateflowcharts.put("updateperson", null); |
| | | if (StringUtils.isNotBlank(serviceEthicalreviewopinionsList.get(0).getUpdateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceEthicalreviewopinionsList.get(0).getUpdateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | donateflowcharts.put("updateperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceEthicalreviewopinionsList.get(0).getUpdateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | donateflowcharts.put("updateperson", sysUser.getNickName()); |
| | | } |
| | | |
| | | } |
| | | donateflowcharts.put("process", ""); |
| | | } |
| | |
| | | |
| | | donateorgansService.put("createperson", null); |
| | | if (StringUtils.isNotBlank(serviceDonateorgans.get(0).getCreateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceDonateorgans.get(0).getCreateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | donateorgansService.put("createperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceDonateorgans.get(0).getCreateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | donateorgansService.put("createperson", sysUser.getNickName()); |
| | | } |
| | | |
| | | } |
| | | donateorgansService.put("updateperson", null); |
| | | if (StringUtils.isNotBlank(serviceDonateorgans.get(0).getUpdateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceDonateorgans.get(0).getUpdateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | donateorgansService.put("updateperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceDonateorgans.get(0).getUpdateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | donateorgansService.put("updateperson", sysUser.getNickName()); |
| | | } |
| | | } |
| | | donateorgansService.put("process", ""); |
| | | } |
| | |
| | | |
| | | donationwitness.put("createperson", null); |
| | | if (StringUtils.isNotBlank(serviceDonationwitness.getCreateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceDonationwitness.getCreateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | donationwitness.put("createperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceDonationwitness.getCreateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | donationwitness.put("createperson", sysUser.getNickName()); |
| | | } |
| | | } |
| | | donationwitness.put("updateperson", null); |
| | | if (StringUtils.isNotBlank(serviceDonationwitness.getUpdateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceDonationwitness.getUpdateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | donationwitness.put("updateperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceDonationwitness.getUpdateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | donationwitness.put("updateperson", sysUser.getNickName()); |
| | | } |
| | | } |
| | | |
| | | donationwitness.put("process", ""); |
| | |
| | | |
| | | donatecompletioninfo.put("createperson", null); |
| | | if (StringUtils.isNotBlank(serviceDonatecompletioninfos.get(0).getCreateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceDonatecompletioninfos.get(0).getCreateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | donatecompletioninfo.put("createperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceDonatecompletioninfos.get(0).getCreateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | donatecompletioninfo.put("createperson", sysUser.getNickName()); |
| | | } |
| | | } |
| | | donatecompletioninfo.put("updateperson", null); |
| | | if (StringUtils.isNotBlank(serviceDonatecompletioninfos.get(0).getUpdateBy())) { |
| | | ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); |
| | | serviceFundflowrule.setCheckuserno(serviceDonatecompletioninfos.get(0).getUpdateBy()); |
| | | List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); |
| | | donatecompletioninfo.put("updateperson", serviceFundflowrules.get(0).getCheckusername()); |
| | | SysUser sysUser = sysUserMapper.selectUserByUserName(serviceDonatecompletioninfos.get(0).getUpdateBy()); |
| | | if (!ObjectUtils.isEmpty(sysUser)) { |
| | | donatecompletioninfo.put("updateperson", sysUser.getNickName()); |
| | | } |
| | | } |
| | | |
| | | donatecompletioninfo.put("process", ""); |
| | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.domain.entity.SysDictData; |
| | | import com.ruoyi.common.core.domain.entity.SysRole; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.project.domain.*; |
| | | import com.ruoyi.project.domain.vo.*; |
| | |
| | | map_accept.put(org_accept.getCity(), map_accept.getOrDefault(org_accept.getCity(), 0) + 1); |
| | | } |
| | | } |
| | | // List<BasePrcaddressDict> city = basePrcaddressDictMapper.getAllCityOfZJ(); |
| | | // for(BasePrcaddressDict c : city){ |
| | | // NumberOfOrgans numberOfOrgans = new NumberOfOrgans(); |
| | | // numberOfOrgans.setDistrict(c.getAreaname()); |
| | | // numberOfOrgans.setNumberOfHospitals(baseOrganizationMapper.getOrganizationByCity(c.getAreanumber())); |
| | | // numberOfOrgans.setDonateNumber(map_donate.getOrDefault(c.getAreaname(),0)); |
| | | // numberOfOrgans.setAcceptNumber(map_accept.getOrDefault(c.getAreaname(),0)); |
| | | // list.add(numberOfOrgans); |
| | | // } |
| | | |
| | | List<String> regions = new ArrayList<String>(); |
| | | regions.add("0"); |
| | |
| | | log.info("serviceDonateorgançæ°æ®ä¸º: {}", serviceDonateorgan); |
| | | boolean save = this.save(serviceDonateorgan); |
| | | |
| | | |
| | | // //ä¿åservice_organallocation |
| | | // ServiceOrganallocation serviceOrganallocation = new ServiceOrganallocation(); |
| | | // serviceOrganallocation.setAgeunit(serviceDonateorgan.getAgeunit()); |
| | | // serviceOrganallocation.setApplicanttime(serviceDonateorgan.getApplicanttime()); |
| | | // serviceOrganallocation.setIdcardno(serviceDonateorgan.getIdcardno()); |
| | | // serviceOrganallocation.setIdcardtype(Long.valueOf(serviceDonateorgan.getIdcardtype())); |
| | | // serviceOrganallocation.setOrganid(serviceDonateorgan.getId()); |
| | | // serviceOrganallocation.setOrgannumber(serviceDonateorgan.getOrgannumber()); |
| | | // log.info("serviceOrganallocationçæ°æ®ä¸º: {}", serviceOrganallocation); |
| | | // serviceOrganallocationService.save(serviceOrganallocation); |
| | | } |
| | | return serviceDonateorgans; |
| | | } |
| | |
| | | return true; |
| | | } |
| | | |
| | | |
| | | // @Override |
| | | // public List<DonateByRegionVO> OrgansOfHospitalByMonth() { |
| | | // List<BaseOrganization> baseOrganizations = baseOrganizationMapper.getHospitalList(); |
| | | // List<DonateByRegionVO> l = new ArrayList<>(); |
| | | // List<ServiceDonatebaseinfo> serviceDonatebaseinfos = serviceDonatebaseinfoMapper.getAllDonateBaseInfo(); |
| | | // |
| | | // for(BaseOrganization b : baseOrganizations){ |
| | | // HashMap<String, Integer> map_baseinfo_count = new HashMap<String, Integer>(); |
| | | // HashMap<String, Integer> map_completion_count = new HashMap<String, Integer>(); |
| | | // //List<ServiceDonatebaseinfo> serviceDonatebaseinfos = serviceDonatebaseinfoMapper.getBaseInfoByHospital(b.getOrganizationid()); |
| | | // List<ServiceDonatebaseinfo> serviceDonatebaseinfoOfThisHospital = new ArrayList<>(); |
| | | // for(ServiceDonatebaseinfo sd : serviceDonatebaseinfos){ |
| | | // if(b.getOrganizationid().equals(sd.getTreatmenthospitalno())){ |
| | | // serviceDonatebaseinfoOfThisHospital.add(sd); |
| | | // } |
| | | // } |
| | | // for(ServiceDonatebaseinfo s : serviceDonatebaseinfoOfThisHospital){ |
| | | // Date dt = s.getReporttime(); |
| | | // SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
| | | // String date = formatter.format(dt); |
| | | // String month = date.substring(0, 7); |
| | | // map_baseinfo_count.put(month, map_baseinfo_count.getOrDefault(month,0) + 1); |
| | | // ServiceDonatecompletioninfo sc = serviceDonatecompletioninfoMapper.getByInfoId(s.getId()); |
| | | // if(sc != null){ |
| | | // map_completion_count.put(month, map_completion_count.getOrDefault(month,0) + 1); |
| | | // } |
| | | // else{ |
| | | // map_completion_count.put(month, map_completion_count.getOrDefault(month,0)); |
| | | // } |
| | | // |
| | | // } |
| | | // |
| | | // for(Map.Entry<String, Integer> entry: map_baseinfo_count.entrySet()) { |
| | | // DonateByRegionVO d = new DonateByRegionVO(); |
| | | // d.setHospitalNumber(b.getOrganizationid()); |
| | | // d.setHospitalName(b.getOrganizationname()); |
| | | // d.setRegionLevel(b.getRegionallevel()); |
| | | // d.setMonth(entry.getKey()); |
| | | // d.setBaseInfoCount(entry.getValue()); |
| | | // d.setCompletionCount(map_completion_count.get(entry.getKey())); |
| | | // l.add(d); |
| | | // } |
| | | // } |
| | | // return l; |
| | | // } |
| | | |
| | | @Override |
| | | public List<DonateNumberByMonth> getDonatePeopleByMonth(TimeVO timeVO) { |
| | |
| | | return l; |
| | | } |
| | | |
| | | @Override |
| | | public List<ServiceDonateorgan> countList(ServiceDonateorgan serviceDonateorgan) { |
| | | SysUser user = SecurityUtils.getLoginUser().getUser(); |
| | | List<SysRole> l = user.getRoles(); |
| | | Boolean b = false; |
| | | for (SysRole r : l) { |
| | | if (r.getRoleId().longValue() == 3) { |
| | | b = true; |
| | | } |
| | | } |
| | | if (b) { |
| | | serviceDonateorgan.setCreateBy(user.getUserName()); |
| | | } |
| | | return serviceDonateorganMapper.countList(serviceDonateorgan); |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.project.domain.ServiceFundtax; |
| | | import com.ruoyi.project.mapper.ServiceFundtaxMapper; |
| | | import com.ruoyi.project.service.IServiceFundtaxService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-03-13 |
| | | */ |
| | | @Service |
| | | public class ServiceFundtaxServiceImpl extends ServiceImpl<ServiceFundtaxMapper, ServiceFundtax> implements IServiceFundtaxService |
| | | { |
| | | |
| | | |
| | | /** |
| | | * æ¥è¯¢ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸»å表 |
| | | * |
| | | * @param serviceFundtax ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸» |
| | | * @return ä¸å®¶è´¹ç¨ç®ç¨ç³è¯·ä¸» |
| | | */ |
| | | @Override |
| | | public List<ServiceFundtax> queryList(ServiceFundtax serviceFundtax) { |
| | | LambdaQueryWrapper<ServiceFundtax> wrappers = Wrappers.lambdaQuery(); |
| | | if (StringUtils.isNotBlank(serviceFundtax.getApplyno())){ |
| | | wrappers.eq(ServiceFundtax::getApplyno ,serviceFundtax.getApplyno()); |
| | | } |
| | | if (serviceFundtax.getTaxedtime() != null){ |
| | | wrappers.eq(ServiceFundtax::getTaxedtime ,serviceFundtax.getTaxedtime()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getUserno())){ |
| | | wrappers.eq(ServiceFundtax::getUserno ,serviceFundtax.getUserno()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getUsername())){ |
| | | wrappers.like(ServiceFundtax::getUsername ,serviceFundtax.getUsername()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getDeptmentno())){ |
| | | wrappers.eq(ServiceFundtax::getDeptmentno ,serviceFundtax.getDeptmentno()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getDeptmentname())){ |
| | | wrappers.like(ServiceFundtax::getDeptmentname ,serviceFundtax.getDeptmentname()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getManagerno())){ |
| | | wrappers.eq(ServiceFundtax::getManagerno ,serviceFundtax.getManagerno()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getManagername())){ |
| | | wrappers.like(ServiceFundtax::getManagername ,serviceFundtax.getManagername()); |
| | | } |
| | | if (serviceFundtax.getPretaxamount() != null){ |
| | | wrappers.eq(ServiceFundtax::getPretaxamount ,serviceFundtax.getPretaxamount()); |
| | | } |
| | | if (serviceFundtax.getTaxedamount() != null){ |
| | | wrappers.eq(ServiceFundtax::getTaxedamount ,serviceFundtax.getTaxedamount()); |
| | | } |
| | | if (serviceFundtax.getTaxamount() != null){ |
| | | wrappers.eq(ServiceFundtax::getTaxamount ,serviceFundtax.getTaxamount()); |
| | | } |
| | | if (serviceFundtax.getMedicalcost() != null){ |
| | | wrappers.eq(ServiceFundtax::getMedicalcost ,serviceFundtax.getMedicalcost()); |
| | | } |
| | | if (serviceFundtax.getBodymaintaincost() != null){ |
| | | wrappers.eq(ServiceFundtax::getBodymaintaincost ,serviceFundtax.getBodymaintaincost()); |
| | | } |
| | | if (serviceFundtax.getOrgangaincost() != null){ |
| | | wrappers.eq(ServiceFundtax::getOrgangaincost ,serviceFundtax.getOrgangaincost()); |
| | | } |
| | | if (serviceFundtax.getOrganmaintaincost() != null){ |
| | | wrappers.eq(ServiceFundtax::getOrganmaintaincost ,serviceFundtax.getOrganmaintaincost()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getRemark())){ |
| | | wrappers.eq(ServiceFundtax::getRemark ,serviceFundtax.getRemark()); |
| | | } |
| | | if (serviceFundtax.getRecordstatus() != null){ |
| | | wrappers.eq(ServiceFundtax::getRecordstatus ,serviceFundtax.getRecordstatus()); |
| | | } |
| | | if (serviceFundtax.getCheckstatus() != null){ |
| | | wrappers.eq(ServiceFundtax::getCheckstatus ,serviceFundtax.getCheckstatus()); |
| | | } |
| | | if (serviceFundtax.getFlowlevel() != null){ |
| | | wrappers.eq(ServiceFundtax::getFlowlevel ,serviceFundtax.getFlowlevel()); |
| | | } |
| | | if (serviceFundtax.getBackflowlevel() != null){ |
| | | wrappers.eq(ServiceFundtax::getBackflowlevel ,serviceFundtax.getBackflowlevel()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getIsdistribute())){ |
| | | wrappers.eq(ServiceFundtax::getIsdistribute ,serviceFundtax.getIsdistribute()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getRiqi())){ |
| | | wrappers.eq(ServiceFundtax::getRiqi ,serviceFundtax.getRiqi()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getOpochecker())){ |
| | | wrappers.eq(ServiceFundtax::getOpochecker ,serviceFundtax.getOpochecker()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getFinvicepresident())){ |
| | | wrappers.eq(ServiceFundtax::getFinvicepresident ,serviceFundtax.getFinvicepresident()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getBusvicepresident())){ |
| | | wrappers.eq(ServiceFundtax::getBusvicepresident ,serviceFundtax.getBusvicepresident()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getPresident())){ |
| | | wrappers.eq(ServiceFundtax::getPresident ,serviceFundtax.getPresident()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getOfficedirector())){ |
| | | wrappers.eq(ServiceFundtax::getOfficedirector ,serviceFundtax.getOfficedirector()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getFinancedirector())){ |
| | | wrappers.eq(ServiceFundtax::getFinancedirector ,serviceFundtax.getFinancedirector()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getFinancechecher())){ |
| | | wrappers.eq(ServiceFundtax::getFinancechecher ,serviceFundtax.getFinancechecher()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getUploadflag())){ |
| | | wrappers.eq(ServiceFundtax::getUploadflag ,serviceFundtax.getUploadflag()); |
| | | } |
| | | if (serviceFundtax.getUploadtime() != null){ |
| | | wrappers.eq(ServiceFundtax::getUploadtime ,serviceFundtax.getUploadtime()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceFundtax.getUpdownremark())){ |
| | | wrappers.eq(ServiceFundtax::getUpdownremark ,serviceFundtax.getUpdownremark()); |
| | | } |
| | | return this.list(wrappers); |
| | | } |
| | | |
| | | } |
| | |
| | | and OrganGetTime >= #{starttime} and OrganGetTime <= #{endtime} |
| | | </select> |
| | | |
| | | <select id="countList" parameterType="com.ruoyi.project.domain.ServiceOrganallocation" resultMap="ServiceDonateorganResult"> |
| | | select service_donateorgan.* from service_donateorgan |
| | | LEFT JOIN service_donatebaseinfo on service_donateorgan.InfoID=service_donatebaseinfo.ID |
| | | LEFT JOIN base_organization on base_organization.OrganizationID = service_donatebaseinfo.TreatmentHospitalNo |
| | | <where> |
| | | <if test="id != null "> and service_donateorgan.ID = #{id}</if> |
| | | <if test="organnumber != null and organnumber != ''"> and service_donateorgan.OrganNumber = #{organnumber}</if> |
| | | <if test="applicantuserid != null and applicantuserid != ''"> and service_donateorgan.ApplicantUserID = #{applicantuserid}</if> |
| | | <if test="applicantusername != null and applicantusername != ''"> and service_donateorgan.ApplicantUserName like concat('%', #{applicantusername}, '%')</if> |
| | | <if test="applicanttime != null "> and service_donateorgan.ApplicantTime = #{applicanttime}</if> |
| | | <if test="checkuserid != null and checkuserid != ''"> and service_donateorgan.CheckUserID = #{checkuserid}</if> |
| | | <if test="checkusername != null and checkusername != ''"> and service_donateorgan.CheckUserName like concat('%', #{checkusername}, '%')</if> |
| | | <if test="checktime != null "> and service_donateorgan.CheckTime = #{checktime}</if> |
| | | <if test="checksuggestion != null and checksuggestion != ''"> and service_donateorgan.CheckSuggestion = #{checksuggestion}</if> |
| | | <if test="allocationstatus != null "> and service_donateorgan.AllocationStatus = #{allocationstatus}</if> |
| | | <if test="name != null and name != ''"> and service_donateorgan.Name like concat('%', #{name}, '%')</if> |
| | | <if test="sex != null "> and service_donateorgan.Sex = #{sex}</if> |
| | | <if test="idcardtype != null "> and service_donateorgan.IDCardType = #{idcardtype}</if> |
| | | <if test="idcardno != null and idcardno != ''"> and service_donateorgan.IDCardNo = #{idcardno}</if> |
| | | <if test="age != null "> and service_donateorgan.Age = #{age}</if> |
| | | <if test="ageunit != null and ageunit != ''"> and service_donateorgan.AgeUnit = #{ageunit}</if> |
| | | <if test="birthday != null and birthday != ''"> and service_donateorgan.Birthday = #{birthday}</if> |
| | | <if test="phone != null and phone != ''"> and service_donateorgan.Phone = #{phone}</if> |
| | | <if test="residenceaddress != null and residenceaddress != ''"> and service_donateorgan.ResidenceAddress = #{residenceaddress}</if> |
| | | <if test="residenceprovince != null and residenceprovince != ''"> and service_donateorgan.ResidenceProvince = #{residenceprovince}</if> |
| | | <if test="residenceprovincename != null and residenceprovincename != ''"> and service_donateorgan.ResidenceProvinceName like concat('%', #{residenceprovincename}, '%')</if> |
| | | <if test="residencecity != null and residencecity != ''"> and service_donateorgan.ResidenceCity = #{residencecity}</if> |
| | | <if test="residencecityname != null and residencecityname != ''"> and service_donateorgan.ResidenceCityName like concat('%', #{residencecityname}, '%')</if> |
| | | <if test="residencetown != null and residencetown != ''"> and service_donateorgan.ResidenceTown = #{residencetown}</if> |
| | | <if test="residencetownname != null and residencetownname != ''"> and service_donateorgan.ResidenceTownName like concat('%', #{residencetownname}, '%')</if> |
| | | <if test="residencecommunity != null and residencecommunity != ''"> and service_donateorgan.ResidenceCommunity = #{residencecommunity}</if> |
| | | <if test="residencecommunityname != null and residencecommunityname != ''"> and service_donateorgan.ResidenceCommunityName like concat('%', #{residencecommunityname}, '%')</if> |
| | | <if test="residencecountycode != null and residencecountycode != ''"> and service_donateorgan.ResidenceCountyCode = #{residencecountycode}</if> |
| | | <if test="residencecountyname != null and residencecountyname != ''"> and service_donateorgan.ResidenceCountyName like concat('%', #{residencecountyname}, '%')</if> |
| | | <if test="createBy != null and createBy != ''"> and service_donateorgan.create_by = #{createBy}</if> |
| | | <if test="starttime != null "> and `service_donateorgan`.ApplicantTime >= #{starttime} </if> |
| | | <if test="endtime != null "> and `service_donateorgan`.ApplicantTime <= #{endtime}</if> |
| | | <if test="reporterno != null and reporterno != ''"> and `service_donatebaseinfo`.ReporterNo = #{reporterno}</if> |
| | | <if test="city != null and city != ''"> and `base_organization`.`City` = #{city}</if> |
| | | </where> |
| | | |
| | | order by create_time desc |
| | | </select> |
| | | |
| | | </mapper> |
| | |
| | | `base_organization`.`OrganizationID` = `service_donatebaseinfo`.`TreatmentHospitalNo` |
| | | |
| | | <where> |
| | | service_donationwitness.del_flag=0 |
| | | <if test="donorno != null and donorno != ''">and `service_donatebaseinfo`.`DonorNo` = #{donorno}</if> |
| | | <if test="name != null and name != ''">and `service_donatebaseinfo`.`Name` like concat('%', #{name}, '%') |
| | | </if> |
| | |
| | | #{reporterno} |
| | | </if> |
| | | <if test="city != null and city != ''">and `base_organization`.`City` = #{city}</if> |
| | | <if test="workflow != null "> and `service_donatebaseinfo`.`workflow` = #{workflow}</if> |
| | | <if test="workflow != null ">and `service_donatebaseinfo`.`workflow` = #{workflow}</if> |
| | | </where> |
| | | |
| | | order by `service_donationwitness`.`create_time` desc |
| | |
| | | </select> |
| | | <select id="selectVOList" resultType="com.ruoyi.project.domain.vo.EthicalReviewVO"> |
| | | SELECT |
| | | `service_donatebaseinfo`.`ID` AS `ID`, |
| | | `service_donatebaseinfo`.`Name` AS `Name`, |
| | | `service_donatebaseinfo`.`Sex` AS `Sex`, |
| | | `service_donatebaseinfo`.`IDCardNo` AS `IDCardNo`, |
| | | `service_donatebaseinfo`.`Age` AS `Age`, |
| | | `service_donatebaseinfo`.`Birthday` AS `Birthday`, |
| | | `service_donatebaseinfo`.`Nationality` AS `Nationality`, |
| | | `service_donatebaseinfo`.`Nation` AS `Nation`, |
| | | `service_donatebaseinfo`.`RegisterAddress` AS `RegisterAddress`, |
| | | `service_donatebaseinfo`.`RegisterProvince` AS `RegisterProvince`, |
| | | `service_donatebaseinfo`.`RegisterProvinceName` AS `RegisterProvinceName`, |
| | | `service_donatebaseinfo`.`RegisterCity` AS `RegisterCity`, |
| | | `service_donatebaseinfo`.`RegisterCityName` AS `RegisterCityName`, |
| | | `service_donatebaseinfo`.`RegisterTown` AS `RegisterTown`, |
| | | `service_donatebaseinfo`.`RegisterTownName` AS `RegisterTownName`, |
| | | `service_donatebaseinfo`.`RegisterCommunity` AS `RegisterCommunity`, |
| | | `service_donatebaseinfo`.`RegisterCommunityName` AS `RegisterCommunityName`, |
| | | `service_donatebaseinfo`.`RegisterCountyCode` AS `RegisterCountyCode`, |
| | | `service_donatebaseinfo`.`RegisterCountyName` AS `RegisterCountyName`, |
| | | `service_donatebaseinfo`.`RecordState` AS `RecordState`, |
| | | `service_donatebaseinfo`.`TreatmentHospitalNo` AS `TreatmentHospitalNo`, |
| | | `service_donatebaseinfo`.`TreatmentHospitalName` AS `TreatmentHospitalName`, |
| | | `service_donatebaseinfo`.`TreatmentDeptName` AS `TreatmentDeptName`, |
| | | `service_donatebaseinfo`.`DiagnosisNo` AS `DiagnosisNo`, |
| | | `service_donatebaseinfo`.`DiagnosisName` AS `DiagnosisName`, |
| | | `service_donatebaseinfo`.`DonorNo` AS `DonorNo`, |
| | | `service_donatebaseinfo`.`ReporterNo` AS `ReporterNo`, |
| | | `service_donatebaseinfo`.`ReporterName` AS `ReporterName`, |
| | | `service_donatebaseinfo`.`ReporterPhone` AS `ReporterPhone`, |
| | | `service_donatebaseinfo`.`ReportTime` AS `ReportTime`, |
| | | `service_donatebaseinfo`.`BloodType` AS `BloodType`, |
| | | `service_donatebaseinfo`.`RhYin` AS `RhYin`, |
| | | `service_donatebaseinfo`.`InpatientNo` AS `InpatientNo`, |
| | | `service_donatebaseinfo`.`IllnessOverview` AS `IllnessOverview`, |
| | | `service_donatebaseinfo`.`DiseaseType` AS `DiseaseType`, |
| | | `service_donatebaseinfo`.`PatientState` AS `PatientState`, |
| | | `service_donatebaseinfo`.`create_by` AS `basecreateby`, |
| | | `service_donatebaseinfo`.`workflow` AS `workflow;`, |
| | | `service_donatebaseinfo`.`termination_case` AS `terminationCase;`, |
| | | `service_donateflowchart`.`ID` AS `fcID`, |
| | | `service_donateflowchart`.`InfoID` AS `InfoID`, |
| | | `service_donateflowchart`.`DonorNo` AS `fcDonorNo`, |
| | | `service_donateflowchart`.`del_flag` AS `delFlag`, |
| | | `service_donateflowchart`.`create_by` AS `createBy`, |
| | | `service_donateflowchart`.`create_time` AS `createTime`, |
| | | `service_donateflowchart`.`update_by` AS `updateBy`, |
| | | `service_donateflowchart`.`update_time` AS `updateTime`, |
| | | `service_donateflowchart`.`FlowName` AS `FlowName`, |
| | | `service_donateflowchart`.`FlowAnnex` AS `FlowAnnex`, |
| | | `service_donateflowchart`.`FlowContent` AS `FlowContent`, |
| | | `service_donateflowchart`.`FlowConclusion` AS `FlowConclusion` |
| | | service_donatebaseinfo.ID as id, |
| | | service_donatebaseinfo.`Name` as name, |
| | | service_donatebaseinfo.IDCardNo as idcardno, |
| | | service_donatebaseinfo.IDCardType as idcardtype, |
| | | service_donatebaseinfo.Sex as sex, |
| | | service_donatebaseinfo.Age as age, |
| | | service_donatebaseinfo.AgeUnit as ageUnit, |
| | | service_donatebaseinfo.Birthday as irthday, |
| | | service_donatebaseinfo.Phone as phone, |
| | | service_donatebaseinfo.Nationality as nationality, |
| | | service_donatebaseinfo.NativePlace as nativePlace, |
| | | service_donatebaseinfo.Nation as nation, |
| | | service_donatebaseinfo.RegisterAddress as registerAddress, |
| | | service_donatebaseinfo.RegisterProvince as registerProvince, |
| | | service_donatebaseinfo.RegisterProvinceName as registerProvinceName, |
| | | service_donatebaseinfo.RegisterCity as registerCity, |
| | | service_donatebaseinfo.RegisterCityName aS registerCityName, |
| | | service_donatebaseinfo.RegisterTown as registerTown, |
| | | service_donatebaseinfo.RegisterTownName as registerTownName, |
| | | service_donatebaseinfo.RegisterCommunity as registerCommunity, |
| | | service_donatebaseinfo.RegisterCommunityName as registerCommunityName, |
| | | service_donatebaseinfo.RegisterCountyCode as registerCountyCode, |
| | | service_donatebaseinfo.RegisterCountyName as registerCountyName, |
| | | service_donatebaseinfo.RecordState as recordState, |
| | | service_donatebaseinfo.TreatmentHospitalNo as treatmentHospitalNo, |
| | | service_donatebaseinfo.TreatmentHospitalName as treatmentHospitalName, |
| | | service_donatebaseinfo.TreatmentDeptName as treatmentDeptName, |
| | | service_donatebaseinfo.DiagnosisNo as diagnosisNo, |
| | | service_donatebaseinfo.DiagnosisName as diagnosisName, |
| | | service_donatebaseinfo.BloodType as bloodType, |
| | | service_donatebaseinfo.RhYin as rhYin, |
| | | service_donatebaseinfo.InpatientNo as inpatientNo, |
| | | service_donatebaseinfo.DonorNo as donorNo, |
| | | service_donatebaseinfo.DonationCategory as donationcategory, |
| | | service_donatebaseinfo.IllnessOverview as illnessoverview, |
| | | service_donatebaseinfo.DiseaseType as diseasetype, |
| | | service_donatebaseinfo.DiseaseType_Other as diseasetypeOther, |
| | | service_donatebaseinfo.create_by as createBy, |
| | | service_donatebaseinfo.create_time as createTime, |
| | | service_donatebaseinfo.del_flag as delFlag, |
| | | service_donatebaseinfo.workflow, |
| | | service_donatebaseinfo.termination_case as terminationCase, |
| | | service_donatebaseinfo.donatetime, |
| | | service_donatebaseinfo.donateno, |
| | | service_donatebaseinfo.deptid, |
| | | service_donatebaseinfo.deptname, |
| | | service_ethicalreviewopinions.ID as fcid, |
| | | service_ethicalreviewopinions.ExpertOpinion as expertopinion, |
| | | service_ethicalreviewopinions.ExpertConclusion as expertconclusion, |
| | | service_ethicalreviewopinions.ExpertName as expertname, |
| | | service_ethicalreviewopinions.ConclusionTime as conclusiontime, |
| | | service_ethicalreviewopinions.ConclusionAnnex as conclusionannex, |
| | | service_ethicalreviewopinions.ConclusionOrder as conclusionorder |
| | | FROM |
| | | service_donatebaseinfo |
| | | LEFT JOIN |
| | | service_ethicalreviewopinions |
| | | ON |
| | | service_donatebaseinfo.ID = service_ethicalreviewopinions.InfoID |
| | | LEFT JOIN base_organization ON |
| | | base_organization.OrganizationID = service_donatebaseinfo.TreatmentHospitalNo |
| | | |
| | | `service_donatebaseinfo` |
| | | LEFT JOIN `service_donateflowchart` ON |
| | | `service_donatebaseinfo`.`ID` = `service_donateflowchart`.`InfoID` |
| | | AND `service_donateflowchart`.`FlowName` = '伦ç审æ¥' |
| | | LEFT JOIN `base_organization` ON |
| | | `base_organization`.`OrganizationID` = `service_donatebaseinfo`.`TreatmentHospitalNo` |
| | | <where> |
| | | <if test="donorno != null and donorno != ''">and `service_donatebaseinfo`.`DonorNo` = #{donorno}</if> |
| | | <if test="name != null and name != ''">and `service_donatebaseinfo`.`Name` like concat('%', #{name}, '%') |
| | |
| | | <if test="basecreateby != null and basecreateby != ''">and `service_donatebaseinfo`.`create_by` = |
| | | #{basecreateby} |
| | | </if> |
| | | <if test="starttime != null ">and `service_donateflowchart`.create_time >= #{starttime}</if> |
| | | <if test="endtime != null ">and `service_donateflowchart`.create_time <= #{endtime}</if> |
| | | <if test="starttime != null ">and `service_ethicalreviewopinions`.ConclusionTime >= #{starttime}</if> |
| | | <if test="endtime != null ">and `service_ethicalreviewopinions`.ConclusionTime <= #{endtime}</if> |
| | | <if test="reporterno != null and reporterno != ''">and `service_donatebaseinfo`.ReporterNo = |
| | | #{reporterno} |
| | | </if> |
| | | <if test="city != null and city != ''">and `base_organization`.`City` = #{city}</if> |
| | | <if test="fcid != null ">and `service_donateflowchart`.`ID` = #{fcid}</if> |
| | | <if test="fcid != null ">and `service_ethicalreviewopinions`.`ID` = #{fcid}</if> |
| | | <if test="workflow != null "> and `service_donatebaseinfo`.`workflow` = #{workflow}</if> |
| | | </where> |
| | | |
| | | order by `service_donateflowchart`.`create_time` desc |
| | | order by `service_ethicalreviewopinions`.`ConclusionTime` desc |
| | | |
| | | </select> |
| | | <select id="countNumber" resultType="java.lang.Integer"> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?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.ruoyi.project.mapper.ServiceFundtaxMapper"> |
| | | |
| | | <resultMap type="com.ruoyi.project.domain.ServiceFundtax" id="ServiceFundtaxResult"> |
| | | <result property="id" column="ID"/> |
| | | <result property="applyno" column="ApplyNo"/> |
| | | <result property="taxedtime" column="taxedtime"/> |
| | | <result property="userno" column="UserNo"/> |
| | | <result property="username" column="UserName"/> |
| | | <result property="deptmentno" column="DeptmentNo"/> |
| | | <result property="deptmentname" column="DeptmentName"/> |
| | | <result property="managerno" column="ManagerNo"/> |
| | | <result property="managername" column="ManagerName"/> |
| | | <result property="pretaxamount" column="Pretaxamount"/> |
| | | <result property="taxedamount" column="TaxedAmount"/> |
| | | <result property="taxamount" column="TaxAmount"/> |
| | | <result property="medicalcost" column="MedicalCost"/> |
| | | <result property="bodymaintaincost" column="BodyMaintainCost"/> |
| | | <result property="organgaincost" column="OrganGainCost"/> |
| | | <result property="organmaintaincost" column="OrganMaintainCost"/> |
| | | <result property="remark" column="Remark"/> |
| | | <result property="recordstatus" column="RecordStatus"/> |
| | | <result property="checkstatus" column="checkstatus"/> |
| | | <result property="flowlevel" column="FlowLevel"/> |
| | | <result property="backflowlevel" column="backFlowLevel"/> |
| | | <result property="isdistribute" column="Isdistribute"/> |
| | | <result property="riqi" column="riqi"/> |
| | | <result property="opochecker" column="OPOchecker"/> |
| | | <result property="finvicepresident" column="FinVicePresident"/> |
| | | <result property="busvicepresident" column="BusVicePresident"/> |
| | | <result property="president" column="president"/> |
| | | <result property="officedirector" column="OfficeDirector"/> |
| | | <result property="financedirector" column="FinanceDirector"/> |
| | | <result property="financechecher" column="FinanceChecher"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="uploadflag" column="uploadflag"/> |
| | | <result property="uploadtime" column="uploadtime"/> |
| | | <result property="updownremark" column="updownremark"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceFundtaxVo"> |
| | | select ID, |
| | | ApplyNo, |
| | | taxedtime, |
| | | UserNo, |
| | | UserName, |
| | | DeptmentNo, |
| | | DeptmentName, |
| | | ManagerNo, |
| | | ManagerName, |
| | | Pretaxamount, |
| | | TaxedAmount, |
| | | TaxAmount, |
| | | MedicalCost, |
| | | BodyMaintainCost, |
| | | OrganGainCost, |
| | | OrganMaintainCost, |
| | | Remark, |
| | | RecordStatus, |
| | | checkstatus, |
| | | FlowLevel, |
| | | backFlowLevel, |
| | | Isdistribute, |
| | | riqi, |
| | | OPOchecker, |
| | | FinVicePresident, |
| | | BusVicePresident, |
| | | president, |
| | | OfficeDirector, |
| | | FinanceDirector, |
| | | FinanceChecher, |
| | | del_flag, |
| | | create_by, |
| | | create_time, |
| | | update_by, |
| | | update_time, |
| | | uploadflag, |
| | | uploadtime, |
| | | updownremark |
| | | from service_fundtax |
| | | </sql> |
| | | |
| | | <select id="selectServiceFundtaxList" parameterType="com.ruoyi.project.domain.ServiceFundtax" |
| | | resultMap="ServiceFundtaxResult"> |
| | | <include refid="selectServiceFundtaxVo"/> |
| | | <where> |
| | | <if test="applyno != null and applyno != ''">and ApplyNo = #{applyno}</if> |
| | | <if test="taxedtime != null ">and taxedtime = #{taxedtime}</if> |
| | | <if test="userno != null and userno != ''">and UserNo = #{userno}</if> |
| | | <if test="username != null and username != ''">and UserName like concat('%', #{username}, '%')</if> |
| | | <if test="deptmentno != null and deptmentno != ''">and DeptmentNo = #{deptmentno}</if> |
| | | <if test="deptmentname != null and deptmentname != ''">and DeptmentName like concat('%', #{deptmentname}, |
| | | '%') |
| | | </if> |
| | | <if test="managerno != null and managerno != ''">and ManagerNo = #{managerno}</if> |
| | | <if test="managername != null and managername != ''">and ManagerName like concat('%', #{managername}, |
| | | '%') |
| | | </if> |
| | | <if test="pretaxamount != null ">and Pretaxamount = #{pretaxamount}</if> |
| | | <if test="taxedamount != null ">and TaxedAmount = #{taxedamount}</if> |
| | | <if test="taxamount != null ">and TaxAmount = #{taxamount}</if> |
| | | <if test="medicalcost != null ">and MedicalCost = #{medicalcost}</if> |
| | | <if test="bodymaintaincost != null ">and BodyMaintainCost = #{bodymaintaincost}</if> |
| | | <if test="organgaincost != null ">and OrganGainCost = #{organgaincost}</if> |
| | | <if test="organmaintaincost != null ">and OrganMaintainCost = #{organmaintaincost}</if> |
| | | <if test="remark != null and remark != ''">and Remark = #{remark}</if> |
| | | <if test="recordstatus != null ">and RecordStatus = #{recordstatus}</if> |
| | | <if test="checkstatus != null ">and checkstatus = #{checkstatus}</if> |
| | | <if test="flowlevel != null ">and FlowLevel = #{flowlevel}</if> |
| | | <if test="backflowlevel != null ">and backFlowLevel = #{backflowlevel}</if> |
| | | <if test="isdistribute != null and isdistribute != ''">and Isdistribute = #{isdistribute}</if> |
| | | <if test="riqi != null and riqi != ''">and riqi = #{riqi}</if> |
| | | <if test="opochecker != null and opochecker != ''">and OPOchecker = #{opochecker}</if> |
| | | <if test="finvicepresident != null and finvicepresident != ''">and FinVicePresident = #{finvicepresident} |
| | | </if> |
| | | <if test="busvicepresident != null and busvicepresident != ''">and BusVicePresident = #{busvicepresident} |
| | | </if> |
| | | <if test="president != null and president != ''">and president = #{president}</if> |
| | | <if test="officedirector != null and officedirector != ''">and OfficeDirector = #{officedirector}</if> |
| | | <if test="financedirector != null and financedirector != ''">and FinanceDirector = #{financedirector}</if> |
| | | <if test="financechecher != null and financechecher != ''">and FinanceChecher = #{financechecher}</if> |
| | | <if test="uploadflag != null and uploadflag != ''">and uploadflag = #{uploadflag}</if> |
| | | <if test="uploadtime != null ">and uploadtime = #{uploadtime}</if> |
| | | <if test="updownremark != null and updownremark != ''">and updownremark = #{updownremark}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | </mapper> |
| | |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.ruoyi.project.mapper.ServiceOrganallocationMapper"> |
| | | |
| | | |
| | | <resultMap type="com.ruoyi.project.domain.ServiceOrganallocation" id="ServiceOrganallocationResult"> |
| | | <result property="id" column="ID" /> |
| | | <result property="organid" column="OrganID" /> |