Merge remote-tracking branch 'refs/remotes/origin/dev' into dev_user0622
# Conflicts: # mhd-user-center/src/main/resources/bootstrap.yml
This commit is contained in:
@@ -15,8 +15,8 @@ spring:
|
|||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
# username: nacos
|
username: nacos
|
||||||
# password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
# server-addr: 10.102.192.5:6848
|
# server-addr: 10.102.192.5:6848
|
||||||
# username: nacos
|
# username: nacos
|
||||||
@@ -27,8 +27,8 @@ spring:
|
|||||||
server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
# server-addr: 10.102.192.5:6848
|
# server-addr: 10.102.192.5:6848
|
||||||
# username: nacos
|
username: nacos
|
||||||
# password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
group: DEFAULT_GROUP # 默认分组就是DEFAULT_GROUP,如果使用默认分组可以不配置
|
group: DEFAULT_GROUP # 默认分组就是DEFAULT_GROUP,如果使用默认分组可以不配置
|
||||||
file-extension: yml #默认properties
|
file-extension: yml #默认properties
|
||||||
|
|||||||
@@ -16,19 +16,19 @@ spring:
|
|||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
# server-addr: 10.102.192.31:6848
|
# server-addr: 10.102.192.31:6848
|
||||||
# server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
server-addr: 10.102.192.31:6848
|
# server-addr: 10.102.192.31:6848
|
||||||
username: nacos
|
username: nacos
|
||||||
password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
config:
|
config:
|
||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
# server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
server-addr: 10.102.192.31:6848
|
# server-addr: 10.102.192.31:6848
|
||||||
username: nacos
|
username: nacos
|
||||||
password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
group: DEFAULT_GROUP # 默认分组就是DEFAULT_GROUP,如果使用默认分组可以不配置
|
group: DEFAULT_GROUP # 默认分组就是DEFAULT_GROUP,如果使用默认分组可以不配置
|
||||||
|
|||||||
@@ -14,18 +14,18 @@ spring:
|
|||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
server-addr: 10.102.192.30:6848
|
# server-addr: 10.102.192.30:6848
|
||||||
username: nacos
|
username: nacos
|
||||||
password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
# server-addr: 10.102.192.105:6848
|
# server-addr: 10.102.192.105:6848
|
||||||
config:
|
config:
|
||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
server-addr: 10.102.192.30:6848
|
# server-addr: 10.102.192.30:6848
|
||||||
username: nacos
|
username: nacos
|
||||||
password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
|
|||||||
@@ -18,19 +18,19 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
# server-addr: 10.33.0.129:6010
|
# server-addr: 10.33.0.129:6010
|
||||||
# server-addr: 10.102.192.31:6848
|
server-addr: 10.102.192.30:6848
|
||||||
# username: nacos
|
username: nacos
|
||||||
# password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
# server-addr: 10.33.0.129:6010
|
# server-addr: 10.33.0.129:6010
|
||||||
# server-addr: 10.102.192.31:6848
|
server-addr: 10.102.192.30:6848
|
||||||
# username: nacos
|
username: nacos
|
||||||
# password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
group: DEFAULT_GROUP # 默认分组就是DEFAULT_GROUP,如果使用默认分组可以不配置
|
group: DEFAULT_GROUP # 默认分组就是DEFAULT_GROUP,如果使用默认分组可以不配置
|
||||||
file-extension: yml #默认properties
|
file-extension: yml #默认properties
|
||||||
# 共享配置
|
# 共享配置
|
||||||
@@ -43,7 +43,3 @@ spring:
|
|||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
configuration:
|
configuration:
|
||||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||||
wechat:
|
|
||||||
miniapp:
|
|
||||||
appId: wxc9dd2810a77e4e30
|
|
||||||
appSecret: 9354ff1215a82785ef14f2355fbf2185
|
|
||||||
|
|||||||
@@ -20,15 +20,15 @@ spring:
|
|||||||
discovery:
|
discovery:
|
||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
# server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
server-addr: 10.102.192.31:6848
|
# server-addr: 10.102.192.31:6848
|
||||||
username: nacos
|
username: nacos
|
||||||
password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
config:
|
config:
|
||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
# server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
server-addr: 10.102.192.31:6848
|
# server-addr: 10.102.192.31:6848
|
||||||
username: nacos
|
username: nacos
|
||||||
password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
|
|||||||
+51
@@ -1,6 +1,8 @@
|
|||||||
package com.mhd.oms.domain.businessDocumentOrder.repository.persistence;
|
package com.mhd.oms.domain.businessDocumentOrder.repository.persistence;
|
||||||
|
|
||||||
|
import cn.hutool.core.date.DateUtil;
|
||||||
import cn.hutool.core.util.ObjectUtil;
|
import cn.hutool.core.util.ObjectUtil;
|
||||||
|
import cn.hutool.core.util.RandomUtil;
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
@@ -43,6 +45,7 @@ import org.springframework.beans.BeanUtils;
|
|||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
import org.springframework.util.CollectionUtils;
|
||||||
|
|
||||||
import java.rmi.ServerException;
|
import java.rmi.ServerException;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@@ -169,6 +172,29 @@ public class BusinessDocumentOrderImpl extends ServiceImpl<BusinessDocumentOrder
|
|||||||
return businessDocumentOrderPO;
|
return businessDocumentOrderPO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public static String getOrderCodeByDate(Date date){
|
||||||
|
return new StringBuffer()
|
||||||
|
.append(getSecondPartByDate(date))
|
||||||
|
.append(getThreePart())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
private static String getSecondPartByDate(Date date) {
|
||||||
|
if (date == null) {
|
||||||
|
date = new Date();
|
||||||
|
}
|
||||||
|
String temp_current_time = DateUtil.format(date, datePattern());
|
||||||
|
return temp_current_time.substring(2, temp_current_time.length());
|
||||||
|
}
|
||||||
|
private static String datePattern() {
|
||||||
|
return "yyyyMMddHHmmss";
|
||||||
|
}
|
||||||
|
private static String getThreePart() {
|
||||||
|
return RandomUtil.randomNumbers(4);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean audit(List<Long> ids, Long reviewStatus, String SalesManager,String reviewOpinion ) {
|
public Boolean audit(List<Long> ids, Long reviewStatus, String SalesManager,String reviewOpinion ) {
|
||||||
LoginUser loginUser = SecurityUtils.getLoginUser();//获取登录人
|
LoginUser loginUser = SecurityUtils.getLoginUser();//获取登录人
|
||||||
@@ -229,6 +255,31 @@ public class BusinessDocumentOrderImpl extends ServiceImpl<BusinessDocumentOrder
|
|||||||
subOrder.setRecipientName(user.getUserName());
|
subOrder.setRecipientName(user.getUserName());
|
||||||
|
|
||||||
|
|
||||||
|
String orderCode = null;
|
||||||
|
int maxRetryCount = 100;
|
||||||
|
int retryCount = 0;
|
||||||
|
|
||||||
|
while (retryCount < maxRetryCount) {
|
||||||
|
orderCode = getOrderCodeByDate(subOrder.getDocumentDate());
|
||||||
|
retryCount++;
|
||||||
|
|
||||||
|
List<BusinessDocumentOrder> checkOrderCodes = businessDocumentOrderMapper.selectList(
|
||||||
|
new QueryWrapper<BusinessDocumentOrder>().eq("goods_number", orderCode)
|
||||||
|
);
|
||||||
|
|
||||||
|
if (CollectionUtils.isEmpty(checkOrderCodes)) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (retryCount >= maxRetryCount) {
|
||||||
|
throw new com.aliyun.oss.ServiceException("生成唯一订单编号失败,已达到最大重试次数:" + maxRetryCount);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//生成货源单号
|
||||||
|
subOrder.setGoodsNumber(orderCode);
|
||||||
|
|
||||||
|
|
||||||
businessDocumentOrderMapper.insert(subOrder);
|
businessDocumentOrderMapper.insert(subOrder);
|
||||||
subOrderCount++; // 增加子单计数
|
subOrderCount++; // 增加子单计数
|
||||||
|
|
||||||
|
|||||||
+8
@@ -91,6 +91,8 @@ public class BusinessDocumentOrderPO extends BaseVOEntity{
|
|||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date loadingDate;
|
private Date loadingDate;
|
||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@@ -123,6 +125,8 @@ public class BusinessDocumentOrderPO extends BaseVOEntity{
|
|||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date unloadingData;
|
private Date unloadingData;
|
||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@@ -674,6 +678,8 @@ public class BusinessDocumentOrderPO extends BaseVOEntity{
|
|||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
private Date documentDate;
|
private Date documentDate;
|
||||||
|
|
||||||
|
|
||||||
@@ -764,6 +770,8 @@ public class BusinessDocumentOrderPO extends BaseVOEntity{
|
|||||||
private String entryNumber;
|
private String entryNumber;
|
||||||
|
|
||||||
@ApiModelProperty("预计出发日期")
|
@ApiModelProperty("预计出发日期")
|
||||||
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
private Date layDate;
|
private Date layDate;
|
||||||
|
|
||||||
@ApiModelProperty("出入库单号")
|
@ApiModelProperty("出入库单号")
|
||||||
|
|||||||
+6
@@ -106,6 +106,8 @@ public class BusinessDocumentOrderDO extends BaseVOEntity{
|
|||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date loadingDate;
|
private Date loadingDate;
|
||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@@ -138,6 +140,8 @@ public class BusinessDocumentOrderDO extends BaseVOEntity{
|
|||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date unloadingData;
|
private Date unloadingData;
|
||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@@ -741,6 +745,8 @@ public class BusinessDocumentOrderDO extends BaseVOEntity{
|
|||||||
private String paymentAccountId;
|
private String paymentAccountId;
|
||||||
|
|
||||||
@ApiModelProperty("预计出发日期")
|
@ApiModelProperty("预计出发日期")
|
||||||
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
private Date layDate;
|
private Date layDate;
|
||||||
|
|
||||||
@ApiModelProperty("收款账户信息")
|
@ApiModelProperty("收款账户信息")
|
||||||
|
|||||||
+96
-5
@@ -1,10 +1,14 @@
|
|||||||
package com.mhd.oms.domain.businessDocumentOrder.service;
|
package com.mhd.oms.domain.businessDocumentOrder.service;
|
||||||
|
|
||||||
|
import cn.hutool.core.date.DateUtil;
|
||||||
import cn.hutool.core.lang.Snowflake;
|
import cn.hutool.core.lang.Snowflake;
|
||||||
import cn.hutool.core.util.IdUtil;
|
import cn.hutool.core.util.IdUtil;
|
||||||
import cn.hutool.core.util.ObjectUtil;
|
import cn.hutool.core.util.ObjectUtil;
|
||||||
|
import cn.hutool.core.util.RandomUtil;
|
||||||
import com.aliyun.oss.ServiceException;
|
import com.aliyun.oss.ServiceException;
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.mhd.common.core.domain.entity.TmsOrder;
|
||||||
import com.mhd.common.core.domain.po.UserShipperPo;
|
import com.mhd.common.core.domain.po.UserShipperPo;
|
||||||
import com.mhd.common.core.utils.DateUtils;
|
import com.mhd.common.core.utils.DateUtils;
|
||||||
import com.mhd.common.core.utils.OrderSequence;
|
import com.mhd.common.core.utils.OrderSequence;
|
||||||
@@ -47,6 +51,7 @@ import org.apache.commons.lang.StringUtils;
|
|||||||
import org.springframework.beans.BeanUtils;
|
import org.springframework.beans.BeanUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.util.CollectionUtils;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
@@ -101,6 +106,25 @@ public class BusinessDocumentOrderDomainService {
|
|||||||
return businessDocumentOrderService.queryList(businessDocumentOrderDO);
|
return businessDocumentOrderService.queryList(businessDocumentOrderDO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static String getOrderCodeByDate(Date date){
|
||||||
|
return new StringBuffer()
|
||||||
|
.append(getSecondPartByDate(date))
|
||||||
|
.append(getThreePart())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
private static String getSecondPartByDate(Date date) {
|
||||||
|
if (date == null) {
|
||||||
|
date = new Date();
|
||||||
|
}
|
||||||
|
String temp_current_time = DateUtil.format(date, datePattern());
|
||||||
|
return temp_current_time.substring(2, temp_current_time.length());
|
||||||
|
}
|
||||||
|
private static String datePattern() {
|
||||||
|
return "yyyyMMddHHmmss";
|
||||||
|
}
|
||||||
|
private static String getThreePart() {
|
||||||
|
return RandomUtil.randomNumbers(4);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增【请填写功能名称】
|
* 新增【请填写功能名称】
|
||||||
@@ -184,6 +208,7 @@ public class BusinessDocumentOrderDomainService {
|
|||||||
BeanUtils.copyProperties(businessDocumentOrderDO, tmsOrder, "id");
|
BeanUtils.copyProperties(businessDocumentOrderDO, tmsOrder, "id");
|
||||||
tmsOrder.setSettlementStatus(1L);//未出账
|
tmsOrder.setSettlementStatus(1L);//未出账
|
||||||
tmsOrder.setAuditStatus(0L);//未审核
|
tmsOrder.setAuditStatus(0L);//未审核
|
||||||
|
tmsOrder.setCustomerCodeNc(customerNcCode);
|
||||||
tmsOrder.setSzwlUserId(Long.valueOf(u.getUserid()));
|
tmsOrder.setSzwlUserId(Long.valueOf(u.getUserid()));
|
||||||
if (tmsOrder.getLoadingDate() != null && tmsOrder.getUnloadingData() != null) {
|
if (tmsOrder.getLoadingDate() != null && tmsOrder.getUnloadingData() != null) {
|
||||||
if (tmsOrder.getUnloadingData().before(tmsOrder.getLoadingDate())) {
|
if (tmsOrder.getUnloadingData().before(tmsOrder.getLoadingDate())) {
|
||||||
@@ -257,16 +282,41 @@ public class BusinessDocumentOrderDomainService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//生成货源单号
|
//生成货源单号
|
||||||
if (businessDocumentOrderDO.getGoodsNumber() == null) {
|
|
||||||
|
|
||||||
tmsOrder.setGoodsNumber(OrderSequence.getOrderCode());
|
String orderCode = null;
|
||||||
|
int maxRetryCount = 100;
|
||||||
|
int retryCount = 0;
|
||||||
|
|
||||||
|
while (retryCount < maxRetryCount) {
|
||||||
|
orderCode = getOrderCodeByDate(tmsOrder.getDocumentDate());
|
||||||
|
retryCount++;
|
||||||
|
|
||||||
|
List<BusinessDocumentOrder> checkOrderCodes = businessDocumentOrderMapper.selectList(
|
||||||
|
new QueryWrapper<BusinessDocumentOrder>().eq("goods_number", orderCode)
|
||||||
|
);
|
||||||
|
|
||||||
|
if (CollectionUtils.isEmpty(checkOrderCodes)) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (retryCount >= maxRetryCount) {
|
||||||
|
throw new ServiceException("生成唯一订单编号失败,已达到最大重试次数:" + maxRetryCount);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ReservationStockOutOrder reservationStockOutOrder = reservationStockOutOrderMapper.selectOne(new LambdaQueryWrapper<ReservationStockOutOrder>().eq(ReservationStockOutOrder::getOutOrderNumber, tmsOrder.getInOrderNumber()));
|
|
||||||
|
//生成货源单号
|
||||||
|
tmsOrder.setGoodsNumber(orderCode);
|
||||||
|
|
||||||
|
ReservationStockOutOrder reservationStockOutOrder = reservationStockOutOrderMapper.selectOne(new LambdaQueryWrapper<ReservationStockOutOrder>()
|
||||||
|
.eq(ReservationStockOutOrder::getOutOrderNumber, tmsOrder.getInOrderNumber())
|
||||||
|
.eq(ReservationStockOutOrder::getDelFlag, 1));
|
||||||
if (reservationStockOutOrder != null){
|
if (reservationStockOutOrder != null){
|
||||||
reservationStockOutOrder.setBusinessNumber(tmsOrder.getGoodsNumber());
|
reservationStockOutOrder.setBusinessNumber(tmsOrder.getGoodsNumber());
|
||||||
reservationStockOutOrderMapper.updateById(reservationStockOutOrder);
|
reservationStockOutOrderMapper.updateById(reservationStockOutOrder);
|
||||||
}
|
}
|
||||||
ReservationStockInOrder reservationStockInOrder = reservationStockInOrderMapper.selectOne(new LambdaQueryWrapper<ReservationStockInOrder>().eq(ReservationStockInOrder::getInOrderNumber, tmsOrder.getInOrderNumber()));
|
ReservationStockInOrder reservationStockInOrder = reservationStockInOrderMapper.selectOne(new LambdaQueryWrapper<ReservationStockInOrder>()
|
||||||
|
.eq(ReservationStockInOrder::getInOrderNumber, tmsOrder.getInOrderNumber())
|
||||||
|
.eq(ReservationStockInOrder::getDelFlag, 1));
|
||||||
if (reservationStockInOrder != null){
|
if (reservationStockInOrder != null){
|
||||||
reservationStockInOrder.setBusinessNumber(tmsOrder.getGoodsNumber());
|
reservationStockInOrder.setBusinessNumber(tmsOrder.getGoodsNumber());
|
||||||
reservationStockInOrderMapper.updateById(reservationStockInOrder);
|
reservationStockInOrderMapper.updateById(reservationStockInOrder);
|
||||||
@@ -392,7 +442,7 @@ public class BusinessDocumentOrderDomainService {
|
|||||||
tmsOrder.setSplicingOrderType(0L); // 普通单
|
tmsOrder.setSplicingOrderType(0L); // 普通单
|
||||||
}
|
}
|
||||||
//一天后
|
//一天后
|
||||||
tmsOrder.setDocumentDate(DateUtils.addHours(new Date(), 24));
|
tmsOrder.setDocumentDate(businessDocumentOrderDO.getDocumentDate());
|
||||||
|
|
||||||
boolean istrue = businessDocumentOrderMapper.insert(tmsOrder) > 0;
|
boolean istrue = businessDocumentOrderMapper.insert(tmsOrder) > 0;
|
||||||
|
|
||||||
@@ -474,6 +524,7 @@ public class BusinessDocumentOrderDomainService {
|
|||||||
throw new ServiceException("您非货主角色或账号已被删除!");
|
throw new ServiceException("您非货主角色或账号已被删除!");
|
||||||
}
|
}
|
||||||
BusinessDocumentOrder tmsOrder = businessDocumentOrderService.getById(businessDocumentOrderDO.getId());
|
BusinessDocumentOrder tmsOrder = businessDocumentOrderService.getById(businessDocumentOrderDO.getId());
|
||||||
|
String inOrderNumber = tmsOrder.getInOrderNumber();
|
||||||
if (tmsOrder.getOrderStatus() == 1){
|
if (tmsOrder.getOrderStatus() == 1){
|
||||||
tmsOrder.setOrderStatus(0L);
|
tmsOrder.setOrderStatus(0L);
|
||||||
}
|
}
|
||||||
@@ -484,6 +535,7 @@ public class BusinessDocumentOrderDomainService {
|
|||||||
throw new ServiceException("运单已被关闭,请确认!");
|
throw new ServiceException("运单已被关闭,请确认!");
|
||||||
}
|
}
|
||||||
//处理费用默认值
|
//处理费用默认值
|
||||||
|
tmsOrder.setDocumentDate(businessDocumentOrderDO.getDocumentDate());
|
||||||
handFee(businessDocumentOrderDO);
|
handFee(businessDocumentOrderDO);
|
||||||
//组织赋值
|
//组织赋值
|
||||||
Long organizationId = businessDocumentOrderDO.getOrganizationId();
|
Long organizationId = businessDocumentOrderDO.getOrganizationId();
|
||||||
@@ -679,6 +731,45 @@ public class BusinessDocumentOrderDomainService {
|
|||||||
}
|
}
|
||||||
// boolean istrue=businessDocumentOrderService.update(businessDocumentOrderDO);
|
// boolean istrue=businessDocumentOrderService.update(businessDocumentOrderDO);
|
||||||
|
|
||||||
|
|
||||||
|
String orderCode = null;
|
||||||
|
int maxRetryCount = 100;
|
||||||
|
int retryCount = 0;
|
||||||
|
|
||||||
|
while (retryCount < maxRetryCount) {
|
||||||
|
orderCode = getOrderCodeByDate(tmsOrder.getDocumentDate());
|
||||||
|
retryCount++;
|
||||||
|
|
||||||
|
List<BusinessDocumentOrder> checkOrderCodes = businessDocumentOrderMapper.selectList(
|
||||||
|
new QueryWrapper<BusinessDocumentOrder>().eq("goods_number", orderCode)
|
||||||
|
);
|
||||||
|
|
||||||
|
if (CollectionUtils.isEmpty(checkOrderCodes)) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (retryCount >= maxRetryCount) {
|
||||||
|
throw new ServiceException("生成唯一订单编号失败,已达到最大重试次数:" + maxRetryCount);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//生成货源单号
|
||||||
|
tmsOrder.setGoodsNumber(orderCode);
|
||||||
|
|
||||||
|
ReservationStockOutOrder reservationStockOutOrder = reservationStockOutOrderMapper.selectOne(new LambdaQueryWrapper<ReservationStockOutOrder>()
|
||||||
|
.eq(ReservationStockOutOrder::getOutOrderNumber, inOrderNumber)
|
||||||
|
.eq(ReservationStockOutOrder::getDelFlag, 1));
|
||||||
|
if (reservationStockOutOrder != null){
|
||||||
|
reservationStockOutOrder.setBusinessNumber(tmsOrder.getGoodsNumber());
|
||||||
|
reservationStockOutOrderMapper.updateById(reservationStockOutOrder);
|
||||||
|
}
|
||||||
|
ReservationStockInOrder reservationStockInOrder = reservationStockInOrderMapper.selectOne(new LambdaQueryWrapper<ReservationStockInOrder>()
|
||||||
|
.eq(ReservationStockInOrder::getInOrderNumber, inOrderNumber)
|
||||||
|
.eq(ReservationStockInOrder::getDelFlag, 1));
|
||||||
|
if (reservationStockInOrder != null){
|
||||||
|
reservationStockInOrder.setBusinessNumber(tmsOrder.getGoodsNumber());
|
||||||
|
reservationStockInOrderMapper.updateById(reservationStockInOrder);
|
||||||
|
}
|
||||||
int i = businessDocumentOrderMapper.updateById(tmsOrder);
|
int i = businessDocumentOrderMapper.updateById(tmsOrder);
|
||||||
if (deliveryFreight != null && deliveryFreight.compareTo(BigDecimal.ZERO) > 0){
|
if (deliveryFreight != null && deliveryFreight.compareTo(BigDecimal.ZERO) > 0){
|
||||||
List<ReservationOrder> reservationOrderList = reservationOrderMapper.selectList(new LambdaQueryWrapper<ReservationOrder>().eq(ReservationOrder::getGoodsNumber, businessDocumentOrderDO.getGoodsNumber()));
|
List<ReservationOrder> reservationOrderList = reservationOrderMapper.selectList(new LambdaQueryWrapper<ReservationOrder>().eq(ReservationOrder::getGoodsNumber, businessDocumentOrderDO.getGoodsNumber()));
|
||||||
|
|||||||
+7
@@ -31,6 +31,7 @@ public class ExecuteOrderPO extends BaseVOEntity{
|
|||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
private String realCreateBy;
|
private String realCreateBy;
|
||||||
@@ -123,6 +124,8 @@ public class ExecuteOrderPO extends BaseVOEntity{
|
|||||||
private String jobStatus;
|
private String jobStatus;
|
||||||
|
|
||||||
@ApiModelProperty("预计运输时间")
|
@ApiModelProperty("预计运输时间")
|
||||||
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
private Date documentDate;
|
private Date documentDate;
|
||||||
|
|
||||||
@ApiModelProperty("备注")
|
@ApiModelProperty("备注")
|
||||||
@@ -150,6 +153,8 @@ public class ExecuteOrderPO extends BaseVOEntity{
|
|||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date loadingDate;
|
private Date loadingDate;
|
||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@@ -188,6 +193,8 @@ public class ExecuteOrderPO extends BaseVOEntity{
|
|||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
private Date layDate;
|
private Date layDate;
|
||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
|
|||||||
+10
@@ -172,4 +172,14 @@ public class ExecuteOrderDO extends BaseVOEntity{
|
|||||||
|
|
||||||
@ApiModelProperty("车次")
|
@ApiModelProperty("车次")
|
||||||
private Integer trainNo;
|
private Integer trainNo;
|
||||||
|
|
||||||
|
@ApiModelProperty("预计开始日期")
|
||||||
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date documentStartTime;
|
||||||
|
|
||||||
|
@ApiModelProperty("预计结束日期")
|
||||||
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date documentEndTime;
|
||||||
}
|
}
|
||||||
|
|||||||
+3
@@ -7,6 +7,7 @@ import com.fasterxml.jackson.annotation.JsonFormat;
|
|||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import com.mhd.common.core.web.domain.BaseVOEntity;
|
import com.mhd.common.core.web.domain.BaseVOEntity;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -71,6 +72,8 @@ public class BusinessDocumentAddressMultiDTO extends BaseVOEntity{
|
|||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
private Date layDate;
|
private Date layDate;
|
||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
|
|||||||
+8
-2
@@ -94,6 +94,8 @@ public class BusinessDocumentOrderDTO extends BaseVOEntity{
|
|||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date loadingDate;
|
private Date loadingDate;
|
||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@@ -126,6 +128,8 @@ public class BusinessDocumentOrderDTO extends BaseVOEntity{
|
|||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date unloadingData;
|
private Date unloadingData;
|
||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@@ -673,8 +677,8 @@ public class BusinessDocumentOrderDTO extends BaseVOEntity{
|
|||||||
|
|
||||||
@ApiModelProperty("$column.columnComment")
|
@ApiModelProperty("$column.columnComment")
|
||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
// @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
// @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
private Date documentDate;
|
private Date documentDate;
|
||||||
|
|
||||||
|
|
||||||
@@ -770,6 +774,8 @@ public class BusinessDocumentOrderDTO extends BaseVOEntity{
|
|||||||
private String entryNumber;
|
private String entryNumber;
|
||||||
|
|
||||||
@ApiModelProperty("预计出发日期")
|
@ApiModelProperty("预计出发日期")
|
||||||
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
private Date layDate;
|
private Date layDate;
|
||||||
|
|
||||||
@ApiModelProperty("入库单号")
|
@ApiModelProperty("入库单号")
|
||||||
|
|||||||
@@ -162,4 +162,14 @@ public class ExecuteOrderDTO extends BaseVOEntity{
|
|||||||
@ApiModelProperty("车次")
|
@ApiModelProperty("车次")
|
||||||
private Integer trainNo;
|
private Integer trainNo;
|
||||||
|
|
||||||
|
@ApiModelProperty("预计开始日期")
|
||||||
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date documentStartTime;
|
||||||
|
|
||||||
|
@ApiModelProperty("预计结束日期")
|
||||||
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date documentEndTime;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -69,6 +69,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="invoiceEndTime != null">
|
<if test="invoiceEndTime != null">
|
||||||
and eo.INVOICE_DATE <![CDATA[ < ]]> DATEADD(DAY, 1, #{invoiceEndTime,jdbcType=DATE})
|
and eo.INVOICE_DATE <![CDATA[ < ]]> DATEADD(DAY, 1, #{invoiceEndTime,jdbcType=DATE})
|
||||||
</if>
|
</if>
|
||||||
|
<if test="documentStartTime != null">
|
||||||
|
and eo.DOCUMENT_DATE >= #{documentStartTime,jdbcType=DATE}
|
||||||
|
</if>
|
||||||
|
<if test="documentEndTime != null">
|
||||||
|
and eo.DOCUMENT_DATE <![CDATA[ < ]]> DATEADD(DAY, 1, #{documentEndTime,jdbcType=DATE})
|
||||||
|
</if>
|
||||||
<!-- <if test="invoiceStartTime != null">-->
|
<!-- <if test="invoiceStartTime != null">-->
|
||||||
<!-- and eo.INVOICE_DATE >= #{invoiceStartTime}-->
|
<!-- and eo.INVOICE_DATE >= #{invoiceStartTime}-->
|
||||||
<!-- </if>-->
|
<!-- </if>-->
|
||||||
|
|||||||
@@ -19,16 +19,16 @@ spring:
|
|||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
server-addr: 10.102.192.31:6848
|
# server-addr: 10.102.192.31:6848
|
||||||
username: nacos
|
username: nacos
|
||||||
password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
# server-addr: 10.33.0.129:6010
|
# server-addr: 10.33.0.129:6010
|
||||||
config:
|
config:
|
||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
server-addr: 10.102.192.31:6848
|
# server-addr: 10.102.192.31:6848
|
||||||
username: nacos
|
username: nacos
|
||||||
password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
|
|||||||
@@ -20,15 +20,15 @@ spring:
|
|||||||
discovery:
|
discovery:
|
||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
# server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
server-addr: 10.102.192.30:6848
|
# server-addr: 10.102.192.30:6848
|
||||||
username: nacos
|
username: nacos
|
||||||
password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
config:
|
config:
|
||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
# server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
server-addr: 10.102.192.30:6848
|
# server-addr: 10.102.192.30:6848
|
||||||
username: nacos
|
username: nacos
|
||||||
password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ spring:
|
|||||||
# 线上测试环境配置使用ip+端口号
|
# 线上测试环境配置使用ip+端口号
|
||||||
server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
# server-addr: 10.102.192.31:6848
|
# server-addr: 10.102.192.31:6848
|
||||||
# username: nacos
|
username: nacos
|
||||||
# password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
# server-addr: 10.102.192.31:6848
|
# server-addr: 10.102.192.31:6848
|
||||||
# username: nacos
|
# username: nacos
|
||||||
@@ -34,8 +34,8 @@ spring:
|
|||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# 线上测试环境配置使用ip+端口号
|
# 线上测试环境配置使用ip+端口号
|
||||||
# server-addr: 10.102.192.31:6848
|
# server-addr: 10.102.192.31:6848
|
||||||
# username: nacos
|
username: nacos
|
||||||
# password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
# server-addr: 10.102.192.31:6848
|
# server-addr: 10.102.192.31:6848
|
||||||
# username: nacos
|
# username: nacos
|
||||||
|
|||||||
@@ -14,18 +14,18 @@ spring:
|
|||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
server-addr: 10.102.192.30:6848
|
# server-addr: 10.102.192.30:6848
|
||||||
username: nacos
|
username: nacos
|
||||||
password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
# server-addr: 10.102.192.105:6848
|
# server-addr: 10.102.192.105:6848
|
||||||
config:
|
config:
|
||||||
# server-addr: 127.0.0.1:8848
|
# server-addr: 127.0.0.1:8848
|
||||||
# server-addr: 10.33.0.129:6010
|
server-addr: 10.33.0.129:6010
|
||||||
# 线上测试环境配置 容器名+端口号
|
# 线上测试环境配置 容器名+端口号
|
||||||
server-addr: 10.102.192.30:6848
|
# server-addr: 10.102.192.30:6848
|
||||||
username: nacos
|
username: nacos
|
||||||
password: manhuoda@2023
|
password: manhuoda@2023
|
||||||
#线上正式环境
|
#线上正式环境
|
||||||
|
|||||||
Reference in New Issue
Block a user