修改查询责任部门接口

This commit is contained in:
高嵩
2023-07-14 17:35:29 +08:00
parent faf3634c0c
commit 0ceb5e02b7
2 changed files with 20 additions and 1 deletions
@@ -666,4 +666,19 @@ INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `co
-- 认证清单表 交付物字段扩大 2023-06-21 未同步生产环境
ALTER TABLE `project_certification_inventory`
MODIFY COLUMN `deliverable` varchar(1500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '交付物' AFTER `duty_territory`;
MODIFY COLUMN `deliverable` varchar(1500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '交付物' AFTER `duty_territory`;
-- 法规清单 添加责任部门 2023-07-14 未同步生产环境
ALTER TABLE `auth_dummy_inventory_info`
ADD COLUMN `duty_depart` varchar(255) NULL AFTER `attestation_type`;
ALTER TABLE `dummy_inventory_info`
ADD COLUMN `duty_depart` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '责任部门' AFTER `buss_document_library_id`;
ALTER TABLE `project_laws_inventory`
ADD COLUMN `duty_depart` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '责任部门' AFTER `process_end_time`;
ALTER TABLE `project_certification_inventory`
ADD COLUMN `duty_depart` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '责任部门' AFTER `attestation_type`;
@@ -4425,6 +4425,10 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
if (org.apache.commons.lang.StringUtils.isNotBlank(projectLawsInventoryEO.getDutyTerritory())) {
projectLawsInventoryEOTemp.setDutyTerritory(projectLawsInventoryEO.getDutyTerritory());
}
//责任部门 DutyDepart
if (org.apache.commons.lang.StringUtils.isNotBlank(projectLawsInventoryEO.getDutyDepart())) {
projectLawsInventoryEOTemp.setDutyDepart(projectLawsInventoryEO.getDutyDepart());
}
//适用地区region
if (ObjectUtils.isNotEmpty(projectLawsInventoryEO.getRegion())) {
projectLawsInventoryEOTemp.setRegion(projectLawsInventoryEO.getRegion());