bug修复

This commit is contained in:
guoshengxiong 2024-06-05 20:23:23 +08:00
parent 35b4f5425a
commit 1c511c9dc5
2 changed files with 4 additions and 4 deletions

View File

@ -41,9 +41,9 @@ public class ProjectCarCameraConfig implements Serializable {
@NotBlank(message = "projectSn不能为空") @NotBlank(message = "projectSn不能为空")
private java.lang.String projectSn; private java.lang.String projectSn;
/** /**
* 1海康isc2其他 * 9海康门禁isc
*/ */
@Excel(name = "1海康isc、2其他", width = 15) @Excel(name = "9、海康门禁isc", width = 15)
@ApiModelProperty(value = "1海康isc、2其他") @ApiModelProperty(value = "9、海康门禁isc")
private java.lang.Integer supplierType; private java.lang.Integer supplierType;
} }

View File

@ -105,7 +105,7 @@ public class ProjectCarCameraConfigServiceImpl extends ServiceImpl<ProjectCarCam
public boolean isHikvisionConfig(String projectSn) { public boolean isHikvisionConfig(String projectSn) {
Integer c = projectCarCameraConfigMapper.selectCount(new LambdaQueryWrapper<ProjectCarCameraConfig>() Integer c = projectCarCameraConfigMapper.selectCount(new LambdaQueryWrapper<ProjectCarCameraConfig>()
.eq(ProjectCarCameraConfig::getProjectSn, projectSn) .eq(ProjectCarCameraConfig::getProjectSn, projectSn)
.eq(ProjectCarCameraConfig::getSupplierType, 1) .eq(ProjectCarCameraConfig::getSupplierType, 9)
); );
return c > 0; return c > 0;
} }