Просмотр исходного кода

修改停车列表

release_toaliyun_real
luozukai 7 лет назад
Родитель
Сommit
8e705f6dea
1 измененных файлов: 6 добавлений и 10 удалений
  1. +6
    -10
      mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java

+ 6
- 10
mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java Просмотреть файл

@@ -88,13 +88,13 @@ public class WxFlowServiceImpl implements WxFlowService {
@Override
public void updateBusinessStatus(Long businessId,Integer flowType,Integer contractType,Integer applyStatus){
if(1 == flowType){
WxRentContract rent = new WxRentContract();
rent.setId(businessId);
rent.setApplyStatus(applyStatus);
wxRentContractService.updateApplyStatus(rent);

// 1租赁合同 2点位合同wx_rent_contract 3物业wx_property_contract 4点位物业合同
if(contractType == 3){
if(contractType == 1 || contractType == 2){
WxRentContract rent = new WxRentContract();
rent.setId(businessId);
rent.setApplyStatus(applyStatus);
wxRentContractService.updateApplyStatus(rent);
}else if(contractType == 3 || contractType == 4){
WxPropertyContract wxPropertyContract = new WxPropertyContract();
wxPropertyContract.setId(businessId);
wxPropertyContract.setApplyStatus(applyStatus);
@@ -167,10 +167,6 @@ public class WxFlowServiceImpl implements WxFlowService {
return new ResultData();
}

public static void main(String[] args) {
System.out.println(11%11);
}

@Override
public ResultData list(Integer flowType, Integer pageNum, Integer pageSize,Long userId) {
String flowKey = getFlowKeyByType(flowType);


Загрузка…
Отмена
Сохранить