功能优化

This commit is contained in:
mashuai 2025-09-05 16:17:34 +08:00
parent d8dc3a5ad5
commit b5ca9c5f81
1 changed files with 4 additions and 1 deletions

View File

@ -716,6 +716,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
WHERE
parent_id = #{parentId}
AND type_id = #{typeId}
<if test="publishTask != null and publishTask != ''">
AND publish_task = #{publishTask}
</if>
</select>
<select id="getLeasePublishApply" resultType="com.bonus.material.lease.domain.LeaseApplyDetails">
@ -745,7 +748,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
SELECT
parent_id AS parentId,
type_id AS typeId,
IFNULL( num, 0) AS outNum
IFNULL( sum( num ), 0) AS outNum
FROM
lease_publish_details
WHERE