| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.ruoyi.project.mapper.ServiceFundSharedMapper"> |
| | | |
| | | <resultMap type="ServiceFundShared" id="ServiceFundSharedResult"> |
| | | <result property="id" column="ID" /> |
| | | <result property="infoid" column="InfoID" /> |
| | | <result property="donorno" column="DonorNo" /> |
| | | <result property="donorname" column="DonorName" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="userno" column="UserNo" /> |
| | | <result property="username" column="UserName" /> |
| | | <result property="unitname" column="UnitName" /> |
| | | <result property="unitno" column="UnitNo" /> |
| | | <result property="unituserno" column="UnitUserNo" /> |
| | | <result property="phone" column="Phone" /> |
| | | <result property="annexbankcard" column="AnnexBankCard" /> |
| | | <result property="annexregistform" column="AnnexRegistForm" /> |
| | | <result property="pretaxcost" column="PretaxCost" /> |
| | | <result property="taxedcost" column="TaxedCost" /> |
| | | <result property="totalcost" column="TotalCost" /> |
| | | <result property="procurementcost" column="ProcurementCost" /> |
| | | <result property="expertcost" column="ExpertCost" /> |
| | | <result property="ethicscost" column="EthicsCost" /> |
| | | <result property="medicalcost" column="MedicalCost" /> |
| | | <result property="familycost" column="FamilyCost" /> |
| | | <result property="aftercarecost" column="AftercareCost" /> |
| | | <result property="amountrequested" column="AmountRequested" /> |
| | | <result property="applytype" column="ApplyType" /> |
| | | <result property="prepaidamount" column="PrepaidAmount" /> |
| | | <result property="invoicecount" column="InvoiceCount" /> |
| | | <result property="attachcount" column="AttachCount" /> |
| | | <result property="managerno" column="ManagerNo" /> |
| | | <result property="managername" column="ManagerName" /> |
| | | <result property="deptmentno" column="DeptmentNo" /> |
| | | <result property="deptmentname" column="DeptmentName" /> |
| | | <result property="opochecker" column="OPOchecker" /> |
| | | <result property="finvicepresident" column="FinVicePresident" /> |
| | | <result property="busvicepresident" column="BusVicePresident" /> |
| | | <result property="officedirector" column="OfficeDirector" /> |
| | | <result property="financedirector" column="FinanceDirector" /> |
| | | <result property="financechecher" column="FinanceChecher" /> |
| | | <result property="remark" column="Remark" /> |
| | | <result property="isdistribute" column="Isdistribute" /> |
| | | <result property="recordstatus" column="RecordStatus" /> |
| | | <result property="uploadflag" column="uploadflag" /> |
| | | <result property="uploadtime" column="uploadtime" /> |
| | | <result property="flowlevel" column="FlowLevel" /> |
| | | <result property="oaid" column="oaid" /> |
| | | <result property="oabdzt" column="oabdzt" /> |
| | | <result property="filename" column="filename" /> |
| | | <result property="fileid" column="fileid" /> |
| | | |
| | | <resultMap type="com.ruoyi.project.domain.ServiceFundShared" id="ServiceFundSharedResult"> |
| | | <result property="id" column="ID"/> |
| | | <result property="infoid" column="InfoID"/> |
| | | <result property="donorno" column="DonorNo"/> |
| | | <result property="donorname" column="DonorName"/> |
| | | <result property="delflag" column="del_flag"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="userno" column="UserNo"/> |
| | | <result property="username" column="UserName"/> |
| | | <result property="unitname" column="UnitName"/> |
| | | <result property="unitno" column="UnitNo"/> |
| | | <result property="unituserno" column="UnitUserNo"/> |
| | | <result property="phone" column="Phone"/> |
| | | <result property="annexbankcard" column="AnnexBankCard"/> |
| | | <result property="annexregistform" column="AnnexRegistForm"/> |
| | | <result property="pretaxcost" column="PretaxCost"/> |
| | | <result property="taxedcost" column="TaxedCost"/> |
| | | <result property="totalcost" column="TotalCost"/> |
| | | <result property="procurementcost" column="ProcurementCost"/> |
| | | <result property="expertcost" column="ExpertCost"/> |
| | | <result property="ethicscost" column="EthicsCost"/> |
| | | <result property="medicalcost" column="MedicalCost"/> |
| | | <result property="familycost" column="FamilyCost"/> |
| | | <result property="aftercarecost" column="AftercareCost"/> |
| | | <result property="amountrequested" column="AmountRequested"/> |
| | | <result property="applytype" column="ApplyType"/> |
| | | <result property="prepaidamount" column="PrepaidAmount"/> |
| | | <result property="invoicecount" column="InvoiceCount"/> |
| | | <result property="attachcount" column="AttachCount"/> |
| | | <result property="managerno" column="ManagerNo"/> |
| | | <result property="managername" column="ManagerName"/> |
| | | <result property="deptmentno" column="DeptmentNo"/> |
| | | <result property="deptmentname" column="DeptmentName"/> |
| | | <result property="opochecker" column="OPOchecker"/> |
| | | <result property="finvicepresident" column="FinVicePresident"/> |
| | | <result property="busvicepresident" column="BusVicePresident"/> |
| | | <result property="officedirector" column="OfficeDirector"/> |
| | | <result property="financedirector" column="FinanceDirector"/> |
| | | <result property="financechecher" column="FinanceChecher"/> |
| | | <result property="remark" column="Remark"/> |
| | | <result property="isdistribute" column="Isdistribute"/> |
| | | <result property="recordstatus" column="RecordStatus"/> |
| | | <result property="uploadflag" column="uploadflag"/> |
| | | <result property="uploadtime" column="uploadtime"/> |
| | | <result property="flowlevel" column="FlowLevel"/> |
| | | <result property="oaid" column="oaid"/> |
| | | <result property="oabdzt" column="oabdzt"/> |
| | | <result property="filename" column="filename"/> |
| | | <result property="fileid" column="fileid"/> |
| | | <result property="zffs" column="zffs"/> |
| | | <result property="riqi" column="riqi"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceFundSharedVo"> |
| | | select ID, InfoID, DonorNo, DonorName, create_by, create_time, update_by, update_time, UserNo, UserName, UnitName, UnitNo, UnitUserNo, Phone, AnnexBankCard, AnnexRegistForm, PretaxCost, TaxedCost, TotalCost, ProcurementCost, ExpertCost, EthicsCost, MedicalCost, FamilyCost, AftercareCost, AmountRequested, ApplyType, PrepaidAmount, InvoiceCount, AttachCount, ManagerNo, ManagerName, DeptmentNo, DeptmentName, OPOchecker, FinVicePresident, BusVicePresident, OfficeDirector, FinanceDirector, FinanceChecher, Remark, Isdistribute, RecordStatus, uploadflag, uploadtime, FlowLevel, oaid, oabdzt, filename, fileid,serfunid from service_fund_shared |
| | | select ID, |
| | | InfoID, |
| | | DonorNo, |
| | | DonorName, |
| | | create_by, |
| | | create_time, |
| | | update_by, |
| | | update_time, |
| | | UserNo, |
| | | UserName, |
| | | UnitName, |
| | | UnitNo, |
| | | UnitUserNo, |
| | | Phone, |
| | | AnnexBankCard, |
| | | AnnexRegistForm, |
| | | PretaxCost, |
| | | TaxedCost, |
| | | TotalCost, |
| | | ProcurementCost, |
| | | ExpertCost, |
| | | EthicsCost, |
| | | MedicalCost, |
| | | FamilyCost, |
| | | AftercareCost, |
| | | AmountRequested, |
| | | ApplyType, |
| | | PrepaidAmount, |
| | | InvoiceCount, |
| | | AttachCount, |
| | | ManagerNo, |
| | | ManagerName, |
| | | DeptmentNo, |
| | | DeptmentName, |
| | | OPOchecker, |
| | | FinVicePresident, |
| | | BusVicePresident, |
| | | OfficeDirector, |
| | | FinanceDirector, |
| | | FinanceChecher, |
| | | Remark, |
| | | Isdistribute, |
| | | RecordStatus, |
| | | uploadflag, |
| | | uploadtime, |
| | | FlowLevel, |
| | | oaid, |
| | | oabdzt, |
| | | filename, |
| | | fileid, |
| | | serfunid, |
| | | zffs, |
| | | riqi |
| | | from service_fund_shared |
| | | </sql> |
| | | |
| | | <select id="getFundShareInfoById" resultType="com.ruoyi.project.domain.ServiceFundShared" resultMap="ServiceFundSharedResult"> |
| | | <select id="getFundShareInfoById" resultType="com.ruoyi.project.domain.ServiceFundShared" |
| | | resultMap="ServiceFundSharedResult"> |
| | | <include refid="selectServiceFundSharedVo"/> |
| | | where serfunid = #{fundid} |
| | | </select> |
| | |
| | | <select id="selectServiceFundSharedList" parameterType="ServiceFundShared" resultMap="ServiceFundSharedResult"> |
| | | <include refid="selectServiceFundSharedVo"/> |
| | | <where> |
| | | <if test="infoid != null "> and InfoID = #{infoid}</if> |
| | | <if test="donorno != null and donorno != ''"> and DonorNo = #{donorno}</if> |
| | | <if test="donorname != null and donorname != ''"> and DonorName like concat('%', #{donorname}, '%')</if> |
| | | <if test="userno != null and userno != ''"> and UserNo = #{userno}</if> |
| | | <if test="username != null and username != ''"> and UserName like concat('%', #{username}, '%')</if> |
| | | <if test="unitname != null and unitname != ''"> and UnitName like concat('%', #{unitname}, '%')</if> |
| | | <if test="unitno != null and unitno != ''"> and UnitNo = #{unitno}</if> |
| | | <if test="unituserno != null and unituserno != ''"> and UnitUserNo = #{unituserno}</if> |
| | | <if test="phone != null and phone != ''"> and Phone = #{phone}</if> |
| | | <if test="annexbankcard != null and annexbankcard != ''"> and AnnexBankCard = #{annexbankcard}</if> |
| | | <if test="annexregistform != null and annexregistform != ''"> and AnnexRegistForm = #{annexregistform}</if> |
| | | <if test="pretaxcost != null "> and PretaxCost = #{pretaxcost}</if> |
| | | <if test="taxedcost != null "> and TaxedCost = #{taxedcost}</if> |
| | | <if test="totalcost != null "> and TotalCost = #{totalcost}</if> |
| | | <if test="expertcost != null "> and ExpertCost = #{expertcost}</if> |
| | | <if test="ethicscost != null "> and EthicsCost = #{ethicscost}</if> |
| | | <if test="medicalcost != null "> and MedicalCost = #{medicalcost}</if> |
| | | <if test="familycost != null "> and FamilyCost = #{familycost}</if> |
| | | <if test="aftercarecost != null "> and AftercareCost = #{aftercarecost}</if> |
| | | <if test="amountrequested != null "> and AmountRequested = #{amountrequested}</if> |
| | | <if test="applytype != null and applytype != ''"> and ApplyType = #{applytype}</if> |
| | | <if test="prepaidamount != null "> and PrepaidAmount = #{prepaidamount}</if> |
| | | <if test="invoicecount != null "> and InvoiceCount = #{invoicecount}</if> |
| | | <if test="attachcount != null "> and AttachCount = #{attachcount}</if> |
| | | <if test="managerno != null and managerno != ''"> and ManagerNo = #{managerno}</if> |
| | | <if test="managername != null and managername != ''"> and ManagerName like concat('%', #{managername}, '%')</if> |
| | | <if test="deptmentno != null and deptmentno != ''"> and DeptmentNo = #{deptmentno}</if> |
| | | <if test="deptmentname != null and deptmentname != ''"> and DeptmentName like concat('%', #{deptmentname}, '%')</if> |
| | | <if test="opochecker != null and opochecker != ''"> and OPOchecker = #{opochecker}</if> |
| | | <if test="finvicepresident != null and finvicepresident != ''"> and FinVicePresident = #{finvicepresident}</if> |
| | | <if test="busvicepresident != null and busvicepresident != ''"> and BusVicePresident = #{busvicepresident}</if> |
| | | <if test="officedirector != null and officedirector != ''"> and OfficeDirector = #{officedirector}</if> |
| | | <if test="financedirector != null and financedirector != ''"> and FinanceDirector = #{financedirector}</if> |
| | | <if test="financechecher != null and financechecher != ''"> and FinanceChecher = #{financechecher}</if> |
| | | <if test="remark != null and remark != ''"> and Remark = #{remark}</if> |
| | | <if test="isdistribute != null and isdistribute != ''"> and Isdistribute = #{isdistribute}</if> |
| | | <if test="recordstatus != null "> and RecordStatus = #{recordstatus}</if> |
| | | <if test="uploadflag != null and uploadflag != ''"> and uploadflag = #{uploadflag}</if> |
| | | <if test="uploadtime != null "> and uploadtime = #{uploadtime}</if> |
| | | <if test="flowlevel != null "> and FlowLevel = #{flowlevel}</if> |
| | | <if test="oaid != null and oaid != ''"> and oaid = #{oaid}</if> |
| | | <if test="oabdzt != null and oabdzt != ''"> and oabdzt = #{oabdzt}</if> |
| | | <if test="filename != null and filename != ''"> and filename like concat('%', #{filename}, '%')</if> |
| | | <if test="fileid != null and fileid != ''"> and fileid = #{fileid}</if> |
| | | <if test="infoid != null ">and InfoID = #{infoid}</if> |
| | | <if test="donorno != null and donorno != ''">and DonorNo = #{donorno}</if> |
| | | <if test="donorname != null and donorname != ''">and DonorName like concat('%', #{donorname}, '%')</if> |
| | | <if test="userno != null and userno != ''">and UserNo = #{userno}</if> |
| | | <if test="username != null and username != ''">and UserName like concat('%', #{username}, '%')</if> |
| | | <if test="unitname != null and unitname != ''">and UnitName like concat('%', #{unitname}, '%')</if> |
| | | <if test="unitno != null and unitno != ''">and UnitNo = #{unitno}</if> |
| | | <if test="unituserno != null and unituserno != ''">and UnitUserNo = #{unituserno}</if> |
| | | <if test="phone != null and phone != ''">and Phone = #{phone}</if> |
| | | <if test="annexbankcard != null and annexbankcard != ''">and AnnexBankCard = #{annexbankcard}</if> |
| | | <if test="annexregistform != null and annexregistform != ''">and AnnexRegistForm = #{annexregistform}</if> |
| | | <if test="pretaxcost != null ">and PretaxCost = #{pretaxcost}</if> |
| | | <if test="taxedcost != null ">and TaxedCost = #{taxedcost}</if> |
| | | <if test="totalcost != null ">and TotalCost = #{totalcost}</if> |
| | | <if test="expertcost != null ">and ExpertCost = #{expertcost}</if> |
| | | <if test="ethicscost != null ">and EthicsCost = #{ethicscost}</if> |
| | | <if test="medicalcost != null ">and MedicalCost = #{medicalcost}</if> |
| | | <if test="familycost != null ">and FamilyCost = #{familycost}</if> |
| | | <if test="aftercarecost != null ">and AftercareCost = #{aftercarecost}</if> |
| | | <if test="amountrequested != null ">and AmountRequested = #{amountrequested}</if> |
| | | <if test="applytype != null and applytype != ''">and ApplyType = #{applytype}</if> |
| | | <if test="prepaidamount != null ">and PrepaidAmount = #{prepaidamount}</if> |
| | | <if test="invoicecount != null ">and InvoiceCount = #{invoicecount}</if> |
| | | <if test="attachcount != null ">and AttachCount = #{attachcount}</if> |
| | | <if test="managerno != null and managerno != ''">and ManagerNo = #{managerno}</if> |
| | | <if test="managername != null and managername != ''">and ManagerName like concat('%', #{managername}, |
| | | '%') |
| | | </if> |
| | | <if test="deptmentno != null and deptmentno != ''">and DeptmentNo = #{deptmentno}</if> |
| | | <if test="deptmentname != null and deptmentname != ''">and DeptmentName like concat('%', #{deptmentname}, |
| | | '%') |
| | | </if> |
| | | <if test="opochecker != null and opochecker != ''">and OPOchecker = #{opochecker}</if> |
| | | <if test="finvicepresident != null and finvicepresident != ''">and FinVicePresident = #{finvicepresident} |
| | | </if> |
| | | <if test="busvicepresident != null and busvicepresident != ''">and BusVicePresident = #{busvicepresident} |
| | | </if> |
| | | <if test="officedirector != null and officedirector != ''">and OfficeDirector = #{officedirector}</if> |
| | | <if test="financedirector != null and financedirector != ''">and FinanceDirector = #{financedirector}</if> |
| | | <if test="financechecher != null and financechecher != ''">and FinanceChecher = #{financechecher}</if> |
| | | <if test="remark != null and remark != ''">and Remark = #{remark}</if> |
| | | <if test="isdistribute != null and isdistribute != ''">and Isdistribute = #{isdistribute}</if> |
| | | <if test="recordstatus != null ">and RecordStatus = #{recordstatus}</if> |
| | | <if test="uploadflag != null and uploadflag != ''">and uploadflag = #{uploadflag}</if> |
| | | <if test="uploadtime != null ">and uploadtime = #{uploadtime}</if> |
| | | <if test="flowlevel != null ">and FlowLevel = #{flowlevel}</if> |
| | | <if test="oaid != null and oaid != ''">and oaid = #{oaid}</if> |
| | | <if test="oabdzt != null and oabdzt != ''">and oabdzt = #{oabdzt}</if> |
| | | <if test="filename != null and filename != ''">and filename like concat('%', #{filename}, '%')</if> |
| | | <if test="fileid != null and fileid != ''">and fileid = #{fileid}</if> |
| | | </where> |
| | | </select> |
| | | <update id="delfundsharedInfoById"> |