This commit is contained in:
Carl 2022-01-29 02:28:57 +08:00
parent 47c5c1b785
commit 177b49f4fd
2 changed files with 1 additions and 4 deletions

View File

@ -72,7 +72,6 @@ public class GoodController {
List<String> tagNameList = new ArrayList<>();
int count = 0;
for (String categoryKey : paramMap.keySet()) {
System.out.println("categoryKey:"+ categoryKey);
if(categoryKey == "categoryName" || categoryKey == "tagFunction" || categoryKey == "tagUsedAge" || categoryKey == "tagBreed" || categoryKey == "tagStatus") {
switch (categoryKey) {
case "categoryName":
@ -97,7 +96,6 @@ public class GoodController {
}
}
if(count > 0) {
System.out.println("count:"+ count);
List<ProductSearchTagEntity> productSearchTagList = productSearchTagService.findAllByCondition(brandNameList, productQueryEntity.getPetType(), tagNameList, productQueryEntity.getTagStatus());
List<String> tagCodeList = new ArrayList<>();
for (ProductSearchTagEntity productSearchTagEntity : productSearchTagList) {
@ -122,7 +120,6 @@ public class GoodController {
}
String result = "";
try{
System.out.println("productQueryEntity:"+ productQueryEntity.getPetType());
long startTime = System.currentTimeMillis();
result = goodService.brandQuery(productQueryEntity);
long acceptTime = System.currentTimeMillis() ;

View File

@ -1602,7 +1602,7 @@ CREATE TABLE IF NOT EXISTS `t_royalcanin_operate_log` (
`code` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`msg` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
)
CREATE TABLE `t_good_orders` (