java110
2021-10-14 8d78326b854d2541a5038073ab027bfc33417d33
Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
2个文件已修改
16 ■■■■■ 已修改文件
java110-bean/src/main/java/com/java110/dto/accountDetail/AccountDetailDto.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/acct/AccountDetailServiceDaoImplMapper.xml 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/accountDetail/AccountDetailDto.java
@@ -32,6 +32,7 @@
    private String relAcctId;
    private String remark;
    private String objType;
    private String acctType;
    private Date createTime;
@@ -135,4 +136,12 @@
    public void setAcctName(String acctName) {
        this.acctName = acctName;
    }
    public String getAcctType() {
        return acctType;
    }
    public void setAcctType(String acctType) {
        this.acctType = acctType;
    }
}
java110-db/src/main/resources/mapper/acct/AccountDetailServiceDaoImplMapper.xml
@@ -142,6 +142,9 @@
        <if test="objType !=null and objType != ''">
            and t.obj_type= #{objType}
        </if>
        <if test="acctType !=null and acctType != ''">
            and ac.acct_type= #{acctType}
        </if>
        order by t.create_time desc
        <if test="page != -1 and page != null ">
            limit #{page}, #{row}
@@ -194,6 +197,7 @@
    <select id="queryAccountDetailsCount" parameterType="Map" resultType="Map">
        select count(1) count
        from account_detail t
        LEFT JOIN account ac on t.acct_id = ac.acct_id and ac.status_cd = '0' and ac.obj_id = t.obj_id
        where 1 =1
        <if test="detailType !=null and detailType != ''">
            and t.detail_type= #{detailType}
@@ -225,6 +229,9 @@
        <if test="bId !=null and bId != ''">
            and t.b_id= #{bId}
        </if>
        <if test="acctType !=null and acctType != ''">
            and ac.acct_type= #{acctType}
        </if>
        <if test="objType !=null and objType != ''">
            and t.obj_type= #{objType}
        </if>