java110
2022-03-12 db689e5e2cb730b2cf08796fa224084f00758a71
java110-db/src/main/resources/mapper/fee/PayFeeBatchV1ServiceDaoImplMapper.xml
@@ -19,8 +19,9 @@
    <select id="getPayFeeBatchInfo" parameterType="Map" resultType="Map">
        select t.msg,t.create_user_id,t.create_user_id createUserId,t.create_user_name,t.create_user_name
        createUserName,t.status_cd,t.status_cd statusCd,t.remark,t.state,t.batch_id,t.batch_id
        batchId,t.community_id,t.community_id communityId,t.create_time createTime
        batchId,t.community_id,t.community_id communityId,t.create_time createTime,td.`name` stateName
        from pay_fee_batch t
        left join t_dict td on t.state =  td.status_cd and td.table_name = 'pay_fee_batch' and td.table_columns = 'state'
        where 1 =1
        <if test="msg !=null and msg != ''">
            and t.msg= #{msg}
@@ -75,13 +76,14 @@
        <if test="state !=null and state != ''">
            , t.state= #{state}
        </if>
        <if test="communityId !=null and communityId != ''">
            , t.community_id= #{communityId}
        </if>
        where 1=1
        <if test="batchId !=null and batchId != ''">
            and t.batch_id= #{batchId}
        </if>
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}
        </if>
    </update>