java110
2023-05-25 781c2e20a4bb844dae3f4eafbf5f0e494b942ea8
java110-db/src/main/resources/mapper/fee/PayFeeV1ServiceDaoImplMapper.xml
@@ -1,21 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="payFeeV1ServiceDaoImpl">
    <!-- 保存费用明细信息 add by wuxw 2018-07-03 -->
    <insert id="savePayFeeInfo" parameterType="Map">
        insert into pay_fee(
        amount,fee_type_cd,batch_id,fee_id,user_id,income_obj_id,config_id,fee_flag,start_time,
        end_time,state,community_id,payer_obj_type,payer_obj_id,b_id
        ) values (
        #{amount},#{feeTypeCd},#{batchId},#{feeId},#{userId},#{incomeObjId},#{configId},#{feeFlag},#{startTime},
        #{endTime},#{state},#{communityId},#{payerObjType},#{payerObjId},#{bId}
        )
        insert into pay_fee(amount, fee_type_cd, batch_id, fee_id, user_id, income_obj_id, config_id, fee_flag,
                            start_time, end_time, state, community_id, payer_obj_type, payer_obj_id, b_id)
        values (#{amount}, #{feeTypeCd}, #{batchId}, #{feeId}, #{userId}, #{incomeObjId}, #{configId}, #{feeFlag},
                #{startTime}, #{endTime}, #{state}, #{communityId}, #{payerObjType}, #{payerObjId}, #{bId})
    </insert>
    <!-- 查询费用明细信息 add by wuxw 2018-07-03 -->
    <select id="getPayFeeInfo" parameterType="Map" resultType="Map">
@@ -75,9 +69,7 @@
        <if test="page != -1 and page != null ">
            limit #{page}, #{row}
        </if>
    </select>
    <!-- 修改费用明细信息 add by wuxw 2018-07-03 -->
    <update id="updatePayFeeInfo" parameterType="Map">
@@ -115,9 +107,7 @@
        <if test="state !=null and state != ''">
            , t.state= #{state}
        </if>
        <if test="communityId !=null and communityId != ''">
            , t.community_id= #{communityId}
        </if>
        <if test="payerObjType !=null and payerObjType != ''">
            , t.payer_obj_type= #{payerObjType}
        </if>
@@ -128,7 +118,9 @@
        <if test="feeId !=null and feeId != ''">
            and t.fee_id= #{feeId}
        </if>
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}
        </if>
    </update>
    <!-- 查询费用明细数量 add by wuxw 2018-07-03 -->
@@ -181,8 +173,5 @@
        <if test="payerObjId !=null and payerObjId != ''">
            and t.payer_obj_id= #{payerObjId}
        </if>
    </select>
</mapper>