|
|
|
@@ -503,7 +503,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
public void download(HttpServletRequest request, HttpServletResponse response, String tenantId) { |
|
|
|
String id = request.getParameter("id"); |
|
|
|
WxRentContract wxRentContract = wxRentContractMapper.selectByPrimaryKey(id); |
|
|
|
|
|
|
|
logger.info("----------id:{},getFilename:{}",id,wxRentContract.getFilename()); |
|
|
|
String filesuffix = wxRentContract.getFilepath().substring(wxRentContract.getFilepath().lastIndexOf(".")); |
|
|
|
String filename = UUID.randomUUID() + filesuffix; |
|
|
|
String filepath = Constant.fileDirectory; |
|
|
|
|