通过库存地查询存储区的sql新增

yun-zuoyi
陈思洁 6 years ago
parent c6b24ea3cc
commit 326992e6ce

@ -13,6 +13,7 @@ import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Index; import javax.persistence.Index;
import javax.persistence.Table; import javax.persistence.Table;
import java.math.BigDecimal;
/** /**
* @Description : * @Description :
@ -137,6 +138,10 @@ public class WmsTaskDetails extends BaseBean {
return this.qty == null ? 0 : this.qty; return this.qty == null ? 0 : this.qty;
} }
public String getQtyTxt(){
return new BigDecimal(getQty() + "").stripTrailingZeros().toPlainString();
}
public Double getTransQty() { public Double getTransQty() {
return this.transQty == null ? 0 : this.transQty; return this.transQty == null ? 0 : this.transQty;
} }

@ -89,4 +89,11 @@ public class WmsZones extends BaseBean {
@Transient @Transient
@ApiParam(value ="子存储区列表") @ApiParam(value ="子存储区列表")
private List<WmsZones> childList; private List<WmsZones> childList;
public WmsZones(String zoneNo){
this.zoneNo = zoneNo;
}
public WmsZones(){}
} }

@ -1998,5 +1998,23 @@ public class WmsHqlPack {
return result; return result;
} }
/**
*
*
* @param zoneNoList
*@param wmsZones
* @param locateType
* @return
*/
public static DdlPackBean packLocateNoByZoneNo(List<String> zoneNoList , WmsZones wmsZones , Integer locateType) {
DdlPackBean result = new DdlPackBean();
//查询参数封装
DdlPreparedPack.getInPackList(zoneNoList, "zoneNo", result);
DdlPreparedPack.getNumEqualPack(locateType, "locateType", result);
getStringBuilderPack(wmsZones, result);
return result;
}
} }

Loading…
Cancel
Save