Commit 3da5d992 authored by suichenguang's avatar suichenguang

信息管理3.0

parent 48fa6188
......@@ -53,8 +53,8 @@ public interface InfoManagementMapper {
@Delete("<script> " +
"delete from PREPRO_PERSON \n" +
"where PREPRO_PERSON.NEW_FILE_ID=(\n" +
"select * from new_files \n" +
"where PREPRO_PERSON.NEW_FILE_ID IN (\n" +
"select NEW_FILES.ID from new_files \n" +
"where 1=1\n" +
"<if test='beginFileName != \"\" '>" +
"and (NEW_FILE_NAME between(#{beginFileName})and (#{endFileName}))\n" +
......@@ -63,9 +63,8 @@ public interface InfoManagementMapper {
"and DWMC=#{gajgMc}\n" +
"</if>" +
"<if test='beginDate != \"\" '>" +
"and (subStr(CREATE_DATE,0,8) between(#{beginDate})and(#{endDate}))"+
"and (subStr(CREATE_DATE,0,8) between(#{beginDate})and(#{endDate})))"+
"</if>" +
"select )" +
" </script>")
public boolean deleteInfo(@Param("beginFileName")String beginFileName, @Param("endFileName")String endFileName, @Param("gajgMc") String gajgMc, @Param("beginDate")String beginDate, @Param("endDate")String endDate);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment