Commit f3e6f2d5 by 徐高华

激活账号

parent d6dae55e
......@@ -169,7 +169,6 @@ public class HaobanQywxFeeApiServiceImpl implements HaobanQywxFeeApiService {
if (autoActiveFlag != null && autoActiveFlag != 1) {
this.wxEnterpriseService.updateAutoActiveFlagById(1, wxEnterpriseId);
}
List<Map<String, String>> activeCodeList = new ArrayList<>();
List<String> orderIdList = this.listOrderId(corpid) ;
for (String orderId : orderIdList) {
FeeOrderDeatilResponseDTO order = qywxUserApiService.getOrder(corpid, serviceCorpid, orderId);
......@@ -209,11 +208,12 @@ public class HaobanQywxFeeApiServiceImpl implements HaobanQywxFeeApiService {
}
// 查询订单下的激活码code列表,记录到activeCodeList
for(TabHaobanQywxFeeOrder order : orderList) {
List<Map<String, String>> activeCodeList = new ArrayList<>();
this.getOrderAccount(order.getOrderId(), corpid, null, activeCodeList);
this.addOrderAccount(wxEnterpriseId, serviceCorpid, corpid, activeCodeList);
}
//处理订单下激活账号
this.addOrderAccount(wxEnterpriseId, serviceCorpid, corpid, activeCodeList);
//统计 haobanQywxFeeDetailDTO 30天内最新过期的时间和人数
HaobanQywxFeeDetailDTO haobanQywxFeeDetailDTO = haobanQywxFeeAccountStaffService.feeIntercept(wxEnterpriseId);
......
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