yxh
2 天以前 a485c380200759905753498875dd260cce9cddf7
ruoyi-project/src/main/resources/mapper/project/ServiceDonorchargeorganMapper.xml
@@ -148,9 +148,20 @@
        where id = #{id} and del_flag=0
    </update>
    <resultMap id="SpStatChangeResult" type="com.ruoyi.project.domain.SpStatChange">
        <result property="hospitalname" column="HospitalName"/>
        <result property="amount" column="amount"/>
        <result property="nonpayment" column="nonpayment"/>
        <result property="organcharge" column="organcharge"/>
    </resultMap>
    <select id="getListBySpStatChange" statementType="CALLABLE"
            resultType="com.ruoyi.project.domain.SpStatChange">
        call `SP_STAT_CHANGE`(#{PAHOSPITALNO,mode=IN,jdbcType=VARCHAR},#{PACHAGEFLAG,mode=IN,jdbcType=VARCHAR}
            resultMap="SpStatChangeResult">
        call `SP_STAT_CHANGE`(
            #{PABEGTIME,mode=IN,jdbcType=VARCHAR},
            #{PAENDTIME,mode=IN,jdbcType=VARCHAR},
            #{PAHOSPITALNAME,mode=IN,jdbcType=VARCHAR}
        )
    </select>
</mapper>