src/main/resources/mapper/otc/OtcEntrustOrderDao.xml
@@ -29,7 +29,7 @@ and order_type = #{record.type} </if> </if> and and a.member_id not in (select black_member_id from otc_black_list x where x.member_id=#{memberId}) and a.member_id not in (select black_member_id from otc_black_list x where x.member_id=#{record.memberId}) </where> order by a.create_time desc </select> @@ -51,6 +51,10 @@ <if test="record.status != null and record.status != 3"> and a.status = #{record.status} </if> <if test="record.isDefualt != null"> and b.is_defualt = #{record.isDefualt} </if> </where> </select>