|
|
|
@@ -8,6 +8,7 @@ import com.iformall.domain.po.MallUserInfo; |
|
|
|
import com.iformall.domain.po.WxBillProperty; |
|
|
|
import com.iformall.domain.po.WxPropertyContract; |
|
|
|
import com.iformall.enums.EnumRentStartType; |
|
|
|
import com.iformall.exception.MallinkException; |
|
|
|
import com.iformall.mapper.WxPropertyContractMapper; |
|
|
|
import com.iformall.service.WxBillPropertyService; |
|
|
|
import com.iformall.service.WxPropertyContractService; |
|
|
|
@@ -107,8 +108,13 @@ public class WxPropertyContractController extends BaseController { |
|
|
|
WxBillProperty wxBillProperty = new WxBillProperty(); |
|
|
|
wxBillProperty.setTenantId(super.getTenantId()); |
|
|
|
wxBillPropertyService.updateBillStatus(wxBillProperty); |
|
|
|
Map<String, Object> data = wxPropertyContractService.getById(id); |
|
|
|
return new ResultData(data); |
|
|
|
try { |
|
|
|
Map<String, Object> data = wxPropertyContractService.getById(id); |
|
|
|
return new ResultData(data); |
|
|
|
} catch (MallinkException e) { |
|
|
|
logger.error(e.getMessage()); |
|
|
|
return new ResultData(e.getErrorCode(), e.getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@RequestMapping("/download") |
|
|
|
|