Browse Source

修改资源分页多条件查询出现“未设定参数值x”的bug

zzy.zhiyuan.foxmail 8 years ago
parent
commit
4b6ec4a558
1 changed files with 12 additions and 0 deletions
  1. 12 0
      src/main/java/com/ekexiu/portal/dao/ResourceDao.java

+ 12 - 0
src/main/java/com/ekexiu/portal/dao/ResourceDao.java

@ -440,6 +440,12 @@ public abstract class ResourceDao {
440 440
            if(!_m_2){
441 441
                ps.setString(_m_3++,key);
442 442
            }
443
            if(!_m_2){
444
            	ps.setString(_m_3++,key);
445
            }
446
            if(!_m_2){
447
            	ps.setString(_m_3++,key);
448
            }
443 449
            if(!_m_4){
444 450
                ps.setString(_m_3++,subject);
445 451
            }
@ -507,6 +513,12 @@ public abstract class ResourceDao {
507 513
            if(!_m_2){
508 514
                ps.setString(_m_3++,key);
509 515
            }
516
            if(!_m_2){
517
            	ps.setString(_m_3++,key);
518
            }
519
            if(!_m_2){
520
            	ps.setString(_m_3++,key);
521
            }
510 522
            if(!_m_4){
511 523
                ps.setString(_m_3++,subject);
512 524
            }