java110
2021-09-04 576c52d8d8e6fb1e738380cc5fc101a6a2b0b3a8
java110-db/src/main/resources/mapper/acct/AccountServiceDaoImplMapper.xml
@@ -104,6 +104,9 @@
        <if test="amount !=null and amount != ''">
            and t.amount= #{amount}
        </if>
        <if test="hasMoney !=null and hasMoney != ''">
            and t.amount > 0
        </if>
        <if test="acctType !=null and acctType != ''">
            and t.acct_type= #{acctType}
        </if>
@@ -126,7 +129,7 @@
            and t.obj_type= #{objType}
        </if>
        <if test="partId !=null and partId != ''">
            and t.obj_type= #{partId}
            and t.part_id= #{partId}
        </if>
        order by t.create_time desc
        <if test="page != -1 and page != null ">
@@ -178,6 +181,10 @@
        <if test="amount !=null and amount != ''">
            and t.amount= #{amount}
        </if>
        <if test="hasMoney !=null and hasMoney != ''">
            and t.amount > 0
        </if>
        <if test="acctType !=null and acctType != ''">
            and t.acct_type= #{acctType}
        </if>
@@ -200,7 +207,7 @@
            and t.obj_type= #{objType}
        </if>
        <if test="partId !=null and partId != ''">
            and t.obj_type= #{partId}
            and t.part_id= #{partId}
        </if>
@@ -226,7 +233,7 @@
            and t.acct_id= #{acctId}
        </if>
        <if test="objId !=null and objId != ''">
            t.obj_id= #{objId},
           and t.obj_id = #{objId}
        </if>
    </update>