diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/lease/LeaseApplyInfoMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/lease/LeaseApplyInfoMapper.xml index 871f92c4..b795277f 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/lease/LeaseApplyInfoMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/lease/LeaseApplyInfoMapper.xml @@ -279,6 +279,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select task_id from lease_apply_info where id = #{parentId} + LIMIT 1 @@ -890,12 +891,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" bm_agreement_info WHERE unit_id = #{leaseUnitId} + LIMIT 1