kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-api/src/main/java/com/kidgrow/oprationcenter/model/SaasClientPay.java
@@ -130,9 +130,6 @@ @JsonSerialize( using = ToStringSerializer.class ) @TableId( type = IdType.ASSIGN_ID ) @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" ) kidgrow-commons/kidgrow-common-spring-boot-starter/src/main/java/com/kidgrow/common/service/impl/SuperServiceImpl.java
@@ -105,8 +105,9 @@ if (null != entity) { Class<?> cls = entity.getClass(); TableInfo tableInfo = TableInfoHelper.getTableInfo(cls); if (null != tableInfo && StringUtils.isNotEmpty(tableInfo.getKeyProperty())) { Object idVal = ReflectionKit.getMethodValue(cls, entity, tableInfo.getKeyProperty()); if (null != tableInfo && StringUtils.isNotBlank(tableInfo.getKeyProperty())) { // Object idVal = ReflectionKit.getMethodValue(cls, entity, tableInfo.getKeyProperty()); Object idVal = ReflectionKit.getFieldValue(entity,tableInfo.getKeyProperty()); if (StringUtils.checkValNull(idVal) || Objects.isNull(getById((Serializable) idVal))) { if (StrUtil.isEmpty(msg)) { msg = "已存在"; pom.xml
@@ -51,7 +51,7 @@ <easypoi.version>4.1.0</easypoi.version> <poi.version>4.1.0</poi.version> <druid-starter>1.1.10</druid-starter> <mybatis-plus-boot-starter.version>3.3.1</mybatis-plus-boot-starter.version> <mybatis-plus-boot-starter.version>3.4.0</mybatis-plus-boot-starter.version> <p6spy.version>3.8.6</p6spy.version> <swagger.version>2.9.2</swagger.version> <guava.version>28.1-jre</guava.version>