|  | @@ -72,6 +72,7 @@ func (d *ApproverDao) InsertData(cur_uid int, bid int, pid int, dataType int, da
 | 
	
		
			
				|  |  |  		approverVM.ProjectId = pid
 | 
	
		
			
				|  |  |  		approverVM.DataType = dataType
 | 
	
		
			
				|  |  |  		approverVM.DataId = dataId
 | 
	
		
			
				|  |  | +		approverVM.CreateTime = time.Now()
 | 
	
		
			
				|  |  |  		approverVM.Status = 0
 | 
	
		
			
				|  |  |  		if i == 0 {
 | 
	
		
			
				|  |  |  			approverVM.Status = 1
 | 
	
	
		
			
				|  | @@ -107,6 +108,7 @@ func (d *ApproverDao) InsertData(cur_uid int, bid int, pid int, dataType int, da
 | 
	
		
			
				|  |  |  		approverVM.ProjectId = pid
 | 
	
		
			
				|  |  |  		approverVM.DataType = dataType
 | 
	
		
			
				|  |  |  		approverVM.DataId = dataId
 | 
	
		
			
				|  |  | +		approverVM.CreateTime = time.Now()
 | 
	
		
			
				|  |  |  		data = append(data, approverVM)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		// 消息推送
 | 
	
	
		
			
				|  | @@ -484,8 +486,8 @@ func (d *ApproverDao) PassHandler(auditType string, id int, uid int, auditId int
 | 
	
		
			
				|  |  |  				session.Rollback()
 | 
	
		
			
				|  |  |  				return err
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  | -			// 改变审批流程中的整改人id
 | 
	
		
			
				|  |  | -			_, err = session.Exec("update `cm_approver` set `audit_id` = ? where `bidsection_id` = ? and `data_type` = ? and `data_id` = ? and `audit_order` = ?", auditId, auditor.BidsectionId, auditor.DataType, auditor.DataId, auditor.AuditOrder+1)
 | 
	
		
			
				|  |  | +			// 改变审批流程中的整改人id, 以及创建时间
 | 
	
		
			
				|  |  | +			_, err = session.Exec("update `cm_approver` set `audit_id` = ? where `bidsection_id` = ? and `data_type` = ? and `data_id` = ? and `audit_order` = ? create_time = ?", auditId, auditor.BidsectionId, auditor.DataType, auditor.DataId, auditor.AuditOrder+1, time.Now())
 | 
	
		
			
				|  |  |  			if err != nil {
 | 
	
		
			
				|  |  |  				session.Rollback()
 | 
	
		
			
				|  |  |  				return err
 |