Commit c075fee0 authored by 廖旭伟's avatar 廖旭伟

事项增加部门名称字段

parent 9eccdb5b
...@@ -977,6 +977,7 @@ data|object|数据对象 ...@@ -977,6 +977,7 @@ data|object|数据对象
  matterNo|String|事项编号   matterNo|String|事项编号
  matterFullName|String|事项全称   matterFullName|String|事项全称
  deptId|Long|部门ID   deptId|Long|部门ID
  deptName|String|部门名称
  total|Integer|填单次数   total|Integer|填单次数
  sort|Integer|排序   sort|Integer|排序
  isRecommend|Integer|是否推荐(0.未推荐,1.推荐)   isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
...@@ -1033,6 +1034,7 @@ data|object|数据对象 ...@@ -1033,6 +1034,7 @@ data|object|数据对象
 matterNo|String|事项编号  matterNo|String|事项编号
 matterFullName|String|事项全称  matterFullName|String|事项全称
 deptId|Long|部门ID  deptId|Long|部门ID
 deptName|String|部门名称
 total|Integer|填单次数  total|Integer|填单次数
 sort|Integer|排序  sort|Integer|排序
 isRecommend|Integer|是否推荐(0.未推荐,1.推荐)  isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
...@@ -1058,6 +1060,7 @@ dict|object|字典对象 ...@@ -1058,6 +1060,7 @@ dict|object|字典对象
"matterNo":"mws7bh", "matterNo":"mws7bh",
"matterFullName":"po9xik", "matterFullName":"po9xik",
"deptId":468, "deptId":468,
"deptName":"po9xik",
"total":1593, "total":1593,
"sort":4204, "sort":4204,
"isRecommend":1599, "isRecommend":1599,
...@@ -1100,6 +1103,7 @@ updateTime|Date|否|修改时间 ...@@ -1100,6 +1103,7 @@ updateTime|Date|否|修改时间
"matterNo":"6xj19v", "matterNo":"6xj19v",
"matterFullName":"b69j7y", "matterFullName":"b69j7y",
"deptId":6209, "deptId":6209,
"deptName":"po9xik",
"total":7382, "total":7382,
"sort":2926, "sort":2926,
"isRecommend":0, "isRecommend":0,
...@@ -1126,6 +1130,7 @@ data|object|数据对象 ...@@ -1126,6 +1130,7 @@ data|object|数据对象
  matterNo|String|事项编号   matterNo|String|事项编号
  matterFullName|String|事项全称   matterFullName|String|事项全称
  deptId|Long|部门ID   deptId|Long|部门ID
  deptName|String|部门名称
  total|Integer|填单次数   total|Integer|填单次数
  sort|Integer|排序   sort|Integer|排序
  isRecommend|Integer|是否推荐(0.未推荐,1.推荐)   isRecommend|Integer|是否推荐(0.未推荐,1.推荐)
......
...@@ -10,7 +10,7 @@ import com.mortals.xhx.module.matter.model.vo.MatterVo; ...@@ -10,7 +10,7 @@ import com.mortals.xhx.module.matter.model.vo.MatterVo;
* 事项申请材料实体对象 * 事项申请材料实体对象
* *
* @author zxfei * @author zxfei
* @date 2022-10-10 * @date 2022-10-11
*/ */
public class MatterEntity extends MatterVo { public class MatterEntity extends MatterVo {
...@@ -53,6 +53,10 @@ public class MatterEntity extends MatterVo { ...@@ -53,6 +53,10 @@ public class MatterEntity extends MatterVo {
*/ */
private Long deptId; private Long deptId;
/** /**
* 部门名称
*/
private String deptName;
/**
* 填单次数 * 填单次数
*/ */
private Integer total; private Integer total;
...@@ -65,7 +69,7 @@ public class MatterEntity extends MatterVo { ...@@ -65,7 +69,7 @@ public class MatterEntity extends MatterVo {
*/ */
private Integer isRecommend; private Integer isRecommend;
/** /**
* 事项来源(0.手动添加,1.站点事项) * 是否推荐(0.手动添加,1.站点事项)
*/ */
private Integer source; private Integer source;
...@@ -199,6 +203,20 @@ public class MatterEntity extends MatterVo { ...@@ -199,6 +203,20 @@ public class MatterEntity extends MatterVo {
this.deptId = deptId; this.deptId = deptId;
} }
/** /**
* 获取 部门名称
* @return String
*/
public String getDeptName(){
return deptName;
}
/**
* 设置 部门名称
* @param deptName
*/
public void setDeptName(String deptName){
this.deptName = deptName;
}
/**
* 获取 填单次数 * 获取 填单次数
* @return Integer * @return Integer
*/ */
...@@ -241,14 +259,14 @@ public class MatterEntity extends MatterVo { ...@@ -241,14 +259,14 @@ public class MatterEntity extends MatterVo {
this.isRecommend = isRecommend; this.isRecommend = isRecommend;
} }
/** /**
* 获取 事项来源(0.手动添加,1.站点事项) * 获取 是否推荐(0.手动添加,1.站点事项)
* @return Integer * @return Integer
*/ */
public Integer getSource(){ public Integer getSource(){
return source; return source;
} }
/** /**
* 设置 事项来源(0.手动添加,1.站点事项) * 设置 是否推荐(0.手动添加,1.站点事项)
* @param source * @param source
*/ */
public void setSource(Integer source){ public void setSource(Integer source){
...@@ -285,6 +303,7 @@ public class MatterEntity extends MatterVo { ...@@ -285,6 +303,7 @@ public class MatterEntity extends MatterVo {
sb.append(",matterNo:").append(getMatterNo()); sb.append(",matterNo:").append(getMatterNo());
sb.append(",matterFullName:").append(getMatterFullName()); sb.append(",matterFullName:").append(getMatterFullName());
sb.append(",deptId:").append(getDeptId()); sb.append(",deptId:").append(getDeptId());
sb.append(",deptName:").append(getDeptName());
sb.append(",total:").append(getTotal()); sb.append(",total:").append(getTotal());
sb.append(",sort:").append(getSort()); sb.append(",sort:").append(getSort());
sb.append(",isRecommend:").append(getIsRecommend()); sb.append(",isRecommend:").append(getIsRecommend());
...@@ -312,6 +331,8 @@ public class MatterEntity extends MatterVo { ...@@ -312,6 +331,8 @@ public class MatterEntity extends MatterVo {
this.deptId = null; this.deptId = null;
this.deptName = "";
this.total = null; this.total = null;
this.sort = null; this.sort = null;
......
...@@ -6,7 +6,7 @@ import com.mortals.xhx.module.matter.model.MatterEntity; ...@@ -6,7 +6,7 @@ import com.mortals.xhx.module.matter.model.MatterEntity;
* 事项申请材料查询对象 * 事项申请材料查询对象
* *
* @author zxfei * @author zxfei
* @date 2022-10-10 * @date 2022-10-11
*/ */
public class MatterQuery extends MatterEntity { public class MatterQuery extends MatterEntity {
/** 开始 主键,自增长 */ /** 开始 主键,自增长 */
...@@ -66,6 +66,9 @@ public class MatterQuery extends MatterEntity { ...@@ -66,6 +66,9 @@ public class MatterQuery extends MatterEntity {
/** 部门ID列表 */ /** 部门ID列表 */
private List <Long> deptIdList; private List <Long> deptIdList;
/** 部门名称 */
private List<String> deptNameList;
/** 开始 填单次数 */ /** 开始 填单次数 */
private Integer totalStart; private Integer totalStart;
...@@ -102,16 +105,16 @@ public class MatterQuery extends MatterEntity { ...@@ -102,16 +105,16 @@ public class MatterQuery extends MatterEntity {
/** 是否推荐(0.未推荐,1.推荐)列表 */ /** 是否推荐(0.未推荐,1.推荐)列表 */
private List <Integer> isRecommendList; private List <Integer> isRecommendList;
/** 开始 事项来源(0.手动添加,1.站点事项) */ /** 开始 是否推荐(0.手动添加,1.站点事项) */
private Integer sourceStart; private Integer sourceStart;
/** 结束 事项来源(0.手动添加,1.站点事项) */ /** 结束 是否推荐(0.手动添加,1.站点事项) */
private Integer sourceEnd; private Integer sourceEnd;
/** 增加 事项来源(0.手动添加,1.站点事项) */ /** 增加 是否推荐(0.手动添加,1.站点事项) */
private Integer sourceIncrement; private Integer sourceIncrement;
/** 事项来源(0.手动添加,1.站点事项)列表 */ /** 是否推荐(0.手动添加,1.站点事项)列表 */
private List <Integer> sourceList; private List <Integer> sourceList;
/** 开始 创建时间 */ /** 开始 创建时间 */
...@@ -443,6 +446,21 @@ public class MatterQuery extends MatterEntity { ...@@ -443,6 +446,21 @@ public class MatterQuery extends MatterEntity {
this.deptIdList = deptIdList; this.deptIdList = deptIdList;
} }
/**
* 获取 部门名称
* @return deptNameList
*/
public List<String> getDeptNameList(){
return this.deptNameList;
}
/**
* 设置 部门名称
* @param deptNameList
*/
public void setDeptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
}
/** /**
* 获取 开始 填单次数 * 获取 开始 填单次数
* @return totalStart * @return totalStart
...@@ -636,7 +654,7 @@ public class MatterQuery extends MatterEntity { ...@@ -636,7 +654,7 @@ public class MatterQuery extends MatterEntity {
} }
/** /**
* 获取 开始 事项来源(0.手动添加,1.站点事项) * 获取 开始 是否推荐(0.手动添加,1.站点事项)
* @return sourceStart * @return sourceStart
*/ */
public Integer getSourceStart(){ public Integer getSourceStart(){
...@@ -644,7 +662,7 @@ public class MatterQuery extends MatterEntity { ...@@ -644,7 +662,7 @@ public class MatterQuery extends MatterEntity {
} }
/** /**
* 设置 开始 事项来源(0.手动添加,1.站点事项) * 设置 开始 是否推荐(0.手动添加,1.站点事项)
* @param sourceStart * @param sourceStart
*/ */
public void setSourceStart(Integer sourceStart){ public void setSourceStart(Integer sourceStart){
...@@ -652,7 +670,7 @@ public class MatterQuery extends MatterEntity { ...@@ -652,7 +670,7 @@ public class MatterQuery extends MatterEntity {
} }
/** /**
* 获取 结束 事项来源(0.手动添加,1.站点事项) * 获取 结束 是否推荐(0.手动添加,1.站点事项)
* @return $sourceEnd * @return $sourceEnd
*/ */
public Integer getSourceEnd(){ public Integer getSourceEnd(){
...@@ -660,7 +678,7 @@ public class MatterQuery extends MatterEntity { ...@@ -660,7 +678,7 @@ public class MatterQuery extends MatterEntity {
} }
/** /**
* 设置 结束 事项来源(0.手动添加,1.站点事项) * 设置 结束 是否推荐(0.手动添加,1.站点事项)
* @param sourceEnd * @param sourceEnd
*/ */
public void setSourceEnd(Integer sourceEnd){ public void setSourceEnd(Integer sourceEnd){
...@@ -668,7 +686,7 @@ public class MatterQuery extends MatterEntity { ...@@ -668,7 +686,7 @@ public class MatterQuery extends MatterEntity {
} }
/** /**
* 获取 增加 事项来源(0.手动添加,1.站点事项) * 获取 增加 是否推荐(0.手动添加,1.站点事项)
* @return sourceIncrement * @return sourceIncrement
*/ */
public Integer getSourceIncrement(){ public Integer getSourceIncrement(){
...@@ -676,7 +694,7 @@ public class MatterQuery extends MatterEntity { ...@@ -676,7 +694,7 @@ public class MatterQuery extends MatterEntity {
} }
/** /**
* 设置 增加 事项来源(0.手动添加,1.站点事项) * 设置 增加 是否推荐(0.手动添加,1.站点事项)
* @param sourceIncrement * @param sourceIncrement
*/ */
public void setSourceIncrement(Integer sourceIncrement){ public void setSourceIncrement(Integer sourceIncrement){
...@@ -684,7 +702,7 @@ public class MatterQuery extends MatterEntity { ...@@ -684,7 +702,7 @@ public class MatterQuery extends MatterEntity {
} }
/** /**
* 获取 事项来源(0.手动添加,1.站点事项) * 获取 是否推荐(0.手动添加,1.站点事项)
* @return sourceList * @return sourceList
*/ */
public List<Integer> getSourceList(){ public List<Integer> getSourceList(){
...@@ -692,7 +710,7 @@ public class MatterQuery extends MatterEntity { ...@@ -692,7 +710,7 @@ public class MatterQuery extends MatterEntity {
} }
/** /**
* 设置 事项来源(0.手动添加,1.站点事项) * 设置 是否推荐(0.手动添加,1.站点事项)
* @param sourceList * @param sourceList
*/ */
public void setSourceList(List<Integer> sourceList){ public void setSourceList(List<Integer> sourceList){
...@@ -1095,6 +1113,25 @@ public class MatterQuery extends MatterEntity { ...@@ -1095,6 +1113,25 @@ public class MatterQuery extends MatterEntity {
return this; return this;
} }
/**
* 设置 部门名称
* @param deptName
*/
public MatterQuery deptName(String deptName){
setDeptName(deptName);
return this;
}
/**
* 设置 部门名称
* @param deptNameList
*/
public MatterQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
return this;
}
/** /**
* 设置 填单次数 * 设置 填单次数
* @param total * @param total
...@@ -1231,7 +1268,7 @@ public class MatterQuery extends MatterEntity { ...@@ -1231,7 +1268,7 @@ public class MatterQuery extends MatterEntity {
} }
/** /**
* 设置 事项来源(0.手动添加,1.站点事项) * 设置 是否推荐(0.手动添加,1.站点事项)
* @param source * @param source
*/ */
public MatterQuery source(Integer source){ public MatterQuery source(Integer source){
...@@ -1240,7 +1277,7 @@ public class MatterQuery extends MatterEntity { ...@@ -1240,7 +1277,7 @@ public class MatterQuery extends MatterEntity {
} }
/** /**
* 设置 开始 事项来源(0.手动添加,1.站点事项) * 设置 开始 是否推荐(0.手动添加,1.站点事项)
* @param sourceStart * @param sourceStart
*/ */
public MatterQuery sourceStart(Integer sourceStart){ public MatterQuery sourceStart(Integer sourceStart){
...@@ -1249,7 +1286,7 @@ public class MatterQuery extends MatterEntity { ...@@ -1249,7 +1286,7 @@ public class MatterQuery extends MatterEntity {
} }
/** /**
* 设置 结束 事项来源(0.手动添加,1.站点事项) * 设置 结束 是否推荐(0.手动添加,1.站点事项)
* @param sourceEnd * @param sourceEnd
*/ */
public MatterQuery sourceEnd(Integer sourceEnd){ public MatterQuery sourceEnd(Integer sourceEnd){
...@@ -1258,7 +1295,7 @@ public class MatterQuery extends MatterEntity { ...@@ -1258,7 +1295,7 @@ public class MatterQuery extends MatterEntity {
} }
/** /**
* 设置 增加 事项来源(0.手动添加,1.站点事项) * 设置 增加 是否推荐(0.手动添加,1.站点事项)
* @param sourceIncrement * @param sourceIncrement
*/ */
public MatterQuery sourceIncrement(Integer sourceIncrement){ public MatterQuery sourceIncrement(Integer sourceIncrement){
...@@ -1267,7 +1304,7 @@ public class MatterQuery extends MatterEntity { ...@@ -1267,7 +1304,7 @@ public class MatterQuery extends MatterEntity {
} }
/** /**
* 设置 事项来源(0.手动添加,1.站点事项) * 设置 是否推荐(0.手动添加,1.站点事项)
* @param sourceList * @param sourceList
*/ */
public MatterQuery sourceList(List<Integer> sourceList){ public MatterQuery sourceList(List<Integer> sourceList){
......
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