为方法加锁

This commit is contained in:
guohb
2024-05-31 17:25:55 +08:00
parent 84a1495c03
commit 5e8408d74f

View File

@@ -244,7 +244,7 @@ public class IntentAgreementServiceImpl extends LineFlowService implements Inten
}
@Override
public ResponseResult save(FranchiseeSaveRequest request, LoginUserInfo user) throws ApiException {
public synchronized ResponseResult save(FranchiseeSaveRequest request, LoginUserInfo user) throws ApiException {
log.info("save request:{}", JSONObject.toJSONString(request));
if (Objects.isNull(request)) {
throw new ServiceException(ErrorCodeEnum.PARAMS_VALIDATE_ERROR);