This commit is contained in:
hayu 2025-12-16 11:27:15 +08:00
parent 9c92ac8f79
commit 5a513f49d1
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@
LEFT JOIN mm_type mtt ON mtt.ID = mt.PARENT_ID
WHERE mt.IS_COUNT = '0' AND wnd.CHECK_STATUS BETWEEN 4 AND 30
and wta.TASK_ID = #{param.taskId} AND wta.IS_ACTIVE = 1 AND wnd.IS_ACTIVE = 1
<if test="param.maModelId !=null and param.maModelId!=''">
and wnd.MODEL_ID = #{param.maModelId}
</if>
GROUP BY wnd.MODEL_ID
</select>