|
|
|
@@ -98,11 +98,6 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
@Autowired |
|
|
|
WxMerchantShopMapper wxMerchantShopMapper; |
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
System.out.println(3%3); |
|
|
|
System.out.println(6%3); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Map<String, Object> listAsPage(WxRentContract record, Integer pageIndex, Integer pageSize) { |
|
|
|
Object rentContractStatusInfo = getRentContractStatusInfo(record); |
|
|
|
@@ -767,6 +762,17 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
priceArrs[i] = new BigDecimal(priceD).setScale(0, RoundingMode.HALF_EVEN).intValue(); |
|
|
|
} |
|
|
|
} |
|
|
|
if (wxRentContract.getRentShopType().equals(EnumRentShopType.SHOP.getCode()) && |
|
|
|
wxRentContract.getType().equals(EnumRentContractType.RENT_BY_JOINT.getCode())) { |
|
|
|
String rentInfo = wxRentContract.getRentInfo(); |
|
|
|
JSONArray rentInfoArray = JSONArray.parseArray(rentInfo); |
|
|
|
for (int i = 0; i < size; i++) { |
|
|
|
Map<String, Object> shopInfo = new HashMap<>(); |
|
|
|
JSONObject rentInfoObject = rentInfoArray.getJSONObject(i); |
|
|
|
shopInfo.put(rentInfoObject.getString("shopNumber"), 0); |
|
|
|
shopInfos.add(shopInfo); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
int month = 12; |
|
|
|
int divide = lease / month; |
|
|
|
|