Commit cc5a5a74 by xieshaohua

ctrlservice修改

parent cef4ec8d
......@@ -18,6 +18,7 @@ import io.swagger.annotations.ApiParam;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
......@@ -27,9 +28,7 @@ import java.util.List;
import java.util.Map;
@Api(value = "标签相关", tags = "标签相关")
@RestController
//@PreAuthorize("principal.authorities.?[authority.startsWith('ROLE_tagmanager_operator')].size() > 0")
@Service
public class TagCtrlService {
@Autowired
......
......@@ -10,6 +10,7 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
......@@ -19,9 +20,7 @@ import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
@Api(value = "文件", tags = "文件")
@RestController
@RequestMapping(value = "/file")
@Service
public class TagFileCtrlService {
@Autowired
......@@ -57,6 +56,10 @@ public class TagFileCtrlService {
public Page listImportTagLogByPage(String deptIdPath,Integer pageNo,Integer pageSize) {
String userName = UserInfoUtils.getUserName();
System.out.println(userName);
System.out.println(pageNo);
System.out.println(pageSize);
System.out.println(tagExportService);
return tagExportService.listImportlogByPage(userName, new Page(pageSize, pageNo));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment