二级库sql receiveNum修改

This commit is contained in:
wcy 2024-08-28 15:05:51 +08:00
parent 8b9b94019f
commit 6abd590b97
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
mt.type_name AS modelName,
mt.unit_name AS nuitName,
lod.type_id AS typeId,
IFNULL(SUM( lod.out_num ),0) AS Num
IFNULL(SUM( lod.out_num ),0) AS receiveNum
from lease_out_details lod
left join lease_apply_info lai on lod.parent_id=lai.id