【PM】删除项目分类管理功能

This commit is contained in:
weizhiqiang 2022-07-10 18:05:04 +08:00
parent 1c2bcdbf8c
commit bc144d35bb
8 changed files with 36 additions and 36 deletions

View file

@ -53,7 +53,7 @@ public class SysStaffArchivesServiceImpl implements SysStaffArchivesService {
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffArchivesDao.queryAllSysStaffArchivesList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "educationId", "educationName");
sysDictDataService.getDictDataNameByIdList(beans, "educationId", "educationName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}
@ -70,7 +70,7 @@ public class SysStaffArchivesServiceImpl implements SysStaffArchivesService {
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffArchivesDao.querySysLeaveStaffArchivesList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "educationId", "educationName");
sysDictDataService.getDictDataNameByIdList(beans, "educationId", "educationName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}
@ -87,7 +87,7 @@ public class SysStaffArchivesServiceImpl implements SysStaffArchivesService {
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffArchivesDao.querySysStaffNotInArchivesList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "educationId", "educationName");
sysDictDataService.getDictDataNameByIdList(beans, "educationId", "educationName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}
@ -143,7 +143,7 @@ public class SysStaffArchivesServiceImpl implements SysStaffArchivesService {
String id = map.get("id").toString();
Map<String, Object> archivesMation = sysStaffArchivesDao.querySysStaffArchivesMationToEdit(id);
if (archivesMation != null && !archivesMation.isEmpty()) {
sysDictDataService.getDcitDataNameByIdBean(archivesMation, "educationId", "educationName");
sysDictDataService.getDictDataNameByIdBean(archivesMation, "educationId", "educationName");
// 附件
if (archivesMation.containsKey("enclosure") && !ToolUtil.isBlank(archivesMation.get("enclosure").toString())) {
List<Map<String, Object>> beans = sysEnclosureDao.queryEnclosureInfo(archivesMation.get("enclosure").toString());

View file

@ -52,7 +52,7 @@ public class SysStaffCertificateServiceImpl implements SysStaffCertificateServic
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffCertificateDao.queryAllSysStaffCertificateList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "typeId", "certificateTypeName");
sysDictDataService.getDictDataNameByIdList(beans, "typeId", "certificateTypeName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}
@ -84,7 +84,7 @@ public class SysStaffCertificateServiceImpl implements SysStaffCertificateServic
String id = map.get("id").toString();
Map<String, Object> certificate = sysStaffCertificateDao.querySysStaffCertificateMationToEdit(id);
if (certificate != null && !certificate.isEmpty()) {
sysDictDataService.getDcitDataNameByIdBean(certificate, "typeId", "certificateTypeName");
sysDictDataService.getDictDataNameByIdBean(certificate, "typeId", "certificateTypeName");
// 附件
if (certificate.containsKey("enclosure") && !ToolUtil.isBlank(certificate.get("enclosure").toString())) {
List<Map<String, Object>> beans = sysEnclosureDao.queryEnclosureInfo(certificate.get("enclosure").toString());
@ -141,7 +141,7 @@ public class SysStaffCertificateServiceImpl implements SysStaffCertificateServic
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffCertificateDao.queryPointStaffSysStaffCertificateList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "typeId", "certificateTypeName");
sysDictDataService.getDictDataNameByIdList(beans, "typeId", "certificateTypeName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());

View file

@ -73,8 +73,8 @@ public class SysStaffContractServiceImpl implements SysStaffContractService {
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffContractDao.queryAllSysStaffContractList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "typeId", "typeName");
sysDictDataService.getDcitDataNameByIdList(beans, "moldId", "moldName");
sysDictDataService.getDictDataNameByIdList(beans, "typeId", "typeName");
sysDictDataService.getDictDataNameByIdList(beans, "moldId", "moldName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}
@ -175,8 +175,8 @@ public class SysStaffContractServiceImpl implements SysStaffContractService {
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffContractDao.queryPointStaffSysStaffContractList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "typeId", "typeName");
sysDictDataService.getDcitDataNameByIdList(beans, "moldId", "moldName");
sysDictDataService.getDictDataNameByIdList(beans, "typeId", "typeName");
sysDictDataService.getDictDataNameByIdList(beans, "moldId", "moldName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}

View file

@ -52,9 +52,9 @@ public class SysStaffEducationServiceImpl implements SysStaffEducationService {
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffEducationDao.queryAllSysStaffEducationList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "educationId", "educationName");
sysDictDataService.getDcitDataNameByIdList(beans, "learningModalityId", "learningModalityName");
sysDictDataService.getDcitDataNameByIdList(beans, "schoolNature", "schoolNatureName");
sysDictDataService.getDictDataNameByIdList(beans, "educationId", "educationName");
sysDictDataService.getDictDataNameByIdList(beans, "learningModalityId", "learningModalityName");
sysDictDataService.getDictDataNameByIdList(beans, "schoolNature", "schoolNatureName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}
@ -86,9 +86,9 @@ public class SysStaffEducationServiceImpl implements SysStaffEducationService {
String id = map.get("id").toString();
Map<String, Object> certificate = sysStaffEducationDao.querySysStaffEducationMationToEdit(id);
if (certificate != null && !certificate.isEmpty()) {
sysDictDataService.getDcitDataNameByIdBean(certificate, "educationId", "educationName");
sysDictDataService.getDcitDataNameByIdBean(certificate, "learningModalityId", "learningModalityName");
sysDictDataService.getDcitDataNameByIdBean(certificate, "schoolNature", "schoolNatureName");
sysDictDataService.getDictDataNameByIdBean(certificate, "educationId", "educationName");
sysDictDataService.getDictDataNameByIdBean(certificate, "learningModalityId", "learningModalityName");
sysDictDataService.getDictDataNameByIdBean(certificate, "schoolNature", "schoolNatureName");
// 附件
if (certificate.containsKey("enclosure") && !ToolUtil.isBlank(certificate.get("enclosure").toString())) {
List<Map<String, Object>> beans = sysEnclosureDao.queryEnclosureInfo(certificate.get("enclosure").toString());
@ -145,9 +145,9 @@ public class SysStaffEducationServiceImpl implements SysStaffEducationService {
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffEducationDao.queryPointStaffSysStaffEducationList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "educationId", "educationName");
sysDictDataService.getDcitDataNameByIdList(beans, "learningModalityId", "learningModalityName");
sysDictDataService.getDcitDataNameByIdList(beans, "schoolNature", "schoolNatureName");
sysDictDataService.getDictDataNameByIdList(beans, "educationId", "educationName");
sysDictDataService.getDictDataNameByIdList(beans, "learningModalityId", "learningModalityName");
sysDictDataService.getDictDataNameByIdList(beans, "schoolNature", "schoolNatureName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}

View file

@ -52,9 +52,9 @@ public class SysStaffFamilyServiceImpl implements SysStaffFamilyService {
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffFamilyDao.queryAllSysStaffFamilyList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "relationshipId", "relationshipName");
sysDictDataService.getDcitDataNameByIdList(beans, "cardType", "cardTypeName");
sysDictDataService.getDcitDataNameByIdList(beans, "politicId", "politicName");
sysDictDataService.getDictDataNameByIdList(beans, "relationshipId", "relationshipName");
sysDictDataService.getDictDataNameByIdList(beans, "cardType", "cardTypeName");
sysDictDataService.getDictDataNameByIdList(beans, "politicId", "politicName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}
@ -86,9 +86,9 @@ public class SysStaffFamilyServiceImpl implements SysStaffFamilyService {
String id = map.get("id").toString();
Map<String, Object> certificate = sysStaffFamilyDao.querySysStaffFamilyMationToEdit(id);
if (certificate != null && !certificate.isEmpty()) {
sysDictDataService.getDcitDataNameByIdBean(certificate, "relationshipId", "relationshipName");
sysDictDataService.getDcitDataNameByIdBean(certificate, "cardType", "cardTypeName");
sysDictDataService.getDcitDataNameByIdBean(certificate, "politicId", "politicName");
sysDictDataService.getDictDataNameByIdBean(certificate, "relationshipId", "relationshipName");
sysDictDataService.getDictDataNameByIdBean(certificate, "cardType", "cardTypeName");
sysDictDataService.getDictDataNameByIdBean(certificate, "politicId", "politicName");
// 附件
if (certificate.containsKey("enclosure") && !ToolUtil.isBlank(certificate.get("enclosure").toString())) {
List<Map<String, Object>> beans = sysEnclosureDao.queryEnclosureInfo(certificate.get("enclosure").toString());
@ -145,9 +145,9 @@ public class SysStaffFamilyServiceImpl implements SysStaffFamilyService {
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffFamilyDao.queryPointStaffSysStaffFamilyList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "relationshipId", "relationshipName");
sysDictDataService.getDcitDataNameByIdList(beans, "cardType", "cardTypeName");
sysDictDataService.getDcitDataNameByIdList(beans, "politicId", "politicName");
sysDictDataService.getDictDataNameByIdList(beans, "relationshipId", "relationshipName");
sysDictDataService.getDictDataNameByIdList(beans, "cardType", "cardTypeName");
sysDictDataService.getDictDataNameByIdList(beans, "politicId", "politicName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}

View file

@ -70,7 +70,7 @@ public class SysStaffLanguageLevelServiceImpl implements SysStaffLanguageLevelSe
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffLanguageLevelDao.querySysStaffLanguageLevelList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "typeId", "typeName");
sysDictDataService.getDictDataNameByIdList(beans, "typeId", "typeName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}

View file

@ -52,7 +52,7 @@ public class SysStaffLanguageServiceImpl implements SysStaffLanguageService {
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffLanguageDao.queryAllSysStaffLanguageList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "languageId", "languageTypeName");
sysDictDataService.getDictDataNameByIdList(beans, "languageId", "languageTypeName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}
@ -84,7 +84,7 @@ public class SysStaffLanguageServiceImpl implements SysStaffLanguageService {
String id = map.get("id").toString();
Map<String, Object> certificate = sysStaffLanguageDao.querySysStaffLanguageMationToEdit(id);
if (certificate != null && !certificate.isEmpty()) {
sysDictDataService.getDcitDataNameByIdBean(certificate, "languageId", "languageTypeName");
sysDictDataService.getDictDataNameByIdBean(certificate, "languageId", "languageTypeName");
// 附件
if (certificate.containsKey("enclosure") && !ToolUtil.isBlank(certificate.get("enclosure").toString())) {
List<Map<String, Object>> beans = sysEnclosureDao.queryEnclosureInfo(certificate.get("enclosure").toString());
@ -141,7 +141,7 @@ public class SysStaffLanguageServiceImpl implements SysStaffLanguageService {
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffLanguageDao.queryPointStaffSysStaffLanguageList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "languageId", "languageTypeName");
sysDictDataService.getDictDataNameByIdList(beans, "languageId", "languageTypeName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}

View file

@ -52,7 +52,7 @@ public class SysStaffRewardPunishServiceImpl implements SysStaffRewardPunishServ
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffRewardPunishDao.queryAllSysStaffRewardPunishList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "typeId", "rewardPunishTypeName");
sysDictDataService.getDictDataNameByIdList(beans, "typeId", "rewardPunishTypeName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}
@ -87,7 +87,7 @@ public class SysStaffRewardPunishServiceImpl implements SysStaffRewardPunishServ
String id = map.get("id").toString();
Map<String, Object> certificate = sysStaffRewardPunishDao.querySysStaffRewardPunishMationToEdit(id);
if (certificate != null && !certificate.isEmpty()) {
sysDictDataService.getDcitDataNameByIdBean(certificate, "typeId", "rewardPunishTypeName");
sysDictDataService.getDictDataNameByIdBean(certificate, "typeId", "rewardPunishTypeName");
// 附件
if (certificate.containsKey("enclosure") && !ToolUtil.isBlank(certificate.get("enclosure").toString())) {
List<Map<String, Object>> beans = sysEnclosureDao.queryEnclosureInfo(certificate.get("enclosure").toString());
@ -147,7 +147,7 @@ public class SysStaffRewardPunishServiceImpl implements SysStaffRewardPunishServ
Map<String, Object> params = inputObject.getParams();
Page pages = PageHelper.startPage(Integer.parseInt(params.get("page").toString()), Integer.parseInt(params.get("limit").toString()));
List<Map<String, Object>> beans = sysStaffRewardPunishDao.queryPointStaffSysStaffRewardPunishList(params);
sysDictDataService.getDcitDataNameByIdList(beans, "typeId", "rewardPunishTypeName");
sysDictDataService.getDictDataNameByIdList(beans, "typeId", "rewardPunishTypeName");
outputObject.setBeans(beans);
outputObject.settotal(pages.getTotal());
}