Commit b5a1159f by 章家宝

fixbug:创建平台合同更新为独立事务

1 parent 68a30382
......@@ -218,7 +218,7 @@ public class PlatformContractService {
* @param platformContract 平台合同实例对象
* @return 签署链接
*/
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
@Transactional(propagation = Propagation.REQUIRES_NEW, rollbackFor = Exception.class)
public String createPlatformContract(PlatformContract platformContract) throws EsignDemoException {
platformContract.setContractStatus(PlatformContract.ContractStatus.SIGNING);
platformContract.setSignDeadline(LocalDateTime.now().plusHours(24));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!