编码设备库存
This commit is contained in:
parent
ee70d65a5c
commit
bb561624e5
|
|
@ -178,8 +178,8 @@
|
||||||
</select>
|
</select>
|
||||||
<select id="getCountOfCodeMachine" resultType="java.lang.Integer">
|
<select id="getCountOfCodeMachine" resultType="java.lang.Integer">
|
||||||
select count(mm.ma_id)
|
select count(mm.ma_id)
|
||||||
FROM ma_machine mm
|
FROM ma_type mt
|
||||||
left join ma_type mt on mm.type_id=mt.type_id
|
left join ma_machine mm on mm.type_id=mt.type_id
|
||||||
WHERE
|
WHERE
|
||||||
mm.type_id = #{record.typeId}
|
mm.type_id = #{record.typeId}
|
||||||
and mm.ma_code is not null
|
and mm.ma_code is not null
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue