切换分支备份

dev2.0
anthonywj 2 years ago
parent 13ada50cc3
commit 79033ac6b1

@ -540,6 +540,8 @@ public class IoCheckInoutService {
orderEntity.setDealStatus(ConstantStatus.ORDER_DEAL_POST); orderEntity.setDealStatus(ConstantStatus.ORDER_DEAL_POST);
orderEntity.setUpdateTime(new Date()); orderEntity.setUpdateTime(new Date());
orderService.update(orderEntity); orderService.update(orderEntity);
//生成缺失码 //生成缺失码
genLostCode(orderEntity.getBillNo()); genLostCode(orderEntity.getBillNo());
checkThird(orderEntity); checkThird(orderEntity);

@ -1,5 +1,6 @@
package com.glxp.api.service.sync; package com.glxp.api.service.sync;
import cn.hutool.core.thread.ThreadUtil;
import com.glxp.api.constant.SocketMsgType; import com.glxp.api.constant.SocketMsgType;
import com.glxp.api.dao.system.SyncDataSetDao; import com.glxp.api.dao.system.SyncDataSetDao;
import com.glxp.api.entity.system.SyncDataSetEntity; import com.glxp.api.entity.system.SyncDataSetEntity;
@ -30,7 +31,7 @@ public class WebSocketComponent implements CommandLineRunner {
@Override @Override
public void run(String... args) throws Exception { public void run(String... args) throws Exception {
ThreadUtil.execAsync(() -> {
SyncDataSetEntity syncDataSetEntity = syncDataSetDao.selectSet(); SyncDataSetEntity syncDataSetEntity = syncDataSetDao.selectSet();
String ip = syncDataSetEntity.getSyncIp(); String ip = syncDataSetEntity.getSyncIp();
ip = ip.replace("http://", ""); ip = ip.replace("http://", "");
@ -67,6 +68,8 @@ public class WebSocketComponent implements CommandLineRunner {
} catch (InterruptedException e) { } catch (InterruptedException e) {
e.printStackTrace(); e.printStackTrace();
} }
});
} }

@ -4,7 +4,7 @@ server:
spring: spring:
datasource: datasource:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
jdbc-url: jdbc:p6spy:mysql://127.0.0.1:3306/udi_wms_pzh?allowMultiQueries=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true jdbc-url: jdbc:p6spy:mysql://127.0.0.1:3306/udi_wms_pt?allowMultiQueries=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
username: root username: root
password: 123456 password: 123456
hikari: hikari:

Loading…
Cancel
Save