bug
This commit is contained in:
parent
2ff94c4500
commit
95c825f2b8
@ -42,9 +42,9 @@ spring:
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
|
||||
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
|
||||
url: jdbc:mysql://192.168.18.119:3308/pusongplus?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
|
||||
url: jdbc:mysql://124.236.46.74:9100/pusongplus?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
|
||||
username: root
|
||||
password: Ps123456
|
||||
password: rwWhYfCe3Tzhatep
|
||||
# url: jdbc:mysql://47.95.38.123:3306/pusongplus?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
|
||||
# username: root
|
||||
# password: Ps123456@
|
||||
@ -94,13 +94,13 @@ spring:
|
||||
spring.data:
|
||||
redis:
|
||||
# 地址
|
||||
host: 192.168.18.119
|
||||
host: 124.236.46.74
|
||||
# 端口,默认为6379
|
||||
port: 6378
|
||||
port: 9101
|
||||
# 数据库索引
|
||||
database: 8
|
||||
# 密码(如没有密码请注释掉)
|
||||
password: 12345
|
||||
password: redis_PhRr2K
|
||||
# 连接超时时间
|
||||
timeout: 10s
|
||||
# 是否开启ssl
|
||||
|
@ -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()));
|
||||
|
@ -742,8 +742,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