xiaoyi
2 天以前 4e8dc8cd84e3d3d4099d9cf0ed866dbd7e8ed9aa
feat 功能修正
已修改3个文件
9 ■■■■■ 文件已修改
.gitignore 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/pd/ctc/ProductCtcServiceImpl.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
yudao-server/src/main/resources/application-local.yaml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.gitignore
@@ -26,7 +26,11 @@
*.iws
*.iml
*.ipr
*.sql
*.md
*.xlsx
*.docx
*.txt
### NetBeans ###
nbproject/private/
build/*
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/pd/ctc/ProductCtcServiceImpl.java
@@ -144,7 +144,7 @@
        double l2 = reqVO.getReelWidth().doubleValue();
        double ct = reqVO.getCtcThickness().doubleValue();
        double cw = reqVO.getCtcWidth().doubleValue();
        if (d1 <= d2 || l2 <= 0 || ct <= 0 || cw <= 0) {
        if (d1 - 70 <= d2 || l2 <= 0 || ct <= 0 || cw <= 0) {
            throw exception(PD_CTC_CALC_PARAM_INVALID);
        }
        // 盘具容量公式(参照需求文档盘具计算 sheet):
yudao-server/src/main/resources/application-local.yaml
@@ -200,7 +200,6 @@
    compress-quality: 0.5 # 压缩质量(0.0-1.0)
# MES 数采(设备数据采集)配置,外部数采服务地址按实际部署填写
yudao:
  mes:
    telemetry:
      base-url: http://106.227.91.252:3100 # 数采服务地址