|
@@ -7,7 +7,6 @@ import javax.validation.constraints.NotNull;
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
import com.trade.common.core.domain.ResponseResult;
|
|
|
import org.springframework.http.HttpStatus;
|
|
|
-import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -18,6 +17,7 @@ import com.trade.common.validate.OnCreate;
|
|
|
import com.trade.common.validate.OnUpdate;
|
|
|
import com.trade.service.companyrelated.domain.ImporterEntity;
|
|
|
import com.trade.service.companyrelated.domain.vo.ImporterEntitySearch;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
@@ -29,7 +29,7 @@ import java.util.List;
|
|
|
* @author zhangchenm
|
|
|
* @since 2024-09-03
|
|
|
*/
|
|
|
-@Controller
|
|
|
+@RestController
|
|
|
@RequestMapping("/importerEntity")
|
|
|
public class ImporterEntityController {
|
|
|
|