核货时带出商品
parent
2d331cac7e
commit
3b539353ee
|
@ -2666,7 +2666,7 @@ public class WmOmNoticeHController extends BaseController {
|
||||||
String hql="from WmOmNoticeHEntity ";
|
String hql="from WmOmNoticeHEntity ";
|
||||||
|
|
||||||
List<WmOmNoticeHEntity> listWaveToDowns =new ArrayList<>();
|
List<WmOmNoticeHEntity> listWaveToDowns =new ArrayList<>();
|
||||||
List<WmOmNoticeHEntity> listWaveToDownsnew =new ArrayList<>();
|
List<WmOmNoticeHEntity> listWaveToDownsnew =new ArrayList<>();
|
||||||
if(StringUtil.isNotEmpty(searchstr)&&!"null".equals(searchstr)){
|
if(StringUtil.isNotEmpty(searchstr)&&!"null".equals(searchstr)){
|
||||||
hql="from WmOmNoticeHEntity where omSta <> ? and reMember = ? and omNoticeId = ?";
|
hql="from WmOmNoticeHEntity where omSta <> ? and reMember = ? and omNoticeId = ?";
|
||||||
listWaveToDowns = wmOmNoticeHService.findHql(hql,"复核完成",username,searchstr);
|
listWaveToDowns = wmOmNoticeHService.findHql(hql,"复核完成",username,searchstr);
|
||||||
|
@ -2713,8 +2713,29 @@ public class WmOmNoticeHController extends BaseController {
|
||||||
}catch (Exception e){
|
}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);
|
D0.setObj(listWaveToDownsnew);
|
||||||
|
|
||||||
|
|
||||||
|
@ -2733,7 +2754,7 @@ public class WmOmNoticeHController extends BaseController {
|
||||||
// hql="from WmImNoticeIEntity where noticeiSta <> ? and omNoticeId = ?";
|
// hql="from WmImNoticeIEntity where noticeiSta <> ? and omNoticeId = ?";
|
||||||
// listWaveToDowns = wmOmNoticeHService.findHql(hql,"已核货",searchstr);
|
// listWaveToDowns = wmOmNoticeHService.findHql(hql,"已核货",searchstr);
|
||||||
// hql="from WmOmNoticeIEntity ";
|
// 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);
|
||||||
listWaveToDowns = wmOmNoticeHService.findHql(hql, omnoticeid,"复核完成");
|
listWaveToDowns = wmOmNoticeHService.findHql(hql, omnoticeid,"复核完成");
|
||||||
D0.setObj(listWaveToDowns);
|
D0.setObj(listWaveToDowns);
|
||||||
|
|
|
@ -123,7 +123,8 @@ public class WmOmNoticeIEntity implements java.io.Serializable {
|
||||||
/**产品属性*/
|
/**产品属性*/
|
||||||
@Excel(name="产品属性")
|
@Excel(name="产品属性")
|
||||||
private java.lang.String chpShuXing;
|
private java.lang.String chpShuXing;
|
||||||
|
@Excel(name="商品条码")
|
||||||
|
private java.lang.String barCode;
|
||||||
/**
|
/**
|
||||||
*方法: 取得java.lang.String
|
*方法: 取得java.lang.String
|
||||||
*@return: java.lang.String 主键
|
*@return: java.lang.String 主键
|
||||||
|
@ -683,4 +684,16 @@ public class WmOmNoticeIEntity implements java.io.Serializable {
|
||||||
this.chpShuXing = chpShuXing;
|
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();
|
huowu=huowu+mvgoods.getGoodsName();
|
||||||
wmOmNoticeI.setGoodsName(mvgoods.getGoodsName());
|
wmOmNoticeI.setGoodsName(mvgoods.getGoodsName());
|
||||||
wmOmNoticeI.setChpShuXing(mvgoods.getChpShuXing());//产品属性
|
wmOmNoticeI.setChpShuXing(mvgoods.getChpShuXing());//产品属性
|
||||||
|
wmOmNoticeI.setBarCode(mvgoods.getShpTiaoMa());//商品条码
|
||||||
try{
|
try{
|
||||||
wmOmNoticeI.setBaseUnit(mvgoods.getBaseunit());
|
wmOmNoticeI.setBaseUnit(mvgoods.getBaseunit());
|
||||||
wmOmNoticeI.setGoodsUnit(mvgoods.getShlDanWei());
|
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.url.jeecg=jdbc:mysql://127.0.0.1:3306/wms?useUnicode=true&characterEncoding=UTF-8
|
||||||
|
|
||||||
jdbc.username.jeecg=root
|
jdbc.username.jeecg=root
|
||||||
|
#jdbc.password.jeecg=Qwer12345
|
||||||
jdbc.password.jeecg=Zzerp123
|
jdbc.password.jeecg=Zzerp123
|
||||||
jdbc.dbType=mysql
|
jdbc.dbType=mysql
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue