Commit 7c5d9c56 by 庄冰

aaa

parent 2a5ae4ab
...@@ -97,7 +97,7 @@ class CustomerInfoService extends ServiceBase { ...@@ -97,7 +97,7 @@ class CustomerInfoService extends ServiceBase {
}, },
raw:true raw:true
}); });
if(ordertmproduct.gzwtsUrl && customerinfo2.businessLicensePdf && customerinfo2.identityCardPdf){ if(ordertmproduct.gzwtsUrl && customerinfo2.businessLicensePdf && (customerinfo2.customerType=="ent" || customerinfo2.identityCardPdf)){
// otpObj["deliveryStatus"]="dsh"; // otpObj["deliveryStatus"]="dsh";
if(ordertmproduct.deliveryStatus=="dsccl"){ if(ordertmproduct.deliveryStatus=="dsccl"){
await self.ordertmproductSve.update({id:ordertmproduct.id,deliveryStatus:"dsh"},t); await self.ordertmproductSve.update({id:ordertmproduct.id,deliveryStatus:"dsh"},t);
...@@ -188,7 +188,7 @@ class CustomerInfoService extends ServiceBase { ...@@ -188,7 +188,7 @@ class CustomerInfoService extends ServiceBase {
if(obj.smwjUrl){ if(obj.smwjUrl){
otpObj["smwjUrl"]=obj.smwjUrl; otpObj["smwjUrl"]=obj.smwjUrl;
} }
if((ordertmproduct.gzwtsUrl || otpObj["gzwtsUrl"]) && customerinfo2.businessLicensePdf && customerinfo2.identityCardPdf){ if((ordertmproduct.gzwtsUrl || otpObj["gzwtsUrl"]) && customerinfo2.businessLicensePdf && (customerinfo2.customerType=="ent" || customerinfo2.identityCardPdf)){
if(ordertmproduct.deliveryStatus=="dsccl"){ if(ordertmproduct.deliveryStatus=="dsccl"){
otpObj["deliveryStatus"]="dsh"; otpObj["deliveryStatus"]="dsh";
} }
......
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