|
@@ -280,6 +280,9 @@ public class CustomerController {
|
|
|
@ApiOperation(value="文档下载", notes="文档下载")
|
|
|
public RespR generateWord(String customerRecId,HttpServletResponse response){
|
|
|
CustomerRec customerRec = (CustomerRec) customerService.contractDownload(customerRecId).getData();
|
|
|
+ if(null == customerRec || null ==customerRec.getServiceStartTime() || null ==customerRec.getServiceEndTime()){
|
|
|
+ return new RespR(false,"企业维护信息缺失服务时间,请手动维护");
|
|
|
+ }
|
|
|
String fileName = "合作说明.doc";
|
|
|
Map<String, String> dataMap = new HashMap<>();
|
|
|
dataMap.put("a", customerRec.getCompanyBelongName());
|