【7.0.3】整理版本号

pull/16/head
fengshuonan 2021-04-20 20:12:51 +08:00
parent 28def2b1ec
commit f8107854ba
5 changed files with 16 additions and 12 deletions

View File

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>cn.stylefeng.roses</groupId> <groupId>cn.stylefeng.roses</groupId>
<artifactId>roses-kernel</artifactId> <artifactId>roses-kernel</artifactId>
<version>7.0.2</version> <version>7.0.3</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -25,7 +25,7 @@
<dependency> <dependency>
<groupId>cn.stylefeng.roses</groupId> <groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-a-rule</artifactId> <artifactId>kernel-a-rule</artifactId>
<version>7.0.2</version> <version>7.0.3</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>cn.stylefeng.roses</groupId> <groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-seata</artifactId> <artifactId>kernel-d-seata</artifactId>
<version>7.0.2</version> <version>7.0.3</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -22,13 +22,13 @@
<dependency> <dependency>
<groupId>cn.stylefeng.roses</groupId> <groupId>cn.stylefeng.roses</groupId>
<artifactId>seata-demo-storage-api</artifactId> <artifactId>seata-demo-storage-api</artifactId>
<version>7.0.2</version> <version>7.0.3</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cn.stylefeng.roses</groupId> <groupId>cn.stylefeng.roses</groupId>
<artifactId>seata-demo-wallet-api</artifactId> <artifactId>seata-demo-wallet-api</artifactId>
<version>7.0.2</version> <version>7.0.3</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -2,9 +2,10 @@ package cn.stylefeng.roses.kernel.seata.order.controller;
import cn.stylefeng.roses.kernel.seata.order.entity.Order; import cn.stylefeng.roses.kernel.seata.order.entity.Order;
import cn.stylefeng.roses.kernel.seata.order.service.OrderService; import cn.stylefeng.roses.kernel.seata.order.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import javax.annotation.Resource;
/** /**
* *
* *
@ -13,15 +14,18 @@ import org.springframework.web.bind.annotation.GetMapping;
*/ */
public class OrderController { public class OrderController {
@Autowired @Resource
OrderService orderService; private OrderService orderService;
/** /**
* *
*
* @author wangyl
* @date 2021/4/20 20:11
*/ */
@GetMapping("/create") @GetMapping("/create")
Order create(String userId, String commodityCode, int orderCount){ public Order create(String userId, String commodityCode, int orderCount) {
return orderService.create(userId,commodityCode,orderCount); return orderService.create(userId, commodityCode, orderCount);
} }
} }

View File

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>cn.stylefeng.roses</groupId> <groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-seata</artifactId> <artifactId>kernel-d-seata</artifactId>
<version>7.0.2</version> <version>7.0.3</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>cn.stylefeng.roses</groupId> <groupId>cn.stylefeng.roses</groupId>
<artifactId>kernel-d-seata</artifactId> <artifactId>kernel-d-seata</artifactId>
<version>7.0.2</version> <version>7.0.3</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>