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