mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
修改对账逻辑
This commit is contained in:
@@ -122,7 +122,7 @@ public class WeightDeviceDataService
|
||||
round(sum(d.sz), 2) as sz,
|
||||
count(1) as cnt
|
||||
|
||||
from WeightDeviceDataEntity d where not d.invalid and d.dataUpdateTime >= :start and d.dataUpdateTime <= :end and d.device.id = :deviceId
|
||||
from WeightDeviceDataEntity d where not d.invalid and d.ecgbTime >= :start and d.ecgbTime <= :end and d.device.id = :deviceId
|
||||
|
||||
""",
|
||||
Tuple.class);
|
||||
@@ -147,7 +147,7 @@ round(sum(扣重), 2) as kz,
|
||||
round(sum(实重), 2) as sz,
|
||||
count(1) as cnt
|
||||
from 称重信息
|
||||
where 更新时间>='%s' and 更新时间<='%s'
|
||||
where 二次过磅时间>='%s' and 二次过磅时间<='%s'
|
||||
"""
|
||||
.formatted(
|
||||
requst.getStart()
|
||||
|
||||
Reference in New Issue
Block a user