文件名从 se-modules/se-gen/src/main/java/com/se/gen/controller/GenController.java 修改 |
| | |
| | | package com.se.gen.controller; |
| | | package com.se.system.controller; |
| | | |
| | | import java.io.IOException; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.se.gen.domain.GenTableColumn; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | 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.se.common.core.text.Convert; |
| | | import com.se.common.core.web.controller.BaseController; |
| | | import com.se.common.core.web.domain.AjaxResult; |
| | |
| | | import com.se.common.log.annotation.Log; |
| | | import com.se.common.log.enums.BusinessType; |
| | | import com.se.common.security.annotation.RequiresPermissions; |
| | | import com.se.gen.domain.GenTable; |
| | | import com.se.gen.service.IGenTableColumnService; |
| | | import com.se.gen.service.IGenTableService; |
| | | import com.se.system.domain.GenTable; |
| | | import com.se.system.domain.GenTableColumn; |
| | | import com.se.system.service.inte.IGenTableColumnService; |
| | | import com.se.system.service.inte.IGenTableService; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 浠g爜鐢熸垚 鎿嶄綔澶勭悊 |
| | |
| | | @RestController |
| | | public class GenController extends BaseController |
| | | { |
| | | @Autowired |
| | | @Resource |
| | | private IGenTableService genTableService; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private IGenTableColumnService genTableColumnService; |
| | | |
| | | /** |