编码设备库存

This commit is contained in:
sxu 2024-08-18 09:28:10 +08:00
parent ee70d65a5c
commit bb561624e5
1 changed files with 2 additions and 2 deletions

View File

@ -178,8 +178,8 @@
</select>
<select id="getCountOfCodeMachine" resultType="java.lang.Integer">
select count(mm.ma_id)
FROM ma_machine mm
left join ma_type mt on mm.type_id=mt.type_id
FROM ma_type mt
left join ma_machine mm on mm.type_id=mt.type_id
WHERE
mm.type_id = #{record.typeId}
and mm.ma_code is not null