|  |  | 
 |  |  |         <result property="deptmentname" column="DeptmentName"/> | 
 |  |  |         <result property="opochecker" column="OPOchecker"/> | 
 |  |  |         <result property="finvicepresident" column="FinVicePresident"/> | 
 |  |  |         <result property="financechecher" column="FinanceChecher"/> | 
 |  |  |         <result property="president" column="president"/> | 
 |  |  |         <result property="busvicepresident" column="BusVicePresident"/> | 
 |  |  |         <result property="officedirector" column="OfficeDirector"/> | 
 |  |  | 
 |  |  |         <result property="jxrq" column="jxrq"/> | 
 |  |  |         <result property="fundTaxId" column="fund_tax_id"/> | 
 |  |  |         <result property="taxcost" column="TaxCost"/> | 
 |  |  |         <result property="summaryId" column="summary_id"/> | 
 |  |  |     </resultMap> | 
 |  |  |  | 
 |  |  |     <sql id="selectServiceFundVo"> | 
 |  |  |         select ID, | 
 |  |  |                InfoID, | 
 |  |  |                DonorNo, | 
 |  |  |                summary_id, | 
 |  |  |                DonorName, | 
 |  |  |                del_flag, | 
 |  |  |                create_by, | 
 |  |  | 
 |  |  |         <if test="infoid != null ">and InfoID = #{infoid}</if> | 
 |  |  |         <if test="donorno != null   and donorno != '' ">and DonorNo = #{donorno}</if> | 
 |  |  |         <if test="jxrq != null ">and jxrq = #{jxrq}</if> | 
 |  |  |         order by apply_time desc | 
 |  |  |     </select> | 
 |  |  |  | 
 |  |  |     <select id="getInfoByInfoId" resultType="com.ruoyi.project.domain.ServiceFund"> | 
 |  |  | 
 |  |  |         SELECT | 
 |  |  |         `service_fund`.`ID` AS `id`, | 
 |  |  |         `service_fund`.`InfoID` AS `infoid`, | 
 |  |  |         `service_fund`.`summary_id` AS `summaryId`, | 
 |  |  |         `service_fund`.`DonorNo` AS `donorno`, | 
 |  |  |         `service_fund`.`DonorName` AS `donorname`, | 
 |  |  |         `service_fund`.`UserNo` AS `userno`, | 
 |  |  | 
 |  |  |  | 
 |  |  |     <select id="getExpertfeeList" statementType="CALLABLE" | 
 |  |  |             resultType="com.ruoyi.project.domain.vo.SpFinancialExpensesFundOut"> | 
 |  |  |         call SP_SELECT_EXPERTFEE(#{PAAPPLYTYPE,mode=IN,jdbcType=INTEGER},#{DONORNAME,mode=IN,jdbcType=VARCHAR},#{PACHECKNO,mode=IN,jdbcType=VARCHAR},#{CHECKSTATUS,mode=IN,jdbcType=INTEGER},#{PADEPARTNO,mode=IN,jdbcType=VARCHAR},#{PAUSERNAME,mode=IN,jdbcType=VARCHAR}) | 
 |  |  |         call SP_SELECT_EXPERTFEE(#{PAAPPLYTYPE,mode=IN,jdbcType=INTEGER},#{PFUNDTAXID,mode=IN,jdbcType=INTEGER},#{DONORNAME,mode=IN,jdbcType=VARCHAR},#{PADEPARTID,mode=IN,jdbcType=INTEGER},#{PAUSERNAME,mode=IN,jdbcType=VARCHAR}) | 
 |  |  |     </select> | 
 |  |  |  | 
 |  |  |     <update id="updateFundTaxIdById"> | 
 |  |  |         update service_fund | 
 |  |  |         <set> | 
 |  |  |             fund_tax_id = #{fundTaxId} | 
 |  |  |             fund_tax_id = #{fundTaxId}, | 
 |  |  |             fundtaxtime = null | 
 |  |  |         </set> | 
 |  |  |         where id = #{id} | 
 |  |  |     </update> | 
 |  |  | </mapper> | 
 |  |  |     <update id="updateFundIsTexById"> | 
 |  |  |         update service_fund | 
 |  |  |         <set> | 
 |  |  |             istax = #{isTax}, | 
 |  |  |             fundtaxtime = null | 
 |  |  |         </set> | 
 |  |  |         where id = #{id} | 
 |  |  |     </update> | 
 |  |  | </mapper> |