增加第三方单号搜索

master
cez 2023-01-25 11:24:41 +08:00
parent d6d25bc363
commit 6d73d4125c
2 changed files with 21 additions and 4 deletions

View File

@ -355,7 +355,7 @@ public class WvGiController extends BaseController {
String hql = " from WvGiEntity where downSta is null ";
D0.setOK(true);
if (!StringUtil.isEmpty(searchstr)) {
hql = hql + " and orderId = '" + searchstr + "'";
hql = hql + " and orderId = '" + searchstr + "'" + " or imCusCode like '%" + searchstr + "%'";
}
if (!StringUtil.isEmpty(searchstr2)) {
try {

View File

@ -68,7 +68,9 @@ public class WvGiEntity implements java.io.Serializable {
/**状态*/
@Excel(name="状态")
private String downSta;
/**客户订单号*/
@Excel(name="客户订单号")
private java.lang.String imCusCode;
/**
*: java.lang.String
*@return: java.lang.String
@ -280,4 +282,19 @@ public class WvGiEntity implements java.io.Serializable {
public void setDownSta(String downSta){
this.downSta = downSta;
}
@Column(name ="IM_CUS_CODE",nullable=true,length=32)
public java.lang.String getImCusCode(){
return this.imCusCode;
}
/**
*: java.lang.String
*@param: java.lang.String
*/
public void setImCusCode(java.lang.String imCusCode){
this.imCusCode = imCusCode;
}
}