项目评估结果tab页下的查看页面,点击查询按钮,提示程序异常

This commit is contained in:
yanyizhou
2021-08-23 15:53:56 +08:00
parent 8f53c85efc
commit b17409a7ae
2 changed files with 5 additions and 1 deletions
@@ -163,7 +163,7 @@ public class SarStandardComplianceAssessResultController {
IPage<SarStandardComplianceProductAssess> iPage = new Page<>(eo.getCurrent(), eo.getSize());
QueryWrapper<SarStandardComplianceProductAssess> queryWrapper = new QueryWrapper<>();
if (eo.getProductName() != null) queryWrapper.like("product_name", eo.getProductName());
// if (eo.getStandId() != null) queryWrapper.like("STAND_ID", eo.getStandId());
if (eo.getProductId() != null) queryWrapper.like("product_id", eo.getProductId());
// if (eo.getInterpretationTime() != null) queryWrapper.eq("INTERPRETATION_TIME", eo.getInterpretationTime());
IPage<SarStandardComplianceProductAssess> page = iSarStandardComplianceProductAssessService.page(iPage, queryWrapper);
@@ -22,6 +22,10 @@ public class SarStandardComplianceProductAssessEO{
@TableField("type")
private String type;
@ApiModelProperty(value = "项目编号")
@TableField("product_id")
private String productId;
@ApiModelProperty(value = "'项目名称'")
private String productName;