Kaynağa Gözat

fix

release_toaliyun_real
winter 1 yıl önce
ebeveyn
işleme
c3d09af9c7
3 değiştirilmiş dosya ile 10 ekleme ve 4 silme
  1. +7
    -0
      mallinkAdmin/src/main/java/com/iformall/controller/rent/WxAllBillController.java
  2. +1
    -3
      mallinkService/src/main/java/com/iformall/domain/po/WxRentContract.java
  3. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

+ 7
- 0
mallinkAdmin/src/main/java/com/iformall/controller/rent/WxAllBillController.java Dosyayı Görüntüle

@@ -44,6 +44,7 @@ import com.iformall.service.WxPayAccountBillService;
import com.iformall.service.WxShopService; import com.iformall.service.WxShopService;
import com.iformall.service.helper.WxBillAllHelper; import com.iformall.service.helper.WxBillAllHelper;
import com.iformall.utils.Constant; import com.iformall.utils.Constant;
import com.iformall.utils.DateUtils;


import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiImplicitParams;
@@ -127,6 +128,9 @@ public class WxAllBillController extends BillBaseController {
private PageInfo<WxMerchantBillVo> getVoPage(WxMerchant wxMerchant,Integer pageNum, Integer pageSize , Integer billStaus) { private PageInfo<WxMerchantBillVo> getVoPage(WxMerchant wxMerchant,Integer pageNum, Integer pageSize , Integer billStaus) {
Date starttime = wxMerchant.getStarttime(); Date starttime = wxMerchant.getStarttime();
Date enttime = wxMerchant.getEndtime(); Date enttime = wxMerchant.getEndtime();
if (null != enttime) {
enttime = DateUtils.getDayEnd(enttime);
}
wxMerchant.setStarttime(null); wxMerchant.setStarttime(null);
wxMerchant.setEndtime(null); wxMerchant.setEndtime(null);
if (null != wxMerchant.getOnlyOwe() && EnumYesOrNo.YES.getCode().intValue() == wxMerchant.getOnlyOwe().intValue()) { if (null != wxMerchant.getOnlyOwe() && EnumYesOrNo.YES.getCode().intValue() == wxMerchant.getOnlyOwe().intValue()) {
@@ -205,6 +209,9 @@ public class WxAllBillController extends BillBaseController {
wxMerchant.updateTenantInfo(getTenantInfo()); wxMerchant.updateTenantInfo(getTenantInfo());
Date starttime = wxMerchant.getStarttime(); Date starttime = wxMerchant.getStarttime();
Date enttime = wxMerchant.getEndtime(); Date enttime = wxMerchant.getEndtime();
if (null != enttime) {
enttime = DateUtils.getDayEnd(enttime);
}
wxMerchant.setStarttime(null); wxMerchant.setStarttime(null);
wxMerchant.setEndtime(null); wxMerchant.setEndtime(null);
WxMerchant m = wxMerchantService.selectById(wxMerchant.getId()); WxMerchant m = wxMerchantService.selectById(wxMerchant.getId());


+ 1
- 3
mallinkService/src/main/java/com/iformall/domain/po/WxRentContract.java Dosyayı Görüntüle

@@ -251,9 +251,7 @@ public class WxRentContract extends TenantEntity {
@io.swagger.annotations.ApiModelProperty(value = "押金", name = "deposit") @io.swagger.annotations.ApiModelProperty(value = "押金", name = "deposit")
private String deposit; private String deposit;


//// @io.swagger.annotations.ApiModelProperty(value = "押金详细", name = "depositInfo")
//// private String depositInfo;
@io.swagger.annotations.ApiModelProperty(value = "押金详细EnumRentContractDepositType", name = "cashtypeContentLsit")
@io.swagger.annotations.ApiModelProperty(value = "押金详细", name = "cashtypeContentLsit")
private String cashtypeContentLsit; private String cashtypeContentLsit;
@io.swagger.annotations.ApiModelProperty(value = "押金详细", name = "cashtypeLsit") @io.swagger.annotations.ApiModelProperty(value = "押金详细", name = "cashtypeLsit")
private String cashtypeLsit; private String cashtypeLsit;


+ 2
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java Dosyayı Görüntüle

@@ -812,7 +812,8 @@ public class WxRentContractServiceImpl implements WxRentContractService {
wxBillDeposit.setPriceDetail("合同押金项["+fees.getName()+"]"+depositFee.getPrice()+"元"+"/"+fees.getCalcuteUnitName()); wxBillDeposit.setPriceDetail("合同押金项["+fees.getName()+"]"+depositFee.getPrice()+"元"+"/"+fees.getCalcuteUnitName());
} }
wxBillDeposit.setPay("0"); wxBillDeposit.setPay("0");
String needpay = wxRentContract.getDeposit();
String needpay = depositFee.getPrice();
// String count = "1"; // String count = "1";
// if (null != depositFee.getCalcuteUnit() && depositFee.getCalcuteUnit().intValue() == EnumFeesStandardsCalcuteUnit.MM.getCode().intValue()) { // if (null != depositFee.getCalcuteUnit() && depositFee.getCalcuteUnit().intValue() == EnumFeesStandardsCalcuteUnit.MM.getCode().intValue()) {
// count = wxRentContract.getRentArea(); // count = wxRentContract.getRentArea();


Yükleniyor…
İptal
Kaydet