字段别名添加

This commit is contained in:
liang.chao 2024-04-26 17:52:15 +08:00
parent e10c810281
commit 86c204a632
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