no message

main
暴炳林 2024-12-19 15:44:55 +08:00
parent c49092e877
commit ac48084cea
4 changed files with 114 additions and 78 deletions

View File

@ -13,9 +13,36 @@ public class ShiXiao extends VersionalEntity{
private double pandian;//盘点效率
private double zhengli;//整理效率
private double taskD;//任务拆分行数
private double gzzD;//工作站自动补波行
private double gzzT;//补波时长(分)
private WarehouseArea warehouseArea;//库区
public double getTaskD() {
return taskD;
}
public void setTaskD(double taskD) {
this.taskD = taskD;
}
public double getGzzD() {
return gzzD;
}
public void setGzzD(double gzzD) {
this.gzzD = gzzD;
}
public double getGzzT() {
return gzzT;
}
public void setGzzT(double gzzT) {
this.gzzT = gzzT;
}
/** 是否有效 */
private boolean disabled = false;

View File

@ -17,12 +17,15 @@
<property name="number" column="number" type="double" />
<property name="pandian" column="pandian" type="double" />
<property name="zhengli" column="zhengli" type="double" />
<property name="taskD" column="task_d" type="double" />
<property name="gzzD" column="gzz_d" type="double" />
<property name="gzzT" column="gzz_t" type="double" />
<many-to-one name="warehouseArea"
class="com.dev.swms.server.model.base.WarehouseArea">
<column name="warehouseArea" />
</many-to-one>
<property name="disabled" column="DISABLED" type="boolean"/>
<property name="efficiency" column="efficiency" type="integer"/>
<property name="disabled" column="DISABLED" type="boolean" />
<property name="efficiency" column="efficiency" type="integer" />
</class>
</hibernate-mapping>

View File

@ -2,21 +2,16 @@
<pages>
<editPage id="editShiXiaoPage" title="工作站时效信息"
entityClass="com.dev.swms.server.model.base.ShiXiao" width="400"
entityClass="com.dev.swms.server.model.base.ShiXiao" width="500"
height="310">
<inputUIs>
<hidden id="shixiao.id" reserve="false" />
<!-- <list id="shixiao.locationStorage.id" title="工作站" row="0" col="1" span="1"
width="120" readOnly="false" required="true" reserve="false"
forceOverride="true" >
<hql><![CDATA[select
locationStorage.id,
locationStorage.name
from LocationStorage locationStorage
where 1=1 ]]></hql>
</list> -->
<list id="shixiao.warehouseArea.id" title="库区" row="1" col="1" span="1"
width="120" readOnly="false" required="true" reserve="false"
<!-- <list id="shixiao.locationStorage.id" title="工作站" row="0" col="1"
span="1" width="120" readOnly="false" required="true" reserve="false" forceOverride="true"
> <hql><![CDATA[select locationStorage.id, locationStorage.name from LocationStorage
locationStorage where 1=1 ]]></hql> </list> -->
<list id="shixiao.warehouseArea.id" title="库区" row="1" col="1"
span="1" width="120" readOnly="false" required="true" reserve="false"
forceOverride="true">
<hql><![CDATA[select
warehouseArea.id,
@ -24,22 +19,27 @@
from WarehouseArea warehouseArea
where 1=1 ]]></hql>
</list>
<text id="shixiao.time" title="时间(分)" row="2" col="1"
width="173" readOnly="false" required="true" reserve="false"
forceOverride="false" inVisible="false" length="100" trimSpace="true"
isPrecision="true" />
<text id="shixiao.number" title="拣货效率" row="2" col="2"
width="173" readOnly="false" required="true" reserve="false"
forceOverride="false" inVisible="false" length="100" trimSpace="true"
isPrecision="true" />
<text id="shixiao.pandian" title="盘点效率" row="3" col="1"
width="173" readOnly="false" required="true" reserve="false"
forceOverride="false" inVisible="false" length="100" trimSpace="true"
isPrecision="true" />
<text id="shixiao.zhengli" title="整理效率" row="3" col="2"
width="173" readOnly="false" required="true" reserve="false"
forceOverride="false" inVisible="false" length="100" trimSpace="true"
isPrecision="true" />
<text id="shixiao.time" title="时间(分)" row="2" col="1" width="173"
readOnly="false" required="true" reserve="false" forceOverride="false"
inVisible="false" length="100" trimSpace="true" isPrecision="true" />
<text id="shixiao.number" title="拣货效率" row="2" col="2" width="173"
readOnly="false" required="true" reserve="false" forceOverride="false"
inVisible="false" length="100" trimSpace="true" isPrecision="true" />
<text id="shixiao.pandian" title="盘点效率" row="3" col="1" width="173"
readOnly="false" required="true" reserve="false" forceOverride="false"
inVisible="false" length="100" trimSpace="true" isPrecision="true" />
<text id="shixiao.zhengli" title="整理效率" row="3" col="2" width="173"
readOnly="false" required="true" reserve="false" forceOverride="false"
inVisible="false" length="100" trimSpace="true" isPrecision="true" />
<text id="shixiao.taskD" title="拆分行数" row="4" col="1" width="173" defaultValue="0"
readOnly="false" required="true" reserve="false" forceOverride="false"
inVisible="false" length="100" trimSpace="true" isPrecision="true" />
<text id="shixiao.gzzD" title="补波行数" row="4" col="2" width="173" defaultValue="0"
readOnly="false" required="true" reserve="false" forceOverride="false"
inVisible="false" length="100" trimSpace="true" isPrecision="true" />
<text id="shixiao.gzzD" title="补波时长" row="5" col="1" span="2" width="173" defaultValue="0"
readOnly="false" required="true" reserve="false" forceOverride="false"
inVisible="false" length="100" trimSpace="true" isPrecision="true" />
</inputUIs>
<buttons>
<commit id="save" title="save" enableType="none" invisible="false">

View File

@ -6,15 +6,10 @@
<search>
<inputUIs>
<!-- <list id="shixiao.locationStorage.id" title="工作站" row="0" col="1" span="1"
width="120" readOnly="false" required="false" reserve="false"
forceOverride="true" >
<hql><![CDATA[select
locationStorage.id,
locationStorage.name
from LocationStorage locationStorage
where 1=1 ]]></hql>
</list> -->
<!-- <list id="shixiao.locationStorage.id" title="工作站" row="0" col="1"
span="1" width="120" readOnly="false" required="false" reserve="false" forceOverride="true"
> <hql><![CDATA[select locationStorage.id, locationStorage.name from LocationStorage
locationStorage where 1=1 ]]></hql> </list> -->
<list id="shixiao.warehouseArea.id" title="库区" row="1" col="1"
span="1" width="120px" readOnly="false" required="false" reserve="false"
forceOverride="true">
@ -36,6 +31,9 @@ where 1=1]]></hql>
shixiao.number,
shixiao.pandian,
shixiao.zhengli,
shixiao.taskD,
shixiao.gzzD,
shixiao.gzzT,
warehouseArea.name,
shixiao.disabled,
shixiao.efficiency
@ -58,41 +56,49 @@ where 1=1]]></hql>
horizonAlign="center" />
<column id="shixiao.number" title="拣货效率" visible="true" width="80"
horizonAlign="center" verticalAlign="middle" />
<column id="shixiao.pandian" title="盘点效率" visible="true" width="80"
horizonAlign="center" verticalAlign="middle" />
<column id="shixiao.zhengli" title="整理效率" visible="true" width="80"
horizonAlign="center" verticalAlign="middle" />
<column id="warehouseArea.name" title="库区" visible="true" width="130"
horizonAlign="center" />
<column id="shixiao.disabled" title="是否失效" visible="true" width="80"
horizonAlign="center" verticalAlign="middle" format="booleanFormat"
<column id="shixiao.pandian" title="盘点效率" visible="true"
width="80" horizonAlign="center" verticalAlign="middle" />
<column id="shixiao.zhengli" title="整理效率" visible="true"
width="80" horizonAlign="center" verticalAlign="middle" />
<column id="shixiao.taskD" title="子任务拆分行数" visible="true"
width="130" horizonAlign="center" verticalAlign="middle" />
<column id="shixiao.gzzD" title="工作站自动补波行" visible="true"
width="130" horizonAlign="center" verticalAlign="middle" />
<column id="shixiao.gzzT" title="补波时长(分)" visible="true"
width="130" horizonAlign="center" verticalAlign="middle" />
<column id="warehouseArea.name" title="库区" visible="true"
width="130" horizonAlign="center" />
<column id="shixiao.disabled" title="是否失效" visible="true"
width="80" horizonAlign="center" verticalAlign="middle" format="booleanFormat"
formatParam="disabled" />
<column id="shixiao.efficiency" title="agv效率" visible="true" width="80"
horizonAlign="center"/>
<column id="shixiao.efficiency" title="agv效率" visible="true"
width="80" horizonAlign="center" />
</columns>
<buttons>
<popup id="new" title="new" enableType="none" invisible="false" containId="false" pageId="editShiXiaoPage"/>
<popup id="modify" title="modify" enableType="single" invisible="false" containId="true" pageId="editShiXiaoPage"/>
<popup id="new" title="new" enableType="none" invisible="false"
containId="false" pageId="editShiXiaoPage" />
<popup id="modify" title="modify" enableType="single"
invisible="false" containId="true" pageId="editShiXiaoPage" />
<!-- <commit id="delete" title="删除" enableType="multi" -->
<!-- invisible="false" confirmMessage="editItemDetailPage.confirm.delete"> -->
<!-- <mappings> -->
<!-- <mapping id="ids" className="list" /> -->
<!-- </mappings> -->
<!-- <actions> -->
<!-- <action managerName="shiXiaoManager" methodName="deleteStock" -->
<!-- parameter="ids" /> -->
<!-- </actions> -->
<!-- <forwards> -->
<!-- <forward name="refreshWindow" newEnabled="true" -->
<!-- editEnabled="true" /> -->
<!-- </forwards> -->
<!-- </commit> -->
<!-- <commit id="delete" title="删除" enableType="multi" -->
<!-- invisible="false" confirmMessage="editItemDetailPage.confirm.delete"> -->
<!-- <mappings> -->
<!-- <mapping id="ids" className="list" /> -->
<!-- </mappings> -->
<!-- <actions> -->
<!-- <action managerName="shiXiaoManager" methodName="deleteStock" -->
<!-- parameter="ids" /> -->
<!-- </actions> -->
<!-- <forwards> -->
<!-- <forward name="refreshWindow" newEnabled="true" -->
<!-- editEnabled="true" /> -->
<!-- </forwards> -->
<!-- </commit> -->
<!-- 失效 -->
<commit id="shixiao" title="失效" enableType="multi"
invisible="false" confirmMessage="确认失效?">
<!-- 失效 -->
<commit id="shixiao" title="失效" enableType="multi" invisible="false"
confirmMessage="确认失效?">
<enableExpression><![CDATA[(${shixiao.disabled}=='false')]]></enableExpression>
<mappings>
<mapping id="ids" className="list" />