增加二维码重复使用校验

This commit is contained in:
2023-09-18 17:31:32 +08:00
parent 52aa9659a2
commit 0930a8a48b
8 changed files with 130 additions and 11 deletions

View File

@@ -168,4 +168,12 @@
and status = 0
</select>
<select id="checkCodeStatus" resultMap="BaseResultMap" parameterType="String" >
select
<include refid="Base_Column_List" />
from sv_barcode
where barcode = #{barcode,jdbcType=VARCHAR}
and status = 0
</select>
</mapper>