소스 검색

模板管理查询修改

hejinbo 2 년 전
부모
커밋
36e7342d85

+ 1
- 1
ruoyi-admin/src/main/java/com/ruoyi/web/controller/wisdomarbitrate/DeptIdentifyController.java 파일 보기

@@ -129,7 +129,7 @@ public class DeptIdentifyController extends BaseController {
129 129
      * @return
130 130
      */
131 131
     @PostMapping("/insertTemplate")
132
-    public AjaxResult insertTemplate(@RequestBody TemplateManage templateManage,@RequestParam("file") MultipartFile file){
132
+    public AjaxResult insertTemplate(TemplateManage templateManage,@RequestParam("file") MultipartFile file){
133 133
         return deptIdentifyService.insertTemplate(templateManage,file);
134 134
     }
135 135
     /**

+ 1
- 1
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/TemplateManageMapper.xml 파일 보기

@@ -26,7 +26,7 @@
26 26
         del_flag,create_time
27 27
         )values(
28 28
         <if test="identifyId != null">#{identifyId},</if>
29
-        <if test="sealName != null and sealName != ''">#{sealName},</if>
29
+        <if test="temName != null and temName != ''">#{temName},</if>
30 30
         <if test="temType != null">#{temType},</if>
31 31
         <if test="temFormat != null and temFormat != ''">#{temFormat},</if>
32 32
         <if test="temOrigPath != null and temOrigPath != ''">#{temOrigPath},</if>