Browse Source

[日常、其他及其他押金][修改][添加周期开始与结束时间字段]

release_toaliyun_real
gongbiao 6 years ago
parent
commit
30f04abb5c
2 changed files with 7 additions and 0 deletions
  1. +1
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBillActionServiceImpl.java
  2. +6
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBillAllServiceImpl.java

+ 1
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxBillActionServiceImpl.java View File

@@ -53,6 +53,7 @@ public class WxBillActionServiceImpl implements WxBillActionService {
wxBillAction.setUserName(user.getName());
wxBillAction.setPhone(user.getPhone());
wxBillAction.setTenantId(user.getTenantId());
wxBillAction.setPayDate(action.getPayDate());
Date date = new Date();
wxBillAction.setCreatetime(date);
wxBillAction.setUpdatetime(date);


+ 6
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxBillAllServiceImpl.java View File

@@ -1061,6 +1061,8 @@ public class WxBillAllServiceImpl implements WxBillAllService {
daily.setExpiredDay(0L);
daily.setOwe(0L);
daily.setIsDel(EnumDelStatus.NOT_DEL.getCode());
daily.setStarttime(bill.getStarttime());
daily.setEndtime(bill.getEndtime());
wxBillDailyMapper.insertSelective(daily);
addActionImport(daily.getId(), bill.getPayWay(), bill.getPayDate(), user);
}
@@ -1115,6 +1117,8 @@ public class WxBillAllServiceImpl implements WxBillAllService {
other.setExpiredDay(0L);
other.setOwe(0L);
other.setIsDel(EnumDelStatus.NOT_DEL.getCode());
other.setStarttime(bill.getStarttime());
other.setEndtime(bill.getEndtime());
wxBillOtherMapper.insertSelective(other);
addActionImport(other.getId(), bill.getPayWay(), bill.getPayDate(), user);
}
@@ -1168,6 +1172,8 @@ public class WxBillAllServiceImpl implements WxBillAllService {
otherDeposit.setExpiredDay(0L);
otherDeposit.setOwe(0L);
otherDeposit.setIsDel(EnumDelStatus.NOT_DEL.getCode());
otherDeposit.setStarttime(bill.getStarttime());
otherDeposit.setEndtime(bill.getEndtime());
wxBillOtherDepositMapper.insertSelective(otherDeposit);
addActionImport(otherDeposit.getId(), bill.getPayWay(), bill.getPayDate(), user);
}


Loading…
Cancel
Save