Compare commits
91
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ebb9f633a4 | ||
|
|
bdcf32ba26 | ||
|
|
6feaad4b33 | ||
|
|
264d5495e6 | ||
|
|
b800069c82 | ||
|
|
79059e7818 | ||
|
|
4b943e887d | ||
|
|
359eac8985 | ||
|
|
1531c2498b | ||
|
|
60e80dda87 | ||
|
|
445da5f093 | ||
|
|
b62c7f2495 | ||
|
|
2b7c94e7c3 | ||
|
|
470b586085 | ||
|
|
3d0f9b9d1b | ||
|
|
634de93ffe | ||
|
|
996830bec7 | ||
|
|
cd88f94277 | ||
|
|
47970cd8ff | ||
|
|
ada3fbf9cb | ||
|
|
f6c99bd262 | ||
|
|
1241f19c16 | ||
|
|
d7a7a88232 | ||
|
|
7743b1bab2 | ||
|
|
982b1ee3e4 | ||
|
|
05e28c2c6d | ||
|
|
c18d0e8a9f | ||
|
|
1b221b13d1 | ||
|
|
135996ce19 | ||
|
|
6b85cddede | ||
|
|
e486f850f2 | ||
|
|
76c2f3a5fd | ||
|
|
bb542e7510 | ||
|
|
eba4461381 | ||
|
|
f5ad238015 | ||
|
|
4bdb24e9ac | ||
|
|
425922fd04 | ||
|
|
d65424e5bf | ||
|
|
2a35793baf | ||
|
|
d22df698b6 | ||
|
|
1771bf9909 | ||
|
|
15d69f9361 | ||
|
|
2b4089ef59 | ||
|
|
20c3e1f422 | ||
|
|
3b19d9e930 | ||
|
|
5fd11e9caf | ||
|
|
0b98dcdfe9 | ||
|
|
b373cbbe46 | ||
|
|
acd97c7b9b | ||
|
|
118bdb1666 | ||
|
|
944de228f7 | ||
|
|
25c9cd4dfc | ||
|
|
882cd226ec | ||
|
|
feb4d7af66 | ||
|
|
d75ab1ed5f | ||
|
|
a501eb7443 | ||
|
|
19941d9480 | ||
|
|
cd3d522d4f | ||
|
|
181c5078e9 | ||
|
|
e97f46e6b4 | ||
|
|
c0f89deb83 | ||
|
|
ce695463d3 | ||
|
|
83c683d473 | ||
|
|
9555474b0b | ||
|
|
a150f9e017 | ||
|
|
ecd2fa1c33 | ||
|
|
e3236d262d | ||
|
|
c8e2e16ba5 | ||
|
|
99b44faf09 | ||
|
|
b3e3cbf84b | ||
|
|
0aee11d824 | ||
|
|
fcf358a768 | ||
|
|
619369104c | ||
|
|
4f1408b9d0 | ||
|
|
029eea70cc | ||
|
|
22b1e65385 | ||
|
|
2170c48763 | ||
|
|
c2d1c48aae | ||
|
|
e14958c643 | ||
|
|
da288338cd | ||
|
|
ea430f2468 | ||
|
|
f76f79744a | ||
|
|
19daaff907 | ||
|
|
db94d8f932 | ||
|
|
53618fe362 | ||
|
|
523edffc4e | ||
|
|
c7ddb1a8b0 | ||
|
|
45c9fc814a | ||
|
|
407dc13ac4 | ||
|
|
0c06bf16c2 | ||
|
|
1db39e77d3 |
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
<groupId>com.imyeyu.timiserverapi</groupId>
|
<groupId>com.imyeyu.timiserverapi</groupId>
|
||||||
<artifactId>TimiServerAPI</artifactId>
|
<artifactId>TimiServerAPI</artifactId>
|
||||||
<version>1.0.77</version>
|
<version>1.0.78</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>TimiServerAPI</name>
|
<name>TimiServerAPI</name>
|
||||||
<description>imyeyu.com API</description>
|
<description>imyeyu.com API</description>
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package com.imyeyu.api.modules.app.service;
|
|||||||
import com.imyeyu.api.modules.app.entity.AppChannel;
|
import com.imyeyu.api.modules.app.entity.AppChannel;
|
||||||
import com.imyeyu.api.modules.app.entity.AppProduct;
|
import com.imyeyu.api.modules.app.entity.AppProduct;
|
||||||
import com.imyeyu.api.modules.app.entity.AppRelease;
|
import com.imyeyu.api.modules.app.entity.AppRelease;
|
||||||
|
import com.imyeyu.api.config.dbsource.TimiServerDBConfig;
|
||||||
import com.imyeyu.api.modules.app.mapper.AppChannelMapper;
|
import com.imyeyu.api.modules.app.mapper.AppChannelMapper;
|
||||||
import com.imyeyu.api.modules.app.mapper.AppProductMapper;
|
import com.imyeyu.api.modules.app.mapper.AppProductMapper;
|
||||||
import com.imyeyu.api.modules.app.mapper.AppReleaseMapper;
|
import com.imyeyu.api.modules.app.mapper.AppReleaseMapper;
|
||||||
@@ -359,7 +360,7 @@ public class AppVersionService {
|
|||||||
/// @param grayPermille 灰度比例,为空时保持原值
|
/// @param grayPermille 灰度比例,为空时保持原值
|
||||||
/// @param operatorId 操作人用户 ID
|
/// @param operatorId 操作人用户 ID
|
||||||
/// @param note 变更说明
|
/// @param note 变更说明
|
||||||
@Transactional
|
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
||||||
public void publish(String releaseId, String channelCode, Integer grayPermille, String operatorId, String note) {
|
public void publish(String releaseId, String channelCode, Integer grayPermille, String operatorId, String note) {
|
||||||
AppRelease release = releaseMapper.select(releaseId);
|
AppRelease release = releaseMapper.select(releaseId);
|
||||||
if (release == null) {
|
if (release == null) {
|
||||||
@@ -392,7 +393,7 @@ public class AppVersionService {
|
|||||||
/// @param channelCode 通道代码
|
/// @param channelCode 通道代码
|
||||||
/// @param targetReleaseId 目标发布 ID
|
/// @param targetReleaseId 目标发布 ID
|
||||||
/// @param operatorId 操作人用户 ID
|
/// @param operatorId 操作人用户 ID
|
||||||
@Transactional
|
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
||||||
public void rollback(String productId, String channelCode, String targetReleaseId, String operatorId) {
|
public void rollback(String productId, String channelCode, String targetReleaseId, String operatorId) {
|
||||||
AppChannel channel = channelMapper.selectByProductAndCode(productId, channelCode);
|
AppChannel channel = channelMapper.selectByProductAndCode(productId, channelCode);
|
||||||
if (channel == null) {
|
if (channel == null) {
|
||||||
@@ -415,7 +416,7 @@ public class AppVersionService {
|
|||||||
///
|
///
|
||||||
/// @param releaseId 发布 ID
|
/// @param releaseId 发布 ID
|
||||||
/// @param operatorId 操作人用户 ID
|
/// @param operatorId 操作人用户 ID
|
||||||
@Transactional
|
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
||||||
public void revoke(String releaseId, String operatorId) {
|
public void revoke(String releaseId, String operatorId) {
|
||||||
AppRelease release = releaseMapper.select(releaseId);
|
AppRelease release = releaseMapper.select(releaseId);
|
||||||
if (release == null) {
|
if (release == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user