This commit is contained in:
mashuai 2025-06-04 17:35:15 +08:00
parent e8f5d1b2fa
commit 6edd23c75a
1 changed files with 5 additions and 2 deletions

View File

@ -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">