| | |
| | | <result property="notes" column="notes"/> |
| | | <result property="jxrq" column="jxrq"/> |
| | | <result property="fundTaxId" column="fund_tax_id"/> |
| | | <result property="taxcost" column="TaxCost"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceFundVo"> |
| | |
| | | upload_states, |
| | | jxrq, |
| | | notes, |
| | | TaxCost, |
| | | fund_tax_id |
| | | from service_fund |
| | | </sql> |
| | |
| | | <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> |
| | | <if test="fundTaxId=-1 ">and fund_tax_id = null</if> |
| | | <if test="fundTaxId!= null and fundTaxId!= -1 ">and fund_tax_id = #{fundTaxId}</if> |
| | | order by apply_time desc |
| | | </select> |
| | | |
| | | <select id="getInfoByInfoId" resultType="com.ruoyi.project.domain.ServiceFund"> |
| | |
| | | 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}) |
| | | </select> |
| | | |
| | | <update id="updateFundTaxIdById"> |
| | | update service_fund |
| | | <set> |
| | | fund_tax_id = #{fundTaxId} |
| | | </set> |
| | | where id = #{id} |
| | | </update> |
| | | </mapper> |