|
@@ -101,7 +101,7 @@
|
|
|
|
|
|
<select id="getSbNums" resultType="com.platform.dao.vo.report.SbInfoTypeReportVO2"
|
|
<select id="getSbNums" resultType="com.platform.dao.vo.report.SbInfoTypeReportVO2"
|
|
parameterType="com.platform.dao.dto.sb.SbTypeDTO">
|
|
parameterType="com.platform.dao.dto.sb.SbTypeDTO">
|
|
- select count(1) as totalNum,type.name as typeName,type.id as id
|
|
|
|
|
|
+ select count(1) as totalNum,any_value(type.name) as typeName,any_value(type.id) as id
|
|
from t_sb_type type inner join t_sb_info info
|
|
from t_sb_type type inner join t_sb_info info
|
|
on
|
|
on
|
|
type.id = info.type_id
|
|
type.id = info.type_id
|