订单服务器id显示问题

master
duhui 2021-09-24 17:30:30 +08:00
parent 1026a22e10
commit e1776e081e
2 changed files with 4 additions and 4 deletions

View File

@ -133,7 +133,7 @@ public class OrderInfoController {
String payTime = cgPayOrder.getDelivery_time(); String payTime = cgPayOrder.getDelivery_time();
corder.setPayTime(payTime); corder.setPayTime(payTime);
corder.setProductid(cgPayOrder.getGoodsId()); corder.setProductid(cgPayOrder.getGoodsId());
corder.setServerId(String.valueOf(serverId)); corder.setServerId(String.valueOf(server));
corder.setPaySdk(cgPayOrder.getPaySdk()); corder.setPaySdk(cgPayOrder.getPaySdk());
corder.setPlatform(cgPayOrder.getPlatform()); corder.setPlatform(cgPayOrder.getPlatform());

View File

@ -247,15 +247,15 @@ public class AutoServerManager {
} }
String command = "sh " + path + " 500 " + serverInfo.getIp() + " " + serverInfo.getServer_id() + " " + serverInfo.getCoreName(); String command = "sh " + path + " 500 " + serverInfo.getIp() + " " + serverInfo.getServer_id() + " " + serverInfo.getCoreName();
LOGGER.info("=================清库命令:{}", command); LOGGER.info("清库命令:{}", command);
Process exec = null; Process exec = null;
try { try {
exec = Runtime.getRuntime().exec(command); exec = Runtime.getRuntime().exec(command);
LOGGER.info("========================== 停服脚本执行结果开始 ==========================="); LOGGER.info("停服脚本执行结果开始");
readProcessOutput(exec); readProcessOutput(exec);
LOGGER.info("=========================== 停服脚本执行结果结束 =========================="); LOGGER.info("停服脚本执行结果结束");
exec.waitFor(); exec.waitFor();
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();