[修改] 部门修改 修改编码
This commit is contained in:
@@ -17,7 +17,6 @@ import org.springframework.transaction.annotation.Transactional;
|
|||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.UUID;
|
|
||||||
|
|
||||||
@Service("orgEOService")
|
@Service("orgEOService")
|
||||||
@Transactional
|
@Transactional
|
||||||
@@ -71,6 +70,7 @@ public class OrgEOService extends ServiceImpl<OrgEODao, OrgEO> implements IOrgEo
|
|||||||
orgEO.setId(orgEO.getOrgCode());
|
orgEO.setId(orgEO.getOrgCode());
|
||||||
baseMapper.insert(orgEO);
|
baseMapper.insert(orgEO);
|
||||||
}else{
|
}else{
|
||||||
|
orgEO.setId(orgEO.getOrgCode());
|
||||||
baseMapper.updateById(orgEO);
|
baseMapper.updateById(orgEO);
|
||||||
}
|
}
|
||||||
return Result.success();
|
return Result.success();
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user