Commit 323e6df0 authored by 赵啸非's avatar 赵啸非

添加样表设备部门过滤

parent c0ac598b
......@@ -298,6 +298,7 @@ CREATE TABLE mortals_xhx_device_matter_datum(
`matterId` bigint(20) COMMENT '事项id',
`matterCode` varchar(255) COMMENT '事项编码',
`matterName` varchar(255) COMMENT '事项名称',
`materiaFullName` varchar(1024) COMMENT '事项全称',
`deptId` bigint(20) COMMENT '部门ID',
`deptCode` varchar(256) COMMENT '部门编号',
`deptName` varchar(256) COMMENT '部门名称',
......@@ -307,7 +308,6 @@ CREATE TABLE mortals_xhx_device_matter_datum(
`createTime` datetime COMMENT '创建时间',
`createUserId` bigint(20) COMMENT '创建用户',
`updateTime` datetime COMMENT '修改时间',
`materiaFullName` varchar(1024) COMMENT '事项全称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='设备事项申请材料业务';
......
......@@ -313,32 +313,32 @@ public class DeviceMatterDatumEntity extends DeviceMatterDatumVo {
public void initAttrValue(){
this.siteId = null;
this.siteId = -1L;
this.deviceId = null;
this.deviceCode = null;
this.deviceCode = "";
this.deviceName = null;
this.deviceName = "";
this.matterId = null;
this.matterCode = null;
this.matterCode = "";
this.matterName = null;
this.matterName = "";
this.deptId = null;
this.deptCode = null;
this.deptCode = "";
this.deptName = null;
this.deptName = "";
this.source = null;
this.source = 0;
this.isRecommend = null;
this.isRecommend = 0;
this.sort = null;
this.sort = 0;
this.materiaFullName = null;
this.materiaFullName = "";
}
}
\ No newline at end of file
......@@ -68,6 +68,8 @@ public class DeviceMatterDatumServiceImpl extends AbstractCRUDServiceImpl<Device
entity.setMatterName(matterEntity.getMatterName());
entity.setMateriaFullName(matterEntity.getMatterFullName());
entity.setIsRecommend(matterEntity.getIsRecommend());
entity.setSource(matterEntity.getSource());
entity.setSort(matterEntity.getSort());
entity.setDeptId(matterEntity.getDeptId());
entity.setDeptCode(matterEntity.getDeptCode());
entity.setDeptName(matterEntity.getDeptName());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment