Commit 8f5336fe by guojuxing

创建商户用户名事务

parent 14dbd116
......@@ -20,6 +20,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.ArrayList;
import java.util.Date;
......@@ -299,6 +300,7 @@ public class StoreGroupApiServiceImpl implements StoreGroupApiService {
}
@Override
@Transactional(rollbackFor = Exception.class)
public ServiceResponse<Integer> insertDefaultStoreGroup(int enterpriseId) {
StoreGroupDTO noStoreGroup = new StoreGroupDTO();
noStoreGroup.setEnterpriseId(enterpriseId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment