liusheng
2024-07-26 fb4d7127cd860b39e1c1c4242cfbbc09a659fc7a
ruoyi-project/src/main/resources/mapper/project/VDonationworkflowMapper.xml
@@ -27,10 +27,30 @@
    </resultMap>
    <sql id="selectVDonationworkflowVo">
        select id, name, IDCardNo, workflow, terminationCase, deptid, deptname, reporterNo, reporterName, donatetime, ReportTime, CoreTeamAssessConclusion, coreTeamAssessTime, signdate, ExpertConclusion, conclusionTime, organcount, operationBegTime, completeTime from v_donationworkflow
        select id,
               name,
               IDCardNo,
               workflow,
               terminationCase,
               deptid,
               deptname,
               reporterNo,
               reporterName,
               donatetime,
               ReportTime,
               CoreTeamAssessConclusion,
               coreTeamAssessTime,
               signdate,
               ExpertConclusion,
               conclusionTime,
               organcount,
               operationBegTime,
               completeTime
        from v_donationworkflow
    </sql>
    <select id="selectVDonationworkflowList" parameterType="com.ruoyi.project.domain.VDonationworkflow" resultMap="VDonationworkflowResult">
    <select id="selectVDonationworkflowList" parameterType="com.ruoyi.project.domain.VDonationworkflow"
            resultMap="VDonationworkflowResult">
        <include refid="selectVDonationworkflowVo"/>
        <where>
            <if test="name != null  and name != ''"> and name like concat('%', #{name}, '%')</if>
@@ -40,10 +60,14 @@
            <if test="deptid != null "> and deptid = #{deptid}</if>
            <if test="deptname != null  and deptname != ''"> and deptname like concat('%', #{deptname}, '%')</if>
            <if test="reporterno != null  and reporterno != ''"> and reporterNo = #{reporterno}</if>
            <if test="reportername != null  and reportername != ''"> and reporterName like concat('%', #{reportername}, '%')</if>
            <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="coreteamassessconclusion != null  and coreteamassessconclusion != ''"> and CoreTeamAssessConclusion = #{coreteamassessconclusion}</if>
            <if test="coreteamassessconclusion != null  and coreteamassessconclusion != ''">and CoreTeamAssessConclusion
                = #{coreteamassessconclusion}
            </if>
            <if test="coreteamassesstime != null "> and coreTeamAssessTime = #{coreteamassesstime}</if>
            <if test="signdate != null "> and signdate = #{signdate}</if>
            <if test="expertconclusion != null "> and ExpertConclusion = #{expertconclusion}</if>