|
@@ -1,30 +1,23 @@
|
|
|
package com.warewms.web.controller.system;
|
|
|
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
-import javax.servlet.http.HttpServletResponse;
|
|
|
-
|
|
|
-import com.warewms.common.core.domain.base.page.PageDomain;
|
|
|
-import com.warewms.common.utils.bean.BeanUtils;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
-import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.PathVariable;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.PutMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
import com.warewms.common.annotation.Log;
|
|
|
import com.warewms.common.core.controller.BaseController;
|
|
|
import com.warewms.common.core.domain.AjaxResult;
|
|
|
-import com.warewms.common.core.domain.entity.SysDictType;
|
|
|
+import com.warewms.common.core.domain.base.page.PageDomain;
|
|
|
import com.warewms.common.core.domain.base.page.TableDataInfo;
|
|
|
+import com.warewms.common.core.domain.entity.SysDictType;
|
|
|
import com.warewms.common.enums.BusinessType;
|
|
|
+import com.warewms.common.utils.bean.BeanUtils;
|
|
|
import com.warewms.common.utils.poi.ExcelUtil;
|
|
|
import com.warewms.system.service.ISysDictTypeService;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
+
|
|
|
+import javax.servlet.http.HttpServletResponse;
|
|
|
+import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
* 数据字典信息
|
|
@@ -33,7 +26,7 @@ import com.warewms.system.service.ISysDictTypeService;
|
|
|
*/
|
|
|
@RestController
|
|
|
@RequestMapping("/system/dict/type")
|
|
|
-public class SysDictTypeController extends BaseController
|
|
|
+public class SysDictTypeController extends BaseController<SysDictType>
|
|
|
{
|
|
|
@Autowired
|
|
|
private ISysDictTypeService dictTypeService;
|