| | |
| | | private String reportername; |
| | | |
| | | /** |
| | | * 案例区域 |
| | | */ |
| | | @ApiModelProperty("案例区域") |
| | | @Excel(name = "案例区域") |
| | | private String regionalLevel; |
| | | |
| | | /** |
| | | * 案例时间 |
| | | */ |
| | | @ApiModelProperty("案例时间") |
| | |
| | | private Date donatetime; |
| | | |
| | | /** |
| | | * 开始时间 |
| | | */ |
| | | @ApiModelProperty("开始时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date starttime; |
| | | |
| | | /** |
| | | * 结束时间 |
| | | */ |
| | | @ApiModelProperty("结束时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date endtime; |
| | | |
| | | /** |
| | | * 报告时间 |
| | | */ |
| | | @ApiModelProperty("报告时间") |
| | |
| | | if (StringUtils.isNotBlank(vDonationworkflow.getDeptname())){ |
| | | wrappers.like(VDonationworkflow::getDeptname ,vDonationworkflow.getDeptname()); |
| | | } |
| | | if (StringUtils.isNotBlank(vDonationworkflow.getRegionalLevel())){ |
| | | wrappers.eq(VDonationworkflow::getRegionalLevel ,vDonationworkflow.getRegionalLevel()); |
| | | } |
| | | if (StringUtils.isNotBlank(vDonationworkflow.getReporterno())){ |
| | | wrappers.eq(VDonationworkflow::getReporterno ,vDonationworkflow.getReporterno()); |
| | | } |
| | |
| | | wrappers.like(VDonationworkflow::getReportername ,vDonationworkflow.getReportername()); |
| | | } |
| | | if (vDonationworkflow.getDonatetime() != null){ |
| | | wrappers.eq(VDonationworkflow::getDonatetime ,vDonationworkflow.getDonatetime()); |
| | | wrappers.ge(VDonationworkflow::getDonatetime ,vDonationworkflow.getStarttime()); |
| | | } |
| | | if (vDonationworkflow.getDonatetime() != null){ |
| | | wrappers.lt(VDonationworkflow::getDonatetime ,vDonationworkflow.getEndtime()); |
| | | } |
| | | if (vDonationworkflow.getReporttime() != null){ |
| | | wrappers.eq(VDonationworkflow::getReporttime ,vDonationworkflow.getReporttime()); |
| | |
| | | <result property="organcount" column="organcount"/> |
| | | <result property="operationbegtime" column="operationBegTime"/> |
| | | <result property="completetime" column="completeTime"/> |
| | | <result property="regionalLevel" column="regionalLevel"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectVDonationworkflowVo"> |
| | |
| | | conclusionTime, |
| | | organcount, |
| | | operationBegTime, |
| | | completeTime |
| | | completeTime, |
| | | regionalLevel |
| | | from v_donationworkflow |
| | | </sql> |
| | | |
| | |
| | | <if test="reportername != null and reportername != ''">and reporterName like concat('%', #{reportername}, |
| | | '%') |
| | | </if> |
| | | -- |
| | | <if test="donatetime != null ">and donatetime = #{donatetime}</if> |
| | | <if test="reporttime != null ">and ReportTime = #{reporttime}</if> |
| | | <if test="starttime != null ">and donatetime >= #{starttime}</if> |
| | | <if test="endtime != null ">and donatetime <= #{endtime} |
| | | </if> |
| | | <if test="coreteamassessconclusion != null and coreteamassessconclusion != ''">and CoreTeamAssessConclusion |
| | | = #{coreteamassessconclusion} |
| | | </if> |
| | |
| | | <if test="organcount != null ">and organcount = #{organcount}</if> |
| | | <if test="operationbegtime != null ">and operationBegTime = #{operationbegtime}</if> |
| | | <if test="completetime != null ">and completeTime = #{completetime}</if> |
| | | <if test="regionalLevel != null ">and regionalLevel = #{regionalLevel}</if> |
| | | </where> |
| | | </select> |
| | | |