This commit is contained in:
zzyuan 2024-04-26 18:11:22 +08:00
commit f0d7d5d7ad
1 changed files with 1 additions and 1 deletions

View File

@ -577,7 +577,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
mt.type_id,
mt.type_name,
mt.parent_id,
mt.unit_name,
mt.unit_name as unitNames,
mt.company_id,
SUM( CASE WHEN sai.agreement_id = #{agreementId} AND sai.STATUS = '0' THEN sai.num ELSE 0 END ) AS num,
mt.LEVEL