rev:修改缓存线同步接口
This commit is contained in:
@@ -103,7 +103,7 @@ public class AcsToWmsController {
|
||||
return new ResponseEntity<>(HttpStatus.OK);
|
||||
}
|
||||
|
||||
@PostMapping("/feedcachelineVe")
|
||||
@PostMapping("/feedCacheLineBarcodes")
|
||||
@Log("向wms反馈缓存载具信息")
|
||||
@ApiOperation("向wms反馈缓存载具信息")
|
||||
@SaIgnore
|
||||
|
||||
@@ -519,7 +519,7 @@ public class IPdmProduceWorkorderServiceImpl extends ServiceImpl<PdmProduceWorko
|
||||
JSONObject order = packageForm(result);
|
||||
array.add(order);
|
||||
//下发acs
|
||||
result.setWorkorder_status(WorkerOrderEnum.SEND.getCode());
|
||||
result.setWorkorder_status(WorkerOrderEnum.PRODUCTING.getCode());
|
||||
Map<String,Object> resp = wmsToAcsService.order(array);
|
||||
if (((int)resp.get("status")) == (HttpStatus.BAD_REQUEST.value())){
|
||||
throw new BadRequestException(String.valueOf(resp.get("message")));
|
||||
|
||||
@@ -9,13 +9,13 @@ spring:
|
||||
client:
|
||||
reactive:
|
||||
#endpoints: 172.31.185.110:9200,172.31.154.9:9200 #内网
|
||||
# endpoints: 192.168.46.225:8200 #外网
|
||||
endpoints: http://192.168.46.225:8200 #外网
|
||||
# endpoints: 192.168.46.2255:8200 #外网
|
||||
endpoints: http://192.168.46.2255:8200 #外网
|
||||
elasticsearch:
|
||||
rest:
|
||||
#uris: 172.31.185.110:9200,172.31.154.9:9200 #内网
|
||||
# uris: 192.168.46.225:8200 #外网
|
||||
uris: http://192.168.46.225:8200 #外网
|
||||
# uris: 192.168.46.2255:8200 #外网
|
||||
uris: http://192.168.46.2255:8200 #外网
|
||||
username: elastic
|
||||
password: 123456
|
||||
datasource:
|
||||
|
||||
@@ -9,13 +9,13 @@ spring:
|
||||
client:
|
||||
reactive:
|
||||
#endpoints: 172.31.185.110:9200,172.31.154.9:9200 #内网
|
||||
# endpoints: 192.168.46.225:8200 #外网
|
||||
endpoints: http://192.168.46.225:8200 #外网
|
||||
# endpoints: 192.168.46.2255:8200 #外网
|
||||
endpoints: http://192.168.46.2255:8200 #外网
|
||||
elasticsearch:
|
||||
rest:
|
||||
#uris: 172.31.185.110:9200,172.31.154.9:9200 #内网
|
||||
# uris: 192.168.46.225:8200 #外网
|
||||
uris: http://192.168.46.225:8200 #外网
|
||||
# uris: 192.168.46.2255:8200 #外网
|
||||
uris: http://192.168.46.2255:8200 #外网
|
||||
username: elastic
|
||||
password: 123456
|
||||
datasource:
|
||||
|
||||
@@ -18,7 +18,7 @@ https://juejin.cn/post/6844903775631572999
|
||||
<!--引入默认的一些设置-->
|
||||
<!-- <include resource="log/AutoCreateInst.xml"/>-->
|
||||
<!-- <appender name="esLogAppender" class="com.internetitem.logback.elasticsearch.ElasticsearchAppender">
|
||||
<url>http://192.168.46.225:8200/_bulk</url>
|
||||
<url>http://192.168.46.2255:8200/_bulk</url>
|
||||
<index>${esIndex}</index>
|
||||
<type>mes_log</type>
|
||||
<loggerName>es-logger</loggerName> <!– optional –>
|
||||
|
||||
Reference in New Issue
Block a user