|
|
@ -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 {
|
|
|
|