Browse Source

IndexController测试方法上传

aQiu6 3 months ago
parent
commit
bc4e55ac22

+ 7 - 8
src/main/java/org/example/mybatisplus/Controller/IndexController.java

@@ -55,15 +55,14 @@ public class IndexController {
 
         basicInfo.setRelatedEntitiesImage(attachments);
         PublicRecord publicRecord=new PublicRecord();
-        DishonestPerson person=new DishonestPerson();
+        DishonestPersonsInfoVO person=new DishonestPersonsInfoVO();
+        person.setInDate("2025-03-08");
         person.setCaseNumber("1111");
-        person.setDishonestBehavior("Behavior多个");
-        person.setExecutingCourt("gCourt");
-        person.setExecutionSubject("nsubiec有");
-        person.setFilingDate("2000-25-22");
-        person.setId(2);
-        person.setIsHistorical(true);
-        List<DishonestPerson> persons=new ArrayList<>();
+        person.setAmount("Behavior多个");
+        person.setExecutionDesc("gCourt");
+        person.setCourt("nsubiec有");
+        person.setDisabled("是");
+        List<DishonestPersonsInfoVO> persons=new ArrayList<>();
         persons.add(person);
         publicRecord.setDishonestPersons(persons);
 

+ 1 - 1
src/main/java/org/example/mybatisplus/module/vo/Attachment.java

@@ -32,7 +32,7 @@ public class Attachment {
         this.fileName = filePath.substring(filePath.lastIndexOf("/") + 1,filePath.lastIndexOf("."));
         this.base64 = ImageUtils.urlTobase64(filePath);
     }
-    
+
 
     public String getFileType() {
         return fileType;

+ 3 - 3
src/main/resources/foundation_template.xml

@@ -16788,7 +16788,7 @@ fmppOBQAc+lHWiiqAMnvSDk5FLRQFwoxRRQFz//Z
                                     <w:sz-cs w:val="18"/>
                                     <w:lang w:val="EN-US" w:fareast="ZH-CN"/>
                                 </w:rPr>
-                                <w:t> <#if item.disabled?? && item.disabled>是<#else>否</#if></w:t>
+                                <w:t> ${item.disabled!''}</w:t>
                             </w:r>
                         </w:p>
                     </w:tc>
@@ -17319,7 +17319,7 @@ fmppOBQAc+lHWiiqAMnvSDk5FLRQFwoxRRQFz//Z
                                     <w:sz w:val="18"/>
                                     <w:lang w:val="ZH-CN"/>
                                 </w:rPr>
-                                <w:t> <#if item.disabled?? && item.disabled>是<#else>否</#if></w:t>
+                                <w:t> ${item.disabled!''}</w:t>
                             </w:r>
                         </w:p>
                     </w:tc>
@@ -18956,7 +18956,7 @@ fmppOBQAc+lHWiiqAMnvSDk5FLRQFwoxRRQFz//Z
                                     <w:sz w:val="18"/>
                                     <w:lang w:val="ZH-CN"/>
                                 </w:rPr>
-                                <w:t> <#if item.isHistory?? && item.isHistory>是<#else>否</#if></w:t>
+                                <w:t>${item.isHistory!''}</w:t>
                             </w:r>
                         </w:p>
                     </w:tc>