|
@@ -310,7 +310,7 @@ public class ContractServiceImpl extends ServiceImpl<ContractMapper, Contract>
|
|
|
} else {
|
|
|
wrapper.eq("t1", Contract::getIsChange, "0");//列表只展示未变更得数据
|
|
|
wrapper.ne("t1", Contract::getIsShow, 1);
|
|
|
- wrapper.between("t1", Contract::getStatus, FlowStatusEnum1.DRAFT.getKey(), FlowStatusEnum1.CANCELLATION.getKey() - 1);
|
|
|
+// wrapper.between("t1", Contract::getStatus, FlowStatusEnum1.DRAFT.getKey(), FlowStatusEnum1.CANCELLATION.getKey() - 1);
|
|
|
}
|
|
|
if (StringUtils.isNotEmpty(dto.getUserId())) {
|
|
|
wrapper.eq("t1.salesmanId", dto.getUserId());
|
|
@@ -715,7 +715,7 @@ public class ContractServiceImpl extends ServiceImpl<ContractMapper, Contract>
|
|
|
grossProfitInfo.setCompareLastGross(BigDecimal.ZERO);
|
|
|
if ((i - 1) >= 0) {
|
|
|
ContractBudgetVo.GrossProfitInfo lastGrossProfitInfo = grossProfitInfoList.get(i - 1);
|
|
|
- BigDecimal subtract = lastGrossProfitInfo.getGross().subtract(grossProfitInfo.getGross());
|
|
|
+ BigDecimal subtract = grossProfitInfo.getGross().subtract(lastGrossProfitInfo.getGross());
|
|
|
grossProfitInfo.setCompareLastGross(subtract);
|
|
|
}
|
|
|
}
|
|
@@ -1044,7 +1044,6 @@ public class ContractServiceImpl extends ServiceImpl<ContractMapper, Contract>
|
|
|
);
|
|
|
Map<Long, List<EhsdPurchase>> purchaseMap = purchaseList.stream().collect(Collectors.groupingBy(EhsdPurchase::getDataResourceId));
|
|
|
for (ContractBudgetVo v : list) {
|
|
|
- v.setDataJson(null);
|
|
|
v.setOtherIncomeAmount(BigDecimal.ZERO);//暂时先设置其他收入为0
|
|
|
|
|
|
v.setRmbContractAmount(v.getAmount().multiply(v.getRate()));//计算汇算人民币
|