领料出库出库时间为预计领料时间

This commit is contained in:
hongchao 2025-07-07 16:13:47 +08:00
parent bea61af58d
commit f951bb77d6
1 changed files with 3 additions and 1 deletions

View File

@ -1045,7 +1045,8 @@
tt.create_time AS createTimes,
IFNULL(sum(lad.pre_num),0) as preCountNum,
IFNULL(sum(lad.al_num),0) as alNum,
tt.update_time AS updateTimes
tt.update_time AS updateTimes,
lai.estimate_lease_time AS estimateLeaseTime
from
lease_apply_info lai
LEFT JOIN tm_task tt on lai.task_id = tt.task_id
@ -1300,6 +1301,7 @@
d.id AS examineStatusId,
bai.agreement_code AS agreementCode,
tt.create_time AS createTimes,
lai.estimate_lease_time AS estimateLeaseTime,
-- IFNULL(sum(lad.pre_num),0) as preCountNum,
IFNULL((
SELECT SUM(CASE