Browse Source

中间表字段变更

zhangqiankun 3 years ago
parent
commit
3765f1183c

+ 9 - 9
src/main/java/com/persagy/transfer/pojo/dto/WdfacilityRelPersagy.java

@@ -33,7 +33,7 @@ public class WdfacilityRelPersagy extends BaseEntity<WdfacilityRelPersagy> {
 	private String code; // 中台数据信息点编码
 
 	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
-	private String classCode; // 类型编码
+	private String wdClassCode; // 万达设备类编码
 
 	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
 	private String classstrucrureid; // 万达设备分类表id
@@ -78,9 +78,9 @@ public class WdfacilityRelPersagy extends BaseEntity<WdfacilityRelPersagy> {
 			return this;
 		}
 
-		public BuilderQueryWrapper classCodeEq(String classCode) {
-			if (StringUtil.isNotBlank(classCode)) {
-				queryWrapper.eq(WdfacilityRelPersagy::getClassCode, classCode);
+		public BuilderQueryWrapper wdClassCodeEq(String wdClassCode) {
+			if (StringUtil.isNotBlank(wdClassCode)) {
+				queryWrapper.eq(WdfacilityRelPersagy::getWdClassCode, wdClassCode);
 			}
 			return this;
 		}
@@ -158,9 +158,9 @@ public class WdfacilityRelPersagy extends BaseEntity<WdfacilityRelPersagy> {
 			return this;
 		}
 
-		public BuilderUpdateWrapper classCodeEq(String classCode) {
-			if (StringUtil.isNotBlank(classCode)) {
-				updateWrapper.eq(WdfacilityRelPersagy::getClassCode, classCode);
+		public BuilderUpdateWrapper wdClassCodeEq(String wdClassCode) {
+			if (StringUtil.isNotBlank(wdClassCode)) {
+				updateWrapper.eq(WdfacilityRelPersagy::getWdClassCode, wdClassCode);
 			}
 			return this;
 		}
@@ -234,8 +234,8 @@ public class WdfacilityRelPersagy extends BaseEntity<WdfacilityRelPersagy> {
 			return this;
 		}
 
-		public Builder classCode(String classCode) {
-			wdfacilityRelPersagy.setClassCode(classCode);
+		public Builder wdClassCode(String wdClassCode) {
+			wdfacilityRelPersagy.setWdClassCode(wdClassCode);
 			return this;
 		}
 

+ 1 - 1
src/main/resources/mapper/WdfacilityRelPersagyMapper.xml

@@ -6,7 +6,7 @@
 	<resultMap id="BaseResultMap" type="com.persagy.transfer.pojo.dto.WdfacilityRelPersagy">
 		<result column="id" property="id" jdbcType="VARCHAR" />
 		<result column="code" property="code" jdbcType="VARCHAR" />
-		<result column="class_code" property="classCode" jdbcType="VARCHAR" />
+		<result column="wd_class_code" property="wdClassCode" jdbcType="VARCHAR" />
 		<result column="classstrucrureid" property="classstrucrureid" jdbcType="VARCHAR" />
 		<result column="assetattrid" property="assetattrid" jdbcType="VARCHAR" />
 		<result column="classqc" property="classqc" jdbcType="VARCHAR" />