|
|
|
@@ -34,6 +34,7 @@ import java.math.RoundingMode; |
|
|
|
import java.net.HttpURLConnection; |
|
|
|
import java.net.URL; |
|
|
|
import java.util.*; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
/** |
|
|
|
* @author gongbiao |
|
|
|
@@ -607,6 +608,13 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
int allCount = wxRentContractMapper.selectCount(wxRentContract); |
|
|
|
resultData.put("allCount", allCount); |
|
|
|
|
|
|
|
//审核流程中止 |
|
|
|
List<Long> collect = wxRentContractMapper.getRentInvalidList(wxRentContract).stream() |
|
|
|
.map(r -> r.getId()).collect(Collectors.toList()); |
|
|
|
if (!collect.isEmpty()) { |
|
|
|
//中止 |
|
|
|
} |
|
|
|
|
|
|
|
//把状态为签约而商户未关联的数据改为待签约状态 |
|
|
|
wxRentContractMapper.updateStatusForUnsign(wxRentContract); |
|
|
|
|
|
|
|
|