模糊查询
This commit is contained in:
parent
b46b59e2a2
commit
e7dc4cb866
|
@ -421,11 +421,11 @@ namespace Competition.Mysql.DAL
|
||||||
|
|
||||||
if(string.IsNullOrEmpty(req.SHIP_NAME_EN) && string.IsNullOrEmpty(req.VOYAGE_NO) && string.IsNullOrEmpty(req.STANDARD_NAME) && string.IsNullOrEmpty(req.MONITOR_ID) && string.IsNullOrEmpty(req.BILL_NO))
|
if(string.IsNullOrEmpty(req.SHIP_NAME_EN) && string.IsNullOrEmpty(req.VOYAGE_NO) && string.IsNullOrEmpty(req.STANDARD_NAME) && string.IsNullOrEmpty(req.MONITOR_ID) && string.IsNullOrEmpty(req.BILL_NO))
|
||||||
{
|
{
|
||||||
T2 = "T_STK_STORAGE";
|
T2 = "T_STK_STORAGE WHERE STOCK_BALANCE > 0 AND ";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
T2 = "(select * FROM T_STK_STORAGE WHERE ";
|
T2 = "(select * FROM T_STK_STORAGE WHERE STOCK_BALANCE > 0 AND ";
|
||||||
string tmp1="",tmp2="",tmp3="",tmp4="",tmp5="";
|
string tmp1="",tmp2="",tmp3="",tmp4="",tmp5="";
|
||||||
if(!string.IsNullOrEmpty(req.SHIP_NAME_EN))
|
if(!string.IsNullOrEmpty(req.SHIP_NAME_EN))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue