This commit is contained in:
mashuai 2025-10-17 14:51:32 +08:00
parent f99abf6cf4
commit 06a6f2787c
2 changed files with 4 additions and 0 deletions

View File

@ -279,6 +279,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select task_id select task_id
from lease_apply_info from lease_apply_info
where id = #{parentId} where id = #{parentId}
LIMIT 1
</select> </select>
<update id="updateLeaseApplyInfoSign"> <update id="updateLeaseApplyInfoSign">
@ -890,12 +891,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
bm_agreement_info bm_agreement_info
WHERE WHERE
unit_id = #{leaseUnitId} unit_id = #{leaseUnitId}
LIMIT 1
</select> </select>
<select id="selectUnitTypeByUnitId" resultType="java.lang.Long"> <select id="selectUnitTypeByUnitId" resultType="java.lang.Long">
select type_id as typeId select type_id as typeId
from bm_unit from bm_unit
where unit_id = #{unitId} where unit_id = #{unitId}
LIMIT 1
</select> </select>
<select id="selectProjectUnitAgreementIdByTeamAndProject" resultType="com.bonus.common.biz.domain.lease.LeaseOutDetails"> <select id="selectProjectUnitAgreementIdByTeamAndProject" resultType="com.bonus.common.biz.domain.lease.LeaseOutDetails">

View File

@ -206,6 +206,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
bm_unit bm_unit
WHERE WHERE
unit_id = #{leaseUnitId} unit_id = #{leaseUnitId}
LIMIT 1
</select> </select>
<select id="selectTmTaskByPreTaskId" parameterType="Long" resultMap="TmTaskResult"> <select id="selectTmTaskByPreTaskId" parameterType="Long" resultMap="TmTaskResult">