XMTT лет назад: 6
Родитель
Сommit
0b4b155c9f

+ 1 - 1
src/main/java/com/ekexiu/project/platform/article/ArticleService.java

@ -113,7 +113,7 @@ public class ArticleService {
113 113
    @Get
114 114
    public int invalid(@JdbcConn(true) Connection con, final String id, final @LoginUser AuthUser user) throws SQLException {
115 115
        if (articleDao.invalid(con, id) != 0) {
116
            JdbcUtil.execute(con, "INSERT INVALID_ARTICLE (ID,TITLE,CREATOR,CREATE_TIME,INVALID_TIME,INVALID_OPERATOR) "
116
            JdbcUtil.execute(con, "INSERT INTO INVALID_ARTICLE (ID,TITLE,CREATOR,CREATE_TIME,INVALID_TIME,INVALID_OPERATOR) "
117 117
                    + "SELECT ID,TITLE,CREATOR,CREATE_TIME,TO_CHAR(NOW(),'YYYYMMDDHH24MISS'),? FROM ARTICLE WHERE ID=?", new PreparedStatementConfig() {
118 118
                @Override
119 119
                public void config(PreparedStatement ps) throws SQLException {