Browse Source

feat(all): 金牌工厂

1 增加推送日志记录
fix-sign
zhaoqiaobo 5 months ago
parent
commit
8c44ec1a14
  1. 2
      blade-service/logpm-factory-data/logpm-factory-data-jinpai/src/main/java/com/logpm/factorydata/jinpai/entity/FactoryNodePushEntity.java
  2. 5
      blade-service/logpm-factory-data/logpm-factory-data-jinpai/src/main/java/com/logpm/factorydata/jinpai/mq/NodeDataPushListener.java

2
blade-service/logpm-factory-data/logpm-factory-data-jinpai/src/main/java/com/logpm/factorydata/jinpai/entity/FactoryNodePushEntity.java

@ -78,7 +78,7 @@ public class FactoryNodePushEntity extends BaseEntity {
/**
* 节点
*/
@ApiModelProperty(name = "节点", notes = "")
@ApiModelProperty(name = "节点(到达目的站:1030100/包件入库:105010)", notes = "")
private String node;
/**
* 包件

5
blade-service/logpm-factory-data/logpm-factory-data-jinpai/src/main/java/com/logpm/factorydata/jinpai/mq/NodeDataPushListener.java

@ -215,7 +215,8 @@ public class NodeDataPushListener {
factoryNodePushService.save(FactoryNodePushEntity.builder()
.orderCode(orderCode)
.type(arriveFor)
.warehouse(StrUtil.equals(arriveFor, "stock") ? filterDatum.getWarehouseName() : null)
.transportNo(transportNo)
.warehouse(filterDatum.getWarehouseName())
.node(FactoryNodeEnums.END_WAREHOUSE_UNLOADING.getCode().toString())
.content(JSONUtil.toJsonStr(js))
.packageCode(packageCode)
@ -273,7 +274,7 @@ public class NodeDataPushListener {
.orderCode(sendOrderCode)
.type(arriveFor)
// 仓配数据记录仓库
.warehouse(StrUtil.equals(arriveFor, "stock") ? filterDatum.getWarehouseName() : null)
.warehouse(filterDatum.getWarehouseName())
.transportNo(transportNo)
.node(FactoryNodeEnums.FINAL_NET_ARRIVE_CAR.getCode().toString())
.content(JSONUtil.toJsonStr(js))

Loading…
Cancel
Save