|
|
|
@@ -81,6 +81,9 @@ public class WxRentContractController extends BaseController { |
|
|
|
public ResultData updateMoney(@RequestBody WxRentContract wxRentContract) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxRentContractController::updateMoney"); |
|
|
|
wxRentContract.setTenantId(getTenantId()); |
|
|
|
if(wxRentContract.getMonthHandleType() != null){ |
|
|
|
wxRentContract.setAdjustPeriod(wxRentContract.getMonthHandleType()); |
|
|
|
} |
|
|
|
return wxRentContractService.update(wxRentContract, getUser().getId(),getUser().getName()); |
|
|
|
} |
|
|
|
|
|
|
|
@@ -89,6 +92,9 @@ public class WxRentContractController extends BaseController { |
|
|
|
public ResultData updateFile(@RequestBody WxRentContract wxRentContract) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxRentContractController::updateFile"); |
|
|
|
wxRentContract.setTenantId(getTenantId()); |
|
|
|
if(wxRentContract.getMonthHandleType() != null){ |
|
|
|
wxRentContract.setAdjustPeriod(wxRentContract.getMonthHandleType()); |
|
|
|
} |
|
|
|
return wxRentContractService.updateFile(wxRentContract, getUser().getId(),getUser().getName()); |
|
|
|
} |
|
|
|
|
|
|
|
|