核货时带出商品
parent
2d331cac7e
commit
3b539353ee
|
@ -2713,7 +2713,28 @@ public class WmOmNoticeHController extends BaseController {
|
|||
}catch (Exception e){
|
||||
|
||||
}
|
||||
listWaveToDownsnew.add(t);
|
||||
for(WmOmNoticeIEntity dt2: listWaveToDowndetial){
|
||||
WmOmNoticeHEntity tout = new WmOmNoticeHEntity();
|
||||
try{
|
||||
MyBeanUtils.copyBean2Bean(tout,t);
|
||||
|
||||
}catch (Exception e){
|
||||
|
||||
}
|
||||
tout.setId(dt2.getId());//设置ID
|
||||
if(StringUtil.isNotEmpty(searchstr2)){
|
||||
try{
|
||||
if (!(StringUtil.strPos(dt2.getGoodsId(), searchstr2)||StringUtil.strPos(dt2.getBarCode(),searchstr2))) {
|
||||
continue;
|
||||
}
|
||||
}catch (Exception e){
|
||||
|
||||
}
|
||||
}
|
||||
tout.setPiMaster(dt2.getGoodsId()+ dt2.getGoodsName());
|
||||
tout.setPiClass(dt2.getBaseGoodscount()+ dt2.getBaseUnit());
|
||||
listWaveToDownsnew.add(tout);
|
||||
}
|
||||
}
|
||||
D0.setObj(listWaveToDownsnew);
|
||||
|
||||
|
@ -2733,7 +2754,7 @@ public class WmOmNoticeHController extends BaseController {
|
|||
// hql="from WmImNoticeIEntity where noticeiSta <> ? and omNoticeId = ?";
|
||||
// listWaveToDowns = wmOmNoticeHService.findHql(hql,"已核货",searchstr);
|
||||
// hql="from WmOmNoticeIEntity ";
|
||||
hql="from WmOmNoticeIEntity where omNoticeId = ? and omSta <> ? order by chpShuXing";
|
||||
hql="from WmOmNoticeIEntity where id = ? and omSta <> ? order by chpShuXing";
|
||||
// listWaveToDowns = wmOmNoticeHService.findHql(hql);
|
||||
listWaveToDowns = wmOmNoticeHService.findHql(hql, omnoticeid,"复核完成");
|
||||
D0.setObj(listWaveToDowns);
|
||||
|
|
|
@ -123,7 +123,8 @@ public class WmOmNoticeIEntity implements java.io.Serializable {
|
|||
/**产品属性*/
|
||||
@Excel(name="产品属性")
|
||||
private java.lang.String chpShuXing;
|
||||
|
||||
@Excel(name="商品条码")
|
||||
private java.lang.String barCode;
|
||||
/**
|
||||
*方法: 取得java.lang.String
|
||||
*@return: java.lang.String 主键
|
||||
|
@ -683,4 +684,16 @@ public class WmOmNoticeIEntity implements java.io.Serializable {
|
|||
this.chpShuXing = chpShuXing;
|
||||
}
|
||||
|
||||
@Column(name ="BARCODE",nullable=true,length=32)
|
||||
public java.lang.String getBarCode(){
|
||||
return this.barCode;
|
||||
}
|
||||
|
||||
/**
|
||||
*方法: 设置java.lang.String
|
||||
*@param: java.lang.String 商品条码
|
||||
*/
|
||||
public void setBarCode(java.lang.String barCode){
|
||||
this.barCode = barCode;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ public class WmOmNoticeHServiceImpl extends CommonServiceImpl implements WmOmNot
|
|||
huowu=huowu+mvgoods.getGoodsName();
|
||||
wmOmNoticeI.setGoodsName(mvgoods.getGoodsName());
|
||||
wmOmNoticeI.setChpShuXing(mvgoods.getChpShuXing());//产品属性
|
||||
|
||||
wmOmNoticeI.setBarCode(mvgoods.getShpTiaoMa());//商品条码
|
||||
try{
|
||||
wmOmNoticeI.setBaseUnit(mvgoods.getBaseunit());
|
||||
wmOmNoticeI.setGoodsUnit(mvgoods.getShlDanWei());
|
||||
|
|
|
@ -20,6 +20,7 @@ validationQuery.sqlserver=SELECT 1
|
|||
jdbc.url.jeecg=jdbc:mysql://127.0.0.1:3306/wms?useUnicode=true&characterEncoding=UTF-8
|
||||
|
||||
jdbc.username.jeecg=root
|
||||
#jdbc.password.jeecg=Qwer12345
|
||||
jdbc.password.jeecg=Zzerp123
|
||||
jdbc.dbType=mysql
|
||||
|
||||
|
|
Loading…
Reference in New Issue