Merge remote-tracking branch 'origin/guoshengxiong' into guoshengxiong
This commit is contained in:
commit
c969bc7ecd
@ -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海康isc、2其他
|
* 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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user