Commit 6436a4d9 authored by 赵啸非's avatar 赵啸非

添加样表设备列表

parent a8ae80b6
......@@ -212,6 +212,2180 @@ Content-Type: multipart/form-data
```
## 事项申请材料业务
### 查询事项申请材料业务列表
**请求URL:** matter/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询事项申请材料业务
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
**请求样例:**
```
{
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 per_page|Integer|每页条数
 total|Integer|总条数
 last_page|Integer|总页数
 current_page|Integer|当前页
 data|array|结果集列表|数组
  id|Long|主键,自增长
  siteId|Long|站点ID
  tid|String|从政务系统来的事项id
  tcode|String|从政务系统来的事项code
  tname|String|从政务系统来的事项name
  matterName|String|事项名称
  englishName|String|英语事项名
  matterNo|String|事项编号
  matterFullName|String|事项全称
  deptId|Long|部门ID
  deptCode|String|部门编号
  deptName|String|部门名称
  total|Integer|填单次数
  sort|Integer|排序
  isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
  source|Integer|是否推荐(0.手动添加,1.站点事项)
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
dict|object|字典对象
 isRecommend|object|字典属性对象,详见附录
 source|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查看事项申请材料业务
**请求URL:** matter/info
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看事项申请材料业务,返回实例详细信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|Long|是|ID
**请求样例:**
```
http://localhost/matter/info?id=549
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:-------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|主键,自增长
 siteId|Long|站点ID
 tid|String|从政务系统来的事项id
 tcode|String|从政务系统来的事项code
 tname|String|从政务系统来的事项name
 matterName|String|事项名称
 englishName|String|英语事项名
 matterNo|String|事项编号
 matterFullName|String|事项全称
 deptId|Long|部门ID
 deptCode|String|部门编号
 deptName|String|部门名称
 total|Integer|填单次数
 sort|Integer|排序
 isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
 source|Integer|是否推荐(0.手动添加,1.站点事项)
 createTime|Date|创建时间
 createUserId|Long|创建用户
 updateTime|Date|修改时间
dict|object|字典对象
 isRecommend|object|字典属性对象,详见附录
 source|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code": 1,
"data": {
"id":525,
"siteId":8746,
"tid":"e8x0fb",
"tcode":"yjwmof",
"tname":"ojdeoz",
"matterName":"l0a8d6",
"englishName":"er9t2e",
"matterNo":"1r6gxa",
"matterFullName":"4a5j9g",
"deptId":2841,
"deptCode":"k5f2kx",
"deptName":"zbamfn",
"total":3754,
"sort":2164,
"isRecommend":9830,
"source":7016,
"createTime":"2023-03-22",
"createUserId":5766,
"updateTime":"2023-03-22"
}
}
```
### 保存更新事项申请材料业务
**请求URL:** matter/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新事项申请材料业务:id为空时为新增保存,否则为更新提交
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
siteId|Long|否|站点ID
tid|String|否|从政务系统来的事项id
tcode|String|否|从政务系统来的事项code
tname|String|否|从政务系统来的事项name
matterName|String|否|事项名称
englishName|String|否|英语事项名
matterNo|String|否|事项编号
matterFullName|String|否|事项全称
deptId|Long|否|部门ID
deptCode|String|否|部门编号
deptName|String|否|部门名称
total|Integer|否|填单次数
sort|Integer|否|排序
isRecommend|Integer|否|是否推荐(0.未推荐,1.推荐)
source|Integer|否|是否推荐(0.手动添加,1.站点事项)
**请求样例:**
```
{
"siteId":6540,
"tid":"as3axy",
"tcode":"fgk378",
"tname":"pncnjw",
"matterName":"dm9149",
"englishName":"xpa9ns",
"matterNo":"5gkhel",
"matterFullName":"b5qbcr",
"deptId":3333,
"deptCode":"f7qqtl",
"deptName":"wv4mdy",
"total":1462,
"sort":9134,
"isRecommend":813,
"source":8643,
}
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|保存后主键id
 entity|object|保存更新实体
  id|Long|主键,自增长
  siteId|Long|站点ID
  tid|String|从政务系统来的事项id
  tcode|String|从政务系统来的事项code
  tname|String|从政务系统来的事项name
  matterName|String|事项名称
  englishName|String|英语事项名
  matterNo|String|事项编号
  matterFullName|String|事项全称
  deptId|Long|部门ID
  deptCode|String|部门编号
  deptName|String|部门名称
  total|Integer|填单次数
  sort|Integer|排序
  isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
  source|Integer|是否推荐(0.手动添加,1.站点事项)
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
**响应消息样例:**
```
{
"msg":"新增模块成功",
"code":1,
"data":{}
}
}
```
### 删除事项申请材料业务
**请求URL:** matter/delete
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 删除事项申请材料业务
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|String|是|数组
**请求样例:**
```
http://localhost:8080/matter/delete?id=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
## 基础事项
### 查询基础事项列表
**请求URL:** sheet/matter/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询基础事项
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
siteId|Long|否|站点ID
tid|String|否|从政务系统来的事项id,字段前后添加%%模糊查询
tcode|String|否|从政务系统来的事项code,字段前后添加%%模糊查询
tname|String|否|从政务系统来的事项name,字段前后添加%%模糊查询
matterName|String|否|事项名称,字段前后添加%%模糊查询
englishName|String|否|英语事项名,字段前后添加%%模糊查询
matterNo|String|否|事项编号,字段前后添加%%模糊查询
deptCode|String|否|部门编号,字段前后添加%%模糊查询
appoveObjectShow|String|否|服务对象 (1.事业法人,2.社会组织法人,3.非法人企业,4.企业法人,5.自然人,6.其他组织),字段前后添加%%模糊查询
operatScopeShow|String|否|通办范围 (1.无,2.全国,3.全省,4.全市,5.全县,6.全镇[乡、街道],7.跨村[社区]),字段前后添加%%模糊查询
appoveTimeLimitShow|String|否|办件类型(1.网络办件,2.行政审批一般件,3.综合窗口件),字段前后添加%%模糊查询
handleType|String|否|办理形式(1.窗口办理,2.网上办理),字段前后添加%%模糊查询
legalTimeLimitShow|String|否|法定办结时限,字段前后添加%%模糊查询
legalEndExplain|String|否|法定时限办结说明,字段前后添加%%模糊查询
promiseTimeLimitShow|String|否|承诺办结时限,字段前后添加%%模糊查询
promiseEndExplain|String|否|承诺时限办结说明,字段前后添加%%模糊查询
isChargesShow|String|否|是否收费(0.否,1.是),字段前后添加%%模糊查询
certificationLevelsShow|String|否|认证等级需求(1.实名认证,2.单次面签,3.每次面签),字段前后添加%%模糊查询
planTakeTime|Date|否|计划生效日期
promiseTakeTime|Date|否|承诺生效日期
specialProcedure|String|否|特别程序,字段前后添加%%模糊查询
windowToTheSceneNum|Integer|否|窗口到现场次数
isOnlineSubscribeShow|String|否|是否网上预约,窗口办理选(0.否,1.是),字段前后添加%%模糊查询
isExpressTakeShow|String|否|物流快递,窗口办理选(0.否,1.是),字段前后添加%%模糊查询
isProvinceAcquisitionShow|String|否|是否支持全省范围就近取件(0.否,1.是),字段前后添加%%模糊查询
isApplyProvinceShow|String|否|是否支持全省范围就近办理(0.否,1.是),字段前后添加%%模糊查询
mustSceneExplain|String|否|必须到现场原因,字段前后添加%%模糊查询
onlineType|String|否|网办类型(1.原件预审,2.原件核验,3.全程网办),字段前后添加%%模糊查询
onlineToTheSceneNum|Integer|否|网办到现场次数
onlineOperatDeep|String|否|网络办理深度(1.互联网咨询,2.互联网收件,3.互联网预审,4.互联网受理,5.互联网办理,6.互联网办理结果信息反馈,7.其他),字段前后添加%%模糊查询
isExpressTakeOnlineShow|String|否|物流快递,网上办理选(0.否,1.是),字段前后添加%%模糊查询
isDoorTakeShow|String|否|是否支持上门收取申请(0.否,1.是),字段前后添加%%模糊查询
onlineMustSceneExplain|String|否|网上必须到现场原因,字段前后添加%%模糊查询
performDeptType|String|否|实施主体,字段前后添加%%模糊查询
matterEdition|String|否|事项版本,字段前后添加%%模糊查询
eventTypeShow|String|否|事项类型名称(1A.行政许可,1B.行政处罚,1C.行政强制,1D.行政征收,1G.行政给付,1I.行政检查,1F.行政确认,1H.行政奖励,1E.行政裁决,1Z.其他行政权力,2A.主动服务,2B.依申请服务,2C.咨询查询,3A.未归类事项),字段前后添加%%模糊查询
performHierarchyShow|String|否|行使层级名称(1.省级,2.市级,3.县级,4.镇[乡、街道],5.村[社区]级),字段前后添加%%模糊查询
powerSourceShow|String|否|权力来源(1.法定本级行使,2.上级下放,3.上级授权,4.同级授权,5.上级委托,6.同级委托),字段前后添加%%模糊查询
performDeptTypeShow|String|否|实施主体性质(1.法定机关,2.授权组织,3.受委托组织),字段前后添加%%模糊查询
goveServiceCenterShow|String|否|是否进驻中心(0.否,1.是),字段前后添加%%模糊查询
isConvenientCenterShow|String|否|是否纳入便民服务中心(0.否,1.是),字段前后添加%%模糊查询
terminalHandle|String|否|自助终端办理 (0.否,1.是),字段前后添加%%模糊查询
isOnline|String|否|是否网办 (0.否,1.是),字段前后添加%%模糊查询
isOnlinePayShow|String|否|支持网上支付(0.否,1.是),字段前后添加%%模糊查询
entrustmentDepartmen|String|否|委托部门(0.否,1.是),字段前后添加%%模糊查询
jointInfoShow|String|否|联办机构,字段前后添加%%模糊查询
matterStatus|String|否|事项状态(0.停用,1.在用),字段前后添加%%模糊查询
numberLimit|Long|否|数量限制
type|String|否|主题类型(1.法定机关,2.授权组织,3.受委托组织),字段前后添加%%模糊查询
baseCode|String|否|基本编码,字段前后添加%%模糊查询
implementCode|String|否|实施编码,字段前后添加%%模糊查询
implementBodyCode|String|否|实施主体编码,字段前后添加%%模糊查询
operateItemCode|String|否|办理项编码,字段前后添加%%模糊查询
townshipName|String|否|乡镇街道名称,字段前后添加%%模糊查询
townshipCode|String|否|乡镇街道代码,字段前后添加%%模糊查询
villageName|String|否|村居社区名称,字段前后添加%%模糊查询
villageCode|String|否|村居社区代码,字段前后添加%%模糊查询
operateTime|String|否|办理时间,字段前后添加%%模糊查询
operateSite|String|否|办理地点,字段前后添加%%模糊查询
cousultingShow|String|否|咨询方式,字段前后添加%%模糊查询
cousultingTelephoneShow|String|否|咨询电话,字段前后添加%%模糊查询
superviseShow|String|否|监督方式,字段前后添加%%模糊查询
sort|Integer|否|排序
**请求样例:**
```
{
"siteId":2651,
"tid":"dhine0",
"tcode":"u77oxc",
"tname":"92lkbt",
"matterName":"h6h9ds",
"englishName":"biym7g",
"matterNo":"5hglzb",
"deptCode":"ns8xxl",
"appoveObjectShow":"uxvhni",
"operatScopeShow":"qrao1y",
"appoveTimeLimitShow":"umv5q6",
"handleType":"4yilyz",
"legalTimeLimitShow":"cwut1t",
"legalEndExplain":"7tz3he",
"promiseTimeLimitShow":"r907zh",
"promiseEndExplain":"g1sy73",
"isChargesShow":"c7st7y",
"certificationLevelsShow":"6xdl0c",
"planTakeTime":"2023-03-22",
"promiseTakeTime":"2023-03-22",
"specialProcedure":"gr2rc7",
"windowToTheSceneNum":8012,
"isOnlineSubscribeShow":"in694a",
"isExpressTakeShow":"hrdw7s",
"isProvinceAcquisitionShow":"ghbft2",
"isApplyProvinceShow":"1gnc05",
"mustSceneExplain":"jssd4a",
"onlineType":"6wqmb6",
"onlineToTheSceneNum":8411,
"onlineOperatDeep":"c77tx1",
"isExpressTakeOnlineShow":"i34jg4",
"isDoorTakeShow":"s838th",
"onlineMustSceneExplain":"i3ar7k",
"performDeptType":"uj4m1b",
"matterEdition":"aeltlx",
"eventTypeShow":"9gad65",
"performHierarchyShow":"xuz8sh",
"powerSourceShow":"b0t6of",
"performDeptTypeShow":"xrwf6f",
"goveServiceCenterShow":"krkqp0",
"isConvenientCenterShow":"sx01nz",
"terminalHandle":"z1iu3j",
"isOnline":"ytokoi",
"isOnlinePayShow":"47rt3v",
"entrustmentDepartmen":"6gmxf5",
"jointInfoShow":"uanlhd",
"matterStatus":"gvfab0",
"numberLimit":2003,
"type":"pwss2a",
"baseCode":"ycpzns",
"implementCode":"4u8onm",
"implementBodyCode":"48wve7",
"operateItemCode":"nc1rqd",
"townshipName":"sinmqi",
"townshipCode":"wltzcc",
"villageName":"fmprx4",
"villageCode":"otaaor",
"operateTime":"ftzofr",
"operateSite":"is6ldw",
"cousultingShow":"l5pe4e",
"cousultingTelephoneShow":"bz53ay",
"superviseShow":"biasjt",
"sort":7978,
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 per_page|Integer|每页条数
 total|Integer|总条数
 last_page|Integer|总页数
 current_page|Integer|当前页
 data|array|结果集列表|数组
  id|Long|序号,主键,自增长
  siteId|Long|站点ID
  tid|String|从政务系统来的事项id
  tcode|String|从政务系统来的事项code
  tname|String|从政务系统来的事项name
  matterName|String|事项名称
  englishName|String|英语事项名
  matterNo|String|事项编号
  deptCode|String|部门编号
  appoveObjectShow|String|服务对象 (1.事业法人,2.社会组织法人,3.非法人企业,4.企业法人,5.自然人,6.其他组织)
  operatScopeShow|String|通办范围 (1.无,2.全国,3.全省,4.全市,5.全县,6.全镇[乡、街道],7.跨村[社区])
  appoveTimeLimitShow|String|办件类型(1.网络办件,2.行政审批一般件,3.综合窗口件)
  handleType|String|办理形式(1.窗口办理,2.网上办理)
  legalTimeLimitShow|String|法定办结时限
  legalEndExplain|String|法定时限办结说明
  promiseTimeLimitShow|String|承诺办结时限
  promiseEndExplain|String|承诺时限办结说明
  isChargesShow|String|是否收费(0.否,1.是)
  certificationLevelsShow|String|认证等级需求(1.实名认证,2.单次面签,3.每次面签)
  planTakeTime|Date|计划生效日期
  promiseTakeTime|Date|承诺生效日期
  specialProcedure|String|特别程序
  windowToTheSceneNum|Integer|窗口到现场次数
  isOnlineSubscribeShow|String|是否网上预约,窗口办理选(0.否,1.是)
  isExpressTakeShow|String|物流快递,窗口办理选(0.否,1.是)
  isProvinceAcquisitionShow|String|是否支持全省范围就近取件(0.否,1.是)
  isApplyProvinceShow|String|是否支持全省范围就近办理(0.否,1.是)
  mustSceneExplain|String|必须到现场原因
  onlineType|String|网办类型(1.原件预审,2.原件核验,3.全程网办)
  onlineToTheSceneNum|Integer|网办到现场次数
  onlineOperatDeep|String|网络办理深度(1.互联网咨询,2.互联网收件,3.互联网预审,4.互联网受理,5.互联网办理,6.互联网办理结果信息反馈,7.其他)
  isExpressTakeOnlineShow|String|物流快递,网上办理选(0.否,1.是)
  isDoorTakeShow|String|是否支持上门收取申请(0.否,1.是)
  onlineMustSceneExplain|String|网上必须到现场原因
  performDeptType|String|实施主体
  matterEdition|String|事项版本
  eventTypeShow|String|事项类型名称(1A.行政许可,1B.行政处罚,1C.行政强制,1D.行政征收,1G.行政给付,1I.行政检查,1F.行政确认,1H.行政奖励,1E.行政裁决,1Z.其他行政权力,2A.主动服务,2B.依申请服务,2C.咨询查询,3A.未归类事项)
  performHierarchyShow|String|行使层级名称(1.省级,2.市级,3.县级,4.镇[乡、街道],5.村[社区]级)
  powerSourceShow|String|权力来源(1.法定本级行使,2.上级下放,3.上级授权,4.同级授权,5.上级委托,6.同级委托)
  performDeptTypeShow|String|实施主体性质(1.法定机关,2.授权组织,3.受委托组织)
  goveServiceCenterShow|String|是否进驻中心(0.否,1.是)
  isConvenientCenterShow|String|是否纳入便民服务中心(0.否,1.是)
  terminalHandle|String|自助终端办理 (0.否,1.是)
  isOnline|String|是否网办 (0.否,1.是)
  isOnlinePayShow|String|支持网上支付(0.否,1.是)
  entrustmentDepartmen|String|委托部门(0.否,1.是)
  jointInfoShow|String|联办机构
  matterStatus|String|事项状态(0.停用,1.在用)
  numberLimit|Long|数量限制
  type|String|主题类型(1.法定机关,2.授权组织,3.受委托组织)
  baseCode|String|基本编码
  implementCode|String|实施编码
  implementBodyCode|String|实施主体编码
  operateItemCode|String|办理项编码
  townshipName|String|乡镇街道名称
  townshipCode|String|乡镇街道代码
  villageName|String|村居社区名称
  villageCode|String|村居社区代码
  operateTime|String|办理时间
  operateSite|String|办理地点
  cousultingShow|String|咨询方式
  cousultingTelephoneShow|String|咨询电话
  superviseShow|String|监督方式
  sort|Integer|排序
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
  mattertype|Integer|是否样表展示(0.否,1.是)
  dirListCode|String|目录清单编码
  runSystemShow|String|运行系统名称
  jointReviewInfoShow|String|联审信息
  doThingTypeShow|String|办理类型
  pubTimeShow|String|公示时限
  supervisoryTelephoneShow|String|投诉电话
  handleTimeShow|String|办公时间
  handlePlaceShow|String|办公地址
  daysTypeShow|String|节日类型
  tradeShow|String|行业
  eventSourceShow|String|事项来源
  applyresultTypeShow|String|审批结果类型
  typeOfReview|String|审查类型
  enforcement|String|实施机构
  serviceClassification|String|服务主题分类
  licenseNumber|String|许可数量
  number|Integer|办事者到办理现场次数
  inquire|String|办理查询
  handlingresultNames|String|办理结果名称
  sampleApprovalResults|String|审批结果样本
  performDeptName|String|实施主题
  html|String|html存储地址
  eventType|String|全债清单类型
  shardKey|Long|
  parson|Integer|个人1
  lengal|Integer|法人 1
  materialRemark|String|总材料说明
  codeurl|String|事项二维码
  applyObject|String|行使方式
  isUniteAccept|String|统一受理模式
  isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
dict|object|字典对象
 appoveObjectShow|object|字典属性对象,详见附录
 operatScopeShow|object|字典属性对象,详见附录
 appoveTimeLimitShow|object|字典属性对象,详见附录
 handleType|object|字典属性对象,详见附录
 isChargesShow|object|字典属性对象,详见附录
 certificationLevelsShow|object|字典属性对象,详见附录
 isOnlineSubscribeShow|object|字典属性对象,详见附录
 isExpressTakeShow|object|字典属性对象,详见附录
 isProvinceAcquisitionShow|object|字典属性对象,详见附录
 isApplyProvinceShow|object|字典属性对象,详见附录
 onlineType|object|字典属性对象,详见附录
 onlineOperatDeep|object|字典属性对象,详见附录
 isExpressTakeOnlineShow|object|字典属性对象,详见附录
 isDoorTakeShow|object|字典属性对象,详见附录
 eventTypeShow|object|字典属性对象,详见附录
 performHierarchyShow|object|字典属性对象,详见附录
 powerSourceShow|object|字典属性对象,详见附录
 performDeptTypeShow|object|字典属性对象,详见附录
 goveServiceCenterShow|object|字典属性对象,详见附录
 isConvenientCenterShow|object|字典属性对象,详见附录
 terminalHandle|object|字典属性对象,详见附录
 isOnline|object|字典属性对象,详见附录
 isOnlinePayShow|object|字典属性对象,详见附录
 entrustmentDepartmen|object|字典属性对象,详见附录
 matterStatus|object|字典属性对象,详见附录
 mattertype|object|字典属性对象,详见附录
 isRecommend|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查看基础事项
**请求URL:** sheet/matter/info
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看基础事项,返回实例详细信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|Long|是|ID
**请求样例:**
```
http://localhost/sheet/matter/info?id=549
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:-------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|序号,主键,自增长
 siteId|Long|站点ID
 tid|String|从政务系统来的事项id
 tcode|String|从政务系统来的事项code
 tname|String|从政务系统来的事项name
 matterName|String|事项名称
 englishName|String|英语事项名
 matterNo|String|事项编号
 deptCode|String|部门编号
 appoveObjectShow|String|服务对象 (1.事业法人,2.社会组织法人,3.非法人企业,4.企业法人,5.自然人,6.其他组织)
 operatScopeShow|String|通办范围 (1.无,2.全国,3.全省,4.全市,5.全县,6.全镇[乡、街道],7.跨村[社区])
 appoveTimeLimitShow|String|办件类型(1.网络办件,2.行政审批一般件,3.综合窗口件)
 handleType|String|办理形式(1.窗口办理,2.网上办理)
 legalTimeLimitShow|String|法定办结时限
 legalEndExplain|String|法定时限办结说明
 promiseTimeLimitShow|String|承诺办结时限
 promiseEndExplain|String|承诺时限办结说明
 isChargesShow|String|是否收费(0.否,1.是)
 certificationLevelsShow|String|认证等级需求(1.实名认证,2.单次面签,3.每次面签)
 planTakeTime|Date|计划生效日期
 promiseTakeTime|Date|承诺生效日期
 specialProcedure|String|特别程序
 windowToTheSceneNum|Integer|窗口到现场次数
 isOnlineSubscribeShow|String|是否网上预约,窗口办理选(0.否,1.是)
 isExpressTakeShow|String|物流快递,窗口办理选(0.否,1.是)
 isProvinceAcquisitionShow|String|是否支持全省范围就近取件(0.否,1.是)
 isApplyProvinceShow|String|是否支持全省范围就近办理(0.否,1.是)
 mustSceneExplain|String|必须到现场原因
 onlineType|String|网办类型(1.原件预审,2.原件核验,3.全程网办)
 onlineToTheSceneNum|Integer|网办到现场次数
 onlineOperatDeep|String|网络办理深度(1.互联网咨询,2.互联网收件,3.互联网预审,4.互联网受理,5.互联网办理,6.互联网办理结果信息反馈,7.其他)
 isExpressTakeOnlineShow|String|物流快递,网上办理选(0.否,1.是)
 isDoorTakeShow|String|是否支持上门收取申请(0.否,1.是)
 onlineMustSceneExplain|String|网上必须到现场原因
 performDeptType|String|实施主体
 matterEdition|String|事项版本
 eventTypeShow|String|事项类型名称(1A.行政许可,1B.行政处罚,1C.行政强制,1D.行政征收,1G.行政给付,1I.行政检查,1F.行政确认,1H.行政奖励,1E.行政裁决,1Z.其他行政权力,2A.主动服务,2B.依申请服务,2C.咨询查询,3A.未归类事项)
 performHierarchyShow|String|行使层级名称(1.省级,2.市级,3.县级,4.镇[乡、街道],5.村[社区]级)
 powerSourceShow|String|权力来源(1.法定本级行使,2.上级下放,3.上级授权,4.同级授权,5.上级委托,6.同级委托)
 performDeptTypeShow|String|实施主体性质(1.法定机关,2.授权组织,3.受委托组织)
 goveServiceCenterShow|String|是否进驻中心(0.否,1.是)
 isConvenientCenterShow|String|是否纳入便民服务中心(0.否,1.是)
 terminalHandle|String|自助终端办理 (0.否,1.是)
 isOnline|String|是否网办 (0.否,1.是)
 isOnlinePayShow|String|支持网上支付(0.否,1.是)
 entrustmentDepartmen|String|委托部门(0.否,1.是)
 jointInfoShow|String|联办机构
 matterStatus|String|事项状态(0.停用,1.在用)
 numberLimit|Long|数量限制
 type|String|主题类型(1.法定机关,2.授权组织,3.受委托组织)
 baseCode|String|基本编码
 implementCode|String|实施编码
 implementBodyCode|String|实施主体编码
 operateItemCode|String|办理项编码
 townshipName|String|乡镇街道名称
 townshipCode|String|乡镇街道代码
 villageName|String|村居社区名称
 villageCode|String|村居社区代码
 operateTime|String|办理时间
 operateSite|String|办理地点
 cousultingShow|String|咨询方式
 cousultingTelephoneShow|String|咨询电话
 superviseShow|String|监督方式
 sort|Integer|排序
 createTime|Date|创建时间
 createUserId|Long|创建用户
 updateTime|Date|修改时间
 mattertype|Integer|是否样表展示(0.否,1.是)
 dirListCode|String|目录清单编码
 runSystemShow|String|运行系统名称
 jointReviewInfoShow|String|联审信息
 doThingTypeShow|String|办理类型
 pubTimeShow|String|公示时限
 supervisoryTelephoneShow|String|投诉电话
 handleTimeShow|String|办公时间
 handlePlaceShow|String|办公地址
 daysTypeShow|String|节日类型
 tradeShow|String|行业
 eventSourceShow|String|事项来源
 applyresultTypeShow|String|审批结果类型
 typeOfReview|String|审查类型
 enforcement|String|实施机构
 serviceClassification|String|服务主题分类
 licenseNumber|String|许可数量
 number|Integer|办事者到办理现场次数
 inquire|String|办理查询
 handlingresultNames|String|办理结果名称
 sampleApprovalResults|String|审批结果样本
 performDeptName|String|实施主题
 html|String|html存储地址
 eventType|String|全债清单类型
 shardKey|Long|
 parson|Integer|个人1
 lengal|Integer|法人 1
 materialRemark|String|总材料说明
 codeurl|String|事项二维码
 applyObject|String|行使方式
 isUniteAccept|String|统一受理模式
 isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
dict|object|字典对象
 appoveObjectShow|object|字典属性对象,详见附录
 operatScopeShow|object|字典属性对象,详见附录
 appoveTimeLimitShow|object|字典属性对象,详见附录
 handleType|object|字典属性对象,详见附录
 isChargesShow|object|字典属性对象,详见附录
 certificationLevelsShow|object|字典属性对象,详见附录
 isOnlineSubscribeShow|object|字典属性对象,详见附录
 isExpressTakeShow|object|字典属性对象,详见附录
 isProvinceAcquisitionShow|object|字典属性对象,详见附录
 isApplyProvinceShow|object|字典属性对象,详见附录
 onlineType|object|字典属性对象,详见附录
 onlineOperatDeep|object|字典属性对象,详见附录
 isExpressTakeOnlineShow|object|字典属性对象,详见附录
 isDoorTakeShow|object|字典属性对象,详见附录
 eventTypeShow|object|字典属性对象,详见附录
 performHierarchyShow|object|字典属性对象,详见附录
 powerSourceShow|object|字典属性对象,详见附录
 performDeptTypeShow|object|字典属性对象,详见附录
 goveServiceCenterShow|object|字典属性对象,详见附录
 isConvenientCenterShow|object|字典属性对象,详见附录
 terminalHandle|object|字典属性对象,详见附录
 isOnline|object|字典属性对象,详见附录
 isOnlinePayShow|object|字典属性对象,详见附录
 entrustmentDepartmen|object|字典属性对象,详见附录
 matterStatus|object|字典属性对象,详见附录
 mattertype|object|字典属性对象,详见附录
 isRecommend|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code": 1,
"data": {
"id":5478,
"siteId":8469,
"tid":"74ikfx",
"tcode":"lj3sme",
"tname":"1l8u9a",
"matterName":"tpy84v",
"englishName":"6ha6ls",
"matterNo":"ti4b28",
"deptCode":"zm6n5y",
"appoveObjectShow":"aioc3i",
"operatScopeShow":"key8nt",
"appoveTimeLimitShow":"ll2v73",
"handleType":"dm7caw",
"legalTimeLimitShow":"579ouh",
"legalEndExplain":"4hpz8x",
"promiseTimeLimitShow":"61yvzj",
"promiseEndExplain":"l8wp3g",
"isChargesShow":"gatz5v",
"certificationLevelsShow":"9n3iiz",
"planTakeTime":"2023-03-22",
"promiseTakeTime":"2023-03-22",
"specialProcedure":"pagdmd",
"windowToTheSceneNum":1556,
"isOnlineSubscribeShow":"jznhxq",
"isExpressTakeShow":"hfzd52",
"isProvinceAcquisitionShow":"zc3pqb",
"isApplyProvinceShow":"ashzgt",
"mustSceneExplain":"xqjgej",
"onlineType":"jt9uoo",
"onlineToTheSceneNum":8086,
"onlineOperatDeep":"ig8uki",
"isExpressTakeOnlineShow":"5wbvz8",
"isDoorTakeShow":"ojy0ok",
"onlineMustSceneExplain":"dyesjl",
"performDeptType":"yi6mkv",
"matterEdition":"o63079",
"eventTypeShow":"w4dppd",
"performHierarchyShow":"70etp4",
"powerSourceShow":"ygcb5r",
"performDeptTypeShow":"oig925",
"goveServiceCenterShow":"q3l63x",
"isConvenientCenterShow":"dp88ck",
"terminalHandle":"48judd",
"isOnline":"2p6eio",
"isOnlinePayShow":"v9c6yh",
"entrustmentDepartmen":"l0bt3p",
"jointInfoShow":"4lt1o2",
"matterStatus":"umnu8r",
"numberLimit":5919,
"type":"3j1hpo",
"baseCode":"qg2t0b",
"implementCode":"72r27b",
"implementBodyCode":"6l6yx4",
"operateItemCode":"1zx31g",
"townshipName":"tgvzlq",
"townshipCode":"s0flpg",
"villageName":"pc0o3k",
"villageCode":"coi6gf",
"operateTime":"b1fbyc",
"operateSite":"tny3a3",
"cousultingShow":"jidylm",
"cousultingTelephoneShow":"2ldwq2",
"superviseShow":"4acs51",
"sort":5311,
"createTime":"2023-03-22",
"createUserId":7182,
"updateTime":"2023-03-22",
"mattertype":2664,
"dirListCode":"rrz1rg",
"runSystemShow":"gpswq1",
"jointReviewInfoShow":"r23wjt",
"doThingTypeShow":"uuad5g",
"pubTimeShow":"p6z5wa",
"supervisoryTelephoneShow":"5rrbny",
"handleTimeShow":"dddy0a",
"handlePlaceShow":"zy6gm7",
"daysTypeShow":"dctb2o",
"tradeShow":"48oi5y",
"eventSourceShow":"u3uygf",
"applyresultTypeShow":"sk757l",
"typeOfReview":"y888y9",
"enforcement":"vncdpx",
"serviceClassification":"rpteuw",
"licenseNumber":"i67zhf",
"number":3878,
"inquire":"hvd35t",
"handlingresultNames":"u394hn",
"sampleApprovalResults":"1ch8pp",
"performDeptName":"2x1a95",
"html":"txny4m",
"eventType":"l60h8u",
"shardKey":776,
"parson":7694,
"lengal":2952,
"materialRemark":"lnegb5",
"codeurl":"p6jb9h",
"applyObject":"4qyxgu",
"isUniteAccept":"u97lvo",
"isRecommend":8321
}
}
```
### 保存更新基础事项
**请求URL:** sheet/matter/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新基础事项:id为空时为新增保存,否则为更新提交
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
siteId|Long|否|站点ID
tid|String|否|从政务系统来的事项id
tcode|String|否|从政务系统来的事项code
tname|String|否|从政务系统来的事项name
matterName|String|否|事项名称
englishName|String|否|英语事项名
matterNo|String|否|事项编号
deptCode|String|否|部门编号
appoveObjectShow|String|否|服务对象 (1.事业法人,2.社会组织法人,3.非法人企业,4.企业法人,5.自然人,6.其他组织)
operatScopeShow|String|否|通办范围 (1.无,2.全国,3.全省,4.全市,5.全县,6.全镇[乡、街道],7.跨村[社区])
appoveTimeLimitShow|String|否|办件类型(1.网络办件,2.行政审批一般件,3.综合窗口件)
handleType|String|否|办理形式(1.窗口办理,2.网上办理)
legalTimeLimitShow|String|否|法定办结时限
legalEndExplain|String|否|法定时限办结说明
promiseTimeLimitShow|String|否|承诺办结时限
promiseEndExplain|String|否|承诺时限办结说明
isChargesShow|String|否|是否收费(0.否,1.是)
certificationLevelsShow|String|否|认证等级需求(1.实名认证,2.单次面签,3.每次面签)
planTakeTime|Date|否|计划生效日期
promiseTakeTime|Date|否|承诺生效日期
specialProcedure|String|否|特别程序
windowToTheSceneNum|Integer|否|窗口到现场次数
isOnlineSubscribeShow|String|否|是否网上预约,窗口办理选(0.否,1.是)
isExpressTakeShow|String|否|物流快递,窗口办理选(0.否,1.是)
isProvinceAcquisitionShow|String|否|是否支持全省范围就近取件(0.否,1.是)
isApplyProvinceShow|String|否|是否支持全省范围就近办理(0.否,1.是)
mustSceneExplain|String|否|必须到现场原因
onlineType|String|否|网办类型(1.原件预审,2.原件核验,3.全程网办)
onlineToTheSceneNum|Integer|否|网办到现场次数
onlineOperatDeep|String|否|网络办理深度(1.互联网咨询,2.互联网收件,3.互联网预审,4.互联网受理,5.互联网办理,6.互联网办理结果信息反馈,7.其他)
isExpressTakeOnlineShow|String|否|物流快递,网上办理选(0.否,1.是)
isDoorTakeShow|String|否|是否支持上门收取申请(0.否,1.是)
onlineMustSceneExplain|String|否|网上必须到现场原因
performDeptType|String|否|实施主体
matterEdition|String|否|事项版本
eventTypeShow|String|否|事项类型名称(1A.行政许可,1B.行政处罚,1C.行政强制,1D.行政征收,1G.行政给付,1I.行政检查,1F.行政确认,1H.行政奖励,1E.行政裁决,1Z.其他行政权力,2A.主动服务,2B.依申请服务,2C.咨询查询,3A.未归类事项)
performHierarchyShow|String|否|行使层级名称(1.省级,2.市级,3.县级,4.镇[乡、街道],5.村[社区]级)
powerSourceShow|String|否|权力来源(1.法定本级行使,2.上级下放,3.上级授权,4.同级授权,5.上级委托,6.同级委托)
performDeptTypeShow|String|否|实施主体性质(1.法定机关,2.授权组织,3.受委托组织)
goveServiceCenterShow|String|否|是否进驻中心(0.否,1.是)
isConvenientCenterShow|String|否|是否纳入便民服务中心(0.否,1.是)
terminalHandle|String|否|自助终端办理 (0.否,1.是)
isOnline|String|否|是否网办 (0.否,1.是)
isOnlinePayShow|String|否|支持网上支付(0.否,1.是)
entrustmentDepartmen|String|否|委托部门(0.否,1.是)
jointInfoShow|String|否|联办机构
matterStatus|String|否|事项状态(0.停用,1.在用)
numberLimit|Long|否|数量限制
type|String|否|主题类型(1.法定机关,2.授权组织,3.受委托组织)
baseCode|String|否|基本编码
implementCode|String|否|实施编码
implementBodyCode|String|否|实施主体编码
operateItemCode|String|否|办理项编码
townshipName|String|否|乡镇街道名称
townshipCode|String|否|乡镇街道代码
villageName|String|否|村居社区名称
villageCode|String|否|村居社区代码
operateTime|String|否|办理时间
operateSite|String|否|办理地点
cousultingShow|String|否|咨询方式
cousultingTelephoneShow|String|否|咨询电话
superviseShow|String|否|监督方式
sort|Integer|否|排序
mattertype|Integer|否|是否样表展示(0.否,1.是)
dirListCode|String|否|目录清单编码
runSystemShow|String|否|运行系统名称
jointReviewInfoShow|String|否|联审信息
doThingTypeShow|String|否|办理类型
pubTimeShow|String|否|公示时限
supervisoryTelephoneShow|String|否|投诉电话
handleTimeShow|String|否|办公时间
handlePlaceShow|String|否|办公地址
daysTypeShow|String|否|节日类型
tradeShow|String|否|行业
eventSourceShow|String|否|事项来源
applyresultTypeShow|String|否|审批结果类型
typeOfReview|String|否|审查类型
enforcement|String|否|实施机构
serviceClassification|String|否|服务主题分类
licenseNumber|String|否|许可数量
number|Integer|否|办事者到办理现场次数
inquire|String|否|办理查询
handlingresultNames|String|否|办理结果名称
sampleApprovalResults|String|否|审批结果样本
performDeptName|String|否|实施主题
html|String|否|html存储地址
eventType|String|否|全债清单类型
shardKey|Long|否|
parson|Integer|否|个人1
lengal|Integer|否|法人 1
materialRemark|String|否|总材料说明
codeurl|String|否|事项二维码
applyObject|String|否|行使方式
isUniteAccept|String|否|统一受理模式
isRecommend|Integer|否|是否推荐(0.未推荐,1.推荐)
**请求样例:**
```
{
"siteId":8739,
"tid":"i6pwqf",
"tcode":"i44ft4",
"tname":"0s8u42",
"matterName":"263a4m",
"englishName":"jptncs",
"matterNo":"oxbw8y",
"deptCode":"5afz5a",
"appoveObjectShow":"sbpcd8",
"operatScopeShow":"h45svt",
"appoveTimeLimitShow":"lts7mz",
"handleType":"9upjcg",
"legalTimeLimitShow":"rrjlq8",
"legalEndExplain":"hdxvib",
"promiseTimeLimitShow":"gk0xoe",
"promiseEndExplain":"dt8oja",
"isChargesShow":"7218h7",
"certificationLevelsShow":"s3qqdm",
"planTakeTime":"2023-03-22",
"promiseTakeTime":"2023-03-22",
"specialProcedure":"x7pjme",
"windowToTheSceneNum":6349,
"isOnlineSubscribeShow":"lb8n83",
"isExpressTakeShow":"3kw2id",
"isProvinceAcquisitionShow":"7cetr4",
"isApplyProvinceShow":"9u3rbn",
"mustSceneExplain":"w7c4mv",
"onlineType":"c55wu4",
"onlineToTheSceneNum":1389,
"onlineOperatDeep":"feq5km",
"isExpressTakeOnlineShow":"g1ad6l",
"isDoorTakeShow":"axyygc",
"onlineMustSceneExplain":"fjn4lv",
"performDeptType":"e6jzk8",
"matterEdition":"mhbhk1",
"eventTypeShow":"84x4qv",
"performHierarchyShow":"lteyqp",
"powerSourceShow":"r9ewbw",
"performDeptTypeShow":"3mf3w4",
"goveServiceCenterShow":"pzpjie",
"isConvenientCenterShow":"llbitw",
"terminalHandle":"o7odej",
"isOnline":"i2uq2v",
"isOnlinePayShow":"3qo0ds",
"entrustmentDepartmen":"32lqcb",
"jointInfoShow":"gy6ck5",
"matterStatus":"w5sjlx",
"numberLimit":9013,
"type":"azypr4",
"baseCode":"q7gagn",
"implementCode":"hl0qxu",
"implementBodyCode":"e19zx8",
"operateItemCode":"gd1c7b",
"townshipName":"4zl0yq",
"townshipCode":"wk2ybb",
"villageName":"nrx9f4",
"villageCode":"qjzrpm",
"operateTime":"diz4yg",
"operateSite":"eo7gpj",
"cousultingShow":"t1uq5e",
"cousultingTelephoneShow":"c8i56r",
"superviseShow":"fcifra",
"sort":2467,
"mattertype":4405,
"dirListCode":"nxrex0",
"runSystemShow":"ay4qg7",
"jointReviewInfoShow":"bsaz0d",
"doThingTypeShow":"uwon40",
"pubTimeShow":"qebpov",
"supervisoryTelephoneShow":"mp0wiv",
"handleTimeShow":"ntsq5y",
"handlePlaceShow":"jg4xet",
"daysTypeShow":"2ezc38",
"tradeShow":"yacrrc",
"eventSourceShow":"ufp75f",
"applyresultTypeShow":"5tsgk3",
"typeOfReview":"2sr04z",
"enforcement":"s8w45f",
"serviceClassification":"tejlt4",
"licenseNumber":"509sma",
"number":1188,
"inquire":"fvq9sc",
"handlingresultNames":"9hn0wv",
"sampleApprovalResults":"flmlsy",
"performDeptName":"xxa1xr",
"html":"7lvigi",
"eventType":"1bjarv",
"shardKey":99,
"parson":6881,
"lengal":3344,
"materialRemark":"michel",
"codeurl":"e4j1uj",
"applyObject":"hzqxgv",
"isUniteAccept":"zpiq4p",
"isRecommend":41
}
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|保存后主键id
 entity|object|保存更新实体
  id|Long|序号,主键,自增长
  siteId|Long|站点ID
  tid|String|从政务系统来的事项id
  tcode|String|从政务系统来的事项code
  tname|String|从政务系统来的事项name
  matterName|String|事项名称
  englishName|String|英语事项名
  matterNo|String|事项编号
  deptCode|String|部门编号
  appoveObjectShow|String|服务对象 (1.事业法人,2.社会组织法人,3.非法人企业,4.企业法人,5.自然人,6.其他组织)
  operatScopeShow|String|通办范围 (1.无,2.全国,3.全省,4.全市,5.全县,6.全镇[乡、街道],7.跨村[社区])
  appoveTimeLimitShow|String|办件类型(1.网络办件,2.行政审批一般件,3.综合窗口件)
  handleType|String|办理形式(1.窗口办理,2.网上办理)
  legalTimeLimitShow|String|法定办结时限
  legalEndExplain|String|法定时限办结说明
  promiseTimeLimitShow|String|承诺办结时限
  promiseEndExplain|String|承诺时限办结说明
  isChargesShow|String|是否收费(0.否,1.是)
  certificationLevelsShow|String|认证等级需求(1.实名认证,2.单次面签,3.每次面签)
  planTakeTime|Date|计划生效日期
  promiseTakeTime|Date|承诺生效日期
  specialProcedure|String|特别程序
  windowToTheSceneNum|Integer|窗口到现场次数
  isOnlineSubscribeShow|String|是否网上预约,窗口办理选(0.否,1.是)
  isExpressTakeShow|String|物流快递,窗口办理选(0.否,1.是)
  isProvinceAcquisitionShow|String|是否支持全省范围就近取件(0.否,1.是)
  isApplyProvinceShow|String|是否支持全省范围就近办理(0.否,1.是)
  mustSceneExplain|String|必须到现场原因
  onlineType|String|网办类型(1.原件预审,2.原件核验,3.全程网办)
  onlineToTheSceneNum|Integer|网办到现场次数
  onlineOperatDeep|String|网络办理深度(1.互联网咨询,2.互联网收件,3.互联网预审,4.互联网受理,5.互联网办理,6.互联网办理结果信息反馈,7.其他)
  isExpressTakeOnlineShow|String|物流快递,网上办理选(0.否,1.是)
  isDoorTakeShow|String|是否支持上门收取申请(0.否,1.是)
  onlineMustSceneExplain|String|网上必须到现场原因
  performDeptType|String|实施主体
  matterEdition|String|事项版本
  eventTypeShow|String|事项类型名称(1A.行政许可,1B.行政处罚,1C.行政强制,1D.行政征收,1G.行政给付,1I.行政检查,1F.行政确认,1H.行政奖励,1E.行政裁决,1Z.其他行政权力,2A.主动服务,2B.依申请服务,2C.咨询查询,3A.未归类事项)
  performHierarchyShow|String|行使层级名称(1.省级,2.市级,3.县级,4.镇[乡、街道],5.村[社区]级)
  powerSourceShow|String|权力来源(1.法定本级行使,2.上级下放,3.上级授权,4.同级授权,5.上级委托,6.同级委托)
  performDeptTypeShow|String|实施主体性质(1.法定机关,2.授权组织,3.受委托组织)
  goveServiceCenterShow|String|是否进驻中心(0.否,1.是)
  isConvenientCenterShow|String|是否纳入便民服务中心(0.否,1.是)
  terminalHandle|String|自助终端办理 (0.否,1.是)
  isOnline|String|是否网办 (0.否,1.是)
  isOnlinePayShow|String|支持网上支付(0.否,1.是)
  entrustmentDepartmen|String|委托部门(0.否,1.是)
  jointInfoShow|String|联办机构
  matterStatus|String|事项状态(0.停用,1.在用)
  numberLimit|Long|数量限制
  type|String|主题类型(1.法定机关,2.授权组织,3.受委托组织)
  baseCode|String|基本编码
  implementCode|String|实施编码
  implementBodyCode|String|实施主体编码
  operateItemCode|String|办理项编码
  townshipName|String|乡镇街道名称
  townshipCode|String|乡镇街道代码
  villageName|String|村居社区名称
  villageCode|String|村居社区代码
  operateTime|String|办理时间
  operateSite|String|办理地点
  cousultingShow|String|咨询方式
  cousultingTelephoneShow|String|咨询电话
  superviseShow|String|监督方式
  sort|Integer|排序
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
  mattertype|Integer|是否样表展示(0.否,1.是)
  dirListCode|String|目录清单编码
  runSystemShow|String|运行系统名称
  jointReviewInfoShow|String|联审信息
  doThingTypeShow|String|办理类型
  pubTimeShow|String|公示时限
  supervisoryTelephoneShow|String|投诉电话
  handleTimeShow|String|办公时间
  handlePlaceShow|String|办公地址
  daysTypeShow|String|节日类型
  tradeShow|String|行业
  eventSourceShow|String|事项来源
  applyresultTypeShow|String|审批结果类型
  typeOfReview|String|审查类型
  enforcement|String|实施机构
  serviceClassification|String|服务主题分类
  licenseNumber|String|许可数量
  number|Integer|办事者到办理现场次数
  inquire|String|办理查询
  handlingresultNames|String|办理结果名称
  sampleApprovalResults|String|审批结果样本
  performDeptName|String|实施主题
  html|String|html存储地址
  eventType|String|全债清单类型
  shardKey|Long|
  parson|Integer|个人1
  lengal|Integer|法人 1
  materialRemark|String|总材料说明
  codeurl|String|事项二维码
  applyObject|String|行使方式
  isUniteAccept|String|统一受理模式
  isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
**响应消息样例:**
```
{
"msg":"新增模块成功",
"code":1,
"data":{}
}
}
```
### 删除基础事项
**请求URL:** sheet/matter/delete
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 删除基础事项
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|String|是|数组
**请求样例:**
```
http://localhost:8080/sheet/matter/delete?id=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
## 事项申请材料业务
### 查询事项申请材料业务列表
**请求URL:** matter/datum/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询事项申请材料业务
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
**请求样例:**
```
{
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 per_page|Integer|每页条数
 total|Integer|总条数
 last_page|Integer|总页数
 current_page|Integer|当前页
 data|array|结果集列表|数组
  id|Long|主键,自增长
  matterId|Long|事项matter id
  siteId|Long|站点ID
  deptId|Long|部门ID
  deptCode|String|部门编号
  deptName|String|部门名称
  materialName|String|材料名
  materiaFullName|String|材料全名
  source|Integer|事项来源(0.政务网,1.自定义)
  isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
  total|Integer|填单次数
  sort|Integer|排序
  sampleName|String|样表名称
  samplePath|String|样表地址
  preViewPath|String|样表预览地址
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
dict|object|字典对象
 source|object|字典属性对象,详见附录
 isRecommend|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查看事项申请材料业务
**请求URL:** matter/datum/info
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看事项申请材料业务,返回实例详细信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|Long|是|ID
**请求样例:**
```
http://localhost/matter/datum/info?id=549
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:-------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|主键,自增长
 matterId|Long|事项matter id
 siteId|Long|站点ID
 deptId|Long|部门ID
 deptCode|String|部门编号
 deptName|String|部门名称
 materialName|String|材料名
 materiaFullName|String|材料全名
 source|Integer|事项来源(0.政务网,1.自定义)
 isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
 total|Integer|填单次数
 sort|Integer|排序
 sampleName|String|样表名称
 samplePath|String|样表地址
 preViewPath|String|样表预览地址
 createTime|Date|创建时间
 createUserId|Long|创建用户
 updateTime|Date|修改时间
dict|object|字典对象
 source|object|字典属性对象,详见附录
 isRecommend|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code": 1,
"data": {
"id":7818,
"matterId":6369,
"siteId":861,
"deptId":9558,
"deptCode":"dvpof5",
"deptName":"b31mv0",
"materialName":"rpj5h6",
"materiaFullName":"vfowmr",
"source":5979,
"isRecommend":8805,
"total":1174,
"sort":1763,
"sampleName":"bkmxob",
"samplePath":"n28d5l",
"preViewPath":"7aiaro",
"createTime":"2023-03-22",
"createUserId":7258,
"updateTime":"2023-03-22"
}
}
```
### 保存更新事项申请材料业务
**请求URL:** matter/datum/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新事项申请材料业务:id为空时为新增保存,否则为更新提交
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
matterId|Long|否|事项matter id
siteId|Long|否|站点ID
deptId|Long|否|部门ID
deptCode|String|否|部门编号
deptName|String|否|部门名称
materialName|String|是|材料名
materiaFullName|String|是|材料全名
source|Integer|否|事项来源(0.政务网,1.自定义)
isRecommend|Integer|否|是否推荐(0.未推荐,1.推荐)
total|Integer|否|填单次数
sort|Integer|否|排序
sampleName|String|否|样表名称
samplePath|String|否|样表地址
preViewPath|String|否|样表预览地址
**请求样例:**
```
{
"matterId":3548,
"siteId":7367,
"deptId":5616,
"deptCode":"tv7jol",
"deptName":"1kw7vy",
"materialName":"dqdbn6",
"materiaFullName":"ygu9lt",
"source":4643,
"isRecommend":1342,
"total":938,
"sort":5594,
"sampleName":"xst62d",
"samplePath":"8szgur",
"preViewPath":"s5j2n7",
}
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|保存后主键id
 entity|object|保存更新实体
  id|Long|主键,自增长
  matterId|Long|事项matter id
  siteId|Long|站点ID
  deptId|Long|部门ID
  deptCode|String|部门编号
  deptName|String|部门名称
  materialName|String|材料名
  materiaFullName|String|材料全名
  source|Integer|事项来源(0.政务网,1.自定义)
  isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
  total|Integer|填单次数
  sort|Integer|排序
  sampleName|String|样表名称
  samplePath|String|样表地址
  preViewPath|String|样表预览地址
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
**响应消息样例:**
```
{
"msg":"新增模块成功",
"code":1,
"data":{}
}
}
```
### 删除事项申请材料业务
**请求URL:** matter/datum/delete
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 删除事项申请材料业务
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|String|是|数组
**请求样例:**
```
http://localhost:8080/matter/datum/delete?id=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
## 事项材料公共库
### 查询事项材料公共库列表
**请求URL:** pubdatum/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询事项材料公共库
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
**请求样例:**
```
{
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 per_page|Integer|每页条数
 total|Integer|总条数
 last_page|Integer|总页数
 current_page|Integer|当前页
 data|array|结果集列表|数组
  id|Long|主键,自增长
  matterId|Long|事项matter id
  deptId|Long|部门ID
  deptCode|String|部门编号
  deptName|String|部门名称
  materialName|String|材料名
  materiaFullName|String|材料全名
  total|Integer|填单次数
  sort|Integer|排序
  sampleName|String|样表名称
  samplePath|String|样表地址
  preViewPath|String|样表预览地址
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
dict|object|字典对象
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查看事项材料公共库
**请求URL:** pubdatum/info
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看事项材料公共库,返回实例详细信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|Long|是|ID
**请求样例:**
```
http://localhost/pubdatum/info?id=549
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:-------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|主键,自增长
 matterId|Long|事项matter id
 deptId|Long|部门ID
 deptCode|String|部门编号
 deptName|String|部门名称
 materialName|String|材料名
 materiaFullName|String|材料全名
 total|Integer|填单次数
 sort|Integer|排序
 sampleName|String|样表名称
 samplePath|String|样表地址
 preViewPath|String|样表预览地址
 createTime|Date|创建时间
 createUserId|Long|创建用户
 updateTime|Date|修改时间
dict|object|字典对象
**响应消息样例:**
```
{
"code": 1,
"data": {
"id":1827,
"matterId":7923,
"deptId":8710,
"deptCode":"v8hptg",
"deptName":"6c9u8u",
"materialName":"kgzayd",
"materiaFullName":"ak7c6k",
"total":6802,
"sort":5549,
"sampleName":"p6qtl3",
"samplePath":"mrwpi9",
"preViewPath":"3eaogk",
"createTime":"2023-03-22",
"createUserId":654,
"updateTime":"2023-03-22"
}
}
```
### 保存更新事项材料公共库
**请求URL:** pubdatum/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新事项材料公共库:id为空时为新增保存,否则为更新提交
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
matterId|Long|否|事项matter id
deptId|Long|否|部门ID
deptCode|String|否|部门编号
deptName|String|否|部门名称
materialName|String|是|材料名
materiaFullName|String|是|材料全名
total|Integer|否|填单次数
sort|Integer|否|排序
sampleName|String|否|样表名称
samplePath|String|否|样表地址
preViewPath|String|否|样表预览地址
**请求样例:**
```
{
"matterId":6762,
"deptId":2880,
"deptCode":"whvj8g",
"deptName":"d0tdat",
"materialName":"er4ip9",
"materiaFullName":"n7wy4i",
"total":8689,
"sort":1201,
"sampleName":"zp1ncq",
"samplePath":"hxr678",
"preViewPath":"epa6xs",
}
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|保存后主键id
 entity|object|保存更新实体
  id|Long|主键,自增长
  matterId|Long|事项matter id
  deptId|Long|部门ID
  deptCode|String|部门编号
  deptName|String|部门名称
  materialName|String|材料名
  materiaFullName|String|材料全名
  total|Integer|填单次数
  sort|Integer|排序
  sampleName|String|样表名称
  samplePath|String|样表地址
  preViewPath|String|样表预览地址
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
**响应消息样例:**
```
{
"msg":"新增模块成功",
"code":1,
"data":{}
}
}
```
### 删除事项材料公共库
**请求URL:** pubdatum/delete
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 删除事项材料公共库
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|String|是|数组
**请求样例:**
```
http://localhost:8080/pubdatum/delete?id=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
## 热门词汇业务
### 查询热门词汇业务列表
**请求URL:** hotword/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询热门词汇业务
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
**请求样例:**
```
{
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 per_page|Integer|每页条数
 total|Integer|总条数
 last_page|Integer|总页数
 current_page|Integer|当前页
 data|array|结果集列表|数组
  id|Long|主键,自增长
  siteId|Long|站点ID
  hotwords|String|热门词汇
  printDisplay|Integer|空白打印材料展示数量
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
dict|object|字典对象
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查看热门词汇业务
**请求URL:** hotword/info
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看热门词汇业务,返回实例详细信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|Long|是|ID
**请求样例:**
```
http://localhost/hotword/info?id=549
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:-------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|主键,自增长
 siteId|Long|站点ID
 hotwords|String|热门词汇
 printDisplay|Integer|空白打印材料展示数量
 createTime|Date|创建时间
 createUserId|Long|创建用户
 updateTime|Date|修改时间
dict|object|字典对象
**响应消息样例:**
```
{
"code": 1,
"data": {
"id":9520,
"siteId":8201,
"hotwords":"wfwliq",
"printDisplay":1307,
"createTime":"2023-03-22",
"createUserId":5375,
"updateTime":"2023-03-22"
}
}
```
### 保存更新热门词汇业务
**请求URL:** hotword/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新热门词汇业务:id为空时为新增保存,否则为更新提交
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
siteId|Long|否|站点ID
hotwords|String|否|热门词汇
printDisplay|Integer|否|空白打印材料展示数量
**请求样例:**
```
{
"siteId":3245,
"hotwords":"l9t8ei",
"printDisplay":3635,
}
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|保存后主键id
 entity|object|保存更新实体
  id|Long|主键,自增长
  siteId|Long|站点ID
  hotwords|String|热门词汇
  printDisplay|Integer|空白打印材料展示数量
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
**响应消息样例:**
```
{
"msg":"新增模块成功",
"code":1,
"data":{}
}
}
```
### 删除热门词汇业务
**请求URL:** hotword/delete
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 删除热门词汇业务
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|String|是|数组
**请求样例:**
```
http://localhost:8080/hotword/delete?id=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
## 样报服务
### 查询样报服务列表
**请求URL:** sample/bill/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询样报服务
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
siteId|Long|否|站点ID
matterId|Long|否|事项id
matterName|String|否|事项名称,字段前后添加%%模糊查询
matterFullName|String|否|事项全称,字段前后添加%%模糊查询
materialName|String|否|材料名称,字段前后添加%%模糊查询
materialFullName|String|否|材料全称,字段前后添加%%模糊查询
deviceCode|String|否|设备编码,字段前后添加%%模糊查询
deviceName|String|否|设备名称,字段前后添加%%模糊查询
operTime|Date|否|操作时间
**请求样例:**
```
{
"siteId":5009,
"matterId":7182,
"matterName":"lrjvn3",
"matterFullName":"0nzg0r",
"materialName":"wjeggw",
"materialFullName":"9m04dj",
"deviceCode":"lkxw3y",
"deviceName":"9uv9r6",
"operTime":"2023-03-22",
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 per_page|Integer|每页条数
 total|Integer|总条数
 last_page|Integer|总页数
 current_page|Integer|当前页
 data|array|结果集列表|数组
  id|Long|主键,自增长
  siteId|Long|站点ID
  matterId|Long|事项id
  matterName|String|事项名称
  matterFullName|String|事项全称
  materialName|String|材料名称
  materialFullName|String|材料全称
  deviceCode|String|设备编码
  deviceName|String|设备名称
  operTime|Date|操作时间
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
dict|object|字典对象
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查看样报服务
**请求URL:** sample/bill/info
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看样报服务,返回实例详细信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|Long|是|ID
**请求样例:**
```
http://localhost/sample/bill/info?id=549
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:-------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|主键,自增长
 siteId|Long|站点ID
 matterId|Long|事项id
 matterName|String|事项名称
 matterFullName|String|事项全称
 materialName|String|材料名称
 materialFullName|String|材料全称
 deviceCode|String|设备编码
 deviceName|String|设备名称
 operTime|Date|操作时间
 createTime|Date|创建时间
 createUserId|Long|创建用户
 updateTime|Date|修改时间
dict|object|字典对象
**响应消息样例:**
```
{
"code": 1,
"data": {
"id":9038,
"siteId":9968,
"matterId":5339,
"matterName":"6ow01l",
"matterFullName":"2x5bs9",
"materialName":"9d6x5j",
"materialFullName":"5hk4j6",
"deviceCode":"43uam8",
"deviceName":"3r7bpg",
"operTime":"2023-03-22",
"createTime":"2023-03-22",
"createUserId":7270,
"updateTime":"2023-03-22"
}
}
```
### 保存更新样报服务
**请求URL:** sample/bill/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新样报服务:id为空时为新增保存,否则为更新提交
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
siteId|Long|否|站点ID
matterId|Long|否|事项id
matterName|String|否|事项名称
matterFullName|String|否|事项全称
materialName|String|否|材料名称
materialFullName|String|否|材料全称
deviceCode|String|否|设备编码
deviceName|String|否|设备名称
operTime|Date|否|操作时间
**请求样例:**
```
{
"siteId":3215,
"matterId":127,
"matterName":"v5lg09",
"matterFullName":"9xcban",
"materialName":"cpjx20",
"materialFullName":"kcfvbl",
"deviceCode":"waj7qt",
"deviceName":"t89ktc",
"operTime":"2023-03-22",
}
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|保存后主键id
 entity|object|保存更新实体
  id|Long|主键,自增长
  siteId|Long|站点ID
  matterId|Long|事项id
  matterName|String|事项名称
  matterFullName|String|事项全称
  materialName|String|材料名称
  materialFullName|String|材料全称
  deviceCode|String|设备编码
  deviceName|String|设备名称
  operTime|Date|操作时间
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
**响应消息样例:**
```
{
"msg":"新增模块成功",
"code":1,
"data":{}
}
}
```
### 删除样报服务
**请求URL:** sample/bill/delete
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 删除样报服务
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|String|是|数组
**请求样例:**
```
http://localhost:8080/sample/bill/delete?id=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
## 设备
### 查询设备列表
......@@ -239,11 +2413,11 @@ deviceStatus|Integer|否|设备状态 (0.未激活,1.离线,2.在线)
**请求样例:**
```
{
"deviceId":7528,
"deviceName":"n5vff2",
"deviceCode":"gbj6lp",
"deviceSrc":7385,
"deviceStatus":5814,
"deviceId":7996,
"deviceName":"w7i721",
"deviceCode":"vzxi39",
"deviceSrc":9076,
"deviceStatus":472,
"page":1,
"size":10
}
......@@ -356,84 +2530,258 @@ dict|object|字典对象
{
"code": 1,
"data": {
"id":5762,
"deviceId":1697,
"deviceName":"xrwy7w",
"deviceCode":"5du8to",
"deviceMac":"bmyk3v",
"siteId":771,
"siteCode":"esle9q",
"siteName":"e78cd3",
"productCode":"a75736",
"productName":"1wi60t",
"deviceSrc":1071,
"lon":"pt1b5u",
"lati":"rc64he",
"leadingOfficial":"4kevrv",
"leadingOfficialTelephone":"qkyrbd",
"deviceStatus":8041,
"deviceRemark":"lae2sx",
"source":9349,
"createUserId":473,
"createTime":"2023-02-25",
"updateUserId":178,
"updateTime":"2023-02-25"
"id":3357,
"deviceId":2622,
"deviceName":"1v6r99",
"deviceCode":"s3br4w",
"deviceMac":"oap4s1",
"siteId":2125,
"siteCode":"t1tfp1",
"siteName":"kkueo6",
"productCode":"7kntag",
"productName":"sf0ard",
"deviceSrc":9602,
"lon":"k5712k",
"lati":"brlsiw",
"leadingOfficial":"s5xevk",
"leadingOfficialTelephone":"01pmrr",
"deviceStatus":7130,
"deviceRemark":"aqyanl",
"source":7011,
"createUserId":5750,
"createTime":"2023-03-22",
"updateUserId":3359,
"updateTime":"2023-03-22"
}
}
```
## 设备事项申请材料业务
### 查询设备事项申请材料业务列表
**请求URL:** device/matter/datum/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询设备事项申请材料业务
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
deviceCode|String|否|设备编码,字段前后添加%%模糊查询
siteId|Long|否|站点ID
**请求样例:**
```
{
"deviceCode":"rzc79g",
"siteId":2780,
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 per_page|Integer|每页条数
 total|Integer|总条数
 last_page|Integer|总页数
 current_page|Integer|当前页
 data|array|结果集列表|数组
  id|Long|主键,自增长
  deviceId|Long|设备id
  deviceCode|String|设备编码
  deviceName|String|设备名称
  productId|Long|产品id
  productCode|String|产品编码
  productName|String|产品名称
  matterId|Long|事项matter id
  siteId|Long|站点ID
  deptId|Long|部门ID
  deptCode|String|部门编号
  deptName|String|部门名称
  materialName|String|材料名
  materiaFullName|String|材料全名
  source|Integer|事项来源(0.政务网,1.自定义)
  isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
  total|Integer|填单次数
  sort|Integer|排序
  sampleName|String|样表名称
  samplePath|String|样表地址
  preViewPath|String|样表预览地址
  createTime|Date|创建时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
dict|object|字典对象
 source|object|字典属性对象,详见附录
 isRecommend|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查看设备事项申请材料业务
**请求URL:** device/matter/datum/info
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看设备事项申请材料业务,返回实例详细信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|Long|是|ID
**请求样例:**
```
http://localhost/device/matter/datum/info?id=549
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:-------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|主键,自增长
 deviceId|Long|设备id
 deviceCode|String|设备编码
 deviceName|String|设备名称
 productId|Long|产品id
 productCode|String|产品编码
 productName|String|产品名称
 matterId|Long|事项matter id
 siteId|Long|站点ID
 deptId|Long|部门ID
 deptCode|String|部门编号
 deptName|String|部门名称
 materialName|String|材料名
 materiaFullName|String|材料全名
 source|Integer|事项来源(0.政务网,1.自定义)
 isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
 total|Integer|填单次数
 sort|Integer|排序
 sampleName|String|样表名称
 samplePath|String|样表地址
 preViewPath|String|样表预览地址
 createTime|Date|创建时间
 createUserId|Long|创建用户
 updateTime|Date|修改时间
dict|object|字典对象
 source|object|字典属性对象,详见附录
 isRecommend|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code": 1,
"data": {
"id":5825,
"deviceId":6905,
"deviceCode":"cj8jgr",
"deviceName":"qdzsth",
"productId":3706,
"productCode":"tg3ujg",
"productName":"n5imno",
"matterId":1158,
"siteId":8335,
"deptId":1677,
"deptCode":"66r1h3",
"deptName":"5hc964",
"materialName":"cvzy4g",
"materiaFullName":"2igxs2",
"source":5604,
"isRecommend":9780,
"total":4803,
"sort":1159,
"sampleName":"77132s",
"samplePath":"xvk0ag",
"preViewPath":"rrotwe",
"createTime":"2023-03-22",
"createUserId":4039,
"updateTime":"2023-03-22"
}
}
```
### 保存更新设备
### 保存更新设备事项申请材料业务
**请求URL:** device/save
**请求URL:** device/matter/datum/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新设备:id为空时为新增保存,否则为更新提交
**简要描述:** 保存或更新设备事项申请材料业务:id为空时为新增保存,否则为更新提交
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
deviceId|Long|否|设备id
deviceName|String|是|设备名称
deviceCode|String|否|设备编码
deviceMac|String|否|设备的MAC地址
siteId|Long|否|站点Id
siteCode|String|否|站点编号,来源基础服务平台
siteName|String|否|站点名称
deviceName|String|否|设备名称
productId|Long|否|产品id
productCode|String|否|产品编码
productName|String|否|产品名称
deviceSrc|Integer|否|设备来源(0.子设备,1.网关设备,2.直连设备)
lon|String|否|经度
lati|String|否|纬度
leadingOfficial|String|否|负责人
leadingOfficialTelephone|String|否|联系电话
deviceStatus|Integer|否|设备状态 (0.未激活,1.离线,2.在线)
deviceRemark|String|否|备注
source|Integer|否|设备来源(0.旧设备,1.新设备)
matterId|Long|否|事项matter id
siteId|Long|否|站点ID
deptId|Long|否|部门ID
deptCode|String|否|部门编号
deptName|String|否|部门名称
materialName|String|是|材料名
materiaFullName|String|是|材料全名
source|Integer|否|事项来源(0.政务网,1.自定义)
isRecommend|Integer|否|是否推荐(0.未推荐,1.推荐)
total|Integer|否|填单次数
sort|Integer|否|排序
sampleName|String|否|样表名称
samplePath|String|否|样表地址
preViewPath|String|否|样表预览地址
**请求样例:**
```
{
"deviceId":9785,
"deviceName":"54ngge",
"deviceCode":"urdjfp",
"deviceMac":"8rqeaj",
"siteId":3385,
"siteCode":"a3ngxn",
"siteName":"l7knj6",
"productCode":"peg7kv",
"productName":"j8juq0",
"deviceSrc":3764,
"lon":"v7ytmx",
"lati":"l6evpt",
"leadingOfficial":"kcezz7",
"leadingOfficialTelephone":"wz314z",
"deviceStatus":1702,
"deviceRemark":"t33kvh",
"source":566,
"deviceId":9361,
"deviceCode":"1agfuz",
"deviceName":"spki1w",
"productId":6615,
"productCode":"i6vl7d",
"productName":"5t3w5l",
"matterId":6353,
"siteId":7531,
"deptId":6542,
"deptCode":"ztdhof",
"deptName":"fsyyb1",
"materialName":"xgj2mj",
"materiaFullName":"93hwso",
"source":8702,
"isRecommend":461,
"total":6075,
"sort":2402,
"sampleName":"rjg0l9",
"samplePath":"oxh5zs",
"preViewPath":"kgbgzv",
}
```
......@@ -446,28 +2794,30 @@ msg|String|消息
data|object|数据对象
 id|Long|保存后主键id
 entity|object|保存更新实体
  id|Long|主键ID,主键,自增长
  id|Long|主键,自增长
  deviceId|Long|设备id
  deviceName|String|设备名称
  deviceCode|String|设备编码
  deviceMac|String|设备的MAC地址
  siteId|Long|站点Id
  siteCode|String|站点编号,来源基础服务平台
  siteName|String|站点名称
  deviceName|String|设备名称
  productId|Long|产品id
  productCode|String|产品编码
  productName|String|产品名称
  deviceSrc|Integer|设备来源(0.子设备,1.网关设备,2.直连设备)
  lon|String|经度
  lati|String|纬度
  leadingOfficial|String|负责人
  leadingOfficialTelephone|String|联系电话
  deviceStatus|Integer|设备状态 (0.未激活,1.离线,2.在线)
  deviceRemark|String|备注
  source|Integer|设备来源(0.旧设备,1.新设备)
  createUserId|Long|创建用户
  matterId|Long|事项matter id
  siteId|Long|站点ID
  deptId|Long|部门ID
  deptCode|String|部门编号
  deptName|String|部门名称
  materialName|String|材料名
  materiaFullName|String|材料全名
  source|Integer|事项来源(0.政务网,1.自定义)
  isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
  total|Integer|填单次数
  sort|Integer|排序
  sampleName|String|样表名称
  samplePath|String|样表地址
  preViewPath|String|样表预览地址
  createTime|Date|创建时间
  updateUserId|Long|更新用户
  updateTime|Date|更新时间
  createUserId|Long|创建用户
  updateTime|Date|修改时间
**响应消息样例:**
```
......@@ -480,15 +2830,15 @@ data|object|数据对象
```
### 删除设备
### 删除设备事项申请材料业务
**请求URL:** device/delete
**请求URL:** device/matter/datum/delete
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 删除设备
**简要描述:** 删除设备事项申请材料业务
**请求参数:**
......@@ -498,7 +2848,7 @@ id|String|是|数组
**请求样例:**
```
http://localhost:8080/device/delete?id=1&id=2'
http://localhost:8080/device/matter/datum/delete?id=1&id=2'
```
**响应参数:**
......@@ -514,22 +2864,3 @@ msg|String|消息|-
"msg":"成功"
}
```
## 字典附录
### deviceSrc
字典参数key|字典参数值|其它
:---|:---|:---
0|子设备|-
1|网关设备|-
2|直连设备|-
### deviceStatus
字典参数key|字典参数值|其它
:---|:---|:---
0|未激活|-
1|离线|-
2|在线|-
### source
字典参数key|字典参数值|其它
:---|:---|:---
0|旧设备|-
1|新设备|-
......@@ -12,3 +12,6 @@ INSERT INTO `mortals_xhx_resource` VALUES (null, '事项材料公共库-菜单
-- ----------------------------
-- 事项材料公共库参数 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_task` (`id`, `name`, `taskKey`, `status`, `excuteService`, `excuteParam`, `excuteHost`, `excuteStrategy`, `excuteDate`, `excuteTime`, `remark`, `lastExcuteHost`, `lastExcuteTime`, `interimExcuteStatus`, `createTime`, `createUserId`, `createUserName`) VALUES ('4', '同步设备', 'SyncSiteDeviceTask', '0', 'SyncSiteDeviceTask', NULL, NULL, '4', '120', '00:00', NULL, '127.0.1.1', '2023-02-26 22:15:59', '0', '2023-02-25 14:34:12', '1', NULL);
......@@ -285,5 +285,39 @@ CREATE TABLE `mortals_xhx_device` (
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='设备';
-- ----------------------------
-- 设备事项申请材料业务表
-- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_device_matter_datum`;
CREATE TABLE mortals_xhx_device_matter_datum(
`id` bigint(20) AUTO_INCREMENT COMMENT '主键,自增长',
`deviceId` bigint(20) COMMENT '设备id',
`deviceCode` varchar(255) COMMENT '设备编码',
`deviceName` varchar(255) COMMENT '设备名称',
`productId` bigint(20) COMMENT '产品id',
`productCode` varchar(255) COMMENT '产品编码',
`productName` varchar(255) COMMENT '产品名称',
`matterId` bigint(20) COMMENT '事项matter id',
`siteId` bigint(20) COMMENT '站点ID',
`deptId` bigint(20) COMMENT '部门ID',
`deptCode` varchar(256) COMMENT '部门编号',
`deptName` varchar(256) COMMENT '部门名称',
`materialName` varchar(1024) NOT NULL COMMENT '材料名',
`materiaFullName` varchar(1024) NOT NULL COMMENT '材料全名',
`source` tinyint(2) COMMENT '事项来源(0.政务网,1.自定义)',
`isRecommend` tinyint(2) COMMENT '是否推荐(0.未推荐,1.推荐)',
`total` int(8) COMMENT '填单次数',
`sort` int(4) COMMENT '排序',
`sampleName` varchar(255) COMMENT '样表名称',
`samplePath` varchar(255) COMMENT '样表地址',
`preViewPath` varchar(255) COMMENT '样表预览地址',
`createTime` datetime COMMENT '创建时间',
`createUserId` bigint(20) COMMENT '创建用户',
`updateTime` datetime COMMENT '修改时间',
PRIMARY KEY (`id`)
,KEY `deviceCode` (`deviceCode`) USING BTREE
,KEY `siteId` (`siteId`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='设备事项申请材料业务';
......@@ -380,8 +380,6 @@
</execution>
</executions>
</plugin>
</plugins>
</build>
......
......@@ -13,6 +13,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.util.ObjectUtils;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
......@@ -35,6 +36,7 @@ public class OperlogAspect extends FileLogServiceImpl implements ILogService {
public void doHandlerLog(String platformMark, Long userId, String userName, String loginName, String requestUrl,
String content, String ip, Date logDate) {
super.doHandlerLog(platformMark, userId, userName, loginName, requestUrl, content, ip, logDate);
if(ObjectUtils.isEmpty(userId)) return;
operLogService.insertOperLog(ip, requestUrl, userId, userName, loginName, content);
}
......
package com.mortals.xhx.common.code;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* 是否推荐(0.未推荐,1.推荐)枚举类
*
* @author zxfei
*/
public enum IsRecommendEnum {
未推荐(0, "未推荐"),
推荐(1, "推荐");
private Integer value;
private String desc;
IsRecommendEnum(Integer value, String desc) {
this.value = value;
this.desc = desc;
}
public Integer getValue() {
return this.value;
}
public String getDesc() {
return this.desc;
}
public static IsRecommendEnum getByValue(Integer value) {
for (IsRecommendEnum isRecommendEnum : IsRecommendEnum.values()) {
if (isRecommendEnum.getValue() == value) {
return isRecommendEnum;
}
}
return null;
}
/**
* 获取Map集合
*
* @param eItem 不包含项
* @return
*/
public static Map<String, String> getEnumMap(Integer... eItem) {
Map<String, String> resultMap = new LinkedHashMap<>();
for (IsRecommendEnum item : IsRecommendEnum.values()) {
try {
boolean hasE = false;
for (Integer e : eItem) {
if (item.getValue() == e) {
hasE = true;
break;
}
}
if (!hasE) {
resultMap.put(item.getValue() + "", item.getDesc());
}
} catch (Exception ex) {
}
}
return resultMap;
}
}
\ No newline at end of file
......@@ -4,7 +4,7 @@ import java.util.LinkedHashMap;
import java.util.Map;
/**
* 事项来源 (0.政务网,1.自定义)枚举类
* 事项来源(0.政务网,1.自定义)枚举类
*
* @author zxfei
*/
......
package com.mortals.xhx.module.device.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.device.model.DeviceMatterDatumEntity;
import java.util.List;
/**
* 设备事项申请材料业务Dao
* 设备事项申请材料业务 DAO接口
*
* @author zxfei
* @date 2023-02-25
*/
public interface DeviceMatterDatumDao extends ICRUDDao<DeviceMatterDatumEntity,Long>{
}
package com.mortals.xhx.module.device.dao.ibatis;
import org.springframework.stereotype.Repository;
import com.mortals.xhx.module.device.dao.DeviceMatterDatumDao;
import com.mortals.xhx.module.device.model.DeviceMatterDatumEntity;
import java.util.Date;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import java.util.List;
/**
* 设备事项申请材料业务DaoImpl DAO接口
*
* @author zxfei
* @date 2023-02-25
*/
@Repository("deviceMatterDatumDao")
public class DeviceMatterDatumDaoImpl extends BaseCRUDDaoMybatis<DeviceMatterDatumEntity,Long> implements DeviceMatterDatumDao {
}
package com.mortals.xhx.module.device.model;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.device.model.vo.DeviceMatterDatumVo;
/**
* 设备事项申请材料业务实体对象
*
* @author zxfei
* @date 2023-02-25
*/
public class DeviceMatterDatumEntity extends DeviceMatterDatumVo {
private static final long serialVersionUID = 1L;
/**
* 设备id
*/
private Long deviceId;
/**
* 设备编码
*/
private String deviceCode;
/**
* 设备名称
*/
private String deviceName;
/**
* 产品id
*/
private Long productId;
/**
* 产品编码
*/
private String productCode;
/**
* 产品名称
*/
private String productName;
/**
* 事项matter id
*/
private Long matterId;
/**
* 站点ID
*/
private Long siteId;
/**
* 部门ID
*/
private Long deptId;
/**
* 部门编号
*/
private String deptCode;
/**
* 部门名称
*/
private String deptName;
/**
* 材料名
*/
private String materialName;
/**
* 材料全名
*/
private String materiaFullName;
/**
* 事项来源(0.政务网,1.自定义)
*/
private Integer source;
/**
* 是否推荐(0.未推荐,1.推荐)
*/
private Integer isRecommend;
/**
* 填单次数
*/
private Integer total;
/**
* 排序
*/
private Integer sort;
/**
* 样表名称
*/
private String sampleName;
/**
* 样表地址
*/
private String samplePath;
/**
* 样表预览地址
*/
private String preViewPath;
public DeviceMatterDatumEntity(){}
/**
* 获取 设备id
* @return Long
*/
public Long getDeviceId(){
return deviceId;
}
/**
* 设置 设备id
* @param deviceId
*/
public void setDeviceId(Long deviceId){
this.deviceId = deviceId;
}
/**
* 获取 设备编码
* @return String
*/
public String getDeviceCode(){
return deviceCode;
}
/**
* 设置 设备编码
* @param deviceCode
*/
public void setDeviceCode(String deviceCode){
this.deviceCode = deviceCode;
}
/**
* 获取 设备名称
* @return String
*/
public String getDeviceName(){
return deviceName;
}
/**
* 设置 设备名称
* @param deviceName
*/
public void setDeviceName(String deviceName){
this.deviceName = deviceName;
}
/**
* 获取 产品id
* @return Long
*/
public Long getProductId(){
return productId;
}
/**
* 设置 产品id
* @param productId
*/
public void setProductId(Long productId){
this.productId = productId;
}
/**
* 获取 产品编码
* @return String
*/
public String getProductCode(){
return productCode;
}
/**
* 设置 产品编码
* @param productCode
*/
public void setProductCode(String productCode){
this.productCode = productCode;
}
/**
* 获取 产品名称
* @return String
*/
public String getProductName(){
return productName;
}
/**
* 设置 产品名称
* @param productName
*/
public void setProductName(String productName){
this.productName = productName;
}
/**
* 获取 事项matter id
* @return Long
*/
public Long getMatterId(){
return matterId;
}
/**
* 设置 事项matter id
* @param matterId
*/
public void setMatterId(Long matterId){
this.matterId = matterId;
}
/**
* 获取 站点ID
* @return Long
*/
public Long getSiteId(){
return siteId;
}
/**
* 设置 站点ID
* @param siteId
*/
public void setSiteId(Long siteId){
this.siteId = siteId;
}
/**
* 获取 部门ID
* @return Long
*/
public Long getDeptId(){
return deptId;
}
/**
* 设置 部门ID
* @param deptId
*/
public void setDeptId(Long deptId){
this.deptId = deptId;
}
/**
* 获取 部门编号
* @return String
*/
public String getDeptCode(){
return deptCode;
}
/**
* 设置 部门编号
* @param deptCode
*/
public void setDeptCode(String deptCode){
this.deptCode = deptCode;
}
/**
* 获取 部门名称
* @return String
*/
public String getDeptName(){
return deptName;
}
/**
* 设置 部门名称
* @param deptName
*/
public void setDeptName(String deptName){
this.deptName = deptName;
}
/**
* 获取 材料名
* @return String
*/
public String getMaterialName(){
return materialName;
}
/**
* 设置 材料名
* @param materialName
*/
public void setMaterialName(String materialName){
this.materialName = materialName;
}
/**
* 获取 材料全名
* @return String
*/
public String getMateriaFullName(){
return materiaFullName;
}
/**
* 设置 材料全名
* @param materiaFullName
*/
public void setMateriaFullName(String materiaFullName){
this.materiaFullName = materiaFullName;
}
/**
* 获取 事项来源(0.政务网,1.自定义)
* @return Integer
*/
public Integer getSource(){
return source;
}
/**
* 设置 事项来源(0.政务网,1.自定义)
* @param source
*/
public void setSource(Integer source){
this.source = source;
}
/**
* 获取 是否推荐(0.未推荐,1.推荐)
* @return Integer
*/
public Integer getIsRecommend(){
return isRecommend;
}
/**
* 设置 是否推荐(0.未推荐,1.推荐)
* @param isRecommend
*/
public void setIsRecommend(Integer isRecommend){
this.isRecommend = isRecommend;
}
/**
* 获取 填单次数
* @return Integer
*/
public Integer getTotal(){
return total;
}
/**
* 设置 填单次数
* @param total
*/
public void setTotal(Integer total){
this.total = total;
}
/**
* 获取 排序
* @return Integer
*/
public Integer getSort(){
return sort;
}
/**
* 设置 排序
* @param sort
*/
public void setSort(Integer sort){
this.sort = sort;
}
/**
* 获取 样表名称
* @return String
*/
public String getSampleName(){
return sampleName;
}
/**
* 设置 样表名称
* @param sampleName
*/
public void setSampleName(String sampleName){
this.sampleName = sampleName;
}
/**
* 获取 样表地址
* @return String
*/
public String getSamplePath(){
return samplePath;
}
/**
* 设置 样表地址
* @param samplePath
*/
public void setSamplePath(String samplePath){
this.samplePath = samplePath;
}
/**
* 获取 样表预览地址
* @return String
*/
public String getPreViewPath(){
return preViewPath;
}
/**
* 设置 样表预览地址
* @param preViewPath
*/
public void setPreViewPath(String preViewPath){
this.preViewPath = preViewPath;
}
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof DeviceMatterDatumEntity) {
DeviceMatterDatumEntity tmp = (DeviceMatterDatumEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public String toString(){
StringBuilder sb = new StringBuilder("");
sb.append(",deviceId:").append(getDeviceId());
sb.append(",deviceCode:").append(getDeviceCode());
sb.append(",deviceName:").append(getDeviceName());
sb.append(",productId:").append(getProductId());
sb.append(",productCode:").append(getProductCode());
sb.append(",productName:").append(getProductName());
sb.append(",matterId:").append(getMatterId());
sb.append(",siteId:").append(getSiteId());
sb.append(",deptId:").append(getDeptId());
sb.append(",deptCode:").append(getDeptCode());
sb.append(",deptName:").append(getDeptName());
sb.append(",materialName:").append(getMaterialName());
sb.append(",materiaFullName:").append(getMateriaFullName());
sb.append(",source:").append(getSource());
sb.append(",isRecommend:").append(getIsRecommend());
sb.append(",total:").append(getTotal());
sb.append(",sort:").append(getSort());
sb.append(",sampleName:").append(getSampleName());
sb.append(",samplePath:").append(getSamplePath());
sb.append(",preViewPath:").append(getPreViewPath());
return sb.toString();
}
public void initAttrValue(){
this.deviceId = null;
this.deviceCode = null;
this.deviceName = null;
this.productId = null;
this.productCode = null;
this.productName = null;
this.matterId = null;
this.siteId = null;
this.deptId = null;
this.deptCode = null;
this.deptName = null;
this.materialName = null;
this.materiaFullName = null;
this.source = null;
this.isRecommend = null;
this.total = null;
this.sort = null;
this.sampleName = null;
this.samplePath = null;
this.preViewPath = null;
}
}
\ No newline at end of file
package com.mortals.xhx.module.device.model;
import java.util.List;
import com.mortals.xhx.module.device.model.DeviceMatterDatumEntity;
/**
* 设备事项申请材料业务查询对象
*
* @author zxfei
* @date 2023-02-25
*/
public class DeviceMatterDatumQuery extends DeviceMatterDatumEntity {
/** 开始 主键,自增长 */
private Long idStart;
/** 结束 主键,自增长 */
private Long idEnd;
/** 增加 主键,自增长 */
private Long idIncrement;
/** 主键,自增长列表 */
private List <Long> idList;
/** 主键,自增长排除列表 */
private List <Long> idNotList;
/** 开始 设备id */
private Long deviceIdStart;
/** 结束 设备id */
private Long deviceIdEnd;
/** 增加 设备id */
private Long deviceIdIncrement;
/** 设备id列表 */
private List <Long> deviceIdList;
/** 设备id排除列表 */
private List <Long> deviceIdNotList;
/** 设备编码 */
private List<String> deviceCodeList;
/** 设备编码排除列表 */
private List <String> deviceCodeNotList;
/** 设备名称 */
private List<String> deviceNameList;
/** 设备名称排除列表 */
private List <String> deviceNameNotList;
/** 开始 产品id */
private Long productIdStart;
/** 结束 产品id */
private Long productIdEnd;
/** 增加 产品id */
private Long productIdIncrement;
/** 产品id列表 */
private List <Long> productIdList;
/** 产品id排除列表 */
private List <Long> productIdNotList;
/** 产品编码 */
private List<String> productCodeList;
/** 产品编码排除列表 */
private List <String> productCodeNotList;
/** 产品名称 */
private List<String> productNameList;
/** 产品名称排除列表 */
private List <String> productNameNotList;
/** 开始 事项matter id */
private Long matterIdStart;
/** 结束 事项matter id */
private Long matterIdEnd;
/** 增加 事项matter id */
private Long matterIdIncrement;
/** 事项matter id列表 */
private List <Long> matterIdList;
/** 事项matter id排除列表 */
private List <Long> matterIdNotList;
/** 开始 站点ID */
private Long siteIdStart;
/** 结束 站点ID */
private Long siteIdEnd;
/** 增加 站点ID */
private Long siteIdIncrement;
/** 站点ID列表 */
private List <Long> siteIdList;
/** 站点ID排除列表 */
private List <Long> siteIdNotList;
/** 开始 部门ID */
private Long deptIdStart;
/** 结束 部门ID */
private Long deptIdEnd;
/** 增加 部门ID */
private Long deptIdIncrement;
/** 部门ID列表 */
private List <Long> deptIdList;
/** 部门ID排除列表 */
private List <Long> deptIdNotList;
/** 部门编号 */
private List<String> deptCodeList;
/** 部门编号排除列表 */
private List <String> deptCodeNotList;
/** 部门名称 */
private List<String> deptNameList;
/** 部门名称排除列表 */
private List <String> deptNameNotList;
/** 材料名 */
private List<String> materialNameList;
/** 材料名排除列表 */
private List <String> materialNameNotList;
/** 材料全名 */
private List<String> materiaFullNameList;
/** 材料全名排除列表 */
private List <String> materiaFullNameNotList;
/** 开始 事项来源(0.政务网,1.自定义) */
private Integer sourceStart;
/** 结束 事项来源(0.政务网,1.自定义) */
private Integer sourceEnd;
/** 增加 事项来源(0.政务网,1.自定义) */
private Integer sourceIncrement;
/** 事项来源(0.政务网,1.自定义)列表 */
private List <Integer> sourceList;
/** 事项来源(0.政务网,1.自定义)排除列表 */
private List <Integer> sourceNotList;
/** 开始 是否推荐(0.未推荐,1.推荐) */
private Integer isRecommendStart;
/** 结束 是否推荐(0.未推荐,1.推荐) */
private Integer isRecommendEnd;
/** 增加 是否推荐(0.未推荐,1.推荐) */
private Integer isRecommendIncrement;
/** 是否推荐(0.未推荐,1.推荐)列表 */
private List <Integer> isRecommendList;
/** 是否推荐(0.未推荐,1.推荐)排除列表 */
private List <Integer> isRecommendNotList;
/** 开始 填单次数 */
private Integer totalStart;
/** 结束 填单次数 */
private Integer totalEnd;
/** 增加 填单次数 */
private Integer totalIncrement;
/** 填单次数列表 */
private List <Integer> totalList;
/** 填单次数排除列表 */
private List <Integer> totalNotList;
/** 开始 排序 */
private Integer sortStart;
/** 结束 排序 */
private Integer sortEnd;
/** 增加 排序 */
private Integer sortIncrement;
/** 排序列表 */
private List <Integer> sortList;
/** 排序排除列表 */
private List <Integer> sortNotList;
/** 样表名称 */
private List<String> sampleNameList;
/** 样表名称排除列表 */
private List <String> sampleNameNotList;
/** 样表地址 */
private List<String> samplePathList;
/** 样表地址排除列表 */
private List <String> samplePathNotList;
/** 样表预览地址 */
private List<String> preViewPathList;
/** 样表预览地址排除列表 */
private List <String> preViewPathNotList;
/** 开始 创建时间 */
private String createTimeStart;
/** 结束 创建时间 */
private String createTimeEnd;
/** 开始 创建用户 */
private Long createUserIdStart;
/** 结束 创建用户 */
private Long createUserIdEnd;
/** 增加 创建用户 */
private Long createUserIdIncrement;
/** 创建用户列表 */
private List <Long> createUserIdList;
/** 创建用户排除列表 */
private List <Long> createUserIdNotList;
/** 开始 修改时间 */
private String updateTimeStart;
/** 结束 修改时间 */
private String updateTimeEnd;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<DeviceMatterDatumQuery> orConditionList;
/** AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) */
private List<DeviceMatterDatumQuery> andConditionList;
public DeviceMatterDatumQuery(){}
/**
* 获取 开始 主键,自增长
* @return idStart
*/
public Long getIdStart(){
return this.idStart;
}
/**
* 设置 开始 主键,自增长
* @param idStart
*/
public void setIdStart(Long idStart){
this.idStart = idStart;
}
/**
* 获取 结束 主键,自增长
* @return $idEnd
*/
public Long getIdEnd(){
return this.idEnd;
}
/**
* 设置 结束 主键,自增长
* @param idEnd
*/
public void setIdEnd(Long idEnd){
this.idEnd = idEnd;
}
/**
* 获取 增加 主键,自增长
* @return idIncrement
*/
public Long getIdIncrement(){
return this.idIncrement;
}
/**
* 设置 增加 主键,自增长
* @param idIncrement
*/
public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement;
}
/**
* 获取 主键,自增长
* @return idList
*/
public List<Long> getIdList(){
return this.idList;
}
/**
* 设置 主键,自增长
* @param idList
*/
public void setIdList(List<Long> idList){
this.idList = idList;
}
/**
* 获取 主键,自增长
* @return idNotList
*/
public List<Long> getIdNotList(){
return this.idNotList;
}
/**
* 设置 主键,自增长
* @param idNotList
*/
public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList;
}
/**
* 获取 开始 设备id
* @return deviceIdStart
*/
public Long getDeviceIdStart(){
return this.deviceIdStart;
}
/**
* 设置 开始 设备id
* @param deviceIdStart
*/
public void setDeviceIdStart(Long deviceIdStart){
this.deviceIdStart = deviceIdStart;
}
/**
* 获取 结束 设备id
* @return $deviceIdEnd
*/
public Long getDeviceIdEnd(){
return this.deviceIdEnd;
}
/**
* 设置 结束 设备id
* @param deviceIdEnd
*/
public void setDeviceIdEnd(Long deviceIdEnd){
this.deviceIdEnd = deviceIdEnd;
}
/**
* 获取 增加 设备id
* @return deviceIdIncrement
*/
public Long getDeviceIdIncrement(){
return this.deviceIdIncrement;
}
/**
* 设置 增加 设备id
* @param deviceIdIncrement
*/
public void setDeviceIdIncrement(Long deviceIdIncrement){
this.deviceIdIncrement = deviceIdIncrement;
}
/**
* 获取 设备id
* @return deviceIdList
*/
public List<Long> getDeviceIdList(){
return this.deviceIdList;
}
/**
* 设置 设备id
* @param deviceIdList
*/
public void setDeviceIdList(List<Long> deviceIdList){
this.deviceIdList = deviceIdList;
}
/**
* 获取 设备id
* @return deviceIdNotList
*/
public List<Long> getDeviceIdNotList(){
return this.deviceIdNotList;
}
/**
* 设置 设备id
* @param deviceIdNotList
*/
public void setDeviceIdNotList(List<Long> deviceIdNotList){
this.deviceIdNotList = deviceIdNotList;
}
/**
* 获取 设备编码
* @return deviceCodeList
*/
public List<String> getDeviceCodeList(){
return this.deviceCodeList;
}
/**
* 设置 设备编码
* @param deviceCodeList
*/
public void setDeviceCodeList(List<String> deviceCodeList){
this.deviceCodeList = deviceCodeList;
}
/**
* 获取 设备编码
* @return deviceCodeNotList
*/
public List<String> getDeviceCodeNotList(){
return this.deviceCodeNotList;
}
/**
* 设置 设备编码
* @param deviceCodeNotList
*/
public void setDeviceCodeNotList(List<String> deviceCodeNotList){
this.deviceCodeNotList = deviceCodeNotList;
}
/**
* 获取 设备名称
* @return deviceNameList
*/
public List<String> getDeviceNameList(){
return this.deviceNameList;
}
/**
* 设置 设备名称
* @param deviceNameList
*/
public void setDeviceNameList(List<String> deviceNameList){
this.deviceNameList = deviceNameList;
}
/**
* 获取 设备名称
* @return deviceNameNotList
*/
public List<String> getDeviceNameNotList(){
return this.deviceNameNotList;
}
/**
* 设置 设备名称
* @param deviceNameNotList
*/
public void setDeviceNameNotList(List<String> deviceNameNotList){
this.deviceNameNotList = deviceNameNotList;
}
/**
* 获取 开始 产品id
* @return productIdStart
*/
public Long getProductIdStart(){
return this.productIdStart;
}
/**
* 设置 开始 产品id
* @param productIdStart
*/
public void setProductIdStart(Long productIdStart){
this.productIdStart = productIdStart;
}
/**
* 获取 结束 产品id
* @return $productIdEnd
*/
public Long getProductIdEnd(){
return this.productIdEnd;
}
/**
* 设置 结束 产品id
* @param productIdEnd
*/
public void setProductIdEnd(Long productIdEnd){
this.productIdEnd = productIdEnd;
}
/**
* 获取 增加 产品id
* @return productIdIncrement
*/
public Long getProductIdIncrement(){
return this.productIdIncrement;
}
/**
* 设置 增加 产品id
* @param productIdIncrement
*/
public void setProductIdIncrement(Long productIdIncrement){
this.productIdIncrement = productIdIncrement;
}
/**
* 获取 产品id
* @return productIdList
*/
public List<Long> getProductIdList(){
return this.productIdList;
}
/**
* 设置 产品id
* @param productIdList
*/
public void setProductIdList(List<Long> productIdList){
this.productIdList = productIdList;
}
/**
* 获取 产品id
* @return productIdNotList
*/
public List<Long> getProductIdNotList(){
return this.productIdNotList;
}
/**
* 设置 产品id
* @param productIdNotList
*/
public void setProductIdNotList(List<Long> productIdNotList){
this.productIdNotList = productIdNotList;
}
/**
* 获取 产品编码
* @return productCodeList
*/
public List<String> getProductCodeList(){
return this.productCodeList;
}
/**
* 设置 产品编码
* @param productCodeList
*/
public void setProductCodeList(List<String> productCodeList){
this.productCodeList = productCodeList;
}
/**
* 获取 产品编码
* @return productCodeNotList
*/
public List<String> getProductCodeNotList(){
return this.productCodeNotList;
}
/**
* 设置 产品编码
* @param productCodeNotList
*/
public void setProductCodeNotList(List<String> productCodeNotList){
this.productCodeNotList = productCodeNotList;
}
/**
* 获取 产品名称
* @return productNameList
*/
public List<String> getProductNameList(){
return this.productNameList;
}
/**
* 设置 产品名称
* @param productNameList
*/
public void setProductNameList(List<String> productNameList){
this.productNameList = productNameList;
}
/**
* 获取 产品名称
* @return productNameNotList
*/
public List<String> getProductNameNotList(){
return this.productNameNotList;
}
/**
* 设置 产品名称
* @param productNameNotList
*/
public void setProductNameNotList(List<String> productNameNotList){
this.productNameNotList = productNameNotList;
}
/**
* 获取 开始 事项matter id
* @return matterIdStart
*/
public Long getMatterIdStart(){
return this.matterIdStart;
}
/**
* 设置 开始 事项matter id
* @param matterIdStart
*/
public void setMatterIdStart(Long matterIdStart){
this.matterIdStart = matterIdStart;
}
/**
* 获取 结束 事项matter id
* @return $matterIdEnd
*/
public Long getMatterIdEnd(){
return this.matterIdEnd;
}
/**
* 设置 结束 事项matter id
* @param matterIdEnd
*/
public void setMatterIdEnd(Long matterIdEnd){
this.matterIdEnd = matterIdEnd;
}
/**
* 获取 增加 事项matter id
* @return matterIdIncrement
*/
public Long getMatterIdIncrement(){
return this.matterIdIncrement;
}
/**
* 设置 增加 事项matter id
* @param matterIdIncrement
*/
public void setMatterIdIncrement(Long matterIdIncrement){
this.matterIdIncrement = matterIdIncrement;
}
/**
* 获取 事项matter id
* @return matterIdList
*/
public List<Long> getMatterIdList(){
return this.matterIdList;
}
/**
* 设置 事项matter id
* @param matterIdList
*/
public void setMatterIdList(List<Long> matterIdList){
this.matterIdList = matterIdList;
}
/**
* 获取 事项matter id
* @return matterIdNotList
*/
public List<Long> getMatterIdNotList(){
return this.matterIdNotList;
}
/**
* 设置 事项matter id
* @param matterIdNotList
*/
public void setMatterIdNotList(List<Long> matterIdNotList){
this.matterIdNotList = matterIdNotList;
}
/**
* 获取 开始 站点ID
* @return siteIdStart
*/
public Long getSiteIdStart(){
return this.siteIdStart;
}
/**
* 设置 开始 站点ID
* @param siteIdStart
*/
public void setSiteIdStart(Long siteIdStart){
this.siteIdStart = siteIdStart;
}
/**
* 获取 结束 站点ID
* @return $siteIdEnd
*/
public Long getSiteIdEnd(){
return this.siteIdEnd;
}
/**
* 设置 结束 站点ID
* @param siteIdEnd
*/
public void setSiteIdEnd(Long siteIdEnd){
this.siteIdEnd = siteIdEnd;
}
/**
* 获取 增加 站点ID
* @return siteIdIncrement
*/
public Long getSiteIdIncrement(){
return this.siteIdIncrement;
}
/**
* 设置 增加 站点ID
* @param siteIdIncrement
*/
public void setSiteIdIncrement(Long siteIdIncrement){
this.siteIdIncrement = siteIdIncrement;
}
/**
* 获取 站点ID
* @return siteIdList
*/
public List<Long> getSiteIdList(){
return this.siteIdList;
}
/**
* 设置 站点ID
* @param siteIdList
*/
public void setSiteIdList(List<Long> siteIdList){
this.siteIdList = siteIdList;
}
/**
* 获取 站点ID
* @return siteIdNotList
*/
public List<Long> getSiteIdNotList(){
return this.siteIdNotList;
}
/**
* 设置 站点ID
* @param siteIdNotList
*/
public void setSiteIdNotList(List<Long> siteIdNotList){
this.siteIdNotList = siteIdNotList;
}
/**
* 获取 开始 部门ID
* @return deptIdStart
*/
public Long getDeptIdStart(){
return this.deptIdStart;
}
/**
* 设置 开始 部门ID
* @param deptIdStart
*/
public void setDeptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart;
}
/**
* 获取 结束 部门ID
* @return $deptIdEnd
*/
public Long getDeptIdEnd(){
return this.deptIdEnd;
}
/**
* 设置 结束 部门ID
* @param deptIdEnd
*/
public void setDeptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd;
}
/**
* 获取 增加 部门ID
* @return deptIdIncrement
*/
public Long getDeptIdIncrement(){
return this.deptIdIncrement;
}
/**
* 设置 增加 部门ID
* @param deptIdIncrement
*/
public void setDeptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
}
/**
* 获取 部门ID
* @return deptIdList
*/
public List<Long> getDeptIdList(){
return this.deptIdList;
}
/**
* 设置 部门ID
* @param deptIdList
*/
public void setDeptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList;
}
/**
* 获取 部门ID
* @return deptIdNotList
*/
public List<Long> getDeptIdNotList(){
return this.deptIdNotList;
}
/**
* 设置 部门ID
* @param deptIdNotList
*/
public void setDeptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList;
}
/**
* 获取 部门编号
* @return deptCodeList
*/
public List<String> getDeptCodeList(){
return this.deptCodeList;
}
/**
* 设置 部门编号
* @param deptCodeList
*/
public void setDeptCodeList(List<String> deptCodeList){
this.deptCodeList = deptCodeList;
}
/**
* 获取 部门编号
* @return deptCodeNotList
*/
public List<String> getDeptCodeNotList(){
return this.deptCodeNotList;
}
/**
* 设置 部门编号
* @param deptCodeNotList
*/
public void setDeptCodeNotList(List<String> deptCodeNotList){
this.deptCodeNotList = deptCodeNotList;
}
/**
* 获取 部门名称
* @return deptNameList
*/
public List<String> getDeptNameList(){
return this.deptNameList;
}
/**
* 设置 部门名称
* @param deptNameList
*/
public void setDeptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
}
/**
* 获取 部门名称
* @return deptNameNotList
*/
public List<String> getDeptNameNotList(){
return this.deptNameNotList;
}
/**
* 设置 部门名称
* @param deptNameNotList
*/
public void setDeptNameNotList(List<String> deptNameNotList){
this.deptNameNotList = deptNameNotList;
}
/**
* 获取 材料名
* @return materialNameList
*/
public List<String> getMaterialNameList(){
return this.materialNameList;
}
/**
* 设置 材料名
* @param materialNameList
*/
public void setMaterialNameList(List<String> materialNameList){
this.materialNameList = materialNameList;
}
/**
* 获取 材料名
* @return materialNameNotList
*/
public List<String> getMaterialNameNotList(){
return this.materialNameNotList;
}
/**
* 设置 材料名
* @param materialNameNotList
*/
public void setMaterialNameNotList(List<String> materialNameNotList){
this.materialNameNotList = materialNameNotList;
}
/**
* 获取 材料全名
* @return materiaFullNameList
*/
public List<String> getMateriaFullNameList(){
return this.materiaFullNameList;
}
/**
* 设置 材料全名
* @param materiaFullNameList
*/
public void setMateriaFullNameList(List<String> materiaFullNameList){
this.materiaFullNameList = materiaFullNameList;
}
/**
* 获取 材料全名
* @return materiaFullNameNotList
*/
public List<String> getMateriaFullNameNotList(){
return this.materiaFullNameNotList;
}
/**
* 设置 材料全名
* @param materiaFullNameNotList
*/
public void setMateriaFullNameNotList(List<String> materiaFullNameNotList){
this.materiaFullNameNotList = materiaFullNameNotList;
}
/**
* 获取 开始 事项来源(0.政务网,1.自定义)
* @return sourceStart
*/
public Integer getSourceStart(){
return this.sourceStart;
}
/**
* 设置 开始 事项来源(0.政务网,1.自定义)
* @param sourceStart
*/
public void setSourceStart(Integer sourceStart){
this.sourceStart = sourceStart;
}
/**
* 获取 结束 事项来源(0.政务网,1.自定义)
* @return $sourceEnd
*/
public Integer getSourceEnd(){
return this.sourceEnd;
}
/**
* 设置 结束 事项来源(0.政务网,1.自定义)
* @param sourceEnd
*/
public void setSourceEnd(Integer sourceEnd){
this.sourceEnd = sourceEnd;
}
/**
* 获取 增加 事项来源(0.政务网,1.自定义)
* @return sourceIncrement
*/
public Integer getSourceIncrement(){
return this.sourceIncrement;
}
/**
* 设置 增加 事项来源(0.政务网,1.自定义)
* @param sourceIncrement
*/
public void setSourceIncrement(Integer sourceIncrement){
this.sourceIncrement = sourceIncrement;
}
/**
* 获取 事项来源(0.政务网,1.自定义)
* @return sourceList
*/
public List<Integer> getSourceList(){
return this.sourceList;
}
/**
* 设置 事项来源(0.政务网,1.自定义)
* @param sourceList
*/
public void setSourceList(List<Integer> sourceList){
this.sourceList = sourceList;
}
/**
* 获取 事项来源(0.政务网,1.自定义)
* @return sourceNotList
*/
public List<Integer> getSourceNotList(){
return this.sourceNotList;
}
/**
* 设置 事项来源(0.政务网,1.自定义)
* @param sourceNotList
*/
public void setSourceNotList(List<Integer> sourceNotList){
this.sourceNotList = sourceNotList;
}
/**
* 获取 开始 是否推荐(0.未推荐,1.推荐)
* @return isRecommendStart
*/
public Integer getIsRecommendStart(){
return this.isRecommendStart;
}
/**
* 设置 开始 是否推荐(0.未推荐,1.推荐)
* @param isRecommendStart
*/
public void setIsRecommendStart(Integer isRecommendStart){
this.isRecommendStart = isRecommendStart;
}
/**
* 获取 结束 是否推荐(0.未推荐,1.推荐)
* @return $isRecommendEnd
*/
public Integer getIsRecommendEnd(){
return this.isRecommendEnd;
}
/**
* 设置 结束 是否推荐(0.未推荐,1.推荐)
* @param isRecommendEnd
*/
public void setIsRecommendEnd(Integer isRecommendEnd){
this.isRecommendEnd = isRecommendEnd;
}
/**
* 获取 增加 是否推荐(0.未推荐,1.推荐)
* @return isRecommendIncrement
*/
public Integer getIsRecommendIncrement(){
return this.isRecommendIncrement;
}
/**
* 设置 增加 是否推荐(0.未推荐,1.推荐)
* @param isRecommendIncrement
*/
public void setIsRecommendIncrement(Integer isRecommendIncrement){
this.isRecommendIncrement = isRecommendIncrement;
}
/**
* 获取 是否推荐(0.未推荐,1.推荐)
* @return isRecommendList
*/
public List<Integer> getIsRecommendList(){
return this.isRecommendList;
}
/**
* 设置 是否推荐(0.未推荐,1.推荐)
* @param isRecommendList
*/
public void setIsRecommendList(List<Integer> isRecommendList){
this.isRecommendList = isRecommendList;
}
/**
* 获取 是否推荐(0.未推荐,1.推荐)
* @return isRecommendNotList
*/
public List<Integer> getIsRecommendNotList(){
return this.isRecommendNotList;
}
/**
* 设置 是否推荐(0.未推荐,1.推荐)
* @param isRecommendNotList
*/
public void setIsRecommendNotList(List<Integer> isRecommendNotList){
this.isRecommendNotList = isRecommendNotList;
}
/**
* 获取 开始 填单次数
* @return totalStart
*/
public Integer getTotalStart(){
return this.totalStart;
}
/**
* 设置 开始 填单次数
* @param totalStart
*/
public void setTotalStart(Integer totalStart){
this.totalStart = totalStart;
}
/**
* 获取 结束 填单次数
* @return $totalEnd
*/
public Integer getTotalEnd(){
return this.totalEnd;
}
/**
* 设置 结束 填单次数
* @param totalEnd
*/
public void setTotalEnd(Integer totalEnd){
this.totalEnd = totalEnd;
}
/**
* 获取 增加 填单次数
* @return totalIncrement
*/
public Integer getTotalIncrement(){
return this.totalIncrement;
}
/**
* 设置 增加 填单次数
* @param totalIncrement
*/
public void setTotalIncrement(Integer totalIncrement){
this.totalIncrement = totalIncrement;
}
/**
* 获取 填单次数
* @return totalList
*/
public List<Integer> getTotalList(){
return this.totalList;
}
/**
* 设置 填单次数
* @param totalList
*/
public void setTotalList(List<Integer> totalList){
this.totalList = totalList;
}
/**
* 获取 填单次数
* @return totalNotList
*/
public List<Integer> getTotalNotList(){
return this.totalNotList;
}
/**
* 设置 填单次数
* @param totalNotList
*/
public void setTotalNotList(List<Integer> totalNotList){
this.totalNotList = totalNotList;
}
/**
* 获取 开始 排序
* @return sortStart
*/
public Integer getSortStart(){
return this.sortStart;
}
/**
* 设置 开始 排序
* @param sortStart
*/
public void setSortStart(Integer sortStart){
this.sortStart = sortStart;
}
/**
* 获取 结束 排序
* @return $sortEnd
*/
public Integer getSortEnd(){
return this.sortEnd;
}
/**
* 设置 结束 排序
* @param sortEnd
*/
public void setSortEnd(Integer sortEnd){
this.sortEnd = sortEnd;
}
/**
* 获取 增加 排序
* @return sortIncrement
*/
public Integer getSortIncrement(){
return this.sortIncrement;
}
/**
* 设置 增加 排序
* @param sortIncrement
*/
public void setSortIncrement(Integer sortIncrement){
this.sortIncrement = sortIncrement;
}
/**
* 获取 排序
* @return sortList
*/
public List<Integer> getSortList(){
return this.sortList;
}
/**
* 设置 排序
* @param sortList
*/
public void setSortList(List<Integer> sortList){
this.sortList = sortList;
}
/**
* 获取 排序
* @return sortNotList
*/
public List<Integer> getSortNotList(){
return this.sortNotList;
}
/**
* 设置 排序
* @param sortNotList
*/
public void setSortNotList(List<Integer> sortNotList){
this.sortNotList = sortNotList;
}
/**
* 获取 样表名称
* @return sampleNameList
*/
public List<String> getSampleNameList(){
return this.sampleNameList;
}
/**
* 设置 样表名称
* @param sampleNameList
*/
public void setSampleNameList(List<String> sampleNameList){
this.sampleNameList = sampleNameList;
}
/**
* 获取 样表名称
* @return sampleNameNotList
*/
public List<String> getSampleNameNotList(){
return this.sampleNameNotList;
}
/**
* 设置 样表名称
* @param sampleNameNotList
*/
public void setSampleNameNotList(List<String> sampleNameNotList){
this.sampleNameNotList = sampleNameNotList;
}
/**
* 获取 样表地址
* @return samplePathList
*/
public List<String> getSamplePathList(){
return this.samplePathList;
}
/**
* 设置 样表地址
* @param samplePathList
*/
public void setSamplePathList(List<String> samplePathList){
this.samplePathList = samplePathList;
}
/**
* 获取 样表地址
* @return samplePathNotList
*/
public List<String> getSamplePathNotList(){
return this.samplePathNotList;
}
/**
* 设置 样表地址
* @param samplePathNotList
*/
public void setSamplePathNotList(List<String> samplePathNotList){
this.samplePathNotList = samplePathNotList;
}
/**
* 获取 样表预览地址
* @return preViewPathList
*/
public List<String> getPreViewPathList(){
return this.preViewPathList;
}
/**
* 设置 样表预览地址
* @param preViewPathList
*/
public void setPreViewPathList(List<String> preViewPathList){
this.preViewPathList = preViewPathList;
}
/**
* 获取 样表预览地址
* @return preViewPathNotList
*/
public List<String> getPreViewPathNotList(){
return this.preViewPathNotList;
}
/**
* 设置 样表预览地址
* @param preViewPathNotList
*/
public void setPreViewPathNotList(List<String> preViewPathNotList){
this.preViewPathNotList = preViewPathNotList;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 开始 创建用户
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 创建用户
* @return createUserIdList
*/
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 创建用户
* @return createUserIdNotList
*/
public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
}
/**
* 获取 开始 修改时间
* @return updateTimeStart
*/
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 修改时间
* @param updateTimeStart
*/
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 修改时间
* @return updateTimeEnd
*/
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 修改时间
* @param updateTimeEnd
*/
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 设置 主键,自增长
* @param id
*/
public DeviceMatterDatumQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 主键,自增长
* @param idStart
*/
public DeviceMatterDatumQuery idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 结束 主键,自增长
* @param idEnd
*/
public DeviceMatterDatumQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 主键,自增长
* @param idIncrement
*/
public DeviceMatterDatumQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 主键,自增长
* @param idList
*/
public DeviceMatterDatumQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 主键,自增长
* @param idNotList
*/
public DeviceMatterDatumQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
/**
* 设置 设备id
* @param deviceId
*/
public DeviceMatterDatumQuery deviceId(Long deviceId){
setDeviceId(deviceId);
return this;
}
/**
* 设置 开始 设备id
* @param deviceIdStart
*/
public DeviceMatterDatumQuery deviceIdStart(Long deviceIdStart){
this.deviceIdStart = deviceIdStart;
return this;
}
/**
* 设置 结束 设备id
* @param deviceIdEnd
*/
public DeviceMatterDatumQuery deviceIdEnd(Long deviceIdEnd){
this.deviceIdEnd = deviceIdEnd;
return this;
}
/**
* 设置 增加 设备id
* @param deviceIdIncrement
*/
public DeviceMatterDatumQuery deviceIdIncrement(Long deviceIdIncrement){
this.deviceIdIncrement = deviceIdIncrement;
return this;
}
/**
* 设置 设备id
* @param deviceIdList
*/
public DeviceMatterDatumQuery deviceIdList(List<Long> deviceIdList){
this.deviceIdList = deviceIdList;
return this;
}
/**
* 设置 设备id
* @param deviceIdNotList
*/
public DeviceMatterDatumQuery deviceIdNotList(List<Long> deviceIdNotList){
this.deviceIdNotList = deviceIdNotList;
return this;
}
/**
* 设置 设备编码
* @param deviceCode
*/
public DeviceMatterDatumQuery deviceCode(String deviceCode){
setDeviceCode(deviceCode);
return this;
}
/**
* 设置 设备编码
* @param deviceCodeList
*/
public DeviceMatterDatumQuery deviceCodeList(List<String> deviceCodeList){
this.deviceCodeList = deviceCodeList;
return this;
}
/**
* 设置 设备名称
* @param deviceName
*/
public DeviceMatterDatumQuery deviceName(String deviceName){
setDeviceName(deviceName);
return this;
}
/**
* 设置 设备名称
* @param deviceNameList
*/
public DeviceMatterDatumQuery deviceNameList(List<String> deviceNameList){
this.deviceNameList = deviceNameList;
return this;
}
/**
* 设置 产品id
* @param productId
*/
public DeviceMatterDatumQuery productId(Long productId){
setProductId(productId);
return this;
}
/**
* 设置 开始 产品id
* @param productIdStart
*/
public DeviceMatterDatumQuery productIdStart(Long productIdStart){
this.productIdStart = productIdStart;
return this;
}
/**
* 设置 结束 产品id
* @param productIdEnd
*/
public DeviceMatterDatumQuery productIdEnd(Long productIdEnd){
this.productIdEnd = productIdEnd;
return this;
}
/**
* 设置 增加 产品id
* @param productIdIncrement
*/
public DeviceMatterDatumQuery productIdIncrement(Long productIdIncrement){
this.productIdIncrement = productIdIncrement;
return this;
}
/**
* 设置 产品id
* @param productIdList
*/
public DeviceMatterDatumQuery productIdList(List<Long> productIdList){
this.productIdList = productIdList;
return this;
}
/**
* 设置 产品id
* @param productIdNotList
*/
public DeviceMatterDatumQuery productIdNotList(List<Long> productIdNotList){
this.productIdNotList = productIdNotList;
return this;
}
/**
* 设置 产品编码
* @param productCode
*/
public DeviceMatterDatumQuery productCode(String productCode){
setProductCode(productCode);
return this;
}
/**
* 设置 产品编码
* @param productCodeList
*/
public DeviceMatterDatumQuery productCodeList(List<String> productCodeList){
this.productCodeList = productCodeList;
return this;
}
/**
* 设置 产品名称
* @param productName
*/
public DeviceMatterDatumQuery productName(String productName){
setProductName(productName);
return this;
}
/**
* 设置 产品名称
* @param productNameList
*/
public DeviceMatterDatumQuery productNameList(List<String> productNameList){
this.productNameList = productNameList;
return this;
}
/**
* 设置 事项matter id
* @param matterId
*/
public DeviceMatterDatumQuery matterId(Long matterId){
setMatterId(matterId);
return this;
}
/**
* 设置 开始 事项matter id
* @param matterIdStart
*/
public DeviceMatterDatumQuery matterIdStart(Long matterIdStart){
this.matterIdStart = matterIdStart;
return this;
}
/**
* 设置 结束 事项matter id
* @param matterIdEnd
*/
public DeviceMatterDatumQuery matterIdEnd(Long matterIdEnd){
this.matterIdEnd = matterIdEnd;
return this;
}
/**
* 设置 增加 事项matter id
* @param matterIdIncrement
*/
public DeviceMatterDatumQuery matterIdIncrement(Long matterIdIncrement){
this.matterIdIncrement = matterIdIncrement;
return this;
}
/**
* 设置 事项matter id
* @param matterIdList
*/
public DeviceMatterDatumQuery matterIdList(List<Long> matterIdList){
this.matterIdList = matterIdList;
return this;
}
/**
* 设置 事项matter id
* @param matterIdNotList
*/
public DeviceMatterDatumQuery matterIdNotList(List<Long> matterIdNotList){
this.matterIdNotList = matterIdNotList;
return this;
}
/**
* 设置 站点ID
* @param siteId
*/
public DeviceMatterDatumQuery siteId(Long siteId){
setSiteId(siteId);
return this;
}
/**
* 设置 开始 站点ID
* @param siteIdStart
*/
public DeviceMatterDatumQuery siteIdStart(Long siteIdStart){
this.siteIdStart = siteIdStart;
return this;
}
/**
* 设置 结束 站点ID
* @param siteIdEnd
*/
public DeviceMatterDatumQuery siteIdEnd(Long siteIdEnd){
this.siteIdEnd = siteIdEnd;
return this;
}
/**
* 设置 增加 站点ID
* @param siteIdIncrement
*/
public DeviceMatterDatumQuery siteIdIncrement(Long siteIdIncrement){
this.siteIdIncrement = siteIdIncrement;
return this;
}
/**
* 设置 站点ID
* @param siteIdList
*/
public DeviceMatterDatumQuery siteIdList(List<Long> siteIdList){
this.siteIdList = siteIdList;
return this;
}
/**
* 设置 站点ID
* @param siteIdNotList
*/
public DeviceMatterDatumQuery siteIdNotList(List<Long> siteIdNotList){
this.siteIdNotList = siteIdNotList;
return this;
}
/**
* 设置 部门ID
* @param deptId
*/
public DeviceMatterDatumQuery deptId(Long deptId){
setDeptId(deptId);
return this;
}
/**
* 设置 开始 部门ID
* @param deptIdStart
*/
public DeviceMatterDatumQuery deptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart;
return this;
}
/**
* 设置 结束 部门ID
* @param deptIdEnd
*/
public DeviceMatterDatumQuery deptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd;
return this;
}
/**
* 设置 增加 部门ID
* @param deptIdIncrement
*/
public DeviceMatterDatumQuery deptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement;
return this;
}
/**
* 设置 部门ID
* @param deptIdList
*/
public DeviceMatterDatumQuery deptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList;
return this;
}
/**
* 设置 部门ID
* @param deptIdNotList
*/
public DeviceMatterDatumQuery deptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList;
return this;
}
/**
* 设置 部门编号
* @param deptCode
*/
public DeviceMatterDatumQuery deptCode(String deptCode){
setDeptCode(deptCode);
return this;
}
/**
* 设置 部门编号
* @param deptCodeList
*/
public DeviceMatterDatumQuery deptCodeList(List<String> deptCodeList){
this.deptCodeList = deptCodeList;
return this;
}
/**
* 设置 部门名称
* @param deptName
*/
public DeviceMatterDatumQuery deptName(String deptName){
setDeptName(deptName);
return this;
}
/**
* 设置 部门名称
* @param deptNameList
*/
public DeviceMatterDatumQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
return this;
}
/**
* 设置 材料名
* @param materialName
*/
public DeviceMatterDatumQuery materialName(String materialName){
setMaterialName(materialName);
return this;
}
/**
* 设置 材料名
* @param materialNameList
*/
public DeviceMatterDatumQuery materialNameList(List<String> materialNameList){
this.materialNameList = materialNameList;
return this;
}
/**
* 设置 材料全名
* @param materiaFullName
*/
public DeviceMatterDatumQuery materiaFullName(String materiaFullName){
setMateriaFullName(materiaFullName);
return this;
}
/**
* 设置 材料全名
* @param materiaFullNameList
*/
public DeviceMatterDatumQuery materiaFullNameList(List<String> materiaFullNameList){
this.materiaFullNameList = materiaFullNameList;
return this;
}
/**
* 设置 事项来源(0.政务网,1.自定义)
* @param source
*/
public DeviceMatterDatumQuery source(Integer source){
setSource(source);
return this;
}
/**
* 设置 开始 事项来源(0.政务网,1.自定义)
* @param sourceStart
*/
public DeviceMatterDatumQuery sourceStart(Integer sourceStart){
this.sourceStart = sourceStart;
return this;
}
/**
* 设置 结束 事项来源(0.政务网,1.自定义)
* @param sourceEnd
*/
public DeviceMatterDatumQuery sourceEnd(Integer sourceEnd){
this.sourceEnd = sourceEnd;
return this;
}
/**
* 设置 增加 事项来源(0.政务网,1.自定义)
* @param sourceIncrement
*/
public DeviceMatterDatumQuery sourceIncrement(Integer sourceIncrement){
this.sourceIncrement = sourceIncrement;
return this;
}
/**
* 设置 事项来源(0.政务网,1.自定义)
* @param sourceList
*/
public DeviceMatterDatumQuery sourceList(List<Integer> sourceList){
this.sourceList = sourceList;
return this;
}
/**
* 设置 事项来源(0.政务网,1.自定义)
* @param sourceNotList
*/
public DeviceMatterDatumQuery sourceNotList(List<Integer> sourceNotList){
this.sourceNotList = sourceNotList;
return this;
}
/**
* 设置 是否推荐(0.未推荐,1.推荐)
* @param isRecommend
*/
public DeviceMatterDatumQuery isRecommend(Integer isRecommend){
setIsRecommend(isRecommend);
return this;
}
/**
* 设置 开始 是否推荐(0.未推荐,1.推荐)
* @param isRecommendStart
*/
public DeviceMatterDatumQuery isRecommendStart(Integer isRecommendStart){
this.isRecommendStart = isRecommendStart;
return this;
}
/**
* 设置 结束 是否推荐(0.未推荐,1.推荐)
* @param isRecommendEnd
*/
public DeviceMatterDatumQuery isRecommendEnd(Integer isRecommendEnd){
this.isRecommendEnd = isRecommendEnd;
return this;
}
/**
* 设置 增加 是否推荐(0.未推荐,1.推荐)
* @param isRecommendIncrement
*/
public DeviceMatterDatumQuery isRecommendIncrement(Integer isRecommendIncrement){
this.isRecommendIncrement = isRecommendIncrement;
return this;
}
/**
* 设置 是否推荐(0.未推荐,1.推荐)
* @param isRecommendList
*/
public DeviceMatterDatumQuery isRecommendList(List<Integer> isRecommendList){
this.isRecommendList = isRecommendList;
return this;
}
/**
* 设置 是否推荐(0.未推荐,1.推荐)
* @param isRecommendNotList
*/
public DeviceMatterDatumQuery isRecommendNotList(List<Integer> isRecommendNotList){
this.isRecommendNotList = isRecommendNotList;
return this;
}
/**
* 设置 填单次数
* @param total
*/
public DeviceMatterDatumQuery total(Integer total){
setTotal(total);
return this;
}
/**
* 设置 开始 填单次数
* @param totalStart
*/
public DeviceMatterDatumQuery totalStart(Integer totalStart){
this.totalStart = totalStart;
return this;
}
/**
* 设置 结束 填单次数
* @param totalEnd
*/
public DeviceMatterDatumQuery totalEnd(Integer totalEnd){
this.totalEnd = totalEnd;
return this;
}
/**
* 设置 增加 填单次数
* @param totalIncrement
*/
public DeviceMatterDatumQuery totalIncrement(Integer totalIncrement){
this.totalIncrement = totalIncrement;
return this;
}
/**
* 设置 填单次数
* @param totalList
*/
public DeviceMatterDatumQuery totalList(List<Integer> totalList){
this.totalList = totalList;
return this;
}
/**
* 设置 填单次数
* @param totalNotList
*/
public DeviceMatterDatumQuery totalNotList(List<Integer> totalNotList){
this.totalNotList = totalNotList;
return this;
}
/**
* 设置 排序
* @param sort
*/
public DeviceMatterDatumQuery sort(Integer sort){
setSort(sort);
return this;
}
/**
* 设置 开始 排序
* @param sortStart
*/
public DeviceMatterDatumQuery sortStart(Integer sortStart){
this.sortStart = sortStart;
return this;
}
/**
* 设置 结束 排序
* @param sortEnd
*/
public DeviceMatterDatumQuery sortEnd(Integer sortEnd){
this.sortEnd = sortEnd;
return this;
}
/**
* 设置 增加 排序
* @param sortIncrement
*/
public DeviceMatterDatumQuery sortIncrement(Integer sortIncrement){
this.sortIncrement = sortIncrement;
return this;
}
/**
* 设置 排序
* @param sortList
*/
public DeviceMatterDatumQuery sortList(List<Integer> sortList){
this.sortList = sortList;
return this;
}
/**
* 设置 排序
* @param sortNotList
*/
public DeviceMatterDatumQuery sortNotList(List<Integer> sortNotList){
this.sortNotList = sortNotList;
return this;
}
/**
* 设置 样表名称
* @param sampleName
*/
public DeviceMatterDatumQuery sampleName(String sampleName){
setSampleName(sampleName);
return this;
}
/**
* 设置 样表名称
* @param sampleNameList
*/
public DeviceMatterDatumQuery sampleNameList(List<String> sampleNameList){
this.sampleNameList = sampleNameList;
return this;
}
/**
* 设置 样表地址
* @param samplePath
*/
public DeviceMatterDatumQuery samplePath(String samplePath){
setSamplePath(samplePath);
return this;
}
/**
* 设置 样表地址
* @param samplePathList
*/
public DeviceMatterDatumQuery samplePathList(List<String> samplePathList){
this.samplePathList = samplePathList;
return this;
}
/**
* 设置 样表预览地址
* @param preViewPath
*/
public DeviceMatterDatumQuery preViewPath(String preViewPath){
setPreViewPath(preViewPath);
return this;
}
/**
* 设置 样表预览地址
* @param preViewPathList
*/
public DeviceMatterDatumQuery preViewPathList(List<String> preViewPathList){
this.preViewPathList = preViewPathList;
return this;
}
/**
* 设置 创建用户
* @param createUserId
*/
public DeviceMatterDatumQuery createUserId(Long createUserId){
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public DeviceMatterDatumQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
return this;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public DeviceMatterDatumQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
return this;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public DeviceMatterDatumQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
return this;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public DeviceMatterDatumQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
return this;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public DeviceMatterDatumQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public List<DeviceMatterDatumQuery> getOrConditionList(){
return this.orConditionList;
}
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public void setOrConditionList(List<DeviceMatterDatumQuery> orConditionList){
this.orConditionList = orConditionList;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public List<DeviceMatterDatumQuery> getAndConditionList(){
return this.andConditionList;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public void setAndConditionList(List<DeviceMatterDatumQuery> andConditionList){
this.andConditionList = andConditionList;
}
}
\ No newline at end of file
package com.mortals.xhx.module.device.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.device.model.DeviceMatterDatumEntity;
import java.util.ArrayList;
import java.util.List;
/**
* 设备事项申请材料业务视图对象
*
* @author zxfei
* @date 2023-02-25
*/
public class DeviceMatterDatumVo extends BaseEntityLong {
}
\ No newline at end of file
package com.mortals.xhx.module.device.service;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.device.model.DeviceMatterDatumEntity;
/**
* DeviceMatterDatumService
*
* 设备事项申请材料业务 service接口
*
* @author zxfei
* @date 2023-02-25
*/
public interface DeviceMatterDatumService extends ICRUDService<DeviceMatterDatumEntity,Long>{
}
\ No newline at end of file
package com.mortals.xhx.module.device.service.impl;
import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.xhx.module.device.dao.DeviceMatterDatumDao;
import com.mortals.xhx.module.device.model.DeviceMatterDatumEntity;
import com.mortals.xhx.module.device.service.DeviceMatterDatumService;
/**
* DeviceMatterDatumService
* 设备事项申请材料业务 service实现
*
* @author zxfei
* @date 2023-02-25
*/
@Service("deviceMatterDatumService")
public class DeviceMatterDatumServiceImpl extends AbstractCRUDServiceImpl<DeviceMatterDatumDao, DeviceMatterDatumEntity, Long> implements DeviceMatterDatumService {
}
\ No newline at end of file
package com.mortals.xhx.module.device.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import com.mortals.framework.model.Context;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.module.device.model.DeviceMatterDatumEntity;
import com.mortals.xhx.module.device.service.DeviceMatterDatumService;
import org.apache.commons.lang3.ArrayUtils;
import com.mortals.framework.util.StringUtils;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import com.alibaba.fastjson.JSONObject;
import java.util.Arrays;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import static com.mortals.framework.ap.SysConstains.*;
/**
*
* 设备事项申请材料业务
*
* @author zxfei
* @date 2023-02-25
*/
@RestController
@RequestMapping("device/matter/datum")
public class DeviceMatterDatumController extends BaseCRUDJsonBodyMappingController<DeviceMatterDatumService,DeviceMatterDatumEntity,Long> {
@Autowired
private ParamService paramService;
public DeviceMatterDatumController(){
super.setModuleDesc( "设备事项申请材料业务");
}
@Override
protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "source", paramService.getParamBySecondOrganize("DeviceMatterDatum","source"));
this.addDict(model, "isRecommend", paramService.getParamBySecondOrganize("DeviceMatterDatum","isRecommend"));
super.init(model, context);
}
}
\ No newline at end of file
server:
tomcat:
uri-encoding: utf-8
port: @profiles.server.port@
servlet:
context-path: @profiles.server.path@
spring:
application:
name: @project.artifactId@
......@@ -35,13 +38,6 @@ application:
auth:
unloginUrl: /refresh,/error,/login/login,/login/index,/login/logout,/customer/login/login,/customer/login/logout,/securitycode/createCode,/customer/trial/save,/file/common/*,/file/preview/*,/test*,/api/asset/*,/api/*,/zwfw/*,/ws/*,/swagger-ui*,/topic/*,/uploads/*
uncheckUrl: /refresh,/error,/login/login,/login/index,/login/logout,/customer/login/login,/customer/login/logout,/securitycode/createCode,/customer/trial/save,/file/common/*,/file/preview/*,/test*,/api/asset/*,/api/*,/zwfw/*,/ws/*,/swagger-ui*,/topic/*,/uploads/*
workflow:
tenantId: ${spring.application.name}
cookie:
ssoServerUrl: http://sso.testnew.com
key: 026db82420614469897fcc2dc1b4ce38
domain: base.testnew.com
port: 111
token:
head: mortal
hystrix:
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.device.dao.ibatis.DeviceMatterDatumDaoImpl">
<!-- 字段和属性映射 -->
<resultMap type="DeviceMatterDatumEntity" id="DeviceMatterDatumEntity-Map">
<id property="id" column="id" />
<result property="deviceId" column="deviceId" />
<result property="deviceCode" column="deviceCode" />
<result property="deviceName" column="deviceName" />
<result property="productId" column="productId" />
<result property="productCode" column="productCode" />
<result property="productName" column="productName" />
<result property="matterId" column="matterId" />
<result property="siteId" column="siteId" />
<result property="deptId" column="deptId" />
<result property="deptCode" column="deptCode" />
<result property="deptName" column="deptName" />
<result property="materialName" column="materialName" />
<result property="materiaFullName" column="materiaFullName" />
<result property="source" column="source" />
<result property="isRecommend" column="isRecommend" />
<result property="total" column="total" />
<result property="sort" column="sort" />
<result property="sampleName" column="sampleName" />
<result property="samplePath" column="samplePath" />
<result property="preViewPath" column="preViewPath" />
<result property="createTime" column="createTime" />
<result property="createUserId" column="createUserId" />
<result property="updateTime" column="updateTime" />
</resultMap>
<!-- 表所有列 -->
<sql id="_columns">
<trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceId') or colPickMode == 1 and data.containsKey('deviceId')))">
a.deviceId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceCode') or colPickMode == 1 and data.containsKey('deviceCode')))">
a.deviceCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deviceName') or colPickMode == 1 and data.containsKey('deviceName')))">
a.deviceName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('productId') or colPickMode == 1 and data.containsKey('productId')))">
a.productId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('productCode') or colPickMode == 1 and data.containsKey('productCode')))">
a.productCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('productName') or colPickMode == 1 and data.containsKey('productName')))">
a.productName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('matterId') or colPickMode == 1 and data.containsKey('matterId')))">
a.matterId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('siteId') or colPickMode == 1 and data.containsKey('siteId')))">
a.siteId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptId') or colPickMode == 1 and data.containsKey('deptId')))">
a.deptId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptCode') or colPickMode == 1 and data.containsKey('deptCode')))">
a.deptCode,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))">
a.deptName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('materialName') or colPickMode == 1 and data.containsKey('materialName')))">
a.materialName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('materiaFullName') or colPickMode == 1 and data.containsKey('materiaFullName')))">
a.materiaFullName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('source') or colPickMode == 1 and data.containsKey('source')))">
a.source,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('isRecommend') or colPickMode == 1 and data.containsKey('isRecommend')))">
a.isRecommend,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('total') or colPickMode == 1 and data.containsKey('total')))">
a.total,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('sort') or colPickMode == 1 and data.containsKey('sort')))">
a.sort,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('sampleName') or colPickMode == 1 and data.containsKey('sampleName')))">
a.sampleName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('samplePath') or colPickMode == 1 and data.containsKey('samplePath')))">
a.samplePath,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('preViewPath') or colPickMode == 1 and data.containsKey('preViewPath')))">
a.preViewPath,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
</if>
</trim>
</sql>
<!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="DeviceMatterDatumEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_device_matter_datum
(deviceId,deviceCode,deviceName,productId,productCode,productName,matterId,siteId,deptId,deptCode,deptName,materialName,materiaFullName,source,isRecommend,total,sort,sampleName,samplePath,preViewPath,createTime,createUserId,updateTime)
VALUES
(#{deviceId},#{deviceCode},#{deviceName},#{productId},#{productCode},#{productName},#{matterId},#{siteId},#{deptId},#{deptCode},#{deptName},#{materialName},#{materiaFullName},#{source},#{isRecommend},#{total},#{sort},#{sampleName},#{samplePath},#{preViewPath},#{createTime},#{createUserId},#{updateTime})
</insert>
<!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto">
insert into mortals_xhx_device_matter_datum
(deviceId,deviceCode,deviceName,productId,productCode,productName,matterId,siteId,deptId,deptCode,deptName,materialName,materiaFullName,source,isRecommend,total,sort,sampleName,samplePath,preViewPath,createTime,createUserId,updateTime)
VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.deviceId},#{item.deviceCode},#{item.deviceName},#{item.productId},#{item.productCode},#{item.productName},#{item.matterId},#{item.siteId},#{item.deptId},#{item.deptCode},#{item.deptName},#{item.materialName},#{item.materiaFullName},#{item.source},#{item.isRecommend},#{item.total},#{item.sort},#{item.sampleName},#{item.samplePath},#{item.preViewPath},#{item.createTime},#{item.createUserId},#{item.updateTime})
</foreach>
</insert>
<!-- 根据ParamDto更新 -->
<update id="update" parameterType="paramDto">
update mortals_xhx_device_matter_datum as a
set
<trim suffixOverrides="," suffix="">
<if test="(colPickMode==0 and data.containsKey('deviceId')) or (colPickMode==1 and !data.containsKey('deviceId'))">
a.deviceId=#{data.deviceId},
</if>
<if test="(colPickMode==0 and data.containsKey('deviceIdIncrement')) or (colPickMode==1 and !data.containsKey('deviceIdIncrement'))">
a.deviceId=ifnull(a.deviceId,0) + #{data.deviceIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('deviceCode')) or (colPickMode==1 and !data.containsKey('deviceCode'))">
a.deviceCode=#{data.deviceCode},
</if>
<if test="(colPickMode==0 and data.containsKey('deviceName')) or (colPickMode==1 and !data.containsKey('deviceName'))">
a.deviceName=#{data.deviceName},
</if>
<if test="(colPickMode==0 and data.containsKey('productId')) or (colPickMode==1 and !data.containsKey('productId'))">
a.productId=#{data.productId},
</if>
<if test="(colPickMode==0 and data.containsKey('productIdIncrement')) or (colPickMode==1 and !data.containsKey('productIdIncrement'))">
a.productId=ifnull(a.productId,0) + #{data.productIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('productCode')) or (colPickMode==1 and !data.containsKey('productCode'))">
a.productCode=#{data.productCode},
</if>
<if test="(colPickMode==0 and data.containsKey('productName')) or (colPickMode==1 and !data.containsKey('productName'))">
a.productName=#{data.productName},
</if>
<if test="(colPickMode==0 and data.containsKey('matterId')) or (colPickMode==1 and !data.containsKey('matterId'))">
a.matterId=#{data.matterId},
</if>
<if test="(colPickMode==0 and data.containsKey('matterIdIncrement')) or (colPickMode==1 and !data.containsKey('matterIdIncrement'))">
a.matterId=ifnull(a.matterId,0) + #{data.matterIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('siteId')) or (colPickMode==1 and !data.containsKey('siteId'))">
a.siteId=#{data.siteId},
</if>
<if test="(colPickMode==0 and data.containsKey('siteIdIncrement')) or (colPickMode==1 and !data.containsKey('siteIdIncrement'))">
a.siteId=ifnull(a.siteId,0) + #{data.siteIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('deptId')) or (colPickMode==1 and !data.containsKey('deptId'))">
a.deptId=#{data.deptId},
</if>
<if test="(colPickMode==0 and data.containsKey('deptIdIncrement')) or (colPickMode==1 and !data.containsKey('deptIdIncrement'))">
a.deptId=ifnull(a.deptId,0) + #{data.deptIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('deptCode')) or (colPickMode==1 and !data.containsKey('deptCode'))">
a.deptCode=#{data.deptCode},
</if>
<if test="(colPickMode==0 and data.containsKey('deptName')) or (colPickMode==1 and !data.containsKey('deptName'))">
a.deptName=#{data.deptName},
</if>
<if test="(colPickMode==0 and data.containsKey('materialName')) or (colPickMode==1 and !data.containsKey('materialName'))">
a.materialName=#{data.materialName},
</if>
<if test="(colPickMode==0 and data.containsKey('materiaFullName')) or (colPickMode==1 and !data.containsKey('materiaFullName'))">
a.materiaFullName=#{data.materiaFullName},
</if>
<if test="(colPickMode==0 and data.containsKey('source')) or (colPickMode==1 and !data.containsKey('source'))">
a.source=#{data.source},
</if>
<if test="(colPickMode==0 and data.containsKey('sourceIncrement')) or (colPickMode==1 and !data.containsKey('sourceIncrement'))">
a.source=ifnull(a.source,0) + #{data.sourceIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('isRecommend')) or (colPickMode==1 and !data.containsKey('isRecommend'))">
a.isRecommend=#{data.isRecommend},
</if>
<if test="(colPickMode==0 and data.containsKey('isRecommendIncrement')) or (colPickMode==1 and !data.containsKey('isRecommendIncrement'))">
a.isRecommend=ifnull(a.isRecommend,0) + #{data.isRecommendIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('total')) or (colPickMode==1 and !data.containsKey('total'))">
a.total=#{data.total},
</if>
<if test="(colPickMode==0 and data.containsKey('totalIncrement')) or (colPickMode==1 and !data.containsKey('totalIncrement'))">
a.total=ifnull(a.total,0) + #{data.totalIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('sort')) or (colPickMode==1 and !data.containsKey('sort'))">
a.sort=#{data.sort},
</if>
<if test="(colPickMode==0 and data.containsKey('sortIncrement')) or (colPickMode==1 and !data.containsKey('sortIncrement'))">
a.sort=ifnull(a.sort,0) + #{data.sortIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('sampleName')) or (colPickMode==1 and !data.containsKey('sampleName'))">
a.sampleName=#{data.sampleName},
</if>
<if test="(colPickMode==0 and data.containsKey('samplePath')) or (colPickMode==1 and !data.containsKey('samplePath'))">
a.samplePath=#{data.samplePath},
</if>
<if test="(colPickMode==0 and data.containsKey('preViewPath')) or (colPickMode==1 and !data.containsKey('preViewPath'))">
a.preViewPath=#{data.preViewPath},
</if>
<if test="(colPickMode==0 and data.containsKey('createTime')) or (colPickMode==1 and !data.containsKey('createTime'))">
a.createTime=#{data.createTime},
</if>
<if test="(colPickMode==0 and data.containsKey('createUserId')) or (colPickMode==1 and !data.containsKey('createUserId'))">
a.createUserId=#{data.createUserId},
</if>
<if test="(colPickMode==0 and data.containsKey('createUserIdIncrement')) or (colPickMode==1 and !data.containsKey('createUserIdIncrement'))">
a.createUserId=ifnull(a.createUserId,0) + #{data.createUserIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.updateTime=#{data.updateTime},
</if>
</trim>
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</update>
<!-- 批量更新 -->
<update id="updateBatch" parameterType="paramDto">
update mortals_xhx_device_matter_datum as a
<trim prefix="set" suffixOverrides=",">
<trim prefix="deviceId=(case" suffix="ELSE deviceId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('deviceId')) or (colPickMode==1 and !item.containsKey('deviceId'))">
when a.id=#{item.id} then #{item.deviceId}
</when>
<when test="(colPickMode==0 and item.containsKey('deviceIdIncrement')) or (colPickMode==1 and !item.containsKey('deviceIdIncrement'))">
when a.id=#{item.id} then ifnull(a.deviceId,0) + #{item.deviceIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="deviceCode=(case" suffix="ELSE deviceCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deviceCode')) or (colPickMode==1 and !item.containsKey('deviceCode'))">
when a.id=#{item.id} then #{item.deviceCode}
</if>
</foreach>
</trim>
<trim prefix="deviceName=(case" suffix="ELSE deviceName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deviceName')) or (colPickMode==1 and !item.containsKey('deviceName'))">
when a.id=#{item.id} then #{item.deviceName}
</if>
</foreach>
</trim>
<trim prefix="productId=(case" suffix="ELSE productId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('productId')) or (colPickMode==1 and !item.containsKey('productId'))">
when a.id=#{item.id} then #{item.productId}
</when>
<when test="(colPickMode==0 and item.containsKey('productIdIncrement')) or (colPickMode==1 and !item.containsKey('productIdIncrement'))">
when a.id=#{item.id} then ifnull(a.productId,0) + #{item.productIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="productCode=(case" suffix="ELSE productCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('productCode')) or (colPickMode==1 and !item.containsKey('productCode'))">
when a.id=#{item.id} then #{item.productCode}
</if>
</foreach>
</trim>
<trim prefix="productName=(case" suffix="ELSE productName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('productName')) or (colPickMode==1 and !item.containsKey('productName'))">
when a.id=#{item.id} then #{item.productName}
</if>
</foreach>
</trim>
<trim prefix="matterId=(case" suffix="ELSE matterId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('matterId')) or (colPickMode==1 and !item.containsKey('matterId'))">
when a.id=#{item.id} then #{item.matterId}
</when>
<when test="(colPickMode==0 and item.containsKey('matterIdIncrement')) or (colPickMode==1 and !item.containsKey('matterIdIncrement'))">
when a.id=#{item.id} then ifnull(a.matterId,0) + #{item.matterIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="siteId=(case" suffix="ELSE siteId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('siteId')) or (colPickMode==1 and !item.containsKey('siteId'))">
when a.id=#{item.id} then #{item.siteId}
</when>
<when test="(colPickMode==0 and item.containsKey('siteIdIncrement')) or (colPickMode==1 and !item.containsKey('siteIdIncrement'))">
when a.id=#{item.id} then ifnull(a.siteId,0) + #{item.siteIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="deptId=(case" suffix="ELSE deptId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('deptId')) or (colPickMode==1 and !item.containsKey('deptId'))">
when a.id=#{item.id} then #{item.deptId}
</when>
<when test="(colPickMode==0 and item.containsKey('deptIdIncrement')) or (colPickMode==1 and !item.containsKey('deptIdIncrement'))">
when a.id=#{item.id} then ifnull(a.deptId,0) + #{item.deptIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="deptCode=(case" suffix="ELSE deptCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deptCode')) or (colPickMode==1 and !item.containsKey('deptCode'))">
when a.id=#{item.id} then #{item.deptCode}
</if>
</foreach>
</trim>
<trim prefix="deptName=(case" suffix="ELSE deptName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deptName')) or (colPickMode==1 and !item.containsKey('deptName'))">
when a.id=#{item.id} then #{item.deptName}
</if>
</foreach>
</trim>
<trim prefix="materialName=(case" suffix="ELSE materialName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('materialName')) or (colPickMode==1 and !item.containsKey('materialName'))">
when a.id=#{item.id} then #{item.materialName}
</if>
</foreach>
</trim>
<trim prefix="materiaFullName=(case" suffix="ELSE materiaFullName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('materiaFullName')) or (colPickMode==1 and !item.containsKey('materiaFullName'))">
when a.id=#{item.id} then #{item.materiaFullName}
</if>
</foreach>
</trim>
<trim prefix="source=(case" suffix="ELSE source end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('source')) or (colPickMode==1 and !item.containsKey('source'))">
when a.id=#{item.id} then #{item.source}
</when>
<when test="(colPickMode==0 and item.containsKey('sourceIncrement')) or (colPickMode==1 and !item.containsKey('sourceIncrement'))">
when a.id=#{item.id} then ifnull(a.source,0) + #{item.sourceIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="isRecommend=(case" suffix="ELSE isRecommend end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('isRecommend')) or (colPickMode==1 and !item.containsKey('isRecommend'))">
when a.id=#{item.id} then #{item.isRecommend}
</when>
<when test="(colPickMode==0 and item.containsKey('isRecommendIncrement')) or (colPickMode==1 and !item.containsKey('isRecommendIncrement'))">
when a.id=#{item.id} then ifnull(a.isRecommend,0) + #{item.isRecommendIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="total=(case" suffix="ELSE total end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('total')) or (colPickMode==1 and !item.containsKey('total'))">
when a.id=#{item.id} then #{item.total}
</when>
<when test="(colPickMode==0 and item.containsKey('totalIncrement')) or (colPickMode==1 and !item.containsKey('totalIncrement'))">
when a.id=#{item.id} then ifnull(a.total,0) + #{item.totalIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="sort=(case" suffix="ELSE sort end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('sort')) or (colPickMode==1 and !item.containsKey('sort'))">
when a.id=#{item.id} then #{item.sort}
</when>
<when test="(colPickMode==0 and item.containsKey('sortIncrement')) or (colPickMode==1 and !item.containsKey('sortIncrement'))">
when a.id=#{item.id} then ifnull(a.sort,0) + #{item.sortIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="sampleName=(case" suffix="ELSE sampleName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('sampleName')) or (colPickMode==1 and !item.containsKey('sampleName'))">
when a.id=#{item.id} then #{item.sampleName}
</if>
</foreach>
</trim>
<trim prefix="samplePath=(case" suffix="ELSE samplePath end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('samplePath')) or (colPickMode==1 and !item.containsKey('samplePath'))">
when a.id=#{item.id} then #{item.samplePath}
</if>
</foreach>
</trim>
<trim prefix="preViewPath=(case" suffix="ELSE preViewPath end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('preViewPath')) or (colPickMode==1 and !item.containsKey('preViewPath'))">
when a.id=#{item.id} then #{item.preViewPath}
</if>
</foreach>
</trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime}
</if>
</foreach>
</trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime}
</if>
</foreach>
</trim>
</trim>
where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
#{item.id}
</foreach>
</update>
<!-- 根据主健查询 -->
<select id="getByKey" parameterType="paramDto" resultMap="DeviceMatterDatumEntity-Map">
select <include refid="_columns"/>
from mortals_xhx_device_matter_datum as a
where a.id=#{condition.id}
</select>
<!-- 根据主健删除 -->
<delete id="deleteByKey" parameterType="paramDto">
delete a.* from mortals_xhx_device_matter_datum as a where a.id=#{condition.id}
</delete>
<!-- 根据主健删除一批,针对单一主健有效 -->
<delete id="deleteByKeys">
delete from mortals_xhx_device_matter_datum where id in
<foreach collection="array" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据主健列表删除一批,针对单一主健有效 -->
<delete id="deleteByKeyList">
delete from mortals_xhx_device_matter_datum where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据对象列表删除一批,针对单一主健有效 -->
<delete id="deleteByEntityList">
delete from mortals_xhx_device_matter_datum where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item.id}
</foreach>
</delete>
<!-- 根据paramDto删除一批 -->
<delete id="deleteByMap" parameterType="paramDto">
delete a.* from mortals_xhx_device_matter_datum as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</delete>
<!-- 获取列表 -->
<select id="getList" parameterType="paramDto" resultMap="DeviceMatterDatumEntity-Map">
select <include refid="_columns"/>
from mortals_xhx_device_matter_datum as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
<include refid="_orderCols_"/>
</select>
<!-- 获取 -->
<select id="getListCount" parameterType="paramDto" resultType="int">
select count(1)
from mortals_xhx_device_matter_datum as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</select>
<!-- 条件映射 -->
<sql id="_condition_">
<if test="condition != null and !condition.isEmpty()">
<!-- 条件映射-普通条件 -->
<include refid="_condition_param_">
<property name="_conditionParam_" value="condition"/>
<property name="_conditionType_" value="and"/>
</include>
<!-- 条件映射-集合之间使用AND,集合中元素使用OR-(list[0].1 or list[0].2) and (list[1].3 or list[1].4) -->
<if test="condition.containsKey('andConditionList') and !condition.andConditionList.isEmpty()">
and
<foreach collection="condition.andConditionList" open="(" close=")" index="index" item="andCondition" separator=" and ">
<trim prefixOverrides="or" prefix="(" suffix=")">
<include refid="_condition_param_">
<property name="_conditionParam_" value="andCondition"/>
<property name="_conditionType_" value="or"/>
</include>
</trim>
</foreach>
</if>
<!-- 条件映射-集合之间使用OR,集合中元素使用AND-(list[0].1 and list[0].2) or (list[1].3 and list[1].4) -->
<if test="condition.containsKey('orConditionList') and !condition.orConditionList.isEmpty()">
and
<foreach collection="condition.orConditionList" open="(" close=")" index="index" item="orCondition" separator=" or ">
<trim prefixOverrides="and" prefix="(" suffix=")">
<include refid="_condition_param_">
<property name="_conditionParam_" value="orCondition"/>
<property name="_conditionType_" value="and"/>
</include>
</trim>
</foreach>
</if>
</if>
</sql>
<!-- 条件映射-代参数 -->
<sql id="_condition_param_">
<bind name="conditionParamRef" value="${_conditionParam_}"/>
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null">
${_conditionType_} a.id=#{${_conditionParam_}.id}
</if>
</if>
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('deviceId')">
<if test="conditionParamRef.deviceId != null ">
${_conditionType_} a.deviceId = #{${_conditionParam_}.deviceId}
</if>
<if test="conditionParamRef.deviceId == null">
${_conditionType_} a.deviceId is null
</if>
</if>
<if test="conditionParamRef.containsKey('deviceIdList') and conditionParamRef.deviceIdList.size() > 0">
${_conditionType_} a.deviceId in
<foreach collection="conditionParamRef.deviceIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceIdNotList') and conditionParamRef.deviceIdNotList.size() > 0">
${_conditionType_} a.deviceId not in
<foreach collection="conditionParamRef.deviceIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceIdStart') and conditionParamRef.deviceIdStart != null">
${_conditionType_} a.deviceId <![CDATA[ >= ]]> #{${_conditionParam_}.deviceIdStart}
</if>
<if test="conditionParamRef.containsKey('deviceIdEnd') and conditionParamRef.deviceIdEnd != null">
${_conditionType_} a.deviceId <![CDATA[ <= ]]> #{${_conditionParam_}.deviceIdEnd}
</if>
<if test="conditionParamRef.containsKey('deviceCode')">
<if test="conditionParamRef.deviceCode != null and conditionParamRef.deviceCode != ''">
${_conditionType_} a.deviceCode like #{${_conditionParam_}.deviceCode}
</if>
<if test="conditionParamRef.deviceCode == null">
${_conditionType_} a.deviceCode is null
</if>
</if>
<if test="conditionParamRef.containsKey('deviceCodeList') and conditionParamRef.deviceCodeList.size() > 0">
${_conditionType_} a.deviceCode in
<foreach collection="conditionParamRef.deviceCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceCodeNotList') and conditionParamRef.deviceCodeNotList.size() > 0">
${_conditionType_} a.deviceCode not in
<foreach collection="conditionParamRef.deviceCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceName')">
<if test="conditionParamRef.deviceName != null and conditionParamRef.deviceName != ''">
${_conditionType_} a.deviceName like #{${_conditionParam_}.deviceName}
</if>
<if test="conditionParamRef.deviceName == null">
${_conditionType_} a.deviceName is null
</if>
</if>
<if test="conditionParamRef.containsKey('deviceNameList') and conditionParamRef.deviceNameList.size() > 0">
${_conditionType_} a.deviceName in
<foreach collection="conditionParamRef.deviceNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deviceNameNotList') and conditionParamRef.deviceNameNotList.size() > 0">
${_conditionType_} a.deviceName not in
<foreach collection="conditionParamRef.deviceNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('productId')">
<if test="conditionParamRef.productId != null ">
${_conditionType_} a.productId = #{${_conditionParam_}.productId}
</if>
<if test="conditionParamRef.productId == null">
${_conditionType_} a.productId is null
</if>
</if>
<if test="conditionParamRef.containsKey('productIdList') and conditionParamRef.productIdList.size() > 0">
${_conditionType_} a.productId in
<foreach collection="conditionParamRef.productIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('productIdNotList') and conditionParamRef.productIdNotList.size() > 0">
${_conditionType_} a.productId not in
<foreach collection="conditionParamRef.productIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('productIdStart') and conditionParamRef.productIdStart != null">
${_conditionType_} a.productId <![CDATA[ >= ]]> #{${_conditionParam_}.productIdStart}
</if>
<if test="conditionParamRef.containsKey('productIdEnd') and conditionParamRef.productIdEnd != null">
${_conditionType_} a.productId <![CDATA[ <= ]]> #{${_conditionParam_}.productIdEnd}
</if>
<if test="conditionParamRef.containsKey('productCode')">
<if test="conditionParamRef.productCode != null and conditionParamRef.productCode != ''">
${_conditionType_} a.productCode like #{${_conditionParam_}.productCode}
</if>
<if test="conditionParamRef.productCode == null">
${_conditionType_} a.productCode is null
</if>
</if>
<if test="conditionParamRef.containsKey('productCodeList') and conditionParamRef.productCodeList.size() > 0">
${_conditionType_} a.productCode in
<foreach collection="conditionParamRef.productCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('productCodeNotList') and conditionParamRef.productCodeNotList.size() > 0">
${_conditionType_} a.productCode not in
<foreach collection="conditionParamRef.productCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('productName')">
<if test="conditionParamRef.productName != null and conditionParamRef.productName != ''">
${_conditionType_} a.productName like #{${_conditionParam_}.productName}
</if>
<if test="conditionParamRef.productName == null">
${_conditionType_} a.productName is null
</if>
</if>
<if test="conditionParamRef.containsKey('productNameList') and conditionParamRef.productNameList.size() > 0">
${_conditionType_} a.productName in
<foreach collection="conditionParamRef.productNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('productNameNotList') and conditionParamRef.productNameNotList.size() > 0">
${_conditionType_} a.productName not in
<foreach collection="conditionParamRef.productNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterId')">
<if test="conditionParamRef.matterId != null ">
${_conditionType_} a.matterId = #{${_conditionParam_}.matterId}
</if>
<if test="conditionParamRef.matterId == null">
${_conditionType_} a.matterId is null
</if>
</if>
<if test="conditionParamRef.containsKey('matterIdList') and conditionParamRef.matterIdList.size() > 0">
${_conditionType_} a.matterId in
<foreach collection="conditionParamRef.matterIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterIdNotList') and conditionParamRef.matterIdNotList.size() > 0">
${_conditionType_} a.matterId not in
<foreach collection="conditionParamRef.matterIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('matterIdStart') and conditionParamRef.matterIdStart != null">
${_conditionType_} a.matterId <![CDATA[ >= ]]> #{${_conditionParam_}.matterIdStart}
</if>
<if test="conditionParamRef.containsKey('matterIdEnd') and conditionParamRef.matterIdEnd != null">
${_conditionType_} a.matterId <![CDATA[ <= ]]> #{${_conditionParam_}.matterIdEnd}
</if>
<if test="conditionParamRef.containsKey('siteId')">
<if test="conditionParamRef.siteId != null ">
${_conditionType_} a.siteId = #{${_conditionParam_}.siteId}
</if>
<if test="conditionParamRef.siteId == null">
${_conditionType_} a.siteId is null
</if>
</if>
<if test="conditionParamRef.containsKey('siteIdList') and conditionParamRef.siteIdList.size() > 0">
${_conditionType_} a.siteId in
<foreach collection="conditionParamRef.siteIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteIdNotList') and conditionParamRef.siteIdNotList.size() > 0">
${_conditionType_} a.siteId not in
<foreach collection="conditionParamRef.siteIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('siteIdStart') and conditionParamRef.siteIdStart != null">
${_conditionType_} a.siteId <![CDATA[ >= ]]> #{${_conditionParam_}.siteIdStart}
</if>
<if test="conditionParamRef.containsKey('siteIdEnd') and conditionParamRef.siteIdEnd != null">
${_conditionType_} a.siteId <![CDATA[ <= ]]> #{${_conditionParam_}.siteIdEnd}
</if>
<if test="conditionParamRef.containsKey('deptId')">
<if test="conditionParamRef.deptId != null ">
${_conditionType_} a.deptId = #{${_conditionParam_}.deptId}
</if>
<if test="conditionParamRef.deptId == null">
${_conditionType_} a.deptId is null
</if>
</if>
<if test="conditionParamRef.containsKey('deptIdList') and conditionParamRef.deptIdList.size() > 0">
${_conditionType_} a.deptId in
<foreach collection="conditionParamRef.deptIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptIdNotList') and conditionParamRef.deptIdNotList.size() > 0">
${_conditionType_} a.deptId not in
<foreach collection="conditionParamRef.deptIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptIdStart') and conditionParamRef.deptIdStart != null">
${_conditionType_} a.deptId <![CDATA[ >= ]]> #{${_conditionParam_}.deptIdStart}
</if>
<if test="conditionParamRef.containsKey('deptIdEnd') and conditionParamRef.deptIdEnd != null">
${_conditionType_} a.deptId <![CDATA[ <= ]]> #{${_conditionParam_}.deptIdEnd}
</if>
<if test="conditionParamRef.containsKey('deptCode')">
<if test="conditionParamRef.deptCode != null and conditionParamRef.deptCode != ''">
${_conditionType_} a.deptCode like #{${_conditionParam_}.deptCode}
</if>
<if test="conditionParamRef.deptCode == null">
${_conditionType_} a.deptCode is null
</if>
</if>
<if test="conditionParamRef.containsKey('deptCodeList') and conditionParamRef.deptCodeList.size() > 0">
${_conditionType_} a.deptCode in
<foreach collection="conditionParamRef.deptCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptCodeNotList') and conditionParamRef.deptCodeNotList.size() > 0">
${_conditionType_} a.deptCode not in
<foreach collection="conditionParamRef.deptCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptName')">
<if test="conditionParamRef.deptName != null and conditionParamRef.deptName != ''">
${_conditionType_} a.deptName like #{${_conditionParam_}.deptName}
</if>
<if test="conditionParamRef.deptName == null">
${_conditionType_} a.deptName is null
</if>
</if>
<if test="conditionParamRef.containsKey('deptNameList') and conditionParamRef.deptNameList.size() > 0">
${_conditionType_} a.deptName in
<foreach collection="conditionParamRef.deptNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptNameNotList') and conditionParamRef.deptNameNotList.size() > 0">
${_conditionType_} a.deptName not in
<foreach collection="conditionParamRef.deptNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('materialName')">
<if test="conditionParamRef.materialName != null and conditionParamRef.materialName != ''">
${_conditionType_} a.materialName like #{${_conditionParam_}.materialName}
</if>
<if test="conditionParamRef.materialName == null">
${_conditionType_} a.materialName is null
</if>
</if>
<if test="conditionParamRef.containsKey('materialNameList') and conditionParamRef.materialNameList.size() > 0">
${_conditionType_} a.materialName in
<foreach collection="conditionParamRef.materialNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('materialNameNotList') and conditionParamRef.materialNameNotList.size() > 0">
${_conditionType_} a.materialName not in
<foreach collection="conditionParamRef.materialNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('materiaFullName')">
<if test="conditionParamRef.materiaFullName != null and conditionParamRef.materiaFullName != ''">
${_conditionType_} a.materiaFullName like #{${_conditionParam_}.materiaFullName}
</if>
<if test="conditionParamRef.materiaFullName == null">
${_conditionType_} a.materiaFullName is null
</if>
</if>
<if test="conditionParamRef.containsKey('materiaFullNameList') and conditionParamRef.materiaFullNameList.size() > 0">
${_conditionType_} a.materiaFullName in
<foreach collection="conditionParamRef.materiaFullNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('materiaFullNameNotList') and conditionParamRef.materiaFullNameNotList.size() > 0">
${_conditionType_} a.materiaFullName not in
<foreach collection="conditionParamRef.materiaFullNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('source')">
<if test="conditionParamRef.source != null ">
${_conditionType_} a.source = #{${_conditionParam_}.source}
</if>
<if test="conditionParamRef.source == null">
${_conditionType_} a.source is null
</if>
</if>
<if test="conditionParamRef.containsKey('sourceList') and conditionParamRef.sourceList.size() > 0">
${_conditionType_} a.source in
<foreach collection="conditionParamRef.sourceList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sourceNotList') and conditionParamRef.sourceNotList.size() > 0">
${_conditionType_} a.source not in
<foreach collection="conditionParamRef.sourceNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sourceStart') and conditionParamRef.sourceStart != null">
${_conditionType_} a.source <![CDATA[ >= ]]> #{${_conditionParam_}.sourceStart}
</if>
<if test="conditionParamRef.containsKey('sourceEnd') and conditionParamRef.sourceEnd != null">
${_conditionType_} a.source <![CDATA[ <= ]]> #{${_conditionParam_}.sourceEnd}
</if>
<if test="conditionParamRef.containsKey('isRecommend')">
<if test="conditionParamRef.isRecommend != null ">
${_conditionType_} a.isRecommend = #{${_conditionParam_}.isRecommend}
</if>
<if test="conditionParamRef.isRecommend == null">
${_conditionType_} a.isRecommend is null
</if>
</if>
<if test="conditionParamRef.containsKey('isRecommendList') and conditionParamRef.isRecommendList.size() > 0">
${_conditionType_} a.isRecommend in
<foreach collection="conditionParamRef.isRecommendList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isRecommendNotList') and conditionParamRef.isRecommendNotList.size() > 0">
${_conditionType_} a.isRecommend not in
<foreach collection="conditionParamRef.isRecommendNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('isRecommendStart') and conditionParamRef.isRecommendStart != null">
${_conditionType_} a.isRecommend <![CDATA[ >= ]]> #{${_conditionParam_}.isRecommendStart}
</if>
<if test="conditionParamRef.containsKey('isRecommendEnd') and conditionParamRef.isRecommendEnd != null">
${_conditionType_} a.isRecommend <![CDATA[ <= ]]> #{${_conditionParam_}.isRecommendEnd}
</if>
<if test="conditionParamRef.containsKey('total')">
<if test="conditionParamRef.total != null ">
${_conditionType_} a.total = #{${_conditionParam_}.total}
</if>
<if test="conditionParamRef.total == null">
${_conditionType_} a.total is null
</if>
</if>
<if test="conditionParamRef.containsKey('totalList') and conditionParamRef.totalList.size() > 0">
${_conditionType_} a.total in
<foreach collection="conditionParamRef.totalList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('totalNotList') and conditionParamRef.totalNotList.size() > 0">
${_conditionType_} a.total not in
<foreach collection="conditionParamRef.totalNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('totalStart') and conditionParamRef.totalStart != null">
${_conditionType_} a.total <![CDATA[ >= ]]> #{${_conditionParam_}.totalStart}
</if>
<if test="conditionParamRef.containsKey('totalEnd') and conditionParamRef.totalEnd != null">
${_conditionType_} a.total <![CDATA[ <= ]]> #{${_conditionParam_}.totalEnd}
</if>
<if test="conditionParamRef.containsKey('sort')">
<if test="conditionParamRef.sort != null ">
${_conditionType_} a.sort = #{${_conditionParam_}.sort}
</if>
<if test="conditionParamRef.sort == null">
${_conditionType_} a.sort is null
</if>
</if>
<if test="conditionParamRef.containsKey('sortList') and conditionParamRef.sortList.size() > 0">
${_conditionType_} a.sort in
<foreach collection="conditionParamRef.sortList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sortNotList') and conditionParamRef.sortNotList.size() > 0">
${_conditionType_} a.sort not in
<foreach collection="conditionParamRef.sortNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sortStart') and conditionParamRef.sortStart != null">
${_conditionType_} a.sort <![CDATA[ >= ]]> #{${_conditionParam_}.sortStart}
</if>
<if test="conditionParamRef.containsKey('sortEnd') and conditionParamRef.sortEnd != null">
${_conditionType_} a.sort <![CDATA[ <= ]]> #{${_conditionParam_}.sortEnd}
</if>
<if test="conditionParamRef.containsKey('sampleName')">
<if test="conditionParamRef.sampleName != null and conditionParamRef.sampleName != ''">
${_conditionType_} a.sampleName like #{${_conditionParam_}.sampleName}
</if>
<if test="conditionParamRef.sampleName == null">
${_conditionType_} a.sampleName is null
</if>
</if>
<if test="conditionParamRef.containsKey('sampleNameList') and conditionParamRef.sampleNameList.size() > 0">
${_conditionType_} a.sampleName in
<foreach collection="conditionParamRef.sampleNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('sampleNameNotList') and conditionParamRef.sampleNameNotList.size() > 0">
${_conditionType_} a.sampleName not in
<foreach collection="conditionParamRef.sampleNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('samplePath')">
<if test="conditionParamRef.samplePath != null and conditionParamRef.samplePath != ''">
${_conditionType_} a.samplePath like #{${_conditionParam_}.samplePath}
</if>
<if test="conditionParamRef.samplePath == null">
${_conditionType_} a.samplePath is null
</if>
</if>
<if test="conditionParamRef.containsKey('samplePathList') and conditionParamRef.samplePathList.size() > 0">
${_conditionType_} a.samplePath in
<foreach collection="conditionParamRef.samplePathList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('samplePathNotList') and conditionParamRef.samplePathNotList.size() > 0">
${_conditionType_} a.samplePath not in
<foreach collection="conditionParamRef.samplePathNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('preViewPath')">
<if test="conditionParamRef.preViewPath != null and conditionParamRef.preViewPath != ''">
${_conditionType_} a.preViewPath like #{${_conditionParam_}.preViewPath}
</if>
<if test="conditionParamRef.preViewPath == null">
${_conditionType_} a.preViewPath is null
</if>
</if>
<if test="conditionParamRef.containsKey('preViewPathList') and conditionParamRef.preViewPathList.size() > 0">
${_conditionType_} a.preViewPath in
<foreach collection="conditionParamRef.preViewPathList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('preViewPathNotList') and conditionParamRef.preViewPathNotList.size() > 0">
${_conditionType_} a.preViewPath not in
<foreach collection="conditionParamRef.preViewPathNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
</sql>
<sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()">
order by
<trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
${item.colName} ${item.sortKind}
</foreach>
</trim>
</if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by
<trim suffixOverrides="," suffix="">
<if test="orderCol.containsKey('id')">
a.id
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deviceId')">
a.deviceId
<if test='orderCol.deviceId != null and "DESC".equalsIgnoreCase(orderCol.deviceId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deviceCode')">
a.deviceCode
<if test='orderCol.deviceCode != null and "DESC".equalsIgnoreCase(orderCol.deviceCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deviceName')">
a.deviceName
<if test='orderCol.deviceName != null and "DESC".equalsIgnoreCase(orderCol.deviceName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('productId')">
a.productId
<if test='orderCol.productId != null and "DESC".equalsIgnoreCase(orderCol.productId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('productCode')">
a.productCode
<if test='orderCol.productCode != null and "DESC".equalsIgnoreCase(orderCol.productCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('productName')">
a.productName
<if test='orderCol.productName != null and "DESC".equalsIgnoreCase(orderCol.productName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('matterId')">
a.matterId
<if test='orderCol.matterId != null and "DESC".equalsIgnoreCase(orderCol.matterId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('siteId')">
a.siteId
<if test='orderCol.siteId != null and "DESC".equalsIgnoreCase(orderCol.siteId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptId')">
a.deptId
<if test='orderCol.deptId != null and "DESC".equalsIgnoreCase(orderCol.deptId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptCode')">
a.deptCode
<if test='orderCol.deptCode != null and "DESC".equalsIgnoreCase(orderCol.deptCode)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('deptName')">
a.deptName
<if test='orderCol.deptName != null and "DESC".equalsIgnoreCase(orderCol.deptName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('materialName')">
a.materialName
<if test='orderCol.materialName != null and "DESC".equalsIgnoreCase(orderCol.materialName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('materiaFullName')">
a.materiaFullName
<if test='orderCol.materiaFullName != null and "DESC".equalsIgnoreCase(orderCol.materiaFullName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('source')">
a.source
<if test='orderCol.source != null and "DESC".equalsIgnoreCase(orderCol.source)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('isRecommend')">
a.isRecommend
<if test='orderCol.isRecommend != null and "DESC".equalsIgnoreCase(orderCol.isRecommend)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('total')">
a.total
<if test='orderCol.total != null and "DESC".equalsIgnoreCase(orderCol.total)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('sort')">
a.sort
<if test='orderCol.sort != null and "DESC".equalsIgnoreCase(orderCol.sort)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('sampleName')">
a.sampleName
<if test='orderCol.sampleName != null and "DESC".equalsIgnoreCase(orderCol.sampleName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('samplePath')">
a.samplePath
<if test='orderCol.samplePath != null and "DESC".equalsIgnoreCase(orderCol.samplePath)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('preViewPath')">
a.preViewPath
<if test='orderCol.preViewPath != null and "DESC".equalsIgnoreCase(orderCol.preViewPath)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createTime')">
a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserId')">
a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateTime')">
a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
</trim>
</if>
</sql>
<sql id="_group_by_">
<if test="groupList != null and !groupList.isEmpty()">
GROUP BY
<trim suffixOverrides="," suffix="">
<foreach collection="groupList" open="" close="" index="index" item="item" separator=",">
${item}
</foreach>
</trim>
</if>
</sql>
</mapper>
\ No newline at end of file
###登录
POST {{baseUrl}}/login/login
Content-Type: application/json
{
"loginName":"admin",
"password":"admin",
"securityCode":"8888"
}
> {%
client.global.set("SmsSet_id", JSON.parse(response.body).data.id);
client.global.set("authToken", JSON.parse(response.body).data.token);
%}
###设备事项申请材料业务列表
POST {{baseUrl}}/device/matter/datum/list
Authorization: {{authToken}}
Content-Type: application/json
{
"deviceCode":"ayeliw",
"siteId":969,
"page":1,
"size":10
}
###设备事项申请材料业务更新与保存
POST {{baseUrl}}/device/matter/datum/save
Authorization: {{authToken}}
Content-Type: application/json
{
"deviceId":774,
"deviceCode":"cq4ted",
"deviceName":"ivgx2j",
"productId":60,
"productCode":"r76xdx",
"productName":"l3ojgr",
"matterId":487,
"siteId":572,
"deptId":798,
"deptCode":"tpqg1i",
"deptName":"bpo2fi",
"materialName":"9na5yj",
"materiaFullName":"jf6xja",
"source":741,
"isRecommend":229,
"total":720,
"sort":851,
"sampleName":"zl9yi4",
"samplePath":"qu0r4t",
"preViewPath":"jq065d",
}
> {%
client.global.set("DeviceMatterDatum_id", JSON.parse(response.body).data.id);
%}
###设备事项申请材料业务查看
GET {{baseUrl}}/device/matter/datum/info?id={{DeviceMatterDatum_id}}
Authorization: {{authToken}}
Accept: application/json
###设备事项申请材料业务编辑
GET {{baseUrl}}/device/matter/datum/edit?id={{DeviceMatterDatum_id}}
Authorization: {{authToken}}
Accept: application/json
###设备事项申请材料业务删除
GET {{baseUrl}}/device/matter/datum/delete?id={{DeviceMatterDatum_id}}
Authorization: {{authToken}}
Accept: application/json
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