bug修复

This commit is contained in:
hongchao 2025-06-18 14:46:06 +08:00
parent 97ce2b0e6f
commit 62c977d128
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<mapper namespace="com.bonus.material.basic.mapper.BmQrBoxMapper">
<select id="findBoxInfoByKey" resultType="com.bonus.material.basic.domain.BmQrBoxInfo">
select * from bm_qrcode_box bqb
select bqb.box_id as boxId,bqb.box_code as boxCode from bm_qrcode_box bqb
<where>
<if test="boxId != null">and bqb.box_id = #{boxId}</if>
<if test="boxCode != null and boxCode != ''">and bqb.box_code = #{boxCode}</if>