bug修复
This commit is contained in:
parent
35b4f5425a
commit
1c511c9dc5
@ -41,9 +41,9 @@ public class ProjectCarCameraConfig implements Serializable {
|
||||
@NotBlank(message = "projectSn不能为空")
|
||||
private java.lang.String projectSn;
|
||||
/**
|
||||
* 1海康isc、2其他
|
||||
* 9、海康门禁isc
|
||||
*/
|
||||
@Excel(name = "1海康isc、2其他", width = 15)
|
||||
@ApiModelProperty(value = "1海康isc、2其他")
|
||||
@Excel(name = "9、海康门禁isc", width = 15)
|
||||
@ApiModelProperty(value = "9、海康门禁isc")
|
||||
private java.lang.Integer supplierType;
|
||||
}
|
||||
|
||||
@ -105,7 +105,7 @@ public class ProjectCarCameraConfigServiceImpl extends ServiceImpl<ProjectCarCam
|
||||
public boolean isHikvisionConfig(String projectSn) {
|
||||
Integer c = projectCarCameraConfigMapper.selectCount(new LambdaQueryWrapper<ProjectCarCameraConfig>()
|
||||
.eq(ProjectCarCameraConfig::getProjectSn, projectSn)
|
||||
.eq(ProjectCarCameraConfig::getSupplierType, 1)
|
||||
.eq(ProjectCarCameraConfig::getSupplierType, 9)
|
||||
);
|
||||
return c > 0;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user