解决条码查询报错的bug

This commit is contained in:
jishenghua
2025-03-03 19:14:36 +08:00
parent 182a8aed1e
commit 5a528d6855
4 changed files with 27 additions and 11 deletions

View File

@@ -524,10 +524,9 @@
and ifnull(delete_flag,'0') !='1'
</select>
<select id="getMaxBarCode" resultType="java.lang.String">
select max(CAST(me.bar_code AS SIGNED)) bar_code from jsh_material_extend me
where 1=1
and ifnull(me.delete_Flag,'0') !='1'
<select id="getBarCodeList" resultType="java.lang.String">
select me.bar_code from jsh_material_extend me
where ifnull(me.delete_Flag,'0') !='1'
</select>
<select id="getMaterialByMeId" parameterType="com.jsh.erp.datasource.entities.MaterialExample" resultMap="ResultMapList">
@@ -790,4 +789,5 @@
and ifnull(m.delete_flag,'0') !='1'
limit 0,1
</select>
</mapper>