Browse Source

新增设备信息处理类

zhangqiankun 3 năm trước cách đây
mục cha
commit
728ed47ab3

+ 73 - 0
src/main/java/com/persagy/transfer/controller/HydomcAssetController.java

@@ -0,0 +1,73 @@
+package com.persagy.transfer.controller;
+
+import java.util.List;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.google.common.collect.Lists;
+import com.persagy.common.utils.ResponseResult;
+import com.persagy.common.utils.ResponseUtil;
+import com.persagy.transfer.pojo.dto.HydomcAsset;
+import com.persagy.transfer.service.IHydomcAssetService;
+
+import cn.hutool.core.collection.CollectionUtil;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+
+/**
+ * 设备信息主表
+ * 
+ * @version 1.0.0
+ * @company persagy 
+ * @author zhangqiankun
+ * @date 2021-09-16 10:45:41
+ */
+
+@Api(tags = "设备信息主表")
+@RestController
+@RequestMapping(value = "/hydomcAsset", method = RequestMethod.POST)
+public class HydomcAssetController {
+	
+    @Autowired
+    private IHydomcAssetService hydomcAssetService;
+    
+    /**
+     * 列表查询
+     */
+    @ApiOperation(value = "列表查询")
+    @RequestMapping(value = "queryHydomcAssetList")
+    public ResponseResult queryHydomcAssetList(@RequestBody HydomcAsset hydomcAsset) {
+    	LambdaQueryWrapper<HydomcAsset> queryWrapper = new HydomcAsset.BuilderQueryWrapper().builder();
+    	List<HydomcAsset> list = this.hydomcAssetService.list(queryWrapper);
+    	if (CollectionUtil.isEmpty(list)) {
+			return ResponseUtil.successResult(Lists.newArrayList(), 0L);
+		}
+        return ResponseUtil.successResult(list, (long)list.size());
+    }
+
+    /**
+     * 新增
+     */
+	@ApiOperation(value = "保存")
+	@RequestMapping(value = "createHydomcAsset")
+    public ResponseResult createHydomcAsset(@RequestBody HydomcAsset hydomcAsset) {
+        boolean result = this.hydomcAssetService.save(hydomcAsset);
+        return result ? ResponseUtil.successResult("保存成功") : ResponseUtil.errorResult("保存失败");
+    }
+    
+    /**
+     * 更新
+     */
+	@ApiOperation(value = "更新")
+	@RequestMapping(value = "updateHydomcAsset")
+    public ResponseResult updateHydomcAsset(@RequestBody HydomcAsset hydomcAsset) {
+        boolean result = this.hydomcAssetService.updateById(hydomcAsset);
+        return result ? ResponseUtil.successResult("更新成功") : ResponseUtil.errorResult("更新失败");
+    }
+
+}

+ 73 - 0
src/main/java/com/persagy/transfer/controller/HydomcAssetspecController.java

@@ -0,0 +1,73 @@
+package com.persagy.transfer.controller;
+
+import java.util.List;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.google.common.collect.Lists;
+import com.persagy.common.utils.ResponseResult;
+import com.persagy.common.utils.ResponseUtil;
+import com.persagy.transfer.pojo.dto.HydomcAssetspec;
+import com.persagy.transfer.service.IHydomcAssetspecService;
+
+import cn.hutool.core.collection.CollectionUtil;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+
+/**
+ * 设备参数信息
+ * 
+ * @version 1.0.0
+ * @company persagy 
+ * @author zhangqiankun
+ * @date 2021-09-16 10:45:41
+ */
+
+@Api(tags = "设备参数信息")
+@RestController
+@RequestMapping(value = "/hydomcAssetspec", method = RequestMethod.POST)
+public class HydomcAssetspecController {
+	
+    @Autowired
+    private IHydomcAssetspecService hydomcAssetspecService;
+    
+    /**
+     * 列表查询
+     */
+    @ApiOperation(value = "列表查询")
+    @RequestMapping(value = "queryHydomcAssetspecList")
+    public ResponseResult queryHydomcAssetspecList(@RequestBody HydomcAssetspec hydomcAssetspec) {
+    	LambdaQueryWrapper<HydomcAssetspec> queryWrapper = new HydomcAssetspec.BuilderQueryWrapper().builder();
+    	List<HydomcAssetspec> list = this.hydomcAssetspecService.list(queryWrapper);
+    	if (CollectionUtil.isEmpty(list)) {
+			return ResponseUtil.successResult(Lists.newArrayList(), 0L);
+		}
+        return ResponseUtil.successResult(list, (long)list.size());
+    }
+
+    /**
+     * 新增
+     */
+	@ApiOperation(value = "保存")
+	@RequestMapping(value = "createHydomcAssetspec")
+    public ResponseResult createHydomcAssetspec(@RequestBody HydomcAssetspec hydomcAssetspec) {
+        boolean result = this.hydomcAssetspecService.save(hydomcAssetspec);
+        return result ? ResponseUtil.successResult("保存成功") : ResponseUtil.errorResult("保存失败");
+    }
+    
+    /**
+     * 更新
+     */
+	@ApiOperation(value = "更新")
+	@RequestMapping(value = "updateHydomcAssetspec")
+    public ResponseResult updateHydomcAssetspec(@RequestBody HydomcAssetspec hydomcAssetspec) {
+        boolean result = this.hydomcAssetspecService.updateById(hydomcAssetspec);
+        return result ? ResponseUtil.successResult("更新成功") : ResponseUtil.errorResult("更新失败");
+    }
+
+}

+ 19 - 0
src/main/java/com/persagy/transfer/mapper/HydomcAssetMapper.java

@@ -0,0 +1,19 @@
+package com.persagy.transfer.mapper;
+
+import org.apache.ibatis.annotations.Mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.persagy.transfer.pojo.dto.HydomcAsset;
+
+/**
+ * 设备信息主表
+ * 
+ * @version 1.0.0
+ * @company persagy 
+ * @author zhangqiankun
+ * @date 2021-09-16 10:45:41
+ */
+@Mapper
+public interface HydomcAssetMapper extends BaseMapper<HydomcAsset> {
+
+}

+ 19 - 0
src/main/java/com/persagy/transfer/mapper/HydomcAssetspecMapper.java

@@ -0,0 +1,19 @@
+package com.persagy.transfer.mapper;
+
+import org.apache.ibatis.annotations.Mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.persagy.transfer.pojo.dto.HydomcAssetspec;
+
+/**
+ * 设备参数信息
+ * 
+ * @version 1.0.0
+ * @company persagy 
+ * @author zhangqiankun
+ * @date 2021-09-16 10:45:41
+ */
+@Mapper
+public interface HydomcAssetspecMapper extends BaseMapper<HydomcAssetspec> {
+
+}

+ 749 - 0
src/main/java/com/persagy/transfer/pojo/dto/HydomcAsset.java

@@ -0,0 +1,749 @@
+package com.persagy.transfer.pojo.dto;
+
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.FieldStrategy;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
+import com.persagy.common.model.BaseEntity;
+import com.persagy.common.utils.StringUtil;
+
+import lombok.EqualsAndHashCode;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.ToString;
+
+/**
+ * 设备信息主表
+ * 
+ * @version 1.0.0
+ * @company persagy
+ * @author zhangqiankun
+ * @date 2021-09-16 10:45:41
+ */
+@Getter
+@Setter
+@ToString
+@EqualsAndHashCode(callSuper = false)
+@TableName("hydomc_asset")
+public class HydomcAsset extends BaseEntity<HydomcAsset> {
+	private static final long serialVersionUID = -6974983990373376067L;
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String sbybm;
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String siteid; // 项目唯一id,可采用租赁系统广场id,同步后不可更改
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String description; // 设备名称
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String wzqy; // 设备安装位置,详细设备安装位置,格式:楼体-楼层-区域
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String fwqy; // 设备服务区域
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String sbxh; // 设备型号
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String classstructureid; // 对接设备分类id,同步后不可更改
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String status; // 设备状态,运行中/报废,默认都为运行中
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String sbxhh; // 设备序号,同类设备的序号,即第几台设备:第几台电梯
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String cjsbxh; // 厂家设备序列号
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String manufacturer; // 生产商公司供方管理系统编码code
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String vendor; // 供应商公司供方管理系统编码code
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String fws; // 服务商公司供方管理系统编码code
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private Double purchaseprice; // 采购金额,填写人民币元
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private Double zjsynx; // 折旧/使用年限,按年填写 如3年半则填写 3.5
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private Date scrq; // 生产日期/出厂日期
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private Date cgrq; // 采购日期
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private Date azdate; // 安装日期
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private Date installdate; // 启用日期
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private Date zbksrq; // 质保开始日期
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private Date zbjsrq; // 质保结束日期
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private Integer zxzq; // 中修周期,单位为月
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private Integer dxzq; // 大修周期,单位为月
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String wylx; // 物业类型,自持/销售/合作方
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String sbglgs; // 设备管理归属,商管/百货/大歌星/超市/影院/大酒楼/其他
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String hysbbm; // 慧云设备编码
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String sfhysy; // 是否慧云使用,是/否,缺省为 是
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String sfzld; // 是否是主力店,缺省为 否
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String mark; // 备注
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String datastatus; // 数据状态,update/delete 当数据状态为delete时,设备状态需改为报废
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private Date changedate; // 数据更新时间
+
+	public static Builder builder() {
+		return new Builder();
+	}
+
+	public static class BuilderQueryWrapper {
+
+		private LambdaQueryWrapper<HydomcAsset> queryWrapper = new LambdaQueryWrapper<HydomcAsset>();
+
+		public BuilderQueryWrapper siteidEq(String siteid) {
+			if (StringUtil.isNotBlank(siteid)) {
+				queryWrapper.eq(HydomcAsset::getSiteid, siteid);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper sbybmEq(String sbybm) {
+			if (StringUtil.isNotBlank(sbybm)) {
+				queryWrapper.eq(HydomcAsset::getSbybm, sbybm);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper descriptionEq(String description) {
+			if (StringUtil.isNotBlank(description)) {
+				queryWrapper.eq(HydomcAsset::getDescription, description);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper wzqyEq(String wzqy) {
+			if (StringUtil.isNotBlank(wzqy)) {
+				queryWrapper.eq(HydomcAsset::getWzqy, wzqy);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper fwqyEq(String fwqy) {
+			if (StringUtil.isNotBlank(fwqy)) {
+				queryWrapper.eq(HydomcAsset::getFwqy, fwqy);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper sbxhEq(String sbxh) {
+			if (StringUtil.isNotBlank(sbxh)) {
+				queryWrapper.eq(HydomcAsset::getSbxh, sbxh);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper classstructureidEq(String classstructureid) {
+			if (StringUtil.isNotBlank(classstructureid)) {
+				queryWrapper.eq(HydomcAsset::getClassstructureid, classstructureid);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper statusEq(String status) {
+			if (StringUtil.isNotBlank(status)) {
+				queryWrapper.eq(HydomcAsset::getStatus, status);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper sbxhhEq(String sbxhh) {
+			if (StringUtil.isNotBlank(sbxhh)) {
+				queryWrapper.eq(HydomcAsset::getSbxhh, sbxhh);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper cjsbxhEq(String cjsbxh) {
+			if (StringUtil.isNotBlank(cjsbxh)) {
+				queryWrapper.eq(HydomcAsset::getCjsbxh, cjsbxh);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper manufacturerEq(String manufacturer) {
+			if (StringUtil.isNotBlank(manufacturer)) {
+				queryWrapper.eq(HydomcAsset::getManufacturer, manufacturer);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper vendorEq(String vendor) {
+			if (StringUtil.isNotBlank(vendor)) {
+				queryWrapper.eq(HydomcAsset::getVendor, vendor);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper fwsEq(String fws) {
+			if (StringUtil.isNotBlank(fws)) {
+				queryWrapper.eq(HydomcAsset::getFws, fws);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper purchasepriceEq(Double purchaseprice) {
+			if (null != purchaseprice) {
+				queryWrapper.eq(HydomcAsset::getPurchaseprice, purchaseprice);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper zjsynxEq(Double zjsynx) {
+			if (null != zjsynx) {
+				queryWrapper.eq(HydomcAsset::getZjsynx, zjsynx);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper scrqEq(Date scrq) {
+			if (null != scrq) {
+				queryWrapper.eq(HydomcAsset::getScrq, scrq);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper cgrqEq(Date cgrq) {
+			if (null != cgrq) {
+				queryWrapper.eq(HydomcAsset::getCgrq, cgrq);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper azdateEq(Date azdate) {
+			if (null != azdate) {
+				queryWrapper.eq(HydomcAsset::getAzdate, azdate);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper installdateEq(Date installdate) {
+			if (null != installdate) {
+				queryWrapper.eq(HydomcAsset::getInstalldate, installdate);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper zbksrqEq(Date zbksrq) {
+			if (null != zbksrq) {
+				queryWrapper.eq(HydomcAsset::getZbksrq, zbksrq);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper zbjsrqEq(Date zbjsrq) {
+			if (null != zbjsrq) {
+				queryWrapper.eq(HydomcAsset::getZbjsrq, zbjsrq);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper zxzqEq(Integer zxzq) {
+			if (null != zxzq) {
+				queryWrapper.eq(HydomcAsset::getZxzq, zxzq);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper dxzqEq(Integer dxzq) {
+			if (null != dxzq) {
+				queryWrapper.eq(HydomcAsset::getDxzq, dxzq);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper wylxEq(String wylx) {
+			if (StringUtil.isNotBlank(wylx)) {
+				queryWrapper.eq(HydomcAsset::getWylx, wylx);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper sbglgsEq(String sbglgs) {
+			if (StringUtil.isNotBlank(sbglgs)) {
+				queryWrapper.eq(HydomcAsset::getSbglgs, sbglgs);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper hysbbmEq(String hysbbm) {
+			if (StringUtil.isNotBlank(hysbbm)) {
+				queryWrapper.eq(HydomcAsset::getHysbbm, hysbbm);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper sfhysyEq(String sfhysy) {
+			if (StringUtil.isNotBlank(sfhysy)) {
+				queryWrapper.eq(HydomcAsset::getSfhysy, sfhysy);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper sfzldEq(String sfzld) {
+			if (StringUtil.isNotBlank(sfzld)) {
+				queryWrapper.eq(HydomcAsset::getSfzld, sfzld);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper markEq(String mark) {
+			if (StringUtil.isNotBlank(mark)) {
+				queryWrapper.eq(HydomcAsset::getMark, mark);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper datastatusEq(String datastatus) {
+			if (StringUtil.isNotBlank(datastatus)) {
+				queryWrapper.eq(HydomcAsset::getDatastatus, datastatus);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper changedateEq(Date changedate) {
+			if (null != changedate) {
+				queryWrapper.eq(HydomcAsset::getChangedate, changedate);
+			}
+			return this;
+		}
+
+		public LambdaQueryWrapper<HydomcAsset> builder() {
+			return queryWrapper;
+		}
+
+	}
+
+	public static class BuilderUpdateWrapper {
+
+		private LambdaUpdateWrapper<HydomcAsset> updateWrapper = new LambdaUpdateWrapper<HydomcAsset>();
+
+		public BuilderUpdateWrapper siteidEq(String siteid) {
+			if (StringUtil.isNotBlank(siteid)) {
+				updateWrapper.eq(HydomcAsset::getSiteid, siteid);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper sbybmEq(String sbybm) {
+			if (StringUtil.isNotBlank(sbybm)) {
+				updateWrapper.eq(HydomcAsset::getSbybm, sbybm);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper descriptionEq(String description) {
+			if (StringUtil.isNotBlank(description)) {
+				updateWrapper.eq(HydomcAsset::getDescription, description);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper wzqyEq(String wzqy) {
+			if (StringUtil.isNotBlank(wzqy)) {
+				updateWrapper.eq(HydomcAsset::getWzqy, wzqy);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper fwqyEq(String fwqy) {
+			if (StringUtil.isNotBlank(fwqy)) {
+				updateWrapper.eq(HydomcAsset::getFwqy, fwqy);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper sbxhEq(String sbxh) {
+			if (StringUtil.isNotBlank(sbxh)) {
+				updateWrapper.eq(HydomcAsset::getSbxh, sbxh);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper classstructureidEq(String classstructureid) {
+			if (StringUtil.isNotBlank(classstructureid)) {
+				updateWrapper.eq(HydomcAsset::getClassstructureid, classstructureid);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper statusEq(String status) {
+			if (StringUtil.isNotBlank(status)) {
+				updateWrapper.eq(HydomcAsset::getStatus, status);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper sbxhhEq(String sbxhh) {
+			if (StringUtil.isNotBlank(sbxhh)) {
+				updateWrapper.eq(HydomcAsset::getSbxhh, sbxhh);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper cjsbxhEq(String cjsbxh) {
+			if (StringUtil.isNotBlank(cjsbxh)) {
+				updateWrapper.eq(HydomcAsset::getCjsbxh, cjsbxh);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper manufacturerEq(String manufacturer) {
+			if (StringUtil.isNotBlank(manufacturer)) {
+				updateWrapper.eq(HydomcAsset::getManufacturer, manufacturer);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper vendorEq(String vendor) {
+			if (StringUtil.isNotBlank(vendor)) {
+				updateWrapper.eq(HydomcAsset::getVendor, vendor);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper fwsEq(String fws) {
+			if (StringUtil.isNotBlank(fws)) {
+				updateWrapper.eq(HydomcAsset::getFws, fws);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper purchasepriceEq(Double purchaseprice) {
+			if (null != purchaseprice) {
+				updateWrapper.eq(HydomcAsset::getPurchaseprice, purchaseprice);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper zjsynxEq(Double zjsynx) {
+			if (null != zjsynx) {
+				updateWrapper.eq(HydomcAsset::getZjsynx, zjsynx);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper scrqEq(Date scrq) {
+			if (null != scrq) {
+				updateWrapper.eq(HydomcAsset::getScrq, scrq);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper cgrqEq(Date cgrq) {
+			if (null != cgrq) {
+				updateWrapper.eq(HydomcAsset::getCgrq, cgrq);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper azdateEq(Date azdate) {
+			if (null != azdate) {
+				updateWrapper.eq(HydomcAsset::getAzdate, azdate);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper installdateEq(Date installdate) {
+			if (null != installdate) {
+				updateWrapper.eq(HydomcAsset::getInstalldate, installdate);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper zbksrqEq(Date zbksrq) {
+			if (null != zbksrq) {
+				updateWrapper.eq(HydomcAsset::getZbksrq, zbksrq);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper zbjsrqEq(Date zbjsrq) {
+			if (null != zbjsrq) {
+				updateWrapper.eq(HydomcAsset::getZbjsrq, zbjsrq);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper zxzqEq(Integer zxzq) {
+			if (null != zxzq) {
+				updateWrapper.eq(HydomcAsset::getZxzq, zxzq);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper dxzqEq(Integer dxzq) {
+			if (null != dxzq) {
+				updateWrapper.eq(HydomcAsset::getDxzq, dxzq);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper wylxEq(String wylx) {
+			if (StringUtil.isNotBlank(wylx)) {
+				updateWrapper.eq(HydomcAsset::getWylx, wylx);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper sbglgsEq(String sbglgs) {
+			if (StringUtil.isNotBlank(sbglgs)) {
+				updateWrapper.eq(HydomcAsset::getSbglgs, sbglgs);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper hysbbmEq(String hysbbm) {
+			if (StringUtil.isNotBlank(hysbbm)) {
+				updateWrapper.eq(HydomcAsset::getHysbbm, hysbbm);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper sfhysyEq(String sfhysy) {
+			if (StringUtil.isNotBlank(sfhysy)) {
+				updateWrapper.eq(HydomcAsset::getSfhysy, sfhysy);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper sfzldEq(String sfzld) {
+			if (StringUtil.isNotBlank(sfzld)) {
+				updateWrapper.eq(HydomcAsset::getSfzld, sfzld);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper markEq(String mark) {
+			if (StringUtil.isNotBlank(mark)) {
+				updateWrapper.eq(HydomcAsset::getMark, mark);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper datastatusEq(String datastatus) {
+			if (StringUtil.isNotBlank(datastatus)) {
+				updateWrapper.eq(HydomcAsset::getDatastatus, datastatus);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper changedateEq(Date changedate) {
+			if (null != changedate) {
+				updateWrapper.eq(HydomcAsset::getChangedate, changedate);
+			}
+			return this;
+		}
+
+		public LambdaUpdateWrapper<HydomcAsset> builder() {
+			return updateWrapper;
+		}
+
+	}
+
+	public static class Builder {
+
+		private HydomcAsset hydomcAsset = new HydomcAsset();
+
+		public Builder siteid(String siteid) {
+			hydomcAsset.setSiteid(siteid);
+			return this;
+		}
+
+		public Builder sbybm(String sbybm) {
+			hydomcAsset.setSbybm(sbybm);
+			return this;
+		}
+
+		public Builder description(String description) {
+			hydomcAsset.setDescription(description);
+			return this;
+		}
+
+		public Builder wzqy(String wzqy) {
+			hydomcAsset.setWzqy(wzqy);
+			return this;
+		}
+
+		public Builder fwqy(String fwqy) {
+			hydomcAsset.setFwqy(fwqy);
+			return this;
+		}
+
+		public Builder sbxh(String sbxh) {
+			hydomcAsset.setSbxh(sbxh);
+			return this;
+		}
+
+		public Builder classstructureid(String classstructureid) {
+			hydomcAsset.setClassstructureid(classstructureid);
+			return this;
+		}
+
+		public Builder status(String status) {
+			hydomcAsset.setStatus(status);
+			return this;
+		}
+
+		public Builder sbxhh(String sbxhh) {
+			hydomcAsset.setSbxhh(sbxhh);
+			return this;
+		}
+
+		public Builder cjsbxh(String cjsbxh) {
+			hydomcAsset.setCjsbxh(cjsbxh);
+			return this;
+		}
+
+		public Builder manufacturer(String manufacturer) {
+			hydomcAsset.setManufacturer(manufacturer);
+			return this;
+		}
+
+		public Builder vendor(String vendor) {
+			hydomcAsset.setVendor(vendor);
+			return this;
+		}
+
+		public Builder fws(String fws) {
+			hydomcAsset.setFws(fws);
+			return this;
+		}
+
+		public Builder purchaseprice(Double purchaseprice) {
+			hydomcAsset.setPurchaseprice(purchaseprice);
+			return this;
+		}
+
+		public Builder zjsynx(Double zjsynx) {
+			hydomcAsset.setZjsynx(zjsynx);
+			return this;
+		}
+
+		public Builder scrq(Date scrq) {
+			hydomcAsset.setScrq(scrq);
+			return this;
+		}
+
+		public Builder cgrq(Date cgrq) {
+			hydomcAsset.setCgrq(cgrq);
+			return this;
+		}
+
+		public Builder azdate(Date azdate) {
+			hydomcAsset.setAzdate(azdate);
+			return this;
+		}
+
+		public Builder installdate(Date installdate) {
+			hydomcAsset.setInstalldate(installdate);
+			return this;
+		}
+
+		public Builder zbksrq(Date zbksrq) {
+			hydomcAsset.setZbksrq(zbksrq);
+			return this;
+		}
+
+		public Builder zbjsrq(Date zbjsrq) {
+			hydomcAsset.setZbjsrq(zbjsrq);
+			return this;
+		}
+
+		public Builder zxzq(Integer zxzq) {
+			hydomcAsset.setZxzq(zxzq);
+			return this;
+		}
+
+		public Builder dxzq(Integer dxzq) {
+			hydomcAsset.setDxzq(dxzq);
+			return this;
+		}
+
+		public Builder wylx(String wylx) {
+			hydomcAsset.setWylx(wylx);
+			return this;
+		}
+
+		public Builder sbglgs(String sbglgs) {
+			hydomcAsset.setSbglgs(sbglgs);
+			return this;
+		}
+
+		public Builder hysbbm(String hysbbm) {
+			hydomcAsset.setHysbbm(hysbbm);
+			return this;
+		}
+
+		public Builder sfhysy(String sfhysy) {
+			hydomcAsset.setSfhysy(sfhysy);
+			return this;
+		}
+
+		public Builder sfzld(String sfzld) {
+			hydomcAsset.setSfzld(sfzld);
+			return this;
+		}
+
+		public Builder mark(String mark) {
+			hydomcAsset.setMark(mark);
+			return this;
+		}
+
+		public Builder datastatus(String datastatus) {
+			hydomcAsset.setDatastatus(datastatus);
+			return this;
+		}
+
+		public Builder changedate(Date changedate) {
+			hydomcAsset.setChangedate(changedate);
+			return this;
+		}
+
+		public HydomcAsset build() {
+			return hydomcAsset;
+		}
+
+	}
+}

+ 353 - 0
src/main/java/com/persagy/transfer/pojo/dto/HydomcAssetspec.java

@@ -0,0 +1,353 @@
+package com.persagy.transfer.pojo.dto;
+
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.FieldStrategy;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import com.persagy.common.utils.StringUtil;
+
+import lombok.EqualsAndHashCode;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.ToString;
+
+/**
+ * 设备参数信息
+ * 
+ * @version 1.0.0
+ * @company persagy
+ * @author zhangqiankun
+ * @date 2021-09-16 10:45:41
+ */
+@Getter
+@Setter
+@ToString
+@EqualsAndHashCode(callSuper = false)
+@TableName("hydomc_assetspec")
+public class HydomcAssetspec extends Model<HydomcAssetspec> {
+	private static final long serialVersionUID = 1994016672442325413L;
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String assetattrid; // 设备分类ID
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String siteid; // 关联的设备信息字段
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String sbybm; // 关联的设备信息字段
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String classstructureid; // 设备分类id
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String classqc; // 设备分类名称, 电梯系统/扶梯/人行步道
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String csdesc; // 设备参数名称,传输能力
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String datatype; // 设备参数类型,字母数字
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String measureunitid; // 设备参数单位编码
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String csjldw; // 设备参数单位名称
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private Double numvalue; // 设备参数数字值
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String alnvalue; // 设备参数文本值
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private String datastatus; // 数据状态
+
+	@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
+	private Date changedate; // 数据更新时间
+
+	public static Builder builder() {
+		return new Builder();
+	}
+
+	public static class BuilderQueryWrapper {
+
+		private LambdaQueryWrapper<HydomcAssetspec> queryWrapper = new LambdaQueryWrapper<HydomcAssetspec>();
+
+		public BuilderQueryWrapper assetattridEq(String assetattrid) {
+			if (StringUtil.isNotBlank(assetattrid)) {
+				queryWrapper.eq(HydomcAssetspec::getAssetattrid, assetattrid);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper siteidEq(String siteid) {
+			if (StringUtil.isNotBlank(siteid)) {
+				queryWrapper.eq(HydomcAssetspec::getSiteid, siteid);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper sbybmEq(String sbybm) {
+			if (StringUtil.isNotBlank(sbybm)) {
+				queryWrapper.eq(HydomcAssetspec::getSbybm, sbybm);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper classstructureidEq(String classstructureid) {
+			if (StringUtil.isNotBlank(classstructureid)) {
+				queryWrapper.eq(HydomcAssetspec::getClassstructureid, classstructureid);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper classqcEq(String classqc) {
+			if (StringUtil.isNotBlank(classqc)) {
+				queryWrapper.eq(HydomcAssetspec::getClassqc, classqc);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper csdescEq(String csdesc) {
+			if (StringUtil.isNotBlank(csdesc)) {
+				queryWrapper.eq(HydomcAssetspec::getCsdesc, csdesc);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper datatypeEq(String datatype) {
+			if (StringUtil.isNotBlank(datatype)) {
+				queryWrapper.eq(HydomcAssetspec::getDatatype, datatype);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper measureunitidEq(String measureunitid) {
+			if (StringUtil.isNotBlank(measureunitid)) {
+				queryWrapper.eq(HydomcAssetspec::getMeasureunitid, measureunitid);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper csjldwEq(String csjldw) {
+			if (StringUtil.isNotBlank(csjldw)) {
+				queryWrapper.eq(HydomcAssetspec::getCsjldw, csjldw);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper numvalueEq(Double numvalue) {
+			if (null != numvalue) {
+				queryWrapper.eq(HydomcAssetspec::getNumvalue, numvalue);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper alnvalueEq(String alnvalue) {
+			if (StringUtil.isNotBlank(alnvalue)) {
+				queryWrapper.eq(HydomcAssetspec::getAlnvalue, alnvalue);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper datastatusEq(String datastatus) {
+			if (StringUtil.isNotBlank(datastatus)) {
+				queryWrapper.eq(HydomcAssetspec::getDatastatus, datastatus);
+			}
+			return this;
+		}
+
+		public BuilderQueryWrapper changedateEq(Date changedate) {
+			if (null != changedate) {
+				queryWrapper.eq(HydomcAssetspec::getChangedate, changedate);
+			}
+			return this;
+		}
+
+		public LambdaQueryWrapper<HydomcAssetspec> builder() {
+			return queryWrapper;
+		}
+
+	}
+
+	public static class BuilderUpdateWrapper {
+
+		private LambdaUpdateWrapper<HydomcAssetspec> updateWrapper = new LambdaUpdateWrapper<HydomcAssetspec>();
+
+		public BuilderUpdateWrapper assetattridEq(String assetattrid) {
+			if (StringUtil.isNotBlank(assetattrid)) {
+				updateWrapper.eq(HydomcAssetspec::getAssetattrid, assetattrid);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper siteidEq(String siteid) {
+			if (StringUtil.isNotBlank(siteid)) {
+				updateWrapper.eq(HydomcAssetspec::getSiteid, siteid);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper sbybmEq(String sbybm) {
+			if (StringUtil.isNotBlank(sbybm)) {
+				updateWrapper.eq(HydomcAssetspec::getSbybm, sbybm);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper classstructureidEq(String classstructureid) {
+			if (StringUtil.isNotBlank(classstructureid)) {
+				updateWrapper.eq(HydomcAssetspec::getClassstructureid, classstructureid);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper classqcEq(String classqc) {
+			if (StringUtil.isNotBlank(classqc)) {
+				updateWrapper.eq(HydomcAssetspec::getClassqc, classqc);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper csdescEq(String csdesc) {
+			if (StringUtil.isNotBlank(csdesc)) {
+				updateWrapper.eq(HydomcAssetspec::getCsdesc, csdesc);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper datatypeEq(String datatype) {
+			if (StringUtil.isNotBlank(datatype)) {
+				updateWrapper.eq(HydomcAssetspec::getDatatype, datatype);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper measureunitidEq(String measureunitid) {
+			if (StringUtil.isNotBlank(measureunitid)) {
+				updateWrapper.eq(HydomcAssetspec::getMeasureunitid, measureunitid);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper csjldwEq(String csjldw) {
+			if (StringUtil.isNotBlank(csjldw)) {
+				updateWrapper.eq(HydomcAssetspec::getCsjldw, csjldw);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper numvalueEq(Double numvalue) {
+			if (null != numvalue) {
+				updateWrapper.eq(HydomcAssetspec::getNumvalue, numvalue);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper alnvalueEq(String alnvalue) {
+			if (StringUtil.isNotBlank(alnvalue)) {
+				updateWrapper.eq(HydomcAssetspec::getAlnvalue, alnvalue);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper datastatusEq(String datastatus) {
+			if (StringUtil.isNotBlank(datastatus)) {
+				updateWrapper.eq(HydomcAssetspec::getDatastatus, datastatus);
+			}
+			return this;
+		}
+
+		public BuilderUpdateWrapper changedateEq(Date changedate) {
+			if (null != changedate) {
+				updateWrapper.eq(HydomcAssetspec::getChangedate, changedate);
+			}
+			return this;
+		}
+
+		public LambdaUpdateWrapper<HydomcAssetspec> builder() {
+			return updateWrapper;
+		}
+
+	}
+
+	public static class Builder {
+
+		private HydomcAssetspec hydomcAssetspec = new HydomcAssetspec();
+
+		public Builder assetattrid(String assetattrid) {
+			hydomcAssetspec.setAssetattrid(assetattrid);
+			return this;
+		}
+
+		public Builder siteid(String siteid) {
+			hydomcAssetspec.setSiteid(siteid);
+			return this;
+		}
+
+		public Builder sbybm(String sbybm) {
+			hydomcAssetspec.setSbybm(sbybm);
+			return this;
+		}
+
+		public Builder classstructureid(String classstructureid) {
+			hydomcAssetspec.setClassstructureid(classstructureid);
+			return this;
+		}
+
+		public Builder classqc(String classqc) {
+			hydomcAssetspec.setClassqc(classqc);
+			return this;
+		}
+
+		public Builder csdesc(String csdesc) {
+			hydomcAssetspec.setCsdesc(csdesc);
+			return this;
+		}
+
+		public Builder datatype(String datatype) {
+			hydomcAssetspec.setDatatype(datatype);
+			return this;
+		}
+
+		public Builder measureunitid(String measureunitid) {
+			hydomcAssetspec.setMeasureunitid(measureunitid);
+			return this;
+		}
+
+		public Builder csjldw(String csjldw) {
+			hydomcAssetspec.setCsjldw(csjldw);
+			return this;
+		}
+
+		public Builder numvalue(Double numvalue) {
+			hydomcAssetspec.setNumvalue(numvalue);
+			return this;
+		}
+
+		public Builder alnvalue(String alnvalue) {
+			hydomcAssetspec.setAlnvalue(alnvalue);
+			return this;
+		}
+
+		public Builder datastatus(String datastatus) {
+			hydomcAssetspec.setDatastatus(datastatus);
+			return this;
+		}
+
+		public Builder changedate(Date changedate) {
+			hydomcAssetspec.setChangedate(changedate);
+			return this;
+		}
+
+		public HydomcAssetspec build() {
+			return hydomcAssetspec;
+		}
+
+	}
+}

+ 17 - 0
src/main/java/com/persagy/transfer/service/IHydomcAssetService.java

@@ -0,0 +1,17 @@
+package com.persagy.transfer.service;
+
+import com.persagy.common.service.ISuperService;
+import com.persagy.transfer.pojo.dto.HydomcAsset;
+
+/**
+ * 设备信息主表
+ * 
+ * @version 1.0.0
+ * @company persagy 
+ * @author zhangqiankun
+ * @date 2021-09-16 10:45:41
+ */
+public interface IHydomcAssetService extends ISuperService<HydomcAsset> {
+
+}
+

+ 17 - 0
src/main/java/com/persagy/transfer/service/IHydomcAssetspecService.java

@@ -0,0 +1,17 @@
+package com.persagy.transfer.service;
+
+import com.persagy.common.service.ISuperService;
+import com.persagy.transfer.pojo.dto.HydomcAssetspec;
+
+/**
+ * 设备参数信息
+ * 
+ * @version 1.0.0
+ * @company persagy 
+ * @author zhangqiankun
+ * @date 2021-09-16 10:45:41
+ */
+public interface IHydomcAssetspecService extends ISuperService<HydomcAssetspec> {
+
+}
+

+ 21 - 0
src/main/java/com/persagy/transfer/service/impl/HydomcAssetServiceImpl.java

@@ -0,0 +1,21 @@
+package com.persagy.transfer.service.impl;
+
+import org.springframework.stereotype.Service;
+
+import com.persagy.common.service.impl.SuperServiceImpl;
+import com.persagy.transfer.mapper.HydomcAssetMapper;
+import com.persagy.transfer.pojo.dto.HydomcAsset;
+import com.persagy.transfer.service.IHydomcAssetService;
+
+/**
+ * 设备信息主表
+ * 
+ * @version 1.0.0
+ * @company persagy 
+ * @author zhangqiankun
+ * @date 2021-09-16 10:45:41
+ */
+@Service
+public class HydomcAssetServiceImpl extends SuperServiceImpl<HydomcAssetMapper, HydomcAsset> implements IHydomcAssetService {
+
+}

+ 21 - 0
src/main/java/com/persagy/transfer/service/impl/HydomcAssetspecServiceImpl.java

@@ -0,0 +1,21 @@
+package com.persagy.transfer.service.impl;
+
+import org.springframework.stereotype.Service;
+
+import com.persagy.common.service.impl.SuperServiceImpl;
+import com.persagy.transfer.mapper.HydomcAssetspecMapper;
+import com.persagy.transfer.pojo.dto.HydomcAssetspec;
+import com.persagy.transfer.service.IHydomcAssetspecService;
+
+/**
+ * 设备参数信息
+ * 
+ * @version 1.0.0
+ * @company persagy 
+ * @author zhangqiankun
+ * @date 2021-09-16 10:45:41
+ */
+@Service
+public class HydomcAssetspecServiceImpl extends SuperServiceImpl<HydomcAssetspecMapper, HydomcAssetspec> implements IHydomcAssetspecService {
+
+}

+ 4 - 4
src/main/resources/bootstrap.yml

@@ -11,9 +11,9 @@ spring:
       strict: true   #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
       datasource:
         master_1:
-          url: jdbc:mysql://192.168.100.94:9934/saas_ems?serverTimezone=GMT&useUnicode=true&useSSL=false&characterEncoding=UTF-8&allowMultiQueries=true
+          url: jdbc:mysql://192.168.64.15:9934/dmp_rwd?serverTimezone=GMT&useUnicode=true&useSSL=false&characterEncoding=UTF-8&allowMultiQueries=true
           username: root
-          password: persagy@2020
+          password: D56dLvRbSy5bMn
           driver-class-name: com.mysql.cj.jdbc.Driver
           type: com.alibaba.druid.pool.DruidDataSource
           druid: 
@@ -33,7 +33,7 @@ spring:
             time-between-eviction-runs-millis: 50000
             max-pool-prepared-statement-per-connection-size: 20  
         master_2:
-          url: jdbc:mysql://192.168.64.15:9934/calendar-center?serverTimezone=GMT&useUnicode=true&useSSL=false&characterEncoding=UTF-8&allowMultiQueries=true
+          url: jdbc:mysql://192.168.64.15:9934/ibms-switch?serverTimezone=GMT&useUnicode=true&useSSL=false&characterEncoding=UTF-8&allowMultiQueries=true
           username: root
           password: D56dLvRbSy5bMn
           driver-class-name: com.mysql.cj.jdbc.Driver
@@ -57,7 +57,7 @@ spring:
           
 mybatis-plus: 
   mapper-locations: classpath:/*mapper/*.xml
-#  typeAliasesPackage: com.persagy.transfer.pojo.bdtp, com.persagy.transfer.pojo.wd
+  typeAliasesPackage: com.persagy.transfer.pojo.bdtp, com.persagy.transfer.pojo.dto
       
 integrated: 
   swagger: 

+ 39 - 0
src/main/resources/mapper/HydomcAssetMapper.xml

@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+
+<mapper namespace="com.persagy.transfer.mapper.HydomcAssetMapper">
+    
+	<resultMap id="BaseResultMap" type="com.persagy.transfer.pojo.dto.HydomcAsset">
+		<result column="SITEID" property="siteid" jdbcType="VARCHAR" />
+		<result column="SBYBM" property="sbybm" jdbcType="VARCHAR" />
+		<result column="description" property="description" jdbcType="VARCHAR" />
+		<result column="wzqy" property="wzqy" jdbcType="VARCHAR" />
+		<result column="fwqy" property="fwqy" jdbcType="VARCHAR" />
+		<result column="sbxh" property="sbxh" jdbcType="VARCHAR" />
+		<result column="CLASSSTRUCTUREID" property="classstructureid" jdbcType="VARCHAR" />
+		<result column="STATUS" property="status" jdbcType="VARCHAR" />
+		<result column="sbxhh" property="sbxhh" jdbcType="VARCHAR" />
+		<result column="CJSBXH" property="cjsbxh" jdbcType="VARCHAR" />
+		<result column="MANUFACTURER" property="manufacturer" jdbcType="VARCHAR" />
+		<result column="VENDOR" property="vendor" jdbcType="VARCHAR" />
+		<result column="FWS" property="fws" jdbcType="VARCHAR" />
+		<result column="PURCHASEPRICE" property="purchaseprice" jdbcType="DOUBLE" />
+		<result column="ZJSYNX" property="zjsynx" jdbcType="DOUBLE" />
+		<result column="SCRQ" property="scrq" jdbcType="DATE" />
+		<result column="CGRQ" property="cgrq" jdbcType="DATE" />
+		<result column="AZDATE" property="azdate" jdbcType="DATE" />
+		<result column="INSTALLDATE" property="installdate" jdbcType="DATE" />
+		<result column="ZBKSRQ" property="zbksrq" jdbcType="DATE" />
+		<result column="ZBJSRQ" property="zbjsrq" jdbcType="DATE" />
+		<result column="ZXZQ" property="zxzq" jdbcType="INTEGER" />
+		<result column="DXZQ" property="dxzq" jdbcType="INTEGER" />
+		<result column="WYLX" property="wylx" jdbcType="VARCHAR" />
+		<result column="SBGLGS" property="sbglgs" jdbcType="VARCHAR" />
+		<result column="HYSBBM" property="hysbbm" jdbcType="VARCHAR" />
+		<result column="SFHYSY" property="sfhysy" jdbcType="VARCHAR" />
+		<result column="SFZLD" property="sfzld" jdbcType="VARCHAR" />
+		<result column="MARK" property="mark" jdbcType="VARCHAR" />
+		<result column="DATASTATUS" property="datastatus" jdbcType="VARCHAR" />
+		<result column="CHANGEDATE" property="changedate" jdbcType="DATE" />
+	</resultMap>
+</mapper>

+ 21 - 0
src/main/resources/mapper/HydomcAssetspecMapper.xml

@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+
+<mapper namespace="com.persagy.transfer.mapper.HydomcAssetspecMapper">
+    
+	<resultMap id="BaseResultMap" type="com.persagy.transfer.pojo.dto.HydomcAssetspec">
+		<result column="ASSETATTRID" property="assetattrid" jdbcType="VARCHAR" />
+		<result column="SITEID" property="siteid" jdbcType="VARCHAR" />
+		<result column="SBYBM" property="sbybm" jdbcType="VARCHAR" />
+		<result column="CLASSSTRUCTUREID" property="classstructureid" jdbcType="VARCHAR" />
+		<result column="CLASSQC" property="classqc" jdbcType="VARCHAR" />
+		<result column="CSDESC" property="csdesc" jdbcType="VARCHAR" />
+		<result column="DATATYPE" property="datatype" jdbcType="VARCHAR" />
+		<result column="MEASUREUNITID" property="measureunitid" jdbcType="VARCHAR" />
+		<result column="CSJLDW" property="csjldw" jdbcType="VARCHAR" />
+		<result column="NUMVALUE" property="numvalue" jdbcType="DOUBLE" />
+		<result column="ALNVALUE" property="alnvalue" jdbcType="VARCHAR" />
+		<result column="DATASTATUS" property="datastatus" jdbcType="VARCHAR" />
+		<result column="CHANGEDATE" property="changedate" jdbcType="DATE" />
+	</resultMap>
+</mapper>