bug--代码规范优化

This commit is contained in:
taochengbo
2020-10-11 18:44:17 +08:00
parent 61a09632d8
commit cb5f228ac6
7 changed files with 22 additions and 7 deletions

View File

@ -217,7 +217,9 @@ public class StoreOrderController {
}
//处理是否已经修改过订单价格,如果修改用新的单号去拉起支付
if(StrUtil.isNotBlank(storeOrder.getExtendOrderId())) orderId = storeOrder.getExtendOrderId();
if(StrUtil.isNotBlank(storeOrder.getExtendOrderId())) {
orderId = storeOrder.getExtendOrderId();
}
orderSupplyService.goPay(map,orderId,uid, param.getPaytype(),param.getFrom(),orderDTO);

View File

@ -188,7 +188,9 @@ public class CreatShareProductService {
}
}
else{//其他
if(StrUtil.isBlank(from)) from = AppFromEnum.H5.getValue();
if(StrUtil.isBlank(from)) {
from = AppFromEnum.H5.getValue();
}
String name = uid + "_"+from+"_user_wap.jpg";