Commit baac8efc by 王悦

fix failreason

parent c50fb342
...@@ -276,6 +276,7 @@ class TrademarktransactionService extends ServiceBase { ...@@ -276,6 +276,7 @@ class TrademarktransactionService extends ServiceBase {
if (tmInfo) { if (tmInfo) {
if (tmInfo.business_quoted_price < objlist[i].business_quoted_price) { if (tmInfo.business_quoted_price < objlist[i].business_quoted_price) {
objlist[i]["publish_status"] = "fail" objlist[i]["publish_status"] = "fail"
objlist[i]["fail_reason"] = "价格比现有的高"
failCount++; failCount++;
continue; continue;
} }
...@@ -285,6 +286,7 @@ class TrademarktransactionService extends ServiceBase { ...@@ -285,6 +286,7 @@ class TrademarktransactionService extends ServiceBase {
var boo = isNaN(objlist[i].platform_quoted_price); var boo = isNaN(objlist[i].platform_quoted_price);
if(boo) { if(boo) {
failCount++; failCount++;
objlist[i]["fail_reason"] = "价格格式有误或没有价格"
continue; continue;
} }
count++; count++;
......
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