cqtms/target/cqtms/WEB-INF/classes/config/origen/base/maintainOperationHisPage.xml

55 lines
4.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<pages>
<maintainPage id="maintainOperationHisPage" title="maintainOperationHisPage" autoQuery="false">
<search>
<inputUIs>
<text id="oh.sourceId" title="oh.sourceId" row="1" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="true" trimSpace="true" isPrecision="false"/>
<text id="oh.sourceType" title="oh.sourceType" row="1" col="2" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="true" trimSpace="true" isPrecision="false"/>
<text id="oh.sourceNo" title="oh.sourceNo" row="2" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true" isPrecision="false"/>
<text id="oh.detailNo" title="oh.detailNo" row="2" col="2" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true" isPrecision="false"/>
<text id="oh.actionName" title="oh.actionName" row="3" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true" isPrecision="false"/>
<text id="oh.userName" title="oh.userName" row="3" col="2" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" trimSpace="true" isPrecision="false"/>
<!-- <dateRanger id="oh.updateTime" title="oh.updateTime" row="4" col="2" span ="2" readOnly="false" required="false" reserve="false" forceOverride="false" inVisible="false" showTime="false" manualEditable="true" defaultCurrentDate="false" fromDate="oh.beginDate" toDate="oh.endDate" /> -->
<date id="oh.beginDate" title="oh.updateTime" row="9" col="1" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" managerName="orderManager" methodName="getClientTime" showTime="false" manualEditable="true" defaultCurrentDate="false"/>
<date id="oh.endDate" title="shipmentOrderQueryPage.maintainOrderPage.listMaintainOrderPage.order.orderDate2" row="9" col="2" span="1" readOnly="false" required="false" reserve="false" forceOverride="true" inVisible="false" managerName="orderManager" showTime="false" manualEditable="true" defaultCurrentDate="false"/>
</inputUIs>
</search>
<datasource type="hql"><![CDATA[select
oh.id,
oh.sourceId,
oh.sourceNo,
oh.sourceType,
oh.actionName,
oh.detailNo,
oh.userID,
oh.userName,
oh.updateTime,
oh.remark
from OperationHis oh
WHERE 1=1 and (oh.extendStr1='TMS' OR oh.extendStr1 IS NULL)
and oh.warehouseId= #{SESSION_PLAT_ID}
/~oh.sourceId: AND upper(oh.sourceId) like upper({oh.sourceId}) ~/
/~oh.actionName: AND oh.actionName like {oh.actionName} ~/
/~oh.userName: AND (oh.userName like {oh.userName} or oh.userName in (select max(u.name) from User u where u.loginName like {oh.userName})) ~/
/~oh.sourceType: AND oh.sourceType like {oh.sourceType} ~/
/~oh.sourceNo: AND (oh.sourceNo like {oh.sourceNo} or oh.detailNo like {oh.sourceNo} ) ~/
/~oh.detailNo: AND oh.detailNo like {oh.detailNo} ~/
/~oh.beginDate: AND STR_TO_DATE(DATE_FORMAT(oh.updateTime,'%Y-%m-%d'),'%Y-%m-%d') >= {oh.beginDate} ~/
/~oh.endDate: AND STR_TO_DATE(DATE_FORMAT(oh.updateTime,'%Y-%m-%d'),'%Y-%m-%d') <= {oh.endDate} ~/
ORDER BY oh.updateTime desc]]></datasource>
<columns>
<column id="oh.id" title="oh.id" visible="false" horizonAlign="center" />
<column id="oh.sourceId" title="oh.sourceId" visible="false" horizonAlign="center" />
<column id="oh.sourceNo" title="oh.sourceNo" visible="true" horizonAlign="center" />
<column id="oh.sourceType" title="oh.sourceType" visible="true" horizonAlign="center" />
<column id="oh.actionName" title="oh.actionName" visible="true" horizonAlign="center" />
<column id="oh.detailNo" title="oh.detailNo" visible="true" horizonAlign="center" />
<column id="oh.userID" title="oh.userID" visible="false" horizonAlign="center" />
<column id="oh.userName" title="oh.userName" visible="true" horizonAlign="center" />
<column id="oh.updateTime" title="oh.updateTime" visible="true" horizonAlign="center" />
<column id="oh.remark" title="oh.remark" visible="true" horizonAlign="center" />
</columns>
</maintainPage>
</pages>