|  | @@ -2,7 +2,7 @@
 | 
												
													
														
															|  |   * @description: 合同数据相关操作
 |  |   * @description: 合同数据相关操作
 | 
												
													
														
															|  |   * @Author: CP
 |  |   * @Author: CP
 | 
												
													
														
															|  |   * @Date: 2020-10-27 11:28:24
 |  |   * @Date: 2020-10-27 11:28:24
 | 
												
													
														
															|  | - * @FilePath: \construction_management\services\contract_service.go
 |  | 
 | 
												
													
														
															|  | 
 |  | + * @FilePath: \design_quantity\services\contract_service.go
 | 
												
													
														
															|  |   */
 |  |   */
 | 
												
													
														
															|  |  package services
 |  |  package services
 | 
												
													
														
															|  |  
 |  |  
 | 
												
											
												
													
														
															|  | @@ -39,6 +39,8 @@ type ContractService interface {
 | 
												
													
														
															|  |  	SectionDelete(treeId int) error
 |  |  	SectionDelete(treeId int) error
 | 
												
													
														
															|  |  	MoveDepth(sectionData *viewmodels.TreeSectionContract) error
 |  |  	MoveDepth(sectionData *viewmodels.TreeSectionContract) error
 | 
												
													
														
															|  |  	MoveSerial(sectionData *viewmodels.TreeSectionContract) error
 |  |  	MoveSerial(sectionData *viewmodels.TreeSectionContract) error
 | 
												
													
														
															|  | 
 |  | +
 | 
												
													
														
															|  | 
 |  | +	SaveUpload(Location string, Filename string, id int) error
 | 
												
													
														
															|  |  }
 |  |  }
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  //返回service操作类
 |  |  //返回service操作类
 | 
												
											
												
													
														
															|  | @@ -243,3 +245,8 @@ func (s *contractService) Add(contractData *viewmodels.Contracts, treeId int) er
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  	return nil
 |  |  	return nil
 | 
												
													
														
															|  |  }
 |  |  }
 | 
												
													
														
															|  | 
 |  | +
 | 
												
													
														
															|  | 
 |  | +// 保存上传文件
 | 
												
													
														
															|  | 
 |  | +func (s *contractService) SaveUpload(Location string, Filename string, id int) error {
 | 
												
													
														
															|  | 
 |  | +	return nil
 | 
												
													
														
															|  | 
 |  | +}
 |