UPDATE BPM_PRINT_RECORD SET LAST_VERSION_=0 where PROC_INST_ID_=#{procInstId} and NODE_ID_=#{nodeId} and TEMPLATE_ID_=#{templateId}