!3 fix:保存文档归属部门

Merge pull request !3 from liangtengyu1/N/A
pull/4/MERGE
MahoneLau 2 months ago committed by Gitee
commit 34dd2376b8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -276,7 +276,7 @@ public class KmDocServiceImpl extends ServiceImpl<KmDocMapper, KmDoc> implements
//传参
kmDoc.setCategory(kmDocParamVO.getCategory());
kmDoc.setKeywords(kmDocParamVO.getKeywords());
if(kmDocParamVO.getDepId() !=null && kmDocParamVO.getDepId().isEmpty()) {
if(kmDocParamVO.getDepId() !=null && !kmDocParamVO.getDepId().isEmpty()) {
String depId = kmDocParamVO.getDepId();
String orgCode = sysBaseAPI.queryDepartOrgCodeById(depId);
kmDoc.setDepId(depId);

Loading…
Cancel
Save