bug修复
This commit is contained in:
parent
97ce2b0e6f
commit
62c977d128
|
|
@ -5,7 +5,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<mapper namespace="com.bonus.material.basic.mapper.BmQrBoxMapper">
|
<mapper namespace="com.bonus.material.basic.mapper.BmQrBoxMapper">
|
||||||
|
|
||||||
<select id="findBoxInfoByKey" resultType="com.bonus.material.basic.domain.BmQrBoxInfo">
|
<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>
|
<where>
|
||||||
<if test="boxId != null">and bqb.box_id = #{boxId}</if>
|
<if test="boxId != null">and bqb.box_id = #{boxId}</if>
|
||||||
<if test="boxCode != null and boxCode != ''">and bqb.box_code = #{boxCode}</if>
|
<if test="boxCode != null and boxCode != ''">and bqb.box_code = #{boxCode}</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue