release 3.1 dev与prod代码合并冲突处理
This commit is contained in:
@@ -16,6 +16,7 @@ import com.ai.da.model.vo.QueryUserConditionsVO;
|
||||
import com.ai.da.service.AccountService;
|
||||
import com.ai.da.service.ConvenientInquiryService;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import io.netty.util.internal.StringUtil;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
@@ -80,7 +81,7 @@ public class ConvenientInquiryController {
|
||||
if (!StringUtil.isNullOrEmpty(email)){
|
||||
email = email.trim();
|
||||
}
|
||||
List<UserDesignStatisticDTO> designStatistic = designMapper.getDesignStatistic(startTime, endTime, ids, email);
|
||||
List<UserDesignStatisticDTO> designStatistic = designMapper.getDesignStatistic(startTime, endTime, ids, email,"prsn", null);
|
||||
return Response.success(designStatistic);
|
||||
} else {
|
||||
return Response.fail("Sorry, you don't have permission");
|
||||
|
||||
@@ -23,9 +23,6 @@ public class GenerateModifyDTO {
|
||||
@ApiModelProperty(value = "sketch所属分类", required = true)
|
||||
private String category;
|
||||
|
||||
@ApiModelProperty(value = "originalId的来源 Library || Generate(默认为空)", required = true)
|
||||
private String originalIdSource;
|
||||
|
||||
@NotNull(message = "id cannot be empty")
|
||||
@ApiModelProperty(value = "原图id", required = true)
|
||||
private Long originalId;
|
||||
|
||||
@@ -1173,13 +1173,14 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
|
||||
|
||||
@Override
|
||||
public Boolean designWorksRegister(AccountDesignWorksRegisterDTO accountDesignWorksRegisterDTO) {
|
||||
log.info("注册账号。邮箱:{}", accountDesignWorksRegisterDTO.getUserEmail() );
|
||||
String userEmail = accountDesignWorksRegisterDTO.getUserEmail();
|
||||
log.info("注册账号。邮箱:{}", userEmail);
|
||||
QueryWrapper<Account> qwA = new QueryWrapper<>();
|
||||
qwA.eq("BINARY user_email", accountDesignWorksRegisterDTO.getUserEmail());
|
||||
qwA.eq("BINARY user_email", userEmail);
|
||||
List<Account> accountList = accountMapper.selectList(qwA);
|
||||
|
||||
QueryWrapper<TrialOrder> qwT = new QueryWrapper<>();
|
||||
qwT.eq("BINARY email", accountDesignWorksRegisterDTO.getUserEmail());
|
||||
qwT.eq("BINARY email", userEmail);
|
||||
List<TrialOrder> trialOrders = trialOrderMapper.selectList(qwT);
|
||||
if (CollectionUtil.isNotEmpty(accountList) || CollectionUtil.isNotEmpty(trialOrders)) {
|
||||
throw new BusinessException("The email has already been registered");
|
||||
@@ -1261,12 +1262,12 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
|
||||
|
||||
static {
|
||||
HikariConfig config = new HikariConfig();
|
||||
config.setJdbcUrl("jdbc:mysql://code-create.com.hk:3306/db1nfvsgmjp3b8");
|
||||
config.setUsername("uafqtz4gsvfrw");
|
||||
config.setPassword("aida123456.");
|
||||
// config.setJdbcUrl("jdbc:mysql://localhost:3306/code-create-local?serverTimezone=UTC");
|
||||
// config.setUsername("root");
|
||||
// config.setPassword("root");
|
||||
// config.setJdbcUrl("jdbc:mysql://code-create.com.hk:3306/db1nfvsgmjp3b8");
|
||||
// config.setUsername("uafqtz4gsvfrw");
|
||||
// config.setPassword("aida123456.");
|
||||
config.setJdbcUrl("jdbc:mysql://localhost:3306/code-create-local?serverTimezone=UTC");
|
||||
config.setUsername("root");
|
||||
config.setPassword("root");
|
||||
config.addDataSourceProperty("cachePrepStmts", "true");
|
||||
config.addDataSourceProperty("prepStmtCacheSize", "250");
|
||||
config.addDataSourceProperty("prepStmtCacheSqlLimit", "2048");
|
||||
|
||||
@@ -401,6 +401,7 @@ public class AffiliateServiceImpl extends ServiceImpl<AffiliateMapper, Affiliate
|
||||
return baseMapper.selectOne(queryWrapper);
|
||||
}
|
||||
|
||||
/* 合代码重复了
|
||||
public void calcCouponsCommission(){
|
||||
// id存redis
|
||||
String lastTime = redisUtil.getFromString(RedisUtil.PAYMENT_INFO_LAST_SCAN_TIME);
|
||||
@@ -441,7 +442,7 @@ public class AffiliateServiceImpl extends ServiceImpl<AffiliateMapper, Affiliate
|
||||
}
|
||||
}
|
||||
redisUtil.addToString(RedisUtil.PAYMENT_INFO_LAST_SCAN_TIME, currentTime);
|
||||
}
|
||||
}*/
|
||||
|
||||
@Override
|
||||
public List<Map<String, Object>> getAllAffiliateUsername(){
|
||||
|
||||
Reference in New Issue
Block a user