|
@@ -75,6 +75,7 @@ public class PurchaseTenderController {
|
|
|
@Transactional
|
|
@Transactional
|
|
|
public ResponseEntity<String> publishTender(String tender, String enterpriseBaseInfo) {
|
|
public ResponseEntity<String> publishTender(String tender, String enterpriseBaseInfo) {
|
|
|
PurchaseTender purchaseTender = FlexJsonUtils.fromJson(tender, PurchaseTender.class);
|
|
PurchaseTender purchaseTender = FlexJsonUtils.fromJson(tender, PurchaseTender.class);
|
|
|
|
|
+ System.out.println(enterpriseBaseInfo);
|
|
|
if (null != enterpriseBaseInfo) {
|
|
if (null != enterpriseBaseInfo) {
|
|
|
enterpriseBaseInfo = "[".concat(enterpriseBaseInfo);
|
|
enterpriseBaseInfo = "[".concat(enterpriseBaseInfo);
|
|
|
enterpriseBaseInfo = enterpriseBaseInfo.concat("]");
|
|
enterpriseBaseInfo = enterpriseBaseInfo.concat("]");
|
|
@@ -700,15 +701,15 @@ public class PurchaseTenderController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
- /**
|
|
|
|
|
- * 根据输入获取联想词(产品型号)
|
|
|
|
|
- *
|
|
|
|
|
- * @param code
|
|
|
|
|
- * @return
|
|
|
|
|
- */
|
|
|
|
|
- @RequestMapping(value = "/similarKeywords", method = RequestMethod.GET)
|
|
|
|
|
- @ResponseBody
|
|
|
|
|
- public List<String> getSimilarKeywords(String code) {
|
|
|
|
|
- return searchService.getSimilarCodes(code);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// /**
|
|
|
|
|
+// * 根据输入获取联想词(产品型号)
|
|
|
|
|
+// *
|
|
|
|
|
+// * @param code
|
|
|
|
|
+// * @return
|
|
|
|
|
+// */
|
|
|
|
|
+// @RequestMapping(value = "/similarKeywords", method = RequestMethod.GET)
|
|
|
|
|
+// @ResponseBody
|
|
|
|
|
+// public List<String> getSimilarKeywords(String code) {
|
|
|
|
|
+// return searchService.getSimilarCodes(code);
|
|
|
|
|
+// }
|
|
|
}
|
|
}
|