This commit is contained in:
parent
e8f5d1b2fa
commit
6edd23c75a
|
|
@ -805,8 +805,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<select id="selectByTypeId" resultType="com.bonus.material.ma.domain.Type">
|
<select id="selectByTypeId" resultType="com.bonus.material.ma.domain.Type">
|
||||||
select * from ma_type WHERE
|
select manage_type as manageType,
|
||||||
type_id = #{record.typeId}
|
type_id as typeId,
|
||||||
|
storage_num as storageNum
|
||||||
|
from ma_type
|
||||||
|
WHERE type_id = #{record.typeId}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getMaType" resultType="com.bonus.material.ma.domain.Type">
|
<select id="getMaType" resultType="com.bonus.material.ma.domain.Type">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue