功能优化
This commit is contained in:
parent
d8dc3a5ad5
commit
b5ca9c5f81
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue