|
@@ -905,7 +905,7 @@ sb.scrap_user_name,sb.repair_dept_id,sb.sort_num
|
|
|
|
|
|
<select id="getsbNumsByType" parameterType="com.platform.dao.dto.sb.SbInfoDTO"
|
|
|
resultType="com.platform.dao.vo.report.SbInfoTypeReportVO2">
|
|
|
- select count(1) as totalNum,type.name as typeName from t_sb_info info inner join t_sb_type type
|
|
|
+ select type.id as id count(1) as totalNum,type.name as typeName from t_sb_info info inner join t_sb_type type
|
|
|
on info.type_id = type.id
|
|
|
<where>
|
|
|
<if test="useType!=null">
|