代码更新
This commit is contained in:
@@ -114,7 +114,8 @@ IF 输入.flag = "3"
|
|||||||
ivt.workprocedure_id,
|
ivt.workprocedure_id,
|
||||||
ivt.producetask_id,
|
ivt.producetask_id,
|
||||||
material.stewing_time,
|
material.stewing_time,
|
||||||
ruledis.out_seq_no
|
ruledis.out_seq_no,
|
||||||
|
ivt.instorage_time
|
||||||
FROM
|
FROM
|
||||||
st_ivt_structivt ivt
|
st_ivt_structivt ivt
|
||||||
left join md_me_material material on material.material_id = ivt.material_id
|
left join md_me_material material on material.material_id = ivt.material_id
|
||||||
@@ -142,7 +143,7 @@ IF 输入.flag = "3"
|
|||||||
OPTION 输入.is_full <> ""
|
OPTION 输入.is_full <> ""
|
||||||
ivt.is_full = 输入.is_full
|
ivt.is_full = 输入.is_full
|
||||||
ENDOPTION
|
ENDOPTION
|
||||||
order by material.stewing_time desc,ruledis.out_seq_no
|
order by ivt.instorage_time, material.stewing_time desc,ruledis.out_seq_no
|
||||||
ENDSELECT
|
ENDSELECT
|
||||||
ENDQUERY
|
ENDQUERY
|
||||||
ENDIF
|
ENDIF
|
||||||
|
|||||||
@@ -102,9 +102,9 @@
|
|||||||
1=1
|
1=1
|
||||||
OPTION 输入.vehicle_code <> ""
|
OPTION 输入.vehicle_code <> ""
|
||||||
kiln.vehicle_code = 输入.vehicle_code
|
kiln.vehicle_code = 输入.vehicle_code
|
||||||
ENDOPTION
|
ENDOPTION
|
||||||
|
ORDER BY in_time desc
|
||||||
ENDSELECT
|
ENDSELECT
|
||||||
ORDER BY in_time desc
|
|
||||||
ENDQUERY
|
ENDQUERY
|
||||||
ENDIF
|
ENDIF
|
||||||
IF 输入.flag = "4"
|
IF 输入.flag = "4"
|
||||||
|
|||||||
Reference in New Issue
Block a user