| | |
| | | <?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"> |
| | |
| | | <if test="page != -1 and page != null "> |
| | | limit #{page}, #{row} |
| | | </if> |
| | | |
| | | </select> |
| | | |
| | | |
| | | <!-- 修改费用明细信息 add by wuxw 2018-07-03 --> |
| | | <update id="updatePayFeeInfo" parameterType="Map"> |
| | |
| | | <if test="communityId !=null and communityId != ''"> |
| | | and t.community_id= #{communityId} |
| | | </if> |
| | | |
| | | </update> |
| | | |
| | | <!-- 查询费用明细数量 add by wuxw 2018-07-03 --> |
| | |
| | | <if test="payerObjId !=null and payerObjId != ''"> |
| | | and t.payer_obj_id= #{payerObjId} |
| | | </if> |
| | | |
| | | |
| | | </select> |
| | | |
| | | </mapper> |