Commit 9c82f2fd by 陶光胜

二维码

parent 77e146c4
......@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSON;
import com.gic.commons.util.GlobalInfo;
import com.gic.enterprise.constant.BillingOrderStatusEnum;
import com.gic.enterprise.constant.EnterpriseStatusTypeEnum;
import com.gic.enterprise.constant.PayTypeEnum;
import com.gic.enterprise.dao.mapper.TabBillingOrderMapper;
import com.gic.enterprise.dto.BillingOrderDTO;
import com.gic.enterprise.dto.SmsPackageOrderItemDTO;
......@@ -57,6 +58,9 @@ public class BillingOrderServiceImpl implements BillingOrderService {
order.setOrderId(orderId);
order.setPayInfoId(payInfoId);
order.setPayType(payType);
if(payType == PayTypeEnum.OFFLINE_PAY.getCode()){
order.setOrderStatus(BillingOrderStatusEnum.AUDITING.getCode());
}
int result = this.tabBillingOrderMapper.updateByPrimaryKeySelective(order);
if(result > 0){
return true;
......
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