Explorar o código

feat:增加运单中止行车日志

wangweiyu %!s(int64=4) %!d(string=hai) anos
pai
achega
fddf5014ab

+ 1 - 1
src/main/java/com/aoyang/tms/service/impl/WorkerServiceImpl.java

@@ -248,7 +248,7 @@ public class WorkerServiceImpl implements WorkerService {
                 } else {
                     jingWeight = jingWeight - Integer.valueOf(workOrderParam.getJingWeight());
                     // 卸车后磅单 装车净重 与 累计 卸车净重 之差 在 ± 1000 kg 以内,则由 重车 变为 空车;
-                    if (jingWeight < 10000) {
+                    if (jingWeight < 1000) {
                         jingWeight = 0;
                     }
                 }