|
@@ -38,8 +38,10 @@ public interface IotDeviceMapper extends BaseMapperX<IotDeviceDO> {
|
|
|
.likeIfPresent(IotDeviceDO::getYfDeviceCode, reqVO.getYfDeviceCode())
|
|
.likeIfPresent(IotDeviceDO::getYfDeviceCode, reqVO.getYfDeviceCode())
|
|
|
.likeIfPresent(IotDeviceDO::getDeviceCode, reqVO.getDeviceCode())
|
|
.likeIfPresent(IotDeviceDO::getDeviceCode, reqVO.getDeviceCode())
|
|
|
.likeIfPresent(IotDeviceDO::getDeviceName, reqVO.getDeviceName())
|
|
.likeIfPresent(IotDeviceDO::getDeviceName, reqVO.getDeviceName())
|
|
|
|
|
+ .likeIfPresent(IotDeviceDO::getAssetOwnership, reqVO.getAssetOwnership())
|
|
|
|
|
+ .likeIfPresent(IotDeviceDO::getAddress, reqVO.getAddress())
|
|
|
.eqIfPresent(IotDeviceDO::getBrand, reqVO.getBrand())
|
|
.eqIfPresent(IotDeviceDO::getBrand, reqVO.getBrand())
|
|
|
- .eqIfPresent(IotDeviceDO::getModel, reqVO.getModel())
|
|
|
|
|
|
|
+ .likeIfPresent(IotDeviceDO::getModel, reqVO.getModel())
|
|
|
.likeIfPresent(IotDeviceDO::getBrandName, reqVO.getBrandName())
|
|
.likeIfPresent(IotDeviceDO::getBrandName, reqVO.getBrandName())
|
|
|
//.eqIfPresent(IotDeviceDO::getOrgId, reqVO.getOrgId())
|
|
//.eqIfPresent(IotDeviceDO::getOrgId, reqVO.getOrgId())
|
|
|
.inIfPresent(IotDeviceDO::getDeptId, deptIds)
|
|
.inIfPresent(IotDeviceDO::getDeptId, deptIds)
|
|
@@ -67,6 +69,8 @@ public interface IotDeviceMapper extends BaseMapperX<IotDeviceDO> {
|
|
|
.eqIfPresent(IotDeviceDO::getInfoRemark, reqVO.getInfoRemark())
|
|
.eqIfPresent(IotDeviceDO::getInfoRemark, reqVO.getInfoRemark())
|
|
|
.eqIfPresent(IotDeviceDO::getInfoUrl, reqVO.getInfoUrl())
|
|
.eqIfPresent(IotDeviceDO::getInfoUrl, reqVO.getInfoUrl())
|
|
|
.eqIfPresent(IotDeviceDO::getTemplateJson, reqVO.getTemplateJson())
|
|
.eqIfPresent(IotDeviceDO::getTemplateJson, reqVO.getTemplateJson())
|
|
|
|
|
+ .likeIfPresent(IotDeviceDO::getChargeName, reqVO.getChargeName())
|
|
|
|
|
+ .likeIfPresent(IotDeviceDO::getUseProject, reqVO.getUseProject())
|
|
|
.eqIfPresent(IotDeviceDO::getBomSyncStatus, reqVO.getBomSyncStatus()));
|
|
.eqIfPresent(IotDeviceDO::getBomSyncStatus, reqVO.getBomSyncStatus()));
|
|
|
// .orderByAsc(IotDeviceDO::getSortColumn));
|
|
// .orderByAsc(IotDeviceDO::getSortColumn));
|
|
|
}
|
|
}
|