|
|
|
@@ -0,0 +1,45 @@ |
|
|
|
package com.iformall.controller.contract; |
|
|
|
|
|
|
|
import com.iformall.annotation.SystemControllerLog; |
|
|
|
import com.iformall.common.Result; |
|
|
|
import com.iformall.common.ResultData; |
|
|
|
import com.iformall.controller.base.BaseController; |
|
|
|
import com.iformall.domain.po.WxPropertyContract; |
|
|
|
import com.iformall.domain.po.WxRentContract; |
|
|
|
import com.iformall.service.WxPropertyContractService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiImplicitParam; |
|
|
|
import io.swagger.annotations.ApiImplicitParams; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
/** |
|
|
|
* @author: furunxin |
|
|
|
* @Date: 2020/7/20 18:11 |
|
|
|
* @Description: |
|
|
|
*/ |
|
|
|
|
|
|
|
@Slf4j |
|
|
|
@RestController |
|
|
|
@Api(description = "物业合同续签") |
|
|
|
@RequestMapping("wxPropertyContractExtension") |
|
|
|
public class WxPropertyContractExtensionController extends BaseController { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private WxPropertyContractService wxPropertyContractService; |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("getMerchantList") |
|
|
|
@SystemControllerLog(description = "获取可续签商户列表") |
|
|
|
public ResultData getMerchantList() throws Exception{ |
|
|
|
WxPropertyContract wxPropertyContract = new WxPropertyContract(); |
|
|
|
wxPropertyContract.updateTenantInfo(getTenantInfo()); |
|
|
|
return new ResultData(Result.SUCCESS, "查询成功", wxPropertyContractService.getMerchantList(wxPropertyContract)); |
|
|
|
} |
|
|
|
} |