波次增加商品条码搜索

master
erzhongxmu 2020-11-22 09:31:24 +08:00
parent a3c38dffc6
commit aad6ec5ca1
4 changed files with 54 additions and 10 deletions

View File

@ -393,10 +393,15 @@ public class WaveToDownController extends BaseController {
}
if(StringUtil.isNotEmpty(searchstr3)){
for(WaveToDownEntity t: listWaveToDowns ){
if(StringUtil.strPos(t.getGoodsId(),searchstr3)){
try{
if(StringUtil.strPos(t.getGoodsId(),searchstr3)||StringUtil.strPos(t.getShpTiaoMa(),searchstr3)){
listWaveToDownsnew.add(t);
}
}catch (Exception e){
}
}
D0.setObj(listWaveToDownsnew);

View File

@ -376,9 +376,14 @@ public class WaveToFjController extends BaseController {
String chehao = "";
for(WaveToFjEntity t:listWaveToFjs) {
if (StringUtil.isNotEmpty(searchstr3)) {
if (!StringUtil.strPos(t.getGoodsId(), searchstr3)) {
try{
if (!StringUtil.strPos(t.getGoodsId(), searchstr3)||StringUtil.strPos(t.getShpTiaoMa(),searchstr3)) {
continue;
}
}catch (Exception e){
}
}
WaveToFjEntity t1 = new WaveToFjEntity();
try{

View File

@ -95,7 +95,8 @@ public class WaveToDownEntity implements java.io.Serializable {
/**by5*/
@Excel(name="by5")
private String by5;
@Excel(name="商品条码")
private java.lang.String shpTiaoMa;
/**
*: java.lang.String
*@return: java.lang.String
@ -451,4 +452,20 @@ public class WaveToDownEntity implements java.io.Serializable {
public void setBy5(String by5){
this.by5 = by5;
}
/**
*: java.lang.String
*@return: java.lang.String shpTiaoMa
*/
@Column(name ="SHP_TIAO_MA",nullable=true,length=32)
public java.lang.String getShpTiaoMa(){
return this.shpTiaoMa;
}
/**
*: java.lang.String
*@param: java.lang.String shpTiaoMa
*/
public void setShpTiaoMa(java.lang.String shpTiaoMa){
this.shpTiaoMa = shpTiaoMa;
}
}

View File

@ -95,7 +95,8 @@ public class WaveToFjEntity implements java.io.Serializable {
/**by5*/
@Excel(name="by5")
private String by5;
@Excel(name="商品条码")
private java.lang.String shpTiaoMa;
/**
*: java.lang.String
*@return: java.lang.String
@ -451,4 +452,20 @@ public class WaveToFjEntity implements java.io.Serializable {
public void setBy5(String by5){
this.by5 = by5;
}
/**
*: java.lang.String
*@return: java.lang.String shpTiaoMa
*/
@Column(name ="SHP_TIAO_MA",nullable=true,length=32)
public java.lang.String getShpTiaoMa(){
return this.shpTiaoMa;
}
/**
*: java.lang.String
*@param: java.lang.String shpTiaoMa
*/
public void setShpTiaoMa(java.lang.String shpTiaoMa){
this.shpTiaoMa = shpTiaoMa;
}
}