mirror of
https://gitee.com/dromara/Raincat.git
synced 2024-11-30 02:48:48 +08:00
1.0.0-RELEASE 发布
This commit is contained in:
parent
b79410bbff
commit
a9f649c2db
@ -23,7 +23,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -0,0 +1,74 @@
|
||||
/*
|
||||
*
|
||||
* Copyright 2017-2018 549477611@qq.com(xiaoyu)
|
||||
*
|
||||
* This copyrighted material is made available to anyone wishing to use, modify,
|
||||
* copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
* Lesser General Public License, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
||||
* for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this distribution; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package com.happylifeplat.transaction.admin.controller;
|
||||
|
||||
import com.happylifeplat.transaction.admin.annotation.Permission;
|
||||
import com.happylifeplat.transaction.admin.page.CommonPager;
|
||||
import com.happylifeplat.transaction.admin.query.TxTransactionQuery;
|
||||
import com.happylifeplat.transaction.admin.service.TxTransactionGroupService;
|
||||
import com.happylifeplat.transaction.admin.vo.TxTransactionGroupVO;
|
||||
import com.happylifeplat.transaction.common.holder.httpclient.AjaxResponse;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>Description: .</p>
|
||||
* 查询TxManager存储的事务item信息
|
||||
*
|
||||
* @author xiaoyu(Myth)
|
||||
* @version 1.0
|
||||
* @date 2017/10/18 10:31
|
||||
* @since JDK 1.8
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tx")
|
||||
public class TxTransactionGroupController {
|
||||
|
||||
|
||||
private final TxTransactionGroupService txTransactionGroupService;
|
||||
|
||||
@Autowired
|
||||
public TxTransactionGroupController(TxTransactionGroupService txTransactionGroupService) {
|
||||
this.txTransactionGroupService = txTransactionGroupService;
|
||||
}
|
||||
|
||||
|
||||
@Permission
|
||||
@PostMapping(value = "/listPage")
|
||||
public AjaxResponse listPage(@RequestBody TxTransactionQuery txTransactionQuery) {
|
||||
final CommonPager<TxTransactionGroupVO> commonPager =
|
||||
txTransactionGroupService.listByPage(txTransactionQuery);
|
||||
return AjaxResponse.success(commonPager);
|
||||
}
|
||||
|
||||
@Permission
|
||||
@PostMapping(value = "/batchRemove")
|
||||
public AjaxResponse batchRemove(@RequestBody List<String> txGroupIds) {
|
||||
return AjaxResponse.success(txTransactionGroupService.batchRemove(txGroupIds));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -0,0 +1,36 @@
|
||||
/*
|
||||
*
|
||||
* Copyright 2017-2018 549477611@qq.com(xiaoyu)
|
||||
*
|
||||
* This copyrighted material is made available to anyone wishing to use, modify,
|
||||
* copy, or redistribute it subject to the terms and conditions of the GNU
|
||||
* Lesser General Public License, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
||||
* for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this distribution; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
package com.happylifeplat.transaction.common.bean.adapter;
|
||||
|
||||
import lombok.Data;
|
||||
import org.bson.types.ObjectId;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author xiaoyu
|
||||
*/
|
||||
@Data
|
||||
public class MongoAdapter extends TransactionRecoverAdapter implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 7920817865031921102L;
|
||||
|
||||
private ObjectId id;
|
||||
|
||||
|
||||
}
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
@ -82,7 +82,7 @@ module.exports = {
|
||||
// }
|
||||
// }),
|
||||
//new ExtractTextPlugin("[name].css"),
|
||||
new BabiliPlugin(),
|
||||
//new BabiliPlugin(),
|
||||
new HtmlWebpackPlugin({
|
||||
filename: 'index.html',
|
||||
template: curDir + '/src/index.html',
|
||||
|
8005
happylifeplat-transaction-dashboard/package-lock.json
generated
Normal file
8005
happylifeplat-transaction-dashboard/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -3,14 +3,6 @@
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "",
|
||||
"dependencies": {
|
||||
"babel-generator": "^6.26.0",
|
||||
"element-ui": "^1.4.8",
|
||||
"express": "^4.16.2",
|
||||
"jsprim": "^2.0.0",
|
||||
"lodash": "^4.17.4",
|
||||
"webpack": "^3.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-core": "^6.25.0",
|
||||
"babel-loader": "^7.1.1",
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>jar</packaging>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction-tx-dubbo-sample</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>jar</packaging>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction-tx-dubbo-sample</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction-tx-dubbo-sample</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction-tx-dubbo-sample</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>jar</packaging>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction-tx-dubbo-sample</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction-tx-sample</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction-tx-springcloud-sample</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction-tx-springcloud-sample</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction-tx-springcloud-sample</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction-tx-sample</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>happylifeplat-transaction</artifactId>
|
||||
<groupId>com.happylifeplat.transaction</groupId>
|
||||
<version>1.0.0-RELEASE</version>
|
||||
<version>1.1.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user