Commit 1fe767a1 authored by 赵啸非's avatar 赵啸非

添加公共庫

parent 2d3bed33
This diff is collapsed.
......@@ -90,7 +90,7 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
}
private MatterEntity updateOrSave(SheetMatterEntity sheetMatterEntity, Long siteId, Context context) {
MatterEntity siteMatterEntity = this.selectOne(new MatterQuery().siteId(siteId).tcode(sheetMatterEntity.getTcode()));
MatterEntity siteMatterEntity = this.selectOne(new MatterQuery().siteId(siteId).matterNo(sheetMatterEntity.getMatterNo()));
if (ObjectUtils.isEmpty(siteMatterEntity)) {
MatterEntity matterEntity = new MatterEntity();
matterEntity.initAttrValue();
......
......@@ -11,7 +11,7 @@ import com.mortals.xhx.module.sheet.model.vo.SheetMatterVo;
* 基础事项实体对象
*
* @author zxfei
* @date 2022-11-10
* @date 2022-11-16
*/
public class SheetMatterEntity extends SheetMatterVo {
......@@ -53,6 +53,10 @@ public class SheetMatterEntity extends SheetMatterVo {
* 部门编号
*/
private String deptCode;
/**
* 部门名称
*/
private String deptName;
/**
* 行政权力编号
*/
......@@ -435,6 +439,20 @@ public class SheetMatterEntity extends SheetMatterVo {
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
......@@ -1348,6 +1366,7 @@ public class SheetMatterEntity extends SheetMatterVo {
sb.append(",matterNo:").append(getMatterNo());
sb.append(",areaCode:").append(getAreaCode());
sb.append(",deptCode:").append(getDeptCode());
sb.append(",deptName:").append(getDeptName());
sb.append(",powerCode:").append(getPowerCode());
sb.append(",themeCode:").append(getThemeCode());
sb.append(",usertypeCode:").append(getUsertypeCode());
......@@ -1420,19 +1439,21 @@ public class SheetMatterEntity extends SheetMatterVo {
this.tid = null;
this.tcode = null;
this.tcode = "";
this.tname = null;
this.tname = "";
this.matterName = null;
this.matterName = "";
this.englishName = null;
this.englishName = "";
this.matterNo = null;
this.areaCode = null;
this.deptCode = null;
this.deptCode = "";
this.deptName = null;
this.powerCode = null;
......@@ -1444,17 +1465,17 @@ public class SheetMatterEntity extends SheetMatterVo {
this.url = null;
this.haveGetMatterInfo = null;
this.haveGetMatterInfo = "0";
this.belongDept = null;
this.belongDept = "";
this.appoveObjectShow = null;
this.appoveObjectShow = "事业法人";
this.operatScopeShow = null;
this.operatScopeShow = "无";
this.appoveTimeLimitShow = null;
this.appoveTimeLimitShow = "网络办件";
this.handleType = null;
this.handleType = "窗口办理";
this.legalTimeLimitShow = null;
......@@ -1464,9 +1485,9 @@ public class SheetMatterEntity extends SheetMatterVo {
this.promiseEndExplain = null;
this.isChargesShow = null;
this.isChargesShow = "否";
this.certificationLevelsShow = null;
this.certificationLevelsShow = "实名认证";
this.planTakeTime = null;
......@@ -1476,25 +1497,25 @@ public class SheetMatterEntity extends SheetMatterVo {
this.windowToTheSceneNum = null;
this.isOnlineSubscribeShow = null;
this.isOnlineSubscribeShow = "否";
this.isExpressTakeShow = null;
this.isExpressTakeShow = "否";
this.isProvinceAcquisitionShow = null;
this.isProvinceAcquisitionShow = "否";
this.isApplyProvinceShow = null;
this.isApplyProvinceShow = "否";
this.mustSceneExplain = null;
this.onlineType = null;
this.onlineType = "原件预审";
this.onlineToTheSceneNum = null;
this.onlineToTheSceneNum = 0;
this.onlineOperatDeep = null;
this.onlineOperatDeep = "互联网咨询";
this.isExpressTakeOnlineShow = null;
this.isDoorTakeShow = null;
this.isDoorTakeShow = "否";
this.onlineMustSceneExplain = null;
......@@ -1502,7 +1523,7 @@ public class SheetMatterEntity extends SheetMatterVo {
this.matterEdition = null;
this.eventTypeShow = null;
this.eventTypeShow = "行政许可";
this.performHierarchyShow = null;
......@@ -1510,25 +1531,25 @@ public class SheetMatterEntity extends SheetMatterVo {
this.performDeptTypeShow = null;
this.goveServiceCenterShow = null;
this.goveServiceCenterShow = "否";
this.isConvenientCenterShow = null;
this.isConvenientCenterShow = "否";
this.terminalHandle = null;
this.terminalHandle = "是";
this.isOnline = null;
this.isOnline = "是";
this.isOnlinePayShow = null;
this.isOnlinePayShow = "是";
this.entrustmentDepartmen = null;
this.entrustmentDepartmen = "是";
this.jointInfoShow = null;
this.matterStatus = null;
this.matterStatus = "在用";
this.numberLimit = null;
this.type = null;
this.type = "";
this.baseCode = null;
......@@ -1558,6 +1579,6 @@ public class SheetMatterEntity extends SheetMatterVo {
this.sort = null;
this.source = null;
this.source = 1;
}
}
\ No newline at end of file
......@@ -7,7 +7,7 @@ import com.mortals.xhx.module.sheet.model.SheetMatterEntity;
* 基础事项查询对象
*
* @author zxfei
* @date 2022-11-10
* @date 2022-11-16
*/
public class SheetMatterQuery extends SheetMatterEntity {
/** 开始 序号,主键,自增长 */
......@@ -58,6 +58,9 @@ public class SheetMatterQuery extends SheetMatterEntity {
/** 部门编号 */
private List<String> deptCodeList;
/** 部门名称 */
private List<String> deptNameList;
/** 行政权力编号 */
private List<String> powerCodeList;
......@@ -578,6 +581,21 @@ public class SheetMatterQuery extends SheetMatterEntity {
public void setDeptCodeList(List<String> deptCodeList){
this.deptCodeList = deptCodeList;
}
/**
* 获取 部门名称
* @return deptNameList
*/
public List<String> getDeptNameList(){
return this.deptNameList;
}
/**
* 设置 部门名称
* @param deptNameList
*/
public void setDeptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
}
/**
* 获取 行政权力编号
* @return powerCodeList
......@@ -2173,6 +2191,25 @@ public class SheetMatterQuery extends SheetMatterEntity {
}
/**
* 设置 部门名称
* @param deptName
*/
public SheetMatterQuery deptName(String deptName){
setDeptName(deptName);
return this;
}
/**
* 设置 部门名称
* @param deptNameList
*/
public SheetMatterQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList;
return this;
}
/**
* 设置 行政权力编号
* @param powerCode
......
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