功能优化
This commit is contained in:
parent
d8dc3a5ad5
commit
b5ca9c5f81
|
|
@ -716,6 +716,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
WHERE
|
WHERE
|
||||||
parent_id = #{parentId}
|
parent_id = #{parentId}
|
||||||
AND type_id = #{typeId}
|
AND type_id = #{typeId}
|
||||||
|
<if test="publishTask != null and publishTask != ''">
|
||||||
|
AND publish_task = #{publishTask}
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getLeasePublishApply" resultType="com.bonus.material.lease.domain.LeaseApplyDetails">
|
<select id="getLeasePublishApply" resultType="com.bonus.material.lease.domain.LeaseApplyDetails">
|
||||||
|
|
@ -745,7 +748,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
SELECT
|
SELECT
|
||||||
parent_id AS parentId,
|
parent_id AS parentId,
|
||||||
type_id AS typeId,
|
type_id AS typeId,
|
||||||
IFNULL( num, 0) AS outNum
|
IFNULL( sum( num ), 0) AS outNum
|
||||||
FROM
|
FROM
|
||||||
lease_publish_details
|
lease_publish_details
|
||||||
WHERE
|
WHERE
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue