main
userName 2025-06-19 15:59:45 +08:00
parent bbfeedcd96
commit 9dc23bd13a
1 changed files with 55 additions and 55 deletions

View File

@ -153,32 +153,32 @@
</remote> </remote>
</inputUIs> </inputUIs>
</search> </search>
<datasource type="hql"><![CDATA[ select t.id, <datasource type="sql"><![CDATA[ select t.id,
pt.code, pt.code as pt_code,
pt.order_Date, pt.order_Date as pt_order_date,
t.end_Region, t.end_Region as t_end_Region,
sw.name, sw.name as sw_name,
agv.robotJobId, agv.robotJobId ,
agv.status, agv.status as agv_status,
agv.createTime, agv.createTime as agv_createTime_1,
agv.createTime, agv.createTime as agv_createTime_2,
agv.dateTime2, agv.dateTime2,
agv.dateTime3, agv.dateTime3,
agv.jobPriorityType, agv.jobPriorityType,
t.old_Gzz, t.old_Gzz,
t.old_Zrw, t.old_Zrw,
z.name, z.name as z_name,
pt.sourceType, pt.sourceType,
bt.name, bt.name as bt_name,
t.billCode, t.billCode,
item.code, item.code as item_code,
item.name, item.name as item_name,
item.unit, item.unit,
item.ship_Rules, item.ship_Rules,
loc.code, loc.code as loc_code,
s.remark, s.remark,
zlc.name, zlc.name as zlc_name,
lc.code, lc.code as lc_code,
t.strBill4, t.strBill4,
t.yc_qty, t.yc_qty,
t.PLAN_QUANTITY, t.PLAN_QUANTITY,
@ -197,39 +197,39 @@
t.ncr_Code, t.ncr_Code,
ptd.line_Number, ptd.line_Number,
t.small_Unit, t.small_Unit,
pt.update_Time, pt.update_Time as pt_update_Time_1,
pt.update_Time, pt.update_Time as pt_update_Time_2,
t.strBill1, t.strBill1,
t.dateBill1, t.dateBill1 as t_dateBill1_1,
t.dateBill1, t.dateBill1 as t_dateBill1_2,
t.dateBill4, t.dateBill4 as t_dateBill4_1,
t.dateBill4, t.dateBill4 as t_dateBill4_2,
w1.name, w1.name as w1_name,
w4.name, w4.name as w4_name,
t.operate_Time, t.operate_Time as t_operate_Time_1,
t.operate_Time, t.operate_Time as t_operate_Time_2,
t.operator, t.operator,
wd.code, wd.code,
t.create_Time, t.create_Time as t_create_Time1,
t.create_Time, t.create_Time as t_create_Time2,
w2.name, w2.name,
t.arrival_Time, t.arrival_Time as t_arrival_Time1,
t.arrival_Time, t.arrival_Time as t_arrival_Time2,
t.dateBill5, t.dateBill5 as t_dateBill5,
t.dateBill5, t.dateBill5 as t_dateBill5_1,
t.strBill5, t.strBill5,
t.dateBill3, t.dateBill3 as t_dateBill3_1,
t.dateBill3, t.dateBill3 as t_dateBill3_2,
case when t.positionStatus='1' then t.operator when t.positionStatus='0' then '' end, case when t.positionStatus='1' then t.operator when t.positionStatus='0' then '' end as bb,
case when t.positionStatus='1' then t.dateline when t.positionStatus='0' then '' end, case when t.positionStatus='1' then t.dateline when t.positionStatus='0' then '' end as cc,
case when t.positionStatus='1' then t.dateline when t.positionStatus='0' then '' end, case when t.positionStatus='1' then t.dateline when t.positionStatus='0' then '' end as dd,
DATEDIFF(second, pt.update_Time,t.dateBill1 )/60 , DATEDIFF(second, pt.update_Time,t.dateBill1 )/60 as ee,
DATEDIFF(second, t.dateBill1,t.operate_Time )/60 , DATEDIFF(second, t.dateBill1,t.operate_Time )/60 as ff,
DATEDIFF(second, t.operate_Time,t.dateBill3)/60 , DATEDIFF(second, t.operate_Time,t.dateBill3)/60 as gg,
DATEDIFF(second, t.dateBill3,t.dateline )/60 , DATEDIFF(second, t.dateBill3,t.dateline )/60 as hh,
DATEDIFF(second, t.operate_Time,t.arrival_Time )/60 , DATEDIFF(second, t.operate_Time,t.arrival_Time )/60 as ii,
DATEDIFF(second, t.arrival_Time,t.dateBill3 )/60 , DATEDIFF(second, t.arrival_Time,t.dateBill3 )/60 as kk,
DATEDIFF(second, t.operate_Time,t.dateline )/60 , DATEDIFF(second, t.operate_Time,t.dateline )/60 as mm,
t.statusCode, t.statusCode,
t.agv_Status, t.agv_Status,
t.popular, t.popular,
@ -272,25 +272,25 @@ left OUTER join WORKER w4 on w1.id=t.WORKER4_ID
/~beginDate2: AND CONVERT(varchar(100), t.operate_Time, 23) = {beginDate2} ~/ /~beginDate2: AND CONVERT(varchar(100), t.operate_Time, 23) = {beginDate2} ~/
/~endDate2: or (CONVERT(varchar(100), t.operate_Time, 23) >= {beginDate2} and t.type in('MV_PICKTICKET') and CONVERT(varchar(100), t.operate_Time, 23)<= {endDate2}) ~/ /~endDate2: or (CONVERT(varchar(100), t.operate_Time, 23) >= {beginDate2} and t.type in('MV_PICKTICKET') and CONVERT(varchar(100), t.operate_Time, 23)<= {endDate2}) ~/
) )
/~t.agvTask.targetArea: AND (t.end_Region) LIKE {t.agvTask.targetArea}~/ /~t.agvTask.targetArea: AND (t.end_Region) LIKE '{t.agvTask.targetArea}'~/
/~code: AND ((t.PLAN_QUANTITY>t.MOVED_QUANTITY_MU and 'open' = {code} ) or ( t.PLAN_QUANTITY<=t.MOVED_QUANTITY_MU and 'finish' = {code}))~/ /~code: AND ((t.PLAN_QUANTITY>t.MOVED_QUANTITY_MU and 'open' = {code} ) or ( t.PLAN_QUANTITY<=t.MOVED_QUANTITY_MU and 'finish' = {code}))~/
/~srcLoc.code: AND loc.code LIKE {srcLoc.code}~/ /~srcLoc.code: AND loc.code LIKE '{srcLoc.code}'~/
/~dstLoc.code: AND lc.code LIKE {dstLoc.code}~/ /~dstLoc.code: AND lc.code LIKE '{dstLoc.code}'~/
/~pickTicket.logisticsCompany: AND (pt.logistics_Company) LIKE ({pickTicket.logisticsCompany}) ~/ /~pickTicket.logisticsCompany: AND (pt.logistics_Company) LIKE '{pickTicket.logisticsCompany}' ~/
/~t.code: AND t.code LIKE {t.code}~/ /~t.code: AND t.code LIKE {t.code}~/
/~pickTicket.equatedQuantity: AND (({pt.equated_Quantity}=true and pt.equated_Quantity>'A' ) or ({pt.equated_Quantity}=false and pt.equated_Quantity<'A' )) ~/ /~pickTicket.equatedQuantity: AND (({pt.equated_Quantity}=true and pt.equated_Quantity>'A' ) or ({pt.equated_Quantity}=false and pt.equated_Quantity<'A' )) ~/
/~billType.name: AND bt.id = {billType.name}~/ /~billType.name: AND bt.id = {billType.name}~/
/~pickTicketDetail.item.id: AND item.id = {pickTicketDetail.item.id}~/ /~pickTicketDetail.item.id: AND item.id = {pickTicketDetail.item.id}~/
/~pickTicketDetail.strBill12: AND ptd.strBill12 LIKE {pickTicketDetail.strBill12}~/ /~pickTicketDetail.strBill12: AND ptd.strBill12 LIKE '{pickTicketDetail.strBill12}'~/
/~agv.status: AND agv.status ={agv.status} ~/ /~agv.status: AND agv.status ={agv.status} ~/
/~billCode: AND t.billCode LIKE {billCode}~/ /~billCode: AND t.billCode LIKE '{billCode}'~/
/~t.strBill1: AND t.strBill1 LIKE {t.strBill1}~/ /~t.strBill1: AND t.strBill1 LIKE '{t.strBill1}'~/
/~warehouseArea.id: AND z.id = {warehouseArea.id}~/ /~warehouseArea.id: AND z.id = {warehouseArea.id}~/
/~pickTicket.code: AND pt.code LIKE {pickTicket.code}~/ /~pickTicket.code: AND pt.code LIKE '{pickTicket.code}'~/
/~pickTicket.sourceType: AND pt.sourceType LIKE {pickTicket.sourceType}~/ /~pickTicket.sourceType: AND pt.sourceType LIKE {pickTicket.sourceType}~/
/~itemCode: AND item.code LIKE {itemCode} ~/ /~itemCode: AND item.code LIKE '{itemCode}' ~/
/~waveDoc.code: AND wd.code LIKE {waveDoc.code}~/ /~waveDoc.code: AND wd.code LIKE '{waveDoc.code}'~/
/~dstLP.remark: AND s.remark LIKE {dstLP.remark}~/ /~dstLP.remark: AND s.remark LIKE '{dstLP.remark}'~/
order by t.id desc order by t.id desc
]]></datasource> ]]></datasource>
<columns> <columns>