Commit 1b0e783c by jianan

新单跟进51

parent fe59ea40
......@@ -32,6 +32,7 @@ import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
......@@ -174,7 +175,11 @@ public class ApiFortuneController {
if (CollectionUtils.isEmpty(fortuneDownloadRequest.getFortuneBizIdList())) {
throw new BusinessException(ResultCode.PARAMS_ERROR.getCode(), "请选择要出账的发佣数据");
}
try {
fortuneService.downloadAccount(fortuneDownloadRequest, response);
} catch (Exception e) {
throw new BusinessException(ResultCode.FAIL.getCode(), "出账清单生成失败");
}
}
/**
......
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