Commit 6adc4703 by jinxin

企业微信接口开发

parent 4699ee19
......@@ -58,18 +58,21 @@ public class LicenceOrderServiceImpl implements LicenceOrderService {
order.setExpireTime(expireTime);
tabHaobanLicenceOrderMapper.insert(order);
//记录订单进度
TabHaobanLicenceOrderProgress orderProgress = new TabHaobanLicenceOrderProgress();
orderProgress.setId(UniqueIdUtils.uniqueLong());
orderProgress.setEnterpriseId(licenceOrderQDTO.getEnterpriseId());
orderProgress.setWxEnterpriseId(licenceOrderQDTO.getWxEnterpriseId());
orderProgress.setOrderId(orderId);
orderProgress.setOrderStatus("创建订单");
orderProgress.setType(1);
orderProgress.setCreatorName(licenceOrderQDTO.getCreatorName());
tabHaobanLicenceOrderProgressMapper.insert(orderProgress);
saveOrderProgress(orderId,"创建订单",licenceOrderQDTO.getEnterpriseId(),licenceOrderQDTO.getWxEnterpriseId(),licenceOrderQDTO.getCreatorName());
}
}
private void saveOrderProgress(Long orderId,String orderStatus,String enterpriseId,String wxEnterpriseId,String creatorName){
TabHaobanLicenceOrderProgress orderProgress = new TabHaobanLicenceOrderProgress();
orderProgress.setId(UniqueIdUtils.uniqueLong());
orderProgress.setEnterpriseId(enterpriseId);
orderProgress.setWxEnterpriseId(wxEnterpriseId);
orderProgress.setOrderId(orderId);
orderProgress.setOrderStatus(orderStatus);
orderProgress.setType(1);
orderProgress.setCreatorName(creatorName);
tabHaobanLicenceOrderProgressMapper.insert(orderProgress);
}
@Override
public Boolean updateLicenceOrderType(Long orderId, Integer type) {
......
......@@ -28,10 +28,10 @@ public class LicenceOrderQO implements Serializable {
*/
private Integer externalContactCount;
/**
* 基础帐号个数
*/
private Integer baseCount;
// /**
// * 基础帐号个数
// */
// private Integer baseCount;
/**
* 订单金额,单位分
......
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