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

事项增加部门名称字段

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