领料接口优化

This commit is contained in:
sxu 2024-11-13 09:47:36 +08:00
parent ec9e196433
commit e244ebed75
3 changed files with 4 additions and 5 deletions

View File

@ -77,7 +77,6 @@ public class LeaseOutDetailsServiceImpl implements ILeaseOutDetailsService {
if (ajaxResult.isError()) {
return ajaxResult;
}
//leaseOutDetailsMapper.insertLeaseOutDetails(bean);
}
return AjaxResult.success();
}

View File

@ -138,6 +138,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select
<include refid="Base_Column_List" />
from lease_apply_details
where parennt_id = #{parentId}
where parent_id = #{parentId}
</select>
</mapper>

View File

@ -349,7 +349,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update_time = now(),
status = '1'
WHERE
parennt_id = #{record.parentId} and type_id = #{record.typeId}
parent_id = #{record.parentId} and type_id = #{record.typeId}
</update>
<select id="getLeaseApplyDetails" resultType="com.bonus.material.lease.domain.LeaseApplyDetails">
@ -360,7 +360,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
FROM
lease_apply_details
WHERE
parennt_id = #{record.parentId}
parent_id = #{record.parentId}
AND type_id = #{record.typeId}
</select>
@ -370,6 +370,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
SET
status = '2'
WHERE
parennt_id = #{record.parentId} and type_id = #{record.typeId}
parent_id = #{record.parentId} and type_id = #{record.typeId}
</update>
</mapper>