src/main/resources/mapper/dapp/DappStorageMapper.xml
@@ -49,5 +49,23 @@ limit {offset},{count} </select> <select id="selectListInPage" resultType="cc.mrbird.febs.dapp.entity.DappStorage"> select a.*, b.address address from dapp_storage a left join dapp_member b on a.member_id = b.id <where> <if test="record.address != '' and record.address != null"> and b.address = #{record.address} </if> <if test="record.state != null"> and a.state = #{record.state} </if> </where> order by a.create_time desc </select> </mapper>