供应商

This commit is contained in:
2024-08-01 08:43:36 +08:00
parent e533fe5ad5
commit db92125fc6
2 changed files with 1 additions and 2 deletions

View File

@@ -151,7 +151,6 @@ public class SupplierInfoService extends MybatisBaseService<SupplierInfoMapper,
SupplierInfo entity = new SupplierInfo();
BeanUtil.copyProperties(dto, entity, "id", "sid");
entity.setCreateBySid(dto.getUserSid());
entity.setCreateOrgSid(dto.getUseOrgSid());
baseMapper.insert(entity);
return entity.getSid();
}

View File

@@ -110,7 +110,7 @@ public class SupplierTypeService extends MybatisBaseService<SupplierTypeMapper,
SupplierType entity = new SupplierType();
BeanUtil.copyProperties(dto, entity, "id", "sid");
entity.setCreateBySid(dto.getUserSid());
entity.setCreateOrgSid(dto.getUseOrgSid());
baseMapper.insert(entity);
}