PDA接口:
原材料质检:根据条码类型,如果是合并条码类型需要找到任意一个物料的质检规则
master
xs 2 weeks ago
parent 2f59d481d7
commit b29811e7da

@ -195,10 +195,21 @@ public interface RemoteMesService {
/**
*
*
* @param dateStr (yyyy-MM-dd)
* @param saleOrderId ID
* @param source
* @return
*/
@GetMapping("/saleOrder/getRelateProductsBySaleOrderId/{saleOrderId}")
public R<List<MesSaleOrderRelate>> getRelateProductsBySaleOrderId(@PathVariable("saleOrderId") Long saleOrderId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
/**
*
*
* @param saleOrderId ID
* @param source
* @return
*/
@GetMapping("/saleOrder/getRelateMaterialsBySaleOrderId/{saleOrderId}")
public R<List<MesSaleOrderRelate>> getRelateMaterialsBySaleOrderId(@PathVariable("saleOrderId") Long saleOrderId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
}

@ -111,6 +111,11 @@ public class RemoteMesFallbackFactory implements FallbackFactory<RemoteMesServic
return R.fail("根据销售订单ID获取关联成品信息失败:" + throwable.getMessage());
}
@Override
public R<List<MesSaleOrderRelate>> getRelateMaterialsBySaleOrderId(Long saleOrderId, String source) {
return R.fail("根据销售订单ID获取关联原材料信息失败:" + throwable.getMessage());
}
};
}
}

Loading…
Cancel
Save