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