mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	[feat]合并wyw-7.26外包合同管理模块1
This commit is contained in:
		| @@ -44,8 +44,13 @@ public class ExtContractServiceImpl implements ExtContractService { | |||||||
|     public Long createExtContract(ExtContractSaveReqVO createReqVO) { |     public Long createExtContract(ExtContractSaveReqVO createReqVO) { | ||||||
|         // 插入 |         // 插入 | ||||||
|         ExtContractDO extContract = BeanUtils.toBean(createReqVO, ExtContractDO.class); |         ExtContractDO extContract = BeanUtils.toBean(createReqVO, ExtContractDO.class); | ||||||
|  |         if (projectId != null) { | ||||||
|  |             updateExtContract(createReqVO); | ||||||
|  |         } else { | ||||||
|  |             // 插入 | ||||||
|             extContractMapper.insert(extContract); |             extContractMapper.insert(extContract); | ||||||
|         // 返回 |         } | ||||||
|  |  | ||||||
|         return extContract.getId(); |         return extContract.getId(); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Qiancheng Zhao
					Qiancheng Zhao