修改数据

This commit is contained in:
YY
2025-08-11 16:51:43 +08:00
parent a1c7f3d63b
commit 7c74ba9424
4 changed files with 13 additions and 2 deletions

View File

@ -273,7 +273,11 @@ public class CoscoCategoryLibraryServiceImpl extends BaseServiceImpl<CoscoCatego
}
}
SysOrg sysOrg = orgService.getOrgInfo(coscoCategoryLibrary.getApplyDeptId());
vo.setDeptName(sysOrg.getOrgName());
vo.setApplyDeptName(sysOrg.getOrgName());
vo.setApplyOrgName(sysOrg.getCuCompanyName());
SysOrg orgName = orgService.getOrgInfo(coscoCategoryLibrary.getDeptId());
vo.setDeptName(orgName.getOrgName());
vo.setOrgName(orgName.getCuCompanyName());
vo.setCategoryName(sb.toString());
vo.setCategoryPathName(categoryPathNames.toString());
vo.setCoscoCategoryLibrarAttachments(coscoCategoryLibrarAttachmentsService.selectCoscoCategoryLibrarAttachmentsByCategoryLibraryId(id));

View File

@ -14,6 +14,12 @@ public class CoscoCategoryLibraryDetailVo extends CoscoCategoryLibrary {
private String deptName;
private String applyDeptName;
private String applyOrgName;
private String orgName;
private String createByName;
private String categoryName;

View File

@ -290,7 +290,7 @@
<if test="vo.orgId!=null and vo.orgId!=''">
and cat.org_id = #{vo.orgId}
</if>
and cat.level_name is not null
and cats.review_result is not null
</where>
order by cats.create_time desc

View File

@ -29,6 +29,7 @@
select id,
name,
apply_dept_id,
apply_org_id,
approve_type,
org_id,
term_of_validity,