kongdeqiang
2023-11-02 d6a127f4da8a9662e77364be002054870a5fcc4b
src/main/resources/mapper/OutParkMapper.xml
@@ -21,13 +21,17 @@
        <result property="status3" column="status3"/>
        <result property="time" column="time"/>
        <result property="code2" column="code2"/>
        <result property="txnOrderId" column="txn_order_id"/>
        <result property="txnOrderTime" column="txn_order_time"/>
        <result property="respTxnTime" column="resp_txn_time"/>
        <result property="qrCode" column="qr_code"/>
  </resultMap>
    <select id="getList" resultType="com.boying.entity.OutPark">
          select * from  out_park
          <where>
                1=1
                <if test="carNo != null and carNo != ''">
                      and car_no = #{carNo}
                      and car_no like concat('%',#{carNo},'%')
                </if>
                <if test="payCode != null and payCode != ''">
                      and pay_code = #{payCode}