|
|
|
@@ -7,10 +7,11 @@ import com.iformall.domain.po.WxPropertyContract; |
|
|
|
import com.iformall.domain.po.WxRentContract; |
|
|
|
import com.iformall.domain.vo.WxRentPropertyContractVo; |
|
|
|
import com.iformall.enums.EnumRentContractStatus; |
|
|
|
import com.iformall.mapper.*; |
|
|
|
import com.iformall.service.*; |
|
|
|
import org.flowable.engine.RuntimeService; |
|
|
|
import org.flowable.engine.TaskService; |
|
|
|
import com.iformall.mapper.WxPropertyContractMapper; |
|
|
|
import com.iformall.mapper.WxRentContractMapper; |
|
|
|
import com.iformall.service.WxPropertyContractService; |
|
|
|
import com.iformall.service.WxRentContractService; |
|
|
|
import com.iformall.service.WxRentPropertyContractService; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
@@ -26,62 +27,17 @@ import java.util.Map; |
|
|
|
public class WxRentPropertyContractServiceImpl implements WxRentPropertyContractService { |
|
|
|
private final Logger logger = LoggerFactory.getLogger(this.getClass()); |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private String fmUploadDir; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxRentContractMapper wxRentContractMapper; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxShopMapper wxShopMapper; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxMerchantService wxMerchantService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxBillRentMapper wxBillRentMapper; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxBillDepositMapper wxBillDepositMapper; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxPropertyContractMapper wxPropertyContractMapper; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxMerchantMapper wxMerchantMapper; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxBusinessMapper wxBusinessMapper; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxMallMapper wxMallMapper; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxBrandMapper WxBrandMapper; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxFlowRecordService wxFlowRecordService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
RuntimeService runtimeService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private TaskService taskService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private WxFlowService wxFlowService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxMerchantShopMapper wxMerchantShopMapper; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxFlowRecordMapper wxFlowRecordMapper; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxPropertyContractService wxPropertyContractService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxRentContractService wxRentontractService; |
|
|
|
WxRentContractService wxRentContractService; |
|
|
|
|
|
|
|
@Override |
|
|
|
public PageInfo<WxRentPropertyContractVo> listContractVo(WxRentPropertyContractVo record, Integer pageIndex, Integer pageSize) { |
|
|
|
@@ -91,7 +47,7 @@ public class WxRentPropertyContractServiceImpl implements WxRentPropertyContract |
|
|
|
@Override |
|
|
|
public ResultData getContractInfo(Long id) { |
|
|
|
Map<String, Object> data = new HashMap<>(); |
|
|
|
Map<String, Object> rent = wxRentontractService.getById(id); |
|
|
|
Map<String, Object> rent = wxRentContractService.getById(id); |
|
|
|
data.put("rent", rent); |
|
|
|
WxPropertyContract wxPropertyContractQuery = new WxPropertyContract(); |
|
|
|
wxPropertyContractQuery.setRentContractId(id); |
|
|
|
|