|
@@ -255,24 +255,8 @@ public class RuralCostProjectMessageNewController extends BaseController {
|
|
|
//总审
|
|
|
RuralReportConsultant zongshen = new RuralReportConsultant();
|
|
|
if (StringUtils.isNotBlank(projectcontentinfo.getView()) && projectcontentinfo.getView().equals("reloadReport")){
|
|
|
- List<WorkStaffCertificate> bzshbCertificateList = Lists.newArrayList();
|
|
|
if(StringUtils.isNotBlank(projectcontentinfo.getProjectReportData().getBzshbUserId())){
|
|
|
- bzshbCertificateList = ruralProjectMessageService.getCertificateByUser(projectReportData.getBzshbUserId());
|
|
|
- }
|
|
|
- //获取专业类型
|
|
|
- List<MainDictDetail> certificateMajor1 = DictUtils.getMainDictList("certificate_major");
|
|
|
- for (WorkStaffCertificate certificateInfo: bzshbCertificateList) {
|
|
|
- zongshen.setZhucezigezhID(certificateInfo.getNum());
|
|
|
- zongshen.setZhucezigezhKey(certificateInfo.getName());
|
|
|
- for (MainDictDetail type : certificateMajor1) {
|
|
|
- if(certificateInfo.getMajor().equals(type.getValue())){
|
|
|
- zongshen.setMajor(type.getLabel());
|
|
|
- }
|
|
|
- }
|
|
|
- User currentUser=userService.get(projectcontentinfo.getProjectReportData().getBzshbUserId());
|
|
|
- zongshen.setZixunyuanName(currentUser.getName());
|
|
|
- zongshen.setZixunyuan(currentUser.getId());
|
|
|
- zongshen.setRole("技术咨询员");
|
|
|
+ zongshen.setZixunyuan(projectReportData.getBzshbUserId());
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -283,12 +267,8 @@ public class RuralCostProjectMessageNewController extends BaseController {
|
|
|
Iterator<RuralReportConsultant> it = consultantList.iterator();
|
|
|
while(it.hasNext()){
|
|
|
RuralReportConsultant consultant = it.next();
|
|
|
+ //判定重新复核中总审人员信息去除展示
|
|
|
if(consultant.getZixunyuan().equals(zongshen.getZixunyuan())){
|
|
|
- try {
|
|
|
- MyBeanUtils.copyBeanNotNull2Bean(consultant, zongshen);
|
|
|
- } catch (Exception e) {
|
|
|
- e.printStackTrace();
|
|
|
- }
|
|
|
it.remove();
|
|
|
}else if(consultant.getZixunyuan().equals(currentConsultant.getZixunyuan())){
|
|
|
try {
|