| | |
| | | <result property="reimbursementamount" column="REIMBURSEMENTAMOUNT" /> |
| | | <result property="jine" column="jine" /> |
| | | <result property="liyou" column="liyou" /> |
| | | <result property="itemdescribe" column="ItemDescribe"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceFunddetailSharedVo"> |
| | | select ID, fundID, OrderNo, ItemID, ItemCode, ItemName, ItemType, ApplyType, ApplyTypeName, BeneficiaryName, BeneficiaryNo, UnitName, UnitNo, UnitUserNo, Title, IDCardType, IDCardNo, Sex, FamilyRelations, Phone, DepositBank, BankCardNo, BranchBankName, AnnexBankCard, AnnexRegistForm, Quantity, Price, Amount, TaxAmount, TaxedAmount, PrepaidAmount, paidAmount, paidTime, payTerm, InvoiceCount, AttachCount, Remark, InfoId, DonorNo, DonorName, RecordStatus, del_flag, create_by, create_time, update_by, update_time, uploadflag, uploadtime, SERVICESSCOPE, SERVICESSCOPENAME, SERVICETYPE, SERVICETYPENAME, REIMBURSEMENTAMOUNT, jine, liyou from service_funddetail_shared |
| | | select ID, |
| | | fundID, |
| | | OrderNo, |
| | | ItemID, |
| | | ItemCode, |
| | | ItemName, |
| | | ItemType, |
| | | ApplyType, |
| | | ApplyTypeName, |
| | | BeneficiaryName, |
| | | BeneficiaryNo, |
| | | UnitName, |
| | | UnitNo, |
| | | UnitUserNo, |
| | | Title, |
| | | IDCardType, |
| | | IDCardNo, |
| | | Sex, |
| | | FamilyRelations, |
| | | Phone, |
| | | DepositBank, |
| | | BankCardNo, |
| | | BranchBankName, |
| | | AnnexBankCard, |
| | | AnnexRegistForm, |
| | | Quantity, |
| | | Price, |
| | | Amount, |
| | | TaxAmount, |
| | | TaxedAmount, |
| | | PrepaidAmount, |
| | | paidAmount, |
| | | paidTime, |
| | | payTerm, |
| | | InvoiceCount, |
| | | AttachCount, |
| | | Remark, |
| | | InfoId, |
| | | DonorNo, |
| | | DonorName, |
| | | RecordStatus, |
| | | del_flag, |
| | | create_by, |
| | | create_time, |
| | | update_by, |
| | | update_time, |
| | | uploadflag, |
| | | uploadtime, |
| | | SERVICESSCOPE, |
| | | SERVICESSCOPENAME, |
| | | SERVICETYPE, |
| | | SERVICETYPENAME, |
| | | REIMBURSEMENTAMOUNT, |
| | | jine, |
| | | liyou, |
| | | ItemDescribe |
| | | from service_funddetail_shared |
| | | </sql> |
| | | |
| | | <select id="selectServiceFunddetailSharedList" parameterType="com.ruoyi.project.domain.ServiceFunddetailShared" resultMap="ServiceFunddetailSharedResult"> |
| | | <select id="selectServiceFunddetailSharedList" parameterType="com.ruoyi.project.domain.ServiceFunddetailShared" |
| | | resultMap="ServiceFunddetailSharedResult"> |
| | | <include refid="selectServiceFunddetailSharedVo"/> |
| | | <where> |
| | | <if test="fundid != null "> and fundID = #{fundid}</if> |
| | |
| | | <if test="itemname != null and itemname != ''"> and ItemName like concat('%', #{itemname}, '%')</if> |
| | | <if test="itemtype != null and itemtype != ''"> and ItemType = #{itemtype}</if> |
| | | <if test="applytype != null and applytype != ''"> and ApplyType = #{applytype}</if> |
| | | <if test="applytypename != null and applytypename != ''"> and ApplyTypeName like concat('%', #{applytypename}, '%')</if> |
| | | <if test="beneficiaryname != null and beneficiaryname != ''"> and BeneficiaryName like concat('%', #{beneficiaryname}, '%')</if> |
| | | <if test="applytypename != null and applytypename != ''">and ApplyTypeName like concat('%', |
| | | #{applytypename}, '%') |
| | | </if> |
| | | <if test="beneficiaryname != null and beneficiaryname != ''">and BeneficiaryName like concat('%', |
| | | #{beneficiaryname}, '%') |
| | | </if> |
| | | <if test="beneficiaryno != null and beneficiaryno != ''"> and BeneficiaryNo = #{beneficiaryno}</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="phone != null and phone != ''"> and Phone = #{phone}</if> |
| | | <if test="depositbank != null and depositbank != ''"> and DepositBank = #{depositbank}</if> |
| | | <if test="bankcardno != null and bankcardno != ''"> and BankCardNo = #{bankcardno}</if> |
| | | <if test="branchbankname != null and branchbankname != ''"> and BranchBankName like concat('%', #{branchbankname}, '%')</if> |
| | | <if test="branchbankname != null and branchbankname != ''">and BranchBankName like concat('%', |
| | | #{branchbankname}, '%') |
| | | </if> |
| | | <if test="annexbankcard != null and annexbankcard != ''"> and AnnexBankCard = #{annexbankcard}</if> |
| | | <if test="annexregistform != null and annexregistform != ''"> and AnnexRegistForm = #{annexregistform}</if> |
| | | <if test="quantity != null "> and Quantity = #{quantity}</if> |
| | |
| | | <if test="uploadflag != null and uploadflag != ''"> and uploadflag = #{uploadflag}</if> |
| | | <if test="uploadtime != null "> and uploadtime = #{uploadtime}</if> |
| | | <if test="servicesscope != null and servicesscope != ''"> and SERVICESSCOPE = #{servicesscope}</if> |
| | | <if test="servicesscopename != null and servicesscopename != ''"> and SERVICESSCOPENAME like concat('%', #{servicesscopename}, '%')</if> |
| | | <if test="servicesscopename != null and servicesscopename != ''">and SERVICESSCOPENAME like concat('%', |
| | | #{servicesscopename}, '%') |
| | | </if> |
| | | <if test="servicetype != null and servicetype != ''"> and SERVICETYPE = #{servicetype}</if> |
| | | <if test="servicetypename != null and servicetypename != ''"> and SERVICETYPENAME like concat('%', #{servicetypename}, '%')</if> |
| | | <if test="servicetypename != null and servicetypename != ''">and SERVICETYPENAME like concat('%', |
| | | #{servicetypename}, '%') |
| | | </if> |
| | | <if test="reimbursementamount != null "> and REIMBURSEMENTAMOUNT = #{reimbursementamount}</if> |
| | | <if test="jine != null and jine != ''"> and jine = #{jine}</if> |
| | | <if test="liyou != null and liyou != ''"> and liyou = #{liyou}</if> |