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

main
wenjy 3 years ago
parent 56b9fb6209
commit a79762b3dc

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

Loading…
Cancel
Save