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