xiaoyong931011
2020-07-17 c862fe9bc15ee01a3aa1e8b09146a8084d5b8ee7
src/main/resources/mapper/modules/ContractHoldOrderEntityMapper.xml
@@ -9,6 +9,14 @@
         contract_hold_order s
      LEFT JOIN member m ON m.id = s.member_id
      <where>
         s.member_id IN (
            SELECT
               id
            FROM
               member
            WHERE
               account_type = '1'
         )
         <if test="record != null" >
                <if test="record.account!=null and record.account!=''">
                    and (m.phone = #{record.account} or m.email = #{record.account} or m.invite_id=#{record.account})