|
@@ -5,6 +5,7 @@ import com.persagy.apm.common.constant.enums.ValidEnum;
|
|
import com.persagy.apm.common.model.entity.AuditableEntity;
|
|
import com.persagy.apm.common.model.entity.AuditableEntity;
|
|
import com.persagy.apm.common.model.entity.BaseEntity;
|
|
import com.persagy.apm.common.model.entity.BaseEntity;
|
|
import org.apache.ibatis.reflection.MetaObject;
|
|
import org.apache.ibatis.reflection.MetaObject;
|
|
|
|
+import org.springframework.context.annotation.Primary;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
@@ -16,6 +17,7 @@ import java.util.Date;
|
|
* @since: 2020/9/9 2:10 下午
|
|
* @since: 2020/9/9 2:10 下午
|
|
* @version: V1.0
|
|
* @version: V1.0
|
|
**/
|
|
**/
|
|
|
|
+@Primary
|
|
@Component
|
|
@Component
|
|
public class CommonMetaObjectHandler implements MetaObjectHandler {
|
|
public class CommonMetaObjectHandler implements MetaObjectHandler {
|
|
@Override
|
|
@Override
|