select inst_id as instId, node_id as nodeId,node_param as nodeParam from sop_inst_node where inst_id=#{instId} and node_param->'$.taskType' is not null
</select>
<updateid="resetInstNodeDailyCount">
update sop_inst_node set daily_count=0 where inst_id=#{instId}