Commit 718cb197 by xsren@gongsibao.com

询价接口

parent bc684391
......@@ -118,7 +118,7 @@ class ProductService extends ServiceBase {
if(actionBody.time!= ''){
const index = actionBody.time.indexOf('个');
const time = actionBody.time.substring(0,index);
producesql += ` AND pc.additions_desc LIKE '%${time}%'`;
producesql += ` AND pc.additions_desc LIKE = '${time}'`;
}else{
return system.getResultFail(null,'actionBody.time can not be empty!')
}
......@@ -132,7 +132,7 @@ class ProductService extends ServiceBase {
if(actionBody.time!= ''){
const index = actionBody.time.indexOf('个');
const time = actionBody.time.substring(0,index)
producesql += ` AND pc.additions_desc LIKE '%${time}%'`;
producesql += ` AND pc.additions_desc = '${time}'`;
}else{
return system.getResultFail(null,'actionBody.time can not be empty!')
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment