解决条码长度超长的问题
This commit is contained in:
@@ -53,4 +53,16 @@
|
||||
</foreach>
|
||||
)
|
||||
</update>
|
||||
|
||||
<update id="batchDeleteMaterialExtendByMIds">
|
||||
update jsh_material_extend
|
||||
set delete_Flag='1'
|
||||
where 1=1
|
||||
and ifnull(delete_Flag,'0') !='1'
|
||||
and material_id in (
|
||||
<foreach collection="ids" item="id" separator=",">
|
||||
#{id}
|
||||
</foreach>
|
||||
)
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -219,6 +219,8 @@
|
||||
|
||||
<select id="getMaxBarCode" resultType="java.lang.String">
|
||||
select max(CAST(l.bar_code AS SIGNED)) bar_code from jsh_material_extend l
|
||||
where 1=1
|
||||
and ifnull(l.delete_Flag,'0') !='1'
|
||||
</select>
|
||||
|
||||
<select id="getMaterialByMeId" parameterType="com.jsh.erp.datasource.entities.MaterialExample" resultMap="ResultMapList">
|
||||
|
||||
Reference in New Issue
Block a user