Compare commits
2 Commits
486828f9f3
...
79a441234f
Author | SHA1 | Date | |
---|---|---|---|
|
79a441234f | ||
|
95c825f2b8 |
@ -134,8 +134,9 @@ public abstract class ApproverAbstractServiceImpl implements ApproverService {
|
||||
}
|
||||
Page<PsApproverRecordVo> res = recordMapper.selectPageApproverList(pageQuery.build(), lqw, bo.getPay());
|
||||
|
||||
List<String> codes = res.getRecords().stream().map(PsApproverRecordVo::getContractCode).toList();
|
||||
|
||||
if(CollectionUtils.isNotEmpty(res.getRecords())){
|
||||
List<String> codes = res.getRecords().stream().map(PsApproverRecordVo::getContractCode).toList();
|
||||
QueryWrapper<PsCompanyInfoVo> wq = Wrappers.<PsCompanyInfoVo>query()
|
||||
.eq("com.del_flag", "0")
|
||||
.eq("pcc.del_flag","0")
|
||||
@ -143,8 +144,6 @@ public abstract class ApproverAbstractServiceImpl implements ApproverService {
|
||||
List<PsCompanyInfoVo> list = companyInfoMapper.selectContractServiceCompany(wq);
|
||||
Map<String, List<PsCompanyInfoVo>> contractCompanyMap = list.stream().collect(Collectors.groupingBy(PsCompanyInfoVo::getContractCode));
|
||||
|
||||
|
||||
if(CollectionUtils.isNotEmpty(res.getRecords())){
|
||||
res.getRecords().forEach(item->{
|
||||
if (item.getContractAmount() != null)
|
||||
item.setResidualMoney(item.getContractAmount().subtract(item.getPayMoney()));
|
||||
|
@ -772,8 +772,14 @@ public class PsContractInfoServiceImpl implements IPsContractInfoService {
|
||||
detailBos.add(item);
|
||||
|
||||
for (PsContractBusinessDetailBo detailBo : item.getDetailBos()) {
|
||||
String dictLabel = "";
|
||||
if (StringUtils.isEmpty(detailBo.getBusinessProject())){
|
||||
dictLabel = detailBo.getBusinessProjectLabel();
|
||||
}else{
|
||||
contractType = dictDataService.selectDict("service_project", detailBo.getBusinessProject());
|
||||
String dictLabel = contractType.getDictLabel();
|
||||
dictLabel = contractType.getDictLabel();
|
||||
}
|
||||
|
||||
String remark = contractType.getRemark();
|
||||
if (!StringUtils.isEmpty(remark)){
|
||||
JSONObject jsonObject = JSONObject.parseObject(remark);
|
||||
|
Loading…
Reference in New Issue
Block a user