| | |
| | | import com.panzhihua.sangeshenbian.warpper.IdentityInformation; |
| | | import com.panzhihua.sangeshenbian.warpper.MgtComplaintQuery; |
| | | import com.panzhihua.sangeshenbian.warpper.PermissionsVO; |
| | | import jodd.util.StringUtil; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.context.annotation.Lazy; |
| | |
| | | case 2: |
| | | fileName = "question_handle.docx"; |
| | | if (Objects.nonNull(partyMember)) { |
| | | if (StringUtil.isNotBlank(partyMember.getServiceTarget())) { |
| | | community = community + "-" + partyMember.getServiceTarget(); |
| | | } |
| | | } |
| | | reportType = complaint.getCompletionUserLevel(); |
| | | break; |
| | |
| | | map.put("problemType", complaint.getProblemType()); |
| | | map.put("descriptionContent", complaint.getDescriptionContent()); |
| | | map.put("reportType", reportType == null ? "" : ReportTypeEnum.getDescriptionByCode(reportType)); |
| | | map.put("partyOrganization", Objects.nonNull(partyMember) ? partyMember.getPartyOrganization() : ""); |
| | | if (Objects.nonNull(partyMember)) { |
| | | map.put("partyOrganization", StringUtil.isNotBlank(partyMember.getPartyOrganization()) ? partyMember.getPartyOrganization() : ""); |
| | | } |
| | | map.put("name", complaint.getName()); |
| | | map.put("contactNumber", complaint.getContactNumber()); |
| | | map.put("nickname", complaint.getReportUserName()); |