浏览代码

修复续建项目列表查询报错

tags/24080901
WendyYang 1年前
父节点
当前提交
db690769ec
共有 2 个文件被更改,包括 5 次插入2 次删除
  1. +4
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/ExpertExportManage.java
  2. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectRenewalFundDeclarationMapper.xml

+ 4
- 1
pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/ExpertExportManage.java 查看文件

@@ -216,7 +216,7 @@ public class ExpertExportManage {
experts.forEach(w -> {
ExpertInfoDTO expert = new ExpertInfoDTO();
if (ExpertAttendStatusEnum.ON_LEAVE.eq(w.getStatus())) {
expert.setBank(w.getExpertName() + "(请假)");
expert.setName(w.getExpertName() + "(请假)");
} else {
expert.setName(w.getExpertName());
}
@@ -224,6 +224,9 @@ public class ExpertExportManage {
if (expertUser != null) {
expert.setCompany(expertUser.getCompany());
expert.setJob(expertUser.getAdministrativeDuties());
} else {
expert.setCompany(StrUtil.EMPTY);
expert.setJob(StrUtil.EMPTY);
}
data.getExperts().add(expert);
});


+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectRenewalFundDeclarationMapper.xml 查看文件

@@ -75,7 +75,7 @@
</foreach>
</if>
<if test="param.userRegionCode != null">
and prfd.region_code = param.userRegionCode}
and prfd.region_code = #{param.userRegionCode}
</if>
</if>
order by prfd.update_on desc


正在加载...
取消
保存