@@ -1589,6 +1589,50 @@ class TrademarkService extends ServiceBase {
}
}
asyncqueryTmInfoForPush(){
try{
letsql="SELECT id,orderNum,tmFormType,tmName,picUrl,nclOneCodes,nclSmallCodes,principal,tmRegistNum,tmStatus,tmStatusName,tmSourceTypeName,channelOrderListInfo,`updated_at` FROM `h_trade_mark` WHERE channelOrderListInfo NOT LIKE '%,%' AND channelOrderListInfo NOT LIKE '%,%' AND channelOrderListInfo IS NOT NULL AND channelOrderListInfo !='' AND isPushed!=1 LIMIT 200;";
lettmResult=awaitthis.dao.customQuery(sql);
returntmResult;
}catch(e){
console.log('queryTmInfoForPush查询失败');
returne;
}
}
asyncqueryTmCustomerInfoForPush(orderNum){
try{
letsql="SELECT * FROM `h_tmcustomer_info` WHERE orderNum='"+orderNum+"';";
letcustomerResult=awaitthis.dao.customQuery(sql);
returncustomerResult;
}catch(e){
console.log('queryTmCustomerInfoForPush查询失败');
returne;
}
}
asyncqueryTmFlowInfoForPush(tmRegistNum){
try{
letsql="SELECT * FROM `h_tm_flow` WHERE tmRegistNum='"+tmRegistNum+"';";