|
@ -6,6 +6,7 @@ import java.util.List;
|
6
|
6
|
|
7
|
7
|
import org.jfw.apt.annotation.Nullable;
|
8
|
8
|
import org.jfw.apt.orm.annotation.dao.DAO;
|
|
9
|
import org.jfw.apt.orm.annotation.dao.Dynamic;
|
9
|
10
|
import org.jfw.apt.orm.annotation.dao.method.From;
|
10
|
11
|
import org.jfw.apt.orm.annotation.dao.method.OrderBy;
|
11
|
12
|
import org.jfw.apt.orm.annotation.dao.method.operator.DeleteWith;
|
|
@ -24,6 +25,7 @@ public abstract class ArticleDao {
|
24
|
25
|
public abstract int insert(Connection con, Article article) throws SQLException;
|
25
|
26
|
|
26
|
27
|
@Update
|
|
28
|
@Dynamic
|
27
|
29
|
public abstract int update(Connection con, Article article) throws SQLException;
|
28
|
30
|
|
29
|
31
|
@UpdateWith
|