Просмотр исходного кода

Merge branch 'hjb' of SH-Arbitrate/Arbitrate-Backend into dev

hejinbo 2 лет назад
Родитель
Сommit
93899d881c

+ 1
- 1
ruoyi-admin/src/main/java/com/ruoyi/web/controller/wisdomarbitrate/DeptIdentifyController.java Просмотреть файл

129
      * @return
129
      * @return
130
      */
130
      */
131
     @PostMapping("/insertTemplate")
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
         return deptIdentifyService.insertTemplate(templateManage,file);
133
         return deptIdentifyService.insertTemplate(templateManage,file);
134
     }
134
     }
135
     /**
135
     /**

+ 1
- 1
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/TemplateManageMapper.xml Просмотреть файл

26
         del_flag,create_time
26
         del_flag,create_time
27
         )values(
27
         )values(
28
         <if test="identifyId != null">#{identifyId},</if>
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
         <if test="temType != null">#{temType},</if>
30
         <if test="temType != null">#{temType},</if>
31
         <if test="temFormat != null and temFormat != ''">#{temFormat},</if>
31
         <if test="temFormat != null and temFormat != ''">#{temFormat},</if>
32
         <if test="temOrigPath != null and temOrigPath != ''">#{temOrigPath},</if>
32
         <if test="temOrigPath != null and temOrigPath != ''">#{temOrigPath},</if>