change - 监控单元添加导入功能完善

main
wenjy 3 years ago
parent 56b9fb6209
commit a79762b3dc

@ -56,10 +56,10 @@ public class BaseMonitorunitTypeController extends BaseController {
/** /**
* *
* @author WenJY * @author WenJY
* @date 2021/8/16 17:25 * @date 2022/2/7 9:45
* @return com.ruoyi.common.core.domain.AjaxResult * @return com.ruoyi.common.core.domain.AjaxResult
*/ */
@RequiresPermissions("mould:mouldFont:view") @RequiresPermissions("base:monitorUnitType:importTemplate")
@GetMapping("/importTemplate") @GetMapping("/importTemplate")
@ResponseBody @ResponseBody
public AjaxResult importTemplate() { public AjaxResult importTemplate() {
@ -68,13 +68,14 @@ public class BaseMonitorunitTypeController extends BaseController {
} }
/** /**
* *
* * @author WenJY
* @date 2022/2/7 9:46
* @param file * @param file
* @return * @param updateSupport
* @throws Exception * @return com.ruoyi.common.core.domain.AjaxResult
*/ */
@RequiresPermissions("mould:mouldFont:import") @RequiresPermissions("base:monitorUnitType:importData")
@PostMapping("/importData") @PostMapping("/importData")
@ResponseBody @ResponseBody
public AjaxResult importData(MultipartFile file, boolean updateSupport) throws Exception { public AjaxResult importData(MultipartFile file, boolean updateSupport) throws Exception {

Loading…
Cancel
Save