|
@@ -21,7 +21,6 @@ import com.uas.ps.inquiry.service.PublicInquiryService;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.cache.annotation.Cacheable;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
import org.springframework.data.domain.Sort;
|
|
|
import org.springframework.ui.ModelMap;
|
|
@@ -67,7 +66,6 @@ public class PublicInquiryController {
|
|
|
* @date 2018-01-17 10:27
|
|
|
*/
|
|
|
@RequestMapping(method = RequestMethod.GET)
|
|
|
- @Cacheable(value="inquiry_public", key = "#pageInfo.getPageNumber() + '-' + #pageInfo.getPageSize() + '-' + #searchFilter.toString()")
|
|
|
public IPage<PurcInquiryItemInfo> getInquiry(PageInfo pageInfo, SearchFilter searchFilter, String distributes) {
|
|
|
long start = System.currentTimeMillis();
|
|
|
log.info("/inquiry/public, 查询公共询价信息, pageInfo: {}, searchFilter: {}, distributes: {}", JSON.toJSON(pageInfo), JSON.toJSON(searchFilter), distributes);
|
|
@@ -325,7 +323,6 @@ public class PublicInquiryController {
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/getCountOfLastAndThisMonth", method = RequestMethod.GET)
|
|
|
- @Cacheable(value="count_of_nearly_two_months", key = "targetClass + methodName")
|
|
|
public ModelMap getCountOfLastAndThisMonth() {
|
|
|
long start = System.currentTimeMillis();
|
|
|
ModelMap map = publicInquiryService.getCountOfLastAndThisMonth();
|