@@ -25,7 +25,7 @@ public interface PreproPersonMapper {
/*按条件查询制证数据*/
@Select({"<script> select * from (select a.*,rownum rn from(select * from PREPRO_PERSON left join files on PREPRO_PERSON.FILE_ID = files.ID left join NEW_FILES on PREPRO_PERSON.FILE_ID = NEW_FILES.ID "+
@Select({"<script> select PREPRO_PERSON.JMSFZSLH,xm,PREPRO_PERSON.XBDM,PREPRO_PERSON.GMSFHM,files.SOURCE_FILE_NAME,NEW_FILES.NEW_FILE_NAME from (select a.*,rownum rn from(select * from PREPRO_PERSON left join files on PREPRO_PERSON.FILE_ID = files.ID left join NEW_FILES on PREPRO_PERSON.FILE_ID = NEW_FILES.ID "+
"<where> "+
" 1=1"+
"<if test='uploadNo != null '>"+
...
...
@@ -53,7 +53,7 @@ public interface PreproPersonMapper {
" and to_char(UPLOAD_DATE,'yyyyMMdd') = #{uploadDate}"+
" </if> </where>"+
") a ) where rn between #{minNum} and #{maxNum} </script>"})