Commit 568150e0 by kangxiaoshan

操作日志

parent 390a851f
...@@ -1000,16 +1000,15 @@ public class ContractServiceImpl implements ContractService { ...@@ -1000,16 +1000,15 @@ public class ContractServiceImpl implements ContractService {
@Override @Override
public List<Contract> findAll(User loginAccount, String startDate, String endDate, String platform, String contractId) { public List<Contract> findAll(User loginAccount, String startDate, String endDate, String platform, String contractId) {
List<Contract> result = new ArrayList<>(); List<Contract> result = new ArrayList<>();
List<User> sales = userRepository.findAll();
List<Sales> salesList = salesRepository.findAllByStatusOn();
Map<Long, String> saleMap = new HashMap<>(); Map<Long, String> saleMap = new HashMap<>();
if (ValidateUtil.isValid(sales)) { if (ValidateUtil.isValid(salesList)) {
for (User s : sales) { for (Sales s : salesList) {
saleMap.put(s.getId(), s.getName()); saleMap.put(s.getId(), s.getName());
} }
} }
List<PackageType> typeList = packageTypeRepository.findAll(); List<PackageType> typeList = packageTypeRepository.findAll();
Map<Long, String> typeMap = new HashMap<>(); Map<Long, String> typeMap = new HashMap<>();
if (ValidateUtil.isValid(typeList)) { if (ValidateUtil.isValid(typeList)) {
...@@ -1364,6 +1363,7 @@ public class ContractServiceImpl implements ContractService { ...@@ -1364,6 +1363,7 @@ public class ContractServiceImpl implements ContractService {
ChangeDelInfo changeDelInfo = new ChangeDelInfo(); ChangeDelInfo changeDelInfo = new ChangeDelInfo();
changeDelInfo.setContractCode(contractMoney.getContractCode()); changeDelInfo.setContractCode(contractMoney.getContractCode());
changeDelInfo.setEmail(contractMoney.getEmail()); changeDelInfo.setEmail(contractMoney.getEmail());
changeDelInfo.setSourceId(contractMoney.getId());
if("pay".equals(contractMoney.getType())){ if("pay".equals(contractMoney.getType())){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment