|
@@ -32,6 +32,9 @@ public class HydomcAssetspec extends Model<HydomcAssetspec> {
|
|
|
private static final long serialVersionUID = 1994016672442325413L;
|
|
|
|
|
|
@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
|
|
|
+ private String assetspecid; //主键ID
|
|
|
+
|
|
|
+ @TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
|
|
|
private String assetattrid; // 设备分类ID
|
|
|
|
|
|
@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
|
|
@@ -78,6 +81,13 @@ public class HydomcAssetspec extends Model<HydomcAssetspec> {
|
|
|
|
|
|
private LambdaQueryWrapper<HydomcAssetspec> queryWrapper = new LambdaQueryWrapper<HydomcAssetspec>();
|
|
|
|
|
|
+ public BuilderQueryWrapper assetspecidEq(String assetspecid) {
|
|
|
+ if (StringUtil.isNotBlank(assetspecid)) {
|
|
|
+ queryWrapper.eq(HydomcAssetspec::getAssetspecid, assetspecid);
|
|
|
+ }
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
public BuilderQueryWrapper assetattridEq(String assetattrid) {
|
|
|
if (StringUtil.isNotBlank(assetattrid)) {
|
|
|
queryWrapper.eq(HydomcAssetspec::getAssetattrid, assetattrid);
|
|
@@ -179,6 +189,13 @@ public class HydomcAssetspec extends Model<HydomcAssetspec> {
|
|
|
|
|
|
private LambdaUpdateWrapper<HydomcAssetspec> updateWrapper = new LambdaUpdateWrapper<HydomcAssetspec>();
|
|
|
|
|
|
+ public BuilderUpdateWrapper assetspecidEq(String assetspecid) {
|
|
|
+ if (StringUtil.isNotBlank(assetspecid)) {
|
|
|
+ updateWrapper.eq(HydomcAssetspec::getAssetspecid, assetspecid);
|
|
|
+ }
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
public BuilderUpdateWrapper assetattridEq(String assetattrid) {
|
|
|
if (StringUtil.isNotBlank(assetattrid)) {
|
|
|
updateWrapper.eq(HydomcAssetspec::getAssetattrid, assetattrid);
|
|
@@ -280,6 +297,11 @@ public class HydomcAssetspec extends Model<HydomcAssetspec> {
|
|
|
|
|
|
private HydomcAssetspec hydomcAssetspec = new HydomcAssetspec();
|
|
|
|
|
|
+ public Builder assetspecid(String assetspecid) {
|
|
|
+ hydomcAssetspec.setAssetspecid(assetspecid);
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
public Builder assetattrid(String assetattrid) {
|
|
|
hydomcAssetspec.setAssetattrid(assetattrid);
|
|
|
return this;
|