Browse Source

Merge pull request 'fix(all):修改志邦订单参数校验问题' (#7) from dev into pre-production

Reviewed-on: #7
master
zhaoqiaobo 1 year ago
parent
commit
165dc13c91
  1. 2
      blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/controller/OrderController.java

2
blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/controller/OrderController.java

@ -48,7 +48,7 @@ public class OrderController {
String jsonStr = JSONUtil.toJsonStr(zbReceiptDTO); String jsonStr = JSONUtil.toJsonStr(zbReceiptDTO);
log.info("接收志邦工厂数据:{} ", jsonStr); log.info("接收志邦工厂数据:{} ", jsonStr);
String method = request.getParameter("method"); String method = request.getParameter("method");
if (ObjectUtil.equal(ZbomConstants.Method.ENTRY_ORDER_CREATE, method)) { if (!ObjectUtil.equal(ZbomConstants.Method.ENTRY_ORDER_CREATE, method)) {
return ZbResp.fail("暂不支持该功能"); return ZbResp.fail("暂不支持该功能");
} }
String corpId = request.getHeader("corpId"); String corpId = request.getHeader("corpId");

Loading…
Cancel
Save