Skip to content

Commit da68139

Browse files
committed
注释
1 parent b979883 commit da68139

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-boot-mongodb/src/main/java/io/ymq/example/mongodb/DemoDao.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package io.ymq.example.mongodb;
22

33
/**
4-
* 描述: Demo DAO
4+
* 描述: 提供增删改查 MongoDB 接口
55
*
66
* @author yanpenglei
77
* @create 2018-02-03 16:56
@@ -15,5 +15,4 @@ public interface DemoDao {
1515
void updateDemo(DemoEntity demoEntity);
1616

1717
DemoEntity findDemoById(Long id);
18-
1918
}

spring-boot-mongodb/src/main/java/io/ymq/example/mongodb/DemoEntity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package io.ymq.example.mongodb;
22

33
import org.springframework.data.annotation.Id;
4+
import org.springframework.data.mongodb.core.index.CompoundIndex;
45
import org.springframework.data.mongodb.core.mapping.Document;
56

67
import java.io.Serializable;

0 commit comments

Comments
 (0)