Quellcode durchsuchen

[租赁物业合同][修改][更新账单]

release_toaliyun_real
gongbiao vor 7 Jahren
Ursprung
Commit
5e7006162a
3 geänderte Dateien mit 12 neuen und 56 gelöschten Zeilen
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java
  2. +3
    -3
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java
  3. +7
    -51
      mallinkService/src/main/java/com/iformall/service/impl/WxRentPropertyContractServiceImpl.java

+ 2
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java Datei anzeigen

@@ -71,12 +71,12 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService

@Override
public Map<String, Object> listAsPage(WxPropertyContract record, Integer pageIndex, Integer pageSize) {
Object rentContractStatusInfo = getRentContractStatusInfo(record);
//Object rentContractStatusInfo = getRentContractStatusInfo(record);
PageHelper.startPage(pageIndex, pageSize);
List<Map<String, Object>> rentContractData = wxPropertyContractMapper.queryPropertyContractData(record);
PageInfo<Map<String, Object>> pageInfo = new PageInfo<>(rentContractData);
Map<String, Object> result = new HashMap<>();
result.put("rentContractStatusInfo", rentContractStatusInfo);
//result.put("rentContractStatusInfo", rentContractStatusInfo);
result.put("pageInfo", pageInfo);
return result;



+ 3
- 3
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java Datei anzeigen

@@ -110,12 +110,12 @@ public class WxRentContractServiceImpl implements WxRentContractService {

@Override
public Map<String, Object> listAsPage(WxRentContract record, Integer pageIndex, Integer pageSize) {
Object rentContractStatusInfo = getRentContractStatusInfo(record);
//Object rentContractStatusInfo = getRentContractStatusInfo(record);
PageHelper.startPage(pageIndex, pageSize);
List<Map<String, Object>> rentContractData = wxRentContractMapper.queryRentContractData(record);
PageInfo<Map<String, Object>> pageInfo = new PageInfo<>(rentContractData);
Map<String, Object> result = new HashMap<>();
result.put("rentContractStatusInfo", rentContractStatusInfo);
//result.put("rentContractStatusInfo", rentContractStatusInfo);
result.put("pageInfo", pageInfo);
return result;
}
@@ -1376,7 +1376,7 @@ public class WxRentContractServiceImpl implements WxRentContractService {
p.getStatus().equals(EnumRentContractStatus.CONTRACT_END_SOON.getCode())).
findFirst().orElse(null);
if (propertyContract != null) {
wxPropertyContractService.updatePropertyPreviewBill(propertyContract);
wxPropertyContractService.updatePropertyContractStatus(propertyContract.getId());
}
}
}


+ 7
- 51
mallinkService/src/main/java/com/iformall/service/impl/WxRentPropertyContractServiceImpl.java Datei anzeigen

@@ -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);


Laden…
Abbrechen
Speichern