fix:79077
This commit is contained in:
+51
@@ -41,6 +41,57 @@ public class LawsHomeNormalSearchHistory implements Serializable {
|
||||
@ApiModelProperty(value = "检索内容")
|
||||
private String searchContent;
|
||||
|
||||
/**
|
||||
* 检索方式 1:全文检索 2:标题检索
|
||||
*/
|
||||
@ApiModelProperty(value = "检索方式 1:全文检索 2:标题检索")
|
||||
private String searchMode;
|
||||
/**
|
||||
* 资源类型 (数据字典 resource_type) (全部传空)
|
||||
*/
|
||||
@ApiModelProperty(value = "资源类型 (数据字典 resource_type) (全部传空)")
|
||||
private String resourceType;
|
||||
/**
|
||||
* 标准类别 (数据字典 海外标准法规:standard_type_overseas 国内标准法规:standard_type) (全部传空)
|
||||
*/
|
||||
@ApiModelProperty(value = "标准类别 (数据字典 海外标准法规:standard_type_overseas 国内标准法规:standard_type) (全部传空)")
|
||||
private String standardClass;
|
||||
/**
|
||||
* 动力类型 (数据字典 海外标准法规:POWER_TYPE_DOMESTIC_OVERSEAS 国内标准法规:POWER_TYPE_DOMESTIC) (全部传空)
|
||||
*/
|
||||
@ApiModelProperty(value = "动力类型 (数据字典 海外标准法规:POWER_TYPE_DOMESTIC_OVERSEAS 国内标准法规:POWER_TYPE_DOMESTIC) (全部传空)")
|
||||
private String dynamicType;
|
||||
/**
|
||||
* 适用车辆类型 (数据字典 海外标准法规:APPLICATIONS_OVERSEAS 国内标准法规:APPLICATIONS_DOMESTIC) (全部传空)
|
||||
*/
|
||||
@ApiModelProperty(value = "适用车辆类型 (数据字典 海外标准法规:APPLICATIONS_OVERSEAS 国内标准法规:APPLICATIONS_DOMESTIC) (全部传空)")
|
||||
private String applicableVehicle;
|
||||
/**
|
||||
* 标准类型 (只有国内标准法规 数据字典 standard_property) (全部传空)
|
||||
*/
|
||||
@ApiModelProperty(value = "标准类型 (只有国内标准法规 数据字典 standard_property (全部传空)")
|
||||
private String standardProperty;
|
||||
/**
|
||||
* 状态 (国内标准法规/海外标准法规 数据字典 standard_state) (全部传空)
|
||||
*/
|
||||
@ApiModelProperty(value = "状态 (国内标准法规/海外标准法规 数据字典 standard_state (全部传空)")
|
||||
private String standardState;
|
||||
/**
|
||||
* 企业标准代号 (只有企业标准 数据字典 enterprise_standard_code) (全部传空)
|
||||
*/
|
||||
@ApiModelProperty(value = "企业标准代号 (只有企业标准 数据字典 enterprise_standard_code (全部传空)")
|
||||
private String standardCode;
|
||||
/**
|
||||
* 标准状态 (只有企业标准 数据字典 enterprise_standard_state) (全部传空)
|
||||
*/
|
||||
@ApiModelProperty(value = "标准状态 (只有企业标准 数据字典 enterprise_standard_state (全部传空)")
|
||||
private String enterpriseStandardState;
|
||||
/**
|
||||
* 标准等级分类 (只有企业标准 数据字典 standard_grade_classify) (全部传空)
|
||||
*/
|
||||
@ApiModelProperty(value = "标准等级分类 (只有企业标准 数据字典 standard_grade_classify (全部传空)")
|
||||
private String gradeClassification;
|
||||
|
||||
/**创建人*/
|
||||
@ApiModelProperty(value = "创建人")
|
||||
private String createBy;
|
||||
|
||||
+2
-3
@@ -15,7 +15,6 @@ import com.jero.common.exception.JeroBootException;
|
||||
import com.jero.common.system.api.ISysBaseAPI;
|
||||
import com.jero.common.system.vo.DictModel;
|
||||
import com.jero.common.system.vo.LoginUser;
|
||||
import com.jero.common.system.vo.SysDictItemCore;
|
||||
import com.jero.common.util.DateUtils;
|
||||
import com.jero.common.util.oConvertUtils;
|
||||
import com.jero.modules.document.utils.ReadPdfUtil;
|
||||
@@ -41,7 +40,6 @@ import com.jero.modules.laws.standard.service.ILawsNewsFeedService;
|
||||
import com.jero.modules.laws.standard.service.ILawsOverseasStandardService;
|
||||
import com.jero.modules.oss.entity.OSSFile;
|
||||
import com.jero.modules.oss.service.IOSSFileService;
|
||||
import com.jero.modules.system.entity.SysDict;
|
||||
import com.jero.modules.tag.entity.LawsTag;
|
||||
import com.jero.modules.tag.service.ILawsTagService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@@ -50,6 +48,7 @@ import org.apache.commons.lang3.ObjectUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.shiro.SecurityUtils;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
@@ -131,8 +130,8 @@ public class LawsHomeSearchServiceImpl implements ILawsHomeSearchService {
|
||||
// 添加检索历史
|
||||
LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||
LawsHomeNormalSearchHistory lawsHomeNormalSearchHistory = new LawsHomeNormalSearchHistory();
|
||||
BeanUtils.copyProperties(lawsHomeNormalSearchDTO,lawsHomeNormalSearchHistory);
|
||||
lawsHomeNormalSearchHistory.setUserId(loginUser.getId());
|
||||
lawsHomeNormalSearchHistory.setSearchContent(searchContent);
|
||||
lawsHomeNormalSearchHistoryService.save(lawsHomeNormalSearchHistory);
|
||||
|
||||
QueryWrapper<LawsHomeNormalSearchDTO> queryWrapper = getQueryWrapperNormal(lawsHomeNormalSearchDTO);
|
||||
|
||||
Reference in New Issue
Block a user