|
|
|
@@ -7,6 +7,7 @@ import com.iformall.controller.base.BaseController; |
|
|
|
import com.iformall.domain.po.MallUserInfo; |
|
|
|
import com.iformall.domain.po.WxBillProperty; |
|
|
|
import com.iformall.domain.po.WxPropertyContract; |
|
|
|
import com.iformall.domain.po.WxRentContract; |
|
|
|
import com.iformall.enums.EnumFromType; |
|
|
|
import com.iformall.enums.EnumRentStartType; |
|
|
|
import com.iformall.mapper.WxPropertyContractMapper; |
|
|
|
@@ -172,5 +173,12 @@ public class WxPropertyContractController extends BaseController { |
|
|
|
return wxPropertyContractService.updatePropertyContractStatus(id); |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("endContract") |
|
|
|
@SystemControllerLog(description = "物业合同-终止合同") |
|
|
|
public ResultData endContract(@RequestBody WxPropertyContract wxPropertyContract) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxRentContractController::endContract"); |
|
|
|
wxPropertyContractService.endContract(wxPropertyContract); |
|
|
|
return new ResultData(); |
|
|
|
} |
|
|
|
|
|
|
|
} |