|
|
@@ -57,7 +57,8 @@ public class PublicInquiryController {
|
|
|
|
|
|
/**
|
|
|
* 通过分页参数和过滤条件查询公共询价列表信息
|
|
|
- * B2B\B2C\IM
|
|
|
+ * B2B\B2C\IM
|
|
|
+ *
|
|
|
* @param pageInfo 分页参数
|
|
|
* @param searchFilter 过滤条件
|
|
|
* @return
|
|
|
@@ -79,14 +80,14 @@ public class PublicInquiryController {
|
|
|
pageInfo.expression(PredicateUtils.eq("valid", Constant.YES, false));
|
|
|
}
|
|
|
IPage<PurcInquiryItemInfo> page = publicInquiryService.findTodoByPageInfo(pageInfo, searchFilter);
|
|
|
- log.info("公共询价, 查询公共询价信息, UserUU: {}, EnUU: {}, 报价的应用来源: {}", searchFilter.getUserUU(), searchFilter.getEnUU(), InquirySource.PLAIN.name());
|
|
|
- log.info("/inquiry/public 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public, 查询公共询价信息, UserUU: {}, EnUU: {}, 报价的应用来源: {}, 耗时: {}", searchFilter.getUserUU(), searchFilter.getEnUU(), InquirySource.PLAIN.name(), (System.currentTimeMillis() - start));
|
|
|
return page;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 针对商城,查询已发布的公共询价信息
|
|
|
- * 暂无
|
|
|
+ * 暂无
|
|
|
+ *
|
|
|
* @param pageInfo 分页信息
|
|
|
* @param searchFilter 过滤条件
|
|
|
* @return
|
|
|
@@ -102,15 +103,15 @@ public class PublicInquiryController {
|
|
|
pageInfo.filter("inquiry.enUU", searchFilter.getEnUU());
|
|
|
}
|
|
|
IPage<PurcInquiryItemInfo> infoIPage = publicInquiryService.findTodoByPageInfo(pageInfo, searchFilter);
|
|
|
- log.info("公共询价, 查询公共询价信息, UserUU: {}, EnUU: {}, 报价的应用来源: {}", searchFilter.getUserUU(), searchFilter.getEnUU(), InquirySource.MALL.name());
|
|
|
- log.info("/inquiry/public/inquiryList 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/inquiryList, 查询公共询价信息, UserUU: {}, EnUU: {}, 报价的应用来源: {}, 耗时: {}", searchFilter.getUserUU(), searchFilter.getEnUU(), InquirySource.MALL.name(), (System.currentTimeMillis() - start));
|
|
|
return infoIPage;
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 通过分页信息和过滤条件查询已转报价的信息
|
|
|
- * B2B\B2C
|
|
|
+ * B2B\B2C
|
|
|
+ *
|
|
|
* @param pageInfo 分页参数
|
|
|
* @param filter 过滤条件
|
|
|
* @return
|
|
|
@@ -135,15 +136,15 @@ public class PublicInquiryController {
|
|
|
if (null != _state) {
|
|
|
pageInfo = publicInquiryService.covert(pageInfo, _state, overdue);
|
|
|
}
|
|
|
- log.info("公共询价, 查询已转报价询价列表信息, 状态:{}, UserUU: {}, EnUU: {}, 报价的应用来源: {}", (_state == null ? "all" : _state), searchFilter != null ? searchFilter.getUserUU() : null, searchFilter != null ? searchFilter.getEnUU() : null, InquirySource.PLAIN.name());
|
|
|
IPage<PublicInquiryItemInfo> inquiryItemInfoIPage = publicInquiryService.findByPageInfo(pageInfo, searchFilter);
|
|
|
- log.info("/inquiry/public/quotation/list 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/quotation/list, 查询已转报价询价列表信息, 状态:{}, UserUU: {}, EnUU: {}, 报价的应用来源: {}, 耗时: {}", (_state == null ? "all" : _state), searchFilter != null ? searchFilter.getUserUU() : null, searchFilter != null ? searchFilter.getEnUU() : null, InquirySource.PLAIN.name(), (System.currentTimeMillis() - start));
|
|
|
return inquiryItemInfoIPage;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 通过id查询单个已转报价的信息
|
|
|
- * B2C
|
|
|
+ * B2C
|
|
|
+ *
|
|
|
* @param id
|
|
|
* @return
|
|
|
*/
|
|
|
@@ -155,13 +156,14 @@ public class PublicInquiryController {
|
|
|
throw new IllegalAccessError("暂无访问权限");
|
|
|
}
|
|
|
PublicInquiryItemInfo info = publicInquiryService.findOneInfo(id, enuu, useruu);
|
|
|
- log.info("/inquiry/public/quotation/one 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/quotation/one,通过id查询单个已转报价的信息,id: {}, enuu: {}, useruu: {}, 耗时: {}", id, enuu, useruu, (System.currentTimeMillis() - start));
|
|
|
return info;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 商城获取采纳列表
|
|
|
- * B2C
|
|
|
+ * B2C
|
|
|
+ *
|
|
|
* @param pageInfo
|
|
|
* @param filter
|
|
|
* @param _state
|
|
|
@@ -176,13 +178,14 @@ public class PublicInquiryController {
|
|
|
pageInfo = publicInquiryService.covert(pageInfo, _state, overdue);
|
|
|
}
|
|
|
Page<PublicInquiryItemInfo> itemInfoPage = publicInquiryService.findListByPageInfo(pageInfo, searchFilter);
|
|
|
- log.info("/inquiry/public/quotationList 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/quotationList, 商城获取采纳列表, filter: {}, state: {}, overdue: {}, 耗时: {}", filter, _state, overdue, (System.currentTimeMillis() - start));
|
|
|
return itemInfoPage;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获取最新的公共询价列表
|
|
|
- * B2B
|
|
|
+ * B2B
|
|
|
+ *
|
|
|
* @param enuu 当前企业UU号
|
|
|
* @param size 大小
|
|
|
* @return
|
|
|
@@ -191,15 +194,15 @@ public class PublicInquiryController {
|
|
|
@RequestMapping(value = "/messageList", method = RequestMethod.GET)
|
|
|
public List<InquiryMessage> getList(Long enuu, Integer size) {
|
|
|
long start = System.currentTimeMillis();
|
|
|
- log.info("公共询价, 获取最新的公共询价, size:{}, Constant: {}, EnUU: {}, 报价的应用来源: {}", size, Constant.UU, enuu, InquirySource.PLAIN.name());
|
|
|
List<InquiryMessage> messages = publicInquiryService.getMessageList(enuu, size);
|
|
|
- log.info("/inquiry/public/messageList 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/messageList, 获取最新的公共询价, size:{}, Constant: {}, EnUU: {}, 报价的应用来源: {}, 耗时: {}", size, Constant.UU, enuu, InquirySource.PLAIN.name(), (System.currentTimeMillis() - start));
|
|
|
return messages;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 将客户的公共询价列表中一条数据转成询价报价单数据
|
|
|
- * 暂无
|
|
|
+ * 暂无
|
|
|
+ *
|
|
|
* @param id 公共询价明细id
|
|
|
* @param enuu 报价企业UU
|
|
|
* @param useruu 报价个人UU
|
|
|
@@ -212,13 +215,14 @@ public class PublicInquiryController {
|
|
|
private ModelMap transtoInquiry(Long id, Long enuu, Long useruu) {
|
|
|
long start = System.currentTimeMillis();
|
|
|
ModelMap map = publicInquiryService.transtoInquiry(id, enuu, useruu);
|
|
|
- log.info("/inquiry/public/turntoInquiry post 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/turntoInquiry post, 将数据转成询价报价单数据, id: {}, enuu: {}, useruu: {}, 耗时: {}", id, enuu, useruu, (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获取附件信息
|
|
|
- * B2B
|
|
|
+ * B2B
|
|
|
+ *
|
|
|
* @param id 附件id
|
|
|
* @return
|
|
|
*/
|
|
|
@@ -227,13 +231,14 @@ public class PublicInquiryController {
|
|
|
public com.uas.ps.inquiry.model.Attach getAttach(Long id) {
|
|
|
long start = System.currentTimeMillis();
|
|
|
Attach attach = attachService.findById(id);
|
|
|
- log.info("/inquiry/public/atatchUrl 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/atatchUrl, 获取附件信息, id:{ }, 耗时: {}", id, (System.currentTimeMillis() - start));
|
|
|
return attach;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 通过询价主表id查询主表信息
|
|
|
- * B2C
|
|
|
+ * B2C
|
|
|
+ *
|
|
|
* @param id 主表id
|
|
|
* @return
|
|
|
*/
|
|
|
@@ -241,16 +246,16 @@ public class PublicInquiryController {
|
|
|
@RequestMapping(value = "/findInquiryById", method = RequestMethod.GET)
|
|
|
public PurcInquiry findById(Long id, Long enuu) {
|
|
|
long start = System.currentTimeMillis();
|
|
|
- log.info("公共询价, 获取询价信息, id:{}, Constant: {}, EnUU: {}, 报价的应用来源: {}", id, Constant.UU, enuu, InquirySource.PLAIN.name());
|
|
|
PurcInquiry inquiry = publicInquiryService.findInquiryById(id);
|
|
|
inquiry = publicInquiryService.getQuotedDetail(inquiry);
|
|
|
- log.info("/inquiry/public/findInquiryById 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/findInquiryById, 获取询价信息, id: {}, Constant: {}, EnUU: {}, 报价的应用来源: {}, 耗时:{}", id, Constant.UU, enuu, InquirySource.PLAIN.name(), (System.currentTimeMillis() - start));
|
|
|
return inquiry;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 商城-采购排行榜
|
|
|
- * B2C
|
|
|
+ * B2C
|
|
|
+ *
|
|
|
* @return
|
|
|
*/
|
|
|
@HttpLog
|
|
|
@@ -258,13 +263,14 @@ public class PublicInquiryController {
|
|
|
public List<Map<String, Object>> findCodeRankingList() {
|
|
|
long start = System.currentTimeMillis();
|
|
|
List<Map<String, Object>> list = publicInquiryService.findCodeRankingList();
|
|
|
- log.info("/inquiry/public/findCodeRankingList 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/findCodeRankingList,商城-采购排行榜, 耗时: {}", (System.currentTimeMillis() - start));
|
|
|
return list;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 通过明细id查询该条询价的详情
|
|
|
- * B2B\B2C
|
|
|
+ * B2B\B2C
|
|
|
+ *
|
|
|
* @param itemId 明细id
|
|
|
* @param enuu enuu
|
|
|
* @return
|
|
|
@@ -274,27 +280,28 @@ public class PublicInquiryController {
|
|
|
public PurcInquiryItemInfo findItemByItemId(Long itemId, Long enuu) {
|
|
|
long start = System.currentTimeMillis();
|
|
|
PurcInquiryItemInfo itemInfo = publicInquiryService.findItemByItemId(itemId, enuu);
|
|
|
- log.info("公共询价, 获取询价信息, id:{}, Constant: {}, EnUU: {}, 报价的应用来源: {}", itemId, Constant.UU, enuu, InquirySource.B2B.name());
|
|
|
- log.info("/inquiry/public/findItemByItemId 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/findItemByItemId, 获取询价信息, id: {}, Constant: {}, EnUU: {}, 报价的应用来源: {}, 耗时: {}", itemId, Constant.UU, enuu, InquirySource.B2B.name(), (System.currentTimeMillis() - start));
|
|
|
return itemInfo;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 公共询价单明细总数
|
|
|
- * zanwu
|
|
|
+ * zanwu
|
|
|
+ *
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/getPurcInquiryItemCount", method = RequestMethod.GET)
|
|
|
public ModelMap getPurcInquiryItemCount() {
|
|
|
long start = System.currentTimeMillis();
|
|
|
ModelMap map = publicInquiryService.getPurcInquiryItemCount();
|
|
|
- log.info("/inquiry/public/getPurcInquiryItemCount 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/getPurcInquiryItemCount, 公共询价单明细总数, 耗时: {}", (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 公共询价单明细某年某月总数
|
|
|
- * B2C
|
|
|
+ * B2C
|
|
|
+ *
|
|
|
* @param month 月份
|
|
|
* @return
|
|
|
*/
|
|
|
@@ -302,27 +309,29 @@ public class PublicInquiryController {
|
|
|
public ModelMap getPurcInquiryItemCountByMonth(Integer year, Integer month) {
|
|
|
long start = System.currentTimeMillis();
|
|
|
ModelMap map = publicInquiryService.countByMonth(year, month);
|
|
|
- log.info("/inquiry/public/getPurcInquiryItemCountByMonth 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/getPurcInquiryItemCountByMonth, 公共询价单明细某年某月总数, year: {}, month: {}, 耗时: {}", year, month, (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 公共询价单明细本月数量和上月数量
|
|
|
- * B2C
|
|
|
+ * B2C
|
|
|
+ *
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/getCountOfLastAndThisMonth", method = RequestMethod.GET)
|
|
|
public ModelMap getPurcInquiryItemCountByMonth() {
|
|
|
long start = System.currentTimeMillis();
|
|
|
ModelMap map = publicInquiryService.getCountOfLastAndThisMonth();
|
|
|
- log.info("/inquiry/public/getCountOfLastAndThisMonth 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/getCountOfLastAndThisMonth,公共询价单明细本月数量和上月数量, 耗时: {}", (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 公共询价单明细设置禁用或反禁用
|
|
|
- * B2C-admin
|
|
|
- * @param id 询价明细id
|
|
|
+ * B2C-admin
|
|
|
+ *
|
|
|
+ * @param id 询价明细id
|
|
|
* @param valid 是否生效状态 1为是,0为否
|
|
|
* @return
|
|
|
*/
|
|
|
@@ -333,19 +342,20 @@ public class PublicInquiryController {
|
|
|
valid = 0;
|
|
|
}
|
|
|
ModelMap map = publicInquiryService.deleteItems(id, valid);
|
|
|
- log.info("/inquiry/public/deleteItems 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
+ log.info("/inquiry/public/deleteItems, 公共询价单明细设置禁用或反禁用, 耗时: {}", (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 商城后台-统计询价产品和用户
|
|
|
+ *
|
|
|
* @param startDate
|
|
|
* @param endDate
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/getInquiryCountData", method = RequestMethod.GET)
|
|
|
- public ModelMap getInquiryCountData(String startDate, String endDate){
|
|
|
- log.info("/inquiry/public/getInquiryCountData 参数为:{}", startDate, endDate);
|
|
|
+ public ModelMap getInquiryCountData(String startDate, String endDate) {
|
|
|
+ log.info("/inquiry/public/getInquiryCountData, 商城后台-统计询价产品和用户, startDate: {}, endDate:{}", startDate, endDate);
|
|
|
return publicInquiryService.getInquiryCountData(startDate, endDate);
|
|
|
}
|
|
|
|
|
|
@@ -378,36 +388,36 @@ public class PublicInquiryController {
|
|
|
filter.setKeyword(keyword);
|
|
|
if (StringUtils.hasText(_state)) {
|
|
|
if (_state.equals(OrderStatus.end.name())) {
|
|
|
- log.info("公共询价, 查询公共询价信息, tel:{}, Constant: {}, EnUU: {}, 报价的应用来源: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name());
|
|
|
pageInfo.filter("overdue", Constant.YES);
|
|
|
map.put("content", publicInquiryService.findTodoByPageInfo(pageInfo, filter).getContent());
|
|
|
+ log.info("/inquiry/mobile, 查询公共询价信息, tel: {}, Constant: {}, EnUU: {}, 报价的应用来源: {}, 耗时: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name(), (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
} else if (_state.equals(OrderStatus.invalid.name())) {
|
|
|
- log.info("公共询价, 查询公共询价信息, tel:{}, Constant: {}, EnUU: {}, 报价的应用来源: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name());
|
|
|
pageInfo.filter("status", Status.DISABLED.value());
|
|
|
map.put("content", publicInquiryService.findTodoByPageInfo(pageInfo, filter).getContent());
|
|
|
+ log.info("/inquiry/mobile, 查询公共询价信息, tel: {}, Constant: {}, EnUU: {}, 报价的应用来源: {}, 耗时: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name(), (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
} else if (_state.equals(OrderStatus.done.name())) {
|
|
|
- log.info("公共询价, 查询已转报价询价列表信息, tel:{}, Constant: {}, EnUU: {}, 报价的应用来源: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name());
|
|
|
pageInfo.filter("vendUU", en_uu);
|
|
|
filter.setKeyword(keyword);
|
|
|
map.put("content", publicInquiryService.findByPageInfo(pageInfo, filter).getContent());
|
|
|
+ log.info("/inquiry/mobile, 查询已转报价询价列表信息, tel: {}, Constant: {}, EnUU: {}, 报价的应用来源: {}, 耗时: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name(), (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
}
|
|
|
} else {
|
|
|
filter.setEnUU(en_uu);
|
|
|
- log.info("公共询价, 查询公共询价信息, tel:{}, Constant: {}, EnUU: {}, 报价的应用来源: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name());
|
|
|
map.put("content", publicInquiryService.findTodoByPageInfo(pageInfo, filter).getContent());
|
|
|
+ log.info("/inquiry/mobile, 查询公共询价信息, tel: {}, Constant: {}, EnUU: {}, 报价的应用来源: {}, 耗时: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name(), (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
}
|
|
|
- log.info("/inquiry/mobile 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 设置分页信息
|
|
|
- * @param page 页码
|
|
|
- * @param size 条数
|
|
|
+ *
|
|
|
+ * @param page 页码
|
|
|
+ * @param size 条数
|
|
|
* @return
|
|
|
*/
|
|
|
private PageInfo setPageInfo(Integer page, Integer size) {
|
|
|
@@ -425,13 +435,15 @@ public class PublicInquiryController {
|
|
|
pageInfo.setOffset(pageInfo.getPageSize() * (pageInfo.getPageNumber() - 1));
|
|
|
Sort sort = new Sort(Sort.Direction.DESC, "date");
|
|
|
pageInfo.setSort(sort);
|
|
|
+ log.info("设置分页信息, page: {}, size: {}", page, size);
|
|
|
return pageInfo;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 移动端查询公共询价列表信息
|
|
|
- * 2018年7月10日 16:24:35 此接口实际是将获取全部、获取已报价、获取未报价接口整合到一起,供UU互联只调用一个接口,
|
|
|
- * 可以修改为去调用对应的列表方法,这样,UU只用调用一个接口,公共服务也不用重复维护。
|
|
|
+ * 2018年7月10日 16:24:35 此接口实际是将获取全部、获取已报价、获取未报价接口整合到一起,供UU互联只调用一个接口,
|
|
|
+ * 可以修改为去调用对应的列表方法,这样,UU只用调用一个接口,公共服务也不用重复维护。
|
|
|
+ *
|
|
|
* @param page 页码
|
|
|
* @param size 每页大小
|
|
|
* @param en_uu 企业UU
|
|
|
@@ -456,29 +468,29 @@ public class PublicInquiryController {
|
|
|
filter.setKeyword(keyword);
|
|
|
if (StringUtils.hasText(_state)) {
|
|
|
if (_state.equals(OrderStatus.end.name())) {
|
|
|
- log.info("公共询价, 查询公共询价信息, tel:{}, Constant: {}, EnUU: {}, 报价的应用来源: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name());
|
|
|
pageInfo.filter("overdue", Constant.YES);
|
|
|
map.put("content", publicInquiryService.findTodoByPageInfo(pageInfo, filter).getContent());
|
|
|
+ log.info("/inquiry/mobile/mobile/v2, 查询公共询价信息, tel: {}, Constant: {}, EnUU: {}, 报价的应用来源: {}, 耗时:{}", user_tel, Constant.UU, en_uu, InquirySource.UU.name(), (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
} else if (_state.equals(OrderStatus.invalid.name())) {
|
|
|
- log.info("公共询价, 查询公共询价信息, tel:{}, Constant: {}, EnUU: {}, 报价的应用来源: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name());
|
|
|
pageInfo.filter("status", Status.DISABLED.value());
|
|
|
map.put("content", publicInquiryService.findTodoByPageInfo(pageInfo, filter).getContent());
|
|
|
+ log.info("/inquiry/mobile/mobile/v2, 查询公共询价信息, tel: {}, Constant: {}, EnUU: {}, 报价的应用来源: {}, 耗时:{}", user_tel, Constant.UU, en_uu, InquirySource.UU.name(), (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
} else if (_state.equals(OrderStatus.done.name())) {
|
|
|
- log.info("公共询价, 查询已转报价询价列表信息, tel:{}, Constant: {}, EnUU: {}, 报价的应用来源: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name());
|
|
|
pageInfo.filter("vendUU", en_uu);
|
|
|
filter.setKeyword(keyword);
|
|
|
map.put("content", publicInquiryService.findByPageInfo(pageInfo, filter).getContent());
|
|
|
+ log.info("/inquiry/mobile/mobile/v2, 查询已转报价询价列表信息, tel: {}, Constant: {}, EnUU: {}, 报价的应用来源: {}, 耗时: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name(), (System.currentTimeMillis() - start));
|
|
|
+
|
|
|
return map;
|
|
|
}
|
|
|
} else {
|
|
|
- log.info("公共询价, 查询公共询价信息, tel:{}, Constant: {}, EnUU: {}, 报价的应用来源: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name());
|
|
|
pageInfo.filter("vendUU", en_uu);
|
|
|
map.put("content", publicInquiryService.covertRemindToInquiry(saleService.findRemindByPageInfo(pageInfo, filter).getContent()));
|
|
|
+ log.info("/inquiry/mobile/mobile/v2, 查询公共询价信息, tel: {}, Constant: {}, EnUU: {}, 报价的应用来源: {}, 耗时: {}", user_tel, Constant.UU, en_uu, InquirySource.UU.name(), (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
}
|
|
|
- log.info("/inquiry/public/mobile/v2 耗时:{}", (System.currentTimeMillis() - start));
|
|
|
return map;
|
|
|
}
|
|
|
/* ===========================================app接口end============================================================ */
|