Ver a proveniência

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

release_toaliyun_real
gongbiao há 7 anos
ascendente
cometimento
30f04abb5c
2 ficheiros alterados com 7 adições e 0 eliminações
  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 Ver ficheiro

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


+ 6
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxBillAllServiceImpl.java Ver ficheiro

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


Carregando…
Cancelar
Guardar