diff --git a/pom.xml b/pom.xml index 9646d4272745028599c492aa87f95079b22aa038..c63fed58314d590f4469c597961c131447774d59 100644 --- a/pom.xml +++ b/pom.xml @@ -128,6 +128,7 @@ org.apache.shiro shiro-cas 1.2.6 + +
+ - + + + + + + + diff --git a/src/main/resources/mapper/DataSubmitMapper.xml b/src/main/resources/mapper/DataSubmitMapper.xml index 1d352bf4245885f43ec2d80fa8404052a6e645f6..4257df8983c127831be3dcef7cd8a41e5b50c790 100644 --- a/src/main/resources/mapper/DataSubmitMapper.xml +++ b/src/main/resources/mapper/DataSubmitMapper.xml @@ -1,6 +1,28 @@ + + + + + + + + + + + + + + + + + + + + insert into data_submit @@ -22,14 +44,23 @@ submitor, + + status, + + + + path, + + approver, - - menuId, + + menuid, + title, @@ -41,13 +72,39 @@ year, + + + file_type, + + + + subtime, + + + + review_time, + + + + file_size, + + + + file_numbers, + + + + file_discription, + + + - #{id}, + #{id}, @@ -62,14 +119,24 @@ #{submitor}, + + + #{status}, + + + + #{path}, + + #{approver}, - - #{menuId}, + + #{menuid}, + #{title}, @@ -81,7 +148,33 @@ #{year}, + + + #{fileType}, + + + + #{subtime}, + + + + #{reviewTime}, + + + + #{fileSize}, + + + + #{fileNumbers}, + + + + #{fileDiscription}, + + + @@ -94,17 +187,49 @@ plevel = #{plevel}, - - menuId = #{menuId}, + + menuId = #{menuid}, - year = #{year}, - area = #{area}, + + approver = #{approver}, + + + title = #{title}, + + + path = #{path}, + + + subtype = #{subtype}, + + + submitor = #{submitor}, + + + file_type = #{fileType}, + + + subtime = #{subtime}, + + + review_time = #{reviewTime}, + + + file_size = #{fileSize}, + + + file_numbers = #{fileNumbers}, + + + file_discription = #{fileDiscription}, + + where id = #{id} @@ -132,6 +257,7 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper/FileToMenuMapper.xml b/src/main/resources/mapper/FileToMenuMapper.xml index 610547556ea34d26c667c3b05b26185325377333..aabc0b603e344c1fc8b98236d16c39e345f78050 100644 --- a/src/main/resources/mapper/FileToMenuMapper.xml +++ b/src/main/resources/mapper/FileToMenuMapper.xml @@ -20,4 +20,32 @@ where menu_id= #{menuId,jdbcType=BIGINT} + + insert into file_to_menu + + + + menu_id, + + + + file_id, + + + + + + + #{menuId,jdbcType=BIGINT}, + + + + #{fileId ,jdbcType=BIGINT}, + + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper/OptionsMapper.xml b/src/main/resources/mapper/OptionsMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..83f191186620a9cbcd9bd60d3998653f4f641439 --- /dev/null +++ b/src/main/resources/mapper/OptionsMapper.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper/VfileMenuMapper.xml b/src/main/resources/mapper/VfileMenuMapper.xml index d7e2f255e36210bb08187a4026b616bf09536136..344cbc5888e3a02aa22314465a0675c2b54d7be5 100644 --- a/src/main/resources/mapper/VfileMenuMapper.xml +++ b/src/main/resources/mapper/VfileMenuMapper.xml @@ -14,6 +14,11 @@ + + + + + @@ -41,7 +46,7 @@ select * from vfile_menu - and file_name = #{fileName} + and file_name like #{fileName} and file_year = #{fileYear} @@ -65,7 +70,7 @@ and menu_id = #{vfileMenu.menuId} - and file_name = #{vfileMenu.fileName} + and file_name like #{vfileMenu.fileName} and file_year = #{vfileMenu.fileYear} @@ -118,4 +123,5 @@ + \ No newline at end of file