Commit b5e8e1df authored by “yiyousong”'s avatar “yiyousong”
parents 8b1e0eb0 83cd7550
......@@ -406,6 +406,8 @@ CREATE TABLE mortals_sys_matter
`superviseShow` varchar(1024) COMMENT '监督投诉方式',
`sort` int(4) COMMENT '排序',
`source` tinyint(2) COMMENT '事项来源(0.政务网,1.自定义)',
`evaluationUrl` varchar(1024) COMMENT '评价地址',
`netApplyUrl` varchar(1024) COMMENT '申请地址',
`createTime` datetime COMMENT '创建时间',
`createUserId` bigint(20) COMMENT '创建用户',
`updateTime` datetime COMMENT '修改时间',
......
......@@ -9141,7 +9141,7 @@ data| object |数据对象
  appThemeName| String |应用主题名称
  type| Integer |类型(1.终端应用,2.移动端应用)
  downDevCount| Integer |下发设备次数
  shelves| Integer |是否上架(0.上架,1.下架)
  shelves| Integer |是否上架(1.上架,0.下架)
  filePath| String |文件相对路径地址
  distributeFilePath| String |文件部署路径地址
  version| String |当前版本
......@@ -9208,7 +9208,7 @@ data|object|数据对象
 appThemeName|String|应用主题名称
 type|Integer|类型(1.终端应用,2.移动端应用)
 downDevCount|Integer|下发设备次数
 shelves|Integer|是否上架(0.上架,1.下架)
 shelves|Integer|是否上架(1.上架,0.下架)
 filePath|String|文件相对路径地址
 distributeFilePath|String|文件部署路径地址
 version|String|当前版本
......
......@@ -2,6 +2,8 @@ package com.mortals.xhx.common.utils;
import cn.hutool.core.net.url.UrlBuilder;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.core.util.ReUtil;
import cn.hutool.core.util.StrUtil;
import com.alibaba.fastjson.JSON;
import com.mortals.framework.common.Rest;
import com.mortals.framework.util.DataUtil;
......@@ -55,7 +57,7 @@ public class MatterHtmlParseUtil {
List<MatterEntity> matterEntityList = new ArrayList<>();
try {
Document dom = Jsoup.connect(url).data(params).get();
//System.out.println(dom.html());
//System.out.println(dom.html());
Elements elements = dom.selectXpath(matterListExp);
for (int i = 0; i < elements.size(); i++) {
......@@ -65,10 +67,34 @@ public class MatterHtmlParseUtil {
}
String title = element.attr("title");
String href = element.firstElementChild().attr("href");
//element.child()
if (href.equalsIgnoreCase("javascript:void(0)")) {
continue;
}
buildMatter(matterEntityList, title, href);
//抓取申请与评价页面地址
Element nextElementSibling = element.nextElementSibling();
String evaluationUrl = "";
String netApplyUrl = "";
Elements elementsA = nextElementSibling.selectXpath("//a");
if (elementsA != null) {
for (Element tempElement : elementsA) {
if (tempElement.text().trim().equals("好差评")) {
String onclick = tempElement.attr("onclick");
evaluationUrl = StrUtil.subBetween(onclick, "evaluation('", "')");
}
if (tempElement.text().trim().equals("申请")) {
String onclick = tempElement.attr("onclick");
List<String> list = ReUtil.findAllGroup0("'(.*?)'", onclick);
if (list.size() > 4) {
netApplyUrl = StrUtil.subBetween(list.get(3), "'", "'");
}
}
}
}
buildMatter(matterEntityList, title, href, evaluationUrl, netApplyUrl);
}
elements = dom.selectXpath(matterListLiExp);
......@@ -79,7 +105,27 @@ public class MatterHtmlParseUtil {
}
String title = element.attr("title");
String href = element.attr("href");
buildMatter(matterEntityList, title, href);
//抓取申请与评价页面地址
String evaluationUrl = "";
String netApplyUrl = "";
Element nextElementSibling = element.nextElementSibling();
if (nextElementSibling != null) {
Elements elementsA = nextElementSibling.selectXpath("//a");
for (Element tempElement : elementsA) {
if ("好差评".equals(tempElement.text().trim())) {
String onclick = tempElement.attr("onclick");
evaluationUrl = StrUtil.subBetween(onclick, "evaluation('", "')");
}
if ("申请".equals(tempElement.text().trim())) {
String onclick = tempElement.attr("onclick");
List<String> list = ReUtil.findAllGroup0("'(.*?)'", onclick);
if (list.size() > 4) {
netApplyUrl = StrUtil.subBetween(list.get(3), "'", "'");
}
}
}
}
buildMatter(matterEntityList, title, href, evaluationUrl, netApplyUrl);
}
} catch (Exception e) {
......@@ -90,7 +136,7 @@ public class MatterHtmlParseUtil {
return Rest.ok(matterEntityList);
}
private static void buildMatter(List<MatterEntity> matterEntityList, String title, String href) {
private static void buildMatter(List<MatterEntity> matterEntityList, String title, String href, String evaluationUrl, String netApplyUrl) {
UrlBuilder builder = UrlBuilder.ofHttp(href, CharsetUtil.CHARSET_UTF_8);
String itemCode = builder.getQuery().get("itemCode").toString();
String taskType = builder.getQuery().get("taskType").toString();
......@@ -106,6 +152,8 @@ public class MatterHtmlParseUtil {
matterEntity.setAreaCode(areaCode);
matterEntity.setMatterName(title);
matterEntity.setUrl(href);
matterEntity.setEvaluationUrl(evaluationUrl);
matterEntity.setNetApplyUrl(evaluationUrl);
matterEntity.setSource(SourceEnum.政务网.getValue());
matterEntityList.add(matterEntity);
}
......
package com.mortals.xhx.module.matter.model;
import java.util.List;
import java.util.Date;
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.matter.model.vo.MatterVo;
import com.mortals.xhx.module.matter.model.MatterExtEntity;
/**
* 基础事项实体对象
*
* @author zxfei
* @date 2022-11-23
* @date 2022-12-28
*/
public class MatterEntity extends MatterVo {
......@@ -313,1337 +310,1079 @@ public class MatterEntity extends MatterVo {
* 事项来源(0.政务网,1.自定义)
*/
private Integer source;
/**
* 评价地址
*/
private String evaluationUrl;
/**
* 申请地址
*/
private String netApplyUrl;
/**
* 事项扩展信息
*/
private List<MatterExtEntity> matterExtList = new ArrayList<>();
;
private List<MatterExtEntity> matterExtList=new ArrayList<>();;
public MatterEntity() {
}
public MatterEntity(){}
/**
* 获取 站点ID
*
* @return Long
*/
public Long getSiteId() {
public Long getSiteId(){
return siteId;
}
/**
* 设置 站点ID
*
* @param siteId
*/
public void setSiteId(Long siteId) {
public void setSiteId(Long siteId){
this.siteId = siteId;
}
/**
* 获取 从政务系统来的事项id
*
* @return String
*/
public String getTid() {
public String getTid(){
return tid;
}
/**
* 设置 从政务系统来的事项id
*
* @param tid
*/
public void setTid(String tid) {
public void setTid(String tid){
this.tid = tid;
}
/**
* 获取 从政务系统来的事项code
*
* @return String
*/
public String getTcode() {
public String getTcode(){
return tcode;
}
/**
* 设置 从政务系统来的事项code
*
* @param tcode
*/
public void setTcode(String tcode) {
public void setTcode(String tcode){
this.tcode = tcode;
}
/**
* 获取 从政务系统来的事项name
*
* @return String
*/
public String getTname() {
public String getTname(){
return tname;
}
/**
* 设置 从政务系统来的事项name
*
* @param tname
*/
public void setTname(String tname) {
public void setTname(String tname){
this.tname = tname;
}
/**
* 获取 事项名称
*
* @return String
*/
public String getMatterName() {
public String getMatterName(){
return matterName;
}
/**
* 设置 事项名称
*
* @param matterName
*/
public void setMatterName(String matterName) {
public void setMatterName(String matterName){
this.matterName = matterName;
}
/**
* 获取 英语事项名
*
* @return String
*/
public String getEnglishName() {
public String getEnglishName(){
return englishName;
}
/**
* 设置 英语事项名
*
* @param englishName
*/
public void setEnglishName(String englishName) {
public void setEnglishName(String englishName){
this.englishName = englishName;
}
/**
* 获取 事项编号
*
* @return String
*/
public String getMatterNo() {
public String getMatterNo(){
return matterNo;
}
/**
* 设置 事项编号
*
* @param matterNo
*/
public void setMatterNo(String matterNo) {
public void setMatterNo(String matterNo){
this.matterNo = matterNo;
}
/**
* 获取 区域编码
*
* @return String
*/
public String getAreaCode() {
public String getAreaCode(){
return areaCode;
}
/**
* 设置 区域编码
*
* @param areaCode
*/
public void setAreaCode(String areaCode) {
public void setAreaCode(String areaCode){
this.areaCode = areaCode;
}
/**
* 获取 部门编号
*
* @return String
*/
public String getDeptCode() {
public String getDeptCode(){
return deptCode;
}
/**
* 设置 部门编号
*
* @param deptCode
*/
public void setDeptCode(String deptCode) {
public void setDeptCode(String deptCode){
this.deptCode = deptCode;
}
/**
* 获取 部门名称
*
* @return String
*/
public String getDeptName() {
public String getDeptName(){
return deptName;
}
/**
* 设置 部门名称
*
* @param deptName
*/
public void setDeptName(String deptName) {
public void setDeptName(String deptName){
this.deptName = deptName;
}
/**
* 获取 行政权力编号
*
* @return String
*/
public String getPowerCode() {
public String getPowerCode(){
return powerCode;
}
/**
* 设置 行政权力编号
*
* @param powerCode
*/
public void setPowerCode(String powerCode) {
public void setPowerCode(String powerCode){
this.powerCode = powerCode;
}
/**
* 获取 主题编号
*
* @return String
*/
public String getThemeCode() {
public String getThemeCode(){
return themeCode;
}
/**
* 设置 主题编号
*
* @param themeCode
*/
public void setThemeCode(String themeCode) {
public void setThemeCode(String themeCode){
this.themeCode = themeCode;
}
/**
* 获取 服务类型编号
*
* @return String
*/
public String getUsertypeCode() {
public String getUsertypeCode(){
return usertypeCode;
}
/**
* 设置 服务类型编号
*
* @param usertypeCode
*/
public void setUsertypeCode(String usertypeCode) {
public void setUsertypeCode(String usertypeCode){
this.usertypeCode = usertypeCode;
}
/**
* 获取 事项组名
*
* @return String
*/
public String getGroupName() {
public String getGroupName(){
return groupName;
}
/**
* 设置 事项组名
*
* @param groupName
*/
public void setGroupName(String groupName) {
public void setGroupName(String groupName){
this.groupName = groupName;
}
/**
* 获取 事项详情链接
*
* @return String
*/
public String getUrl() {
public String getUrl(){
return url;
}
/**
* 设置 事项详情链接
*
* @param url
*/
public void setUrl(String url) {
public void setUrl(String url){
this.url = url;
}
/**
* 获取 是否获取事项详情
*
* @return String
*/
public String getHaveGetMatterInfo() {
public String getHaveGetMatterInfo(){
return haveGetMatterInfo;
}
/**
* 设置 是否获取事项详情
*
* @param haveGetMatterInfo
*/
public void setHaveGetMatterInfo(String haveGetMatterInfo) {
public void setHaveGetMatterInfo(String haveGetMatterInfo){
this.haveGetMatterInfo = haveGetMatterInfo;
}
/**
* 获取 所属部门
*
* @return String
*/
public String getBelongDept() {
public String getBelongDept(){
return belongDept;
}
/**
* 设置 所属部门
*
* @param belongDept
*/
public void setBelongDept(String belongDept) {
public void setBelongDept(String belongDept){
this.belongDept = belongDept;
}
/**
* 获取 服务对象 (事业法人.事业法人,社会组织法人.社会组织法人,非法人企业.非法人企业,企业法人.企业法人,自然人.自然人,其他组织.其他组织)
*
* @return String
*/
public String getAppoveObjectShow() {
public String getAppoveObjectShow(){
return appoveObjectShow;
}
/**
* 设置 服务对象 (事业法人.事业法人,社会组织法人.社会组织法人,非法人企业.非法人企业,企业法人.企业法人,自然人.自然人,其他组织.其他组织)
*
* @param appoveObjectShow
*/
public void setAppoveObjectShow(String appoveObjectShow) {
public void setAppoveObjectShow(String appoveObjectShow){
this.appoveObjectShow = appoveObjectShow;
}
/**
* 获取 通办范围 (无.无,全国.全国,全市.全市,全县.全县,全镇[乡 街道].全镇[乡 街道],跨村[社区].跨村[社区])
*
* @return String
*/
public String getOperatScopeShow() {
public String getOperatScopeShow(){
return operatScopeShow;
}
/**
* 设置 通办范围 (无.无,全国.全国,全市.全市,全县.全县,全镇[乡 街道].全镇[乡 街道],跨村[社区].跨村[社区])
*
* @param operatScopeShow
*/
public void setOperatScopeShow(String operatScopeShow) {
public void setOperatScopeShow(String operatScopeShow){
this.operatScopeShow = operatScopeShow;
}
/**
* 获取 办件类型(网络办件.网络办件,行政审批一般件.行政审批一般件,综合窗口件.综合窗口件)
*
* @return String
*/
public String getAppoveTimeLimitShow() {
public String getAppoveTimeLimitShow(){
return appoveTimeLimitShow;
}
/**
* 设置 办件类型(网络办件.网络办件,行政审批一般件.行政审批一般件,综合窗口件.综合窗口件)
*
* @param appoveTimeLimitShow
*/
public void setAppoveTimeLimitShow(String appoveTimeLimitShow) {
public void setAppoveTimeLimitShow(String appoveTimeLimitShow){
this.appoveTimeLimitShow = appoveTimeLimitShow;
}
/**
* 获取 办理形式(窗口办理.窗口办理,网上办理.网上办理)
*
* @return String
*/
public String getHandleType() {
public String getHandleType(){
return handleType;
}
/**
* 设置 办理形式(窗口办理.窗口办理,网上办理.网上办理)
*
* @param handleType
*/
public void setHandleType(String handleType) {
public void setHandleType(String handleType){
this.handleType = handleType;
}
/**
* 获取 法定办结时限
*
* @return String
*/
public String getLegalTimeLimitShow() {
public String getLegalTimeLimitShow(){
return legalTimeLimitShow;
}
/**
* 设置 法定办结时限
*
* @param legalTimeLimitShow
*/
public void setLegalTimeLimitShow(String legalTimeLimitShow) {
public void setLegalTimeLimitShow(String legalTimeLimitShow){
this.legalTimeLimitShow = legalTimeLimitShow;
}
/**
* 获取 法定时限办结说明
*
* @return String
*/
public String getLegalEndExplain() {
public String getLegalEndExplain(){
return legalEndExplain;
}
/**
* 设置 法定时限办结说明
*
* @param legalEndExplain
*/
public void setLegalEndExplain(String legalEndExplain) {
public void setLegalEndExplain(String legalEndExplain){
this.legalEndExplain = legalEndExplain;
}
/**
* 获取 承诺办结时限
*
* @return String
*/
public String getPromiseTimeLimitShow() {
public String getPromiseTimeLimitShow(){
return promiseTimeLimitShow;
}
/**
* 设置 承诺办结时限
*
* @param promiseTimeLimitShow
*/
public void setPromiseTimeLimitShow(String promiseTimeLimitShow) {
public void setPromiseTimeLimitShow(String promiseTimeLimitShow){
this.promiseTimeLimitShow = promiseTimeLimitShow;
}
/**
* 获取 承诺时限办结说明
*
* @return String
*/
public String getPromiseEndExplain() {
public String getPromiseEndExplain(){
return promiseEndExplain;
}
/**
* 设置 承诺时限办结说明
*
* @param promiseEndExplain
*/
public void setPromiseEndExplain(String promiseEndExplain) {
public void setPromiseEndExplain(String promiseEndExplain){
this.promiseEndExplain = promiseEndExplain;
}
/**
* 获取 是否收费(否.否,是.是)
*
* @return String
*/
public String getIsChargesShow() {
public String getIsChargesShow(){
return isChargesShow;
}
/**
* 设置 是否收费(否.否,是.是)
*
* @param isChargesShow
*/
public void setIsChargesShow(String isChargesShow) {
public void setIsChargesShow(String isChargesShow){
this.isChargesShow = isChargesShow;
}
/**
* 获取 认证等级需求(实名认证.实名认证,单次面签.单次面签,每次面签.每次面签)
*
* @return String
*/
public String getCertificationLevelsShow() {
public String getCertificationLevelsShow(){
return certificationLevelsShow;
}
/**
* 设置 认证等级需求(实名认证.实名认证,单次面签.单次面签,每次面签.每次面签)
*
* @param certificationLevelsShow
*/
public void setCertificationLevelsShow(String certificationLevelsShow) {
public void setCertificationLevelsShow(String certificationLevelsShow){
this.certificationLevelsShow = certificationLevelsShow;
}
/**
* 获取 计划生效日期
*
* @return Date
*/
public Date getPlanTakeTime() {
public Date getPlanTakeTime(){
return planTakeTime;
}
/**
* 设置 计划生效日期
*
* @param planTakeTime
*/
public void setPlanTakeTime(Date planTakeTime) {
public void setPlanTakeTime(Date planTakeTime){
this.planTakeTime = planTakeTime;
}
/**
* 获取 承诺生效日期
*
* @return Date
*/
public Date getPromiseTakeTime() {
public Date getPromiseTakeTime(){
return promiseTakeTime;
}
/**
* 设置 承诺生效日期
*
* @param promiseTakeTime
*/
public void setPromiseTakeTime(Date promiseTakeTime) {
public void setPromiseTakeTime(Date promiseTakeTime){
this.promiseTakeTime = promiseTakeTime;
}
/**
* 获取 特别程序
*
* @return String
*/
public String getSpecialProcedure() {
public String getSpecialProcedure(){
return specialProcedure;
}
/**
* 设置 特别程序
*
* @param specialProcedure
*/
public void setSpecialProcedure(String specialProcedure) {
public void setSpecialProcedure(String specialProcedure){
this.specialProcedure = specialProcedure;
}
/**
* 获取 窗口到现场次数
*
* @return Integer
*/
public Integer getWindowToTheSceneNum() {
public Integer getWindowToTheSceneNum(){
return windowToTheSceneNum;
}
/**
* 设置 窗口到现场次数
*
* @param windowToTheSceneNum
*/
public void setWindowToTheSceneNum(Integer windowToTheSceneNum) {
public void setWindowToTheSceneNum(Integer windowToTheSceneNum){
this.windowToTheSceneNum = windowToTheSceneNum;
}
/**
* 获取 是否网上预约,窗口办理选(否.否,是.是)
*
* @return String
*/
public String getIsOnlineSubscribeShow() {
public String getIsOnlineSubscribeShow(){
return isOnlineSubscribeShow;
}
/**
* 设置 是否网上预约,窗口办理选(否.否,是.是)
*
* @param isOnlineSubscribeShow
*/
public void setIsOnlineSubscribeShow(String isOnlineSubscribeShow) {
public void setIsOnlineSubscribeShow(String isOnlineSubscribeShow){
this.isOnlineSubscribeShow = isOnlineSubscribeShow;
}
/**
* 获取 物流快递,窗口办理选(否.否,是.是)
*
* @return String
*/
public String getIsExpressTakeShow() {
public String getIsExpressTakeShow(){
return isExpressTakeShow;
}
/**
* 设置 物流快递,窗口办理选(否.否,是.是)
*
* @param isExpressTakeShow
*/
public void setIsExpressTakeShow(String isExpressTakeShow) {
public void setIsExpressTakeShow(String isExpressTakeShow){
this.isExpressTakeShow = isExpressTakeShow;
}
/**
* 获取 是否支持全省范围就近取件(否.否,是.是)
*
* @return String
*/
public String getIsProvinceAcquisitionShow() {
public String getIsProvinceAcquisitionShow(){
return isProvinceAcquisitionShow;
}
/**
* 设置 是否支持全省范围就近取件(否.否,是.是)
*
* @param isProvinceAcquisitionShow
*/
public void setIsProvinceAcquisitionShow(String isProvinceAcquisitionShow) {
public void setIsProvinceAcquisitionShow(String isProvinceAcquisitionShow){
this.isProvinceAcquisitionShow = isProvinceAcquisitionShow;
}
/**
* 获取 是否支持全省范围就近办理(否.否,是.是)
*
* @return String
*/
public String getIsApplyProvinceShow() {
public String getIsApplyProvinceShow(){
return isApplyProvinceShow;
}
/**
* 设置 是否支持全省范围就近办理(否.否,是.是)
*
* @param isApplyProvinceShow
*/
public void setIsApplyProvinceShow(String isApplyProvinceShow) {
public void setIsApplyProvinceShow(String isApplyProvinceShow){
this.isApplyProvinceShow = isApplyProvinceShow;
}
/**
* 获取 必须到现场原因
*
* @return String
*/
public String getMustSceneExplain() {
public String getMustSceneExplain(){
return mustSceneExplain;
}
/**
* 设置 必须到现场原因
*
* @param mustSceneExplain
*/
public void setMustSceneExplain(String mustSceneExplain) {
public void setMustSceneExplain(String mustSceneExplain){
this.mustSceneExplain = mustSceneExplain;
}
/**
* 获取 网办类型(原件预审.原件预审,原件核验.原件核验,全程网办.全程网办)
*
* @return String
*/
public String getOnlineType() {
public String getOnlineType(){
return onlineType;
}
/**
* 设置 网办类型(原件预审.原件预审,原件核验.原件核验,全程网办.全程网办)
*
* @param onlineType
*/
public void setOnlineType(String onlineType) {
public void setOnlineType(String onlineType){
this.onlineType = onlineType;
}
/**
* 获取 网办到现场次数
*
* @return Integer
*/
public Integer getOnlineToTheSceneNum() {
public Integer getOnlineToTheSceneNum(){
return onlineToTheSceneNum;
}
/**
* 设置 网办到现场次数
*
* @param onlineToTheSceneNum
*/
public void setOnlineToTheSceneNum(Integer onlineToTheSceneNum) {
public void setOnlineToTheSceneNum(Integer onlineToTheSceneNum){
this.onlineToTheSceneNum = onlineToTheSceneNum;
}
/**
* 获取 网络办理深度(互联网咨询.互联网咨询,互联网收件.互联网收件,互联网预审.互联网预审,互联网受理.互联网受理,互联网办理.互联网办理,互联网办理结果信息反馈.互联网办理结果信息反馈,其他.其他)
*
* @return String
*/
public String getOnlineOperatDeep() {
public String getOnlineOperatDeep(){
return onlineOperatDeep;
}
/**
* 设置 网络办理深度(互联网咨询.互联网咨询,互联网收件.互联网收件,互联网预审.互联网预审,互联网受理.互联网受理,互联网办理.互联网办理,互联网办理结果信息反馈.互联网办理结果信息反馈,其他.其他)
*
* @param onlineOperatDeep
*/
public void setOnlineOperatDeep(String onlineOperatDeep) {
public void setOnlineOperatDeep(String onlineOperatDeep){
this.onlineOperatDeep = onlineOperatDeep;
}
/**
* 获取 物流快递,网上办理选(否.否,是.是)
*
* @return String
*/
public String getIsExpressTakeOnlineShow() {
public String getIsExpressTakeOnlineShow(){
return isExpressTakeOnlineShow;
}
/**
* 设置 物流快递,网上办理选(否.否,是.是)
*
* @param isExpressTakeOnlineShow
*/
public void setIsExpressTakeOnlineShow(String isExpressTakeOnlineShow) {
public void setIsExpressTakeOnlineShow(String isExpressTakeOnlineShow){
this.isExpressTakeOnlineShow = isExpressTakeOnlineShow;
}
/**
* 获取 是否支持上门收取申请(否.否,是.是)
*
* @return String
*/
public String getIsDoorTakeShow() {
public String getIsDoorTakeShow(){
return isDoorTakeShow;
}
/**
* 设置 是否支持上门收取申请(否.否,是.是)
*
* @param isDoorTakeShow
*/
public void setIsDoorTakeShow(String isDoorTakeShow) {
public void setIsDoorTakeShow(String isDoorTakeShow){
this.isDoorTakeShow = isDoorTakeShow;
}
/**
* 获取 网上必须到现场原因
*
* @return String
*/
public String getOnlineMustSceneExplain() {
public String getOnlineMustSceneExplain(){
return onlineMustSceneExplain;
}
/**
* 设置 网上必须到现场原因
*
* @param onlineMustSceneExplain
*/
public void setOnlineMustSceneExplain(String onlineMustSceneExplain) {
public void setOnlineMustSceneExplain(String onlineMustSceneExplain){
this.onlineMustSceneExplain = onlineMustSceneExplain;
}
/**
* 获取 实施主体
*
* @return String
*/
public String getPerformDeptType() {
public String getPerformDeptType(){
return performDeptType;
}
/**
* 设置 实施主体
*
* @param performDeptType
*/
public void setPerformDeptType(String performDeptType) {
public void setPerformDeptType(String performDeptType){
this.performDeptType = performDeptType;
}
/**
* 获取 事项版本
*
* @return String
*/
public String getMatterEdition() {
public String getMatterEdition(){
return matterEdition;
}
/**
* 设置 事项版本
*
* @param matterEdition
*/
public void setMatterEdition(String matterEdition) {
public void setMatterEdition(String matterEdition){
this.matterEdition = matterEdition;
}
/**
* 获取 事项类型名称(行政许可.行政许可,行政处罚.行政处罚,行政强制.行政强制,行政征收.行政征收,行政给付.行政给付,行政检查.行政检查,行政确认.行政确认,行政奖励.行政奖励,行政裁决.行政裁决,其他行政权力.其他行政权力,主动服务.主动服务,依申请服务.依申请服务,咨询查询.咨询查询,未归类事项.未归类事项)
*
* @return String
*/
public String getEventTypeShow() {
public String getEventTypeShow(){
return eventTypeShow;
}
/**
* 设置 事项类型名称(行政许可.行政许可,行政处罚.行政处罚,行政强制.行政强制,行政征收.行政征收,行政给付.行政给付,行政检查.行政检查,行政确认.行政确认,行政奖励.行政奖励,行政裁决.行政裁决,其他行政权力.其他行政权力,主动服务.主动服务,依申请服务.依申请服务,咨询查询.咨询查询,未归类事项.未归类事项)
*
* @param eventTypeShow
*/
public void setEventTypeShow(String eventTypeShow) {
public void setEventTypeShow(String eventTypeShow){
this.eventTypeShow = eventTypeShow;
}
/**
* 获取 行使层级名称(省级.省级,市级.市级,县级.县级,镇[乡 街道].镇[乡 街道],村[社区]级.村[社区]级)
*
* @return String
*/
public String getPerformHierarchyShow() {
public String getPerformHierarchyShow(){
return performHierarchyShow;
}
/**
* 设置 行使层级名称(省级.省级,市级.市级,县级.县级,镇[乡 街道].镇[乡 街道],村[社区]级.村[社区]级)
*
* @param performHierarchyShow
*/
public void setPerformHierarchyShow(String performHierarchyShow) {
public void setPerformHierarchyShow(String performHierarchyShow){
this.performHierarchyShow = performHierarchyShow;
}
/**
* 获取 权力来源(法定本级行使.法定本级行使,上级下放.上级下放,上级授权.上级授权,同级授权.同级授权,上级委托.上级委托,同级委托.同级委托)
*
* @return String
*/
public String getPowerSourceShow() {
public String getPowerSourceShow(){
return powerSourceShow;
}
/**
* 设置 权力来源(法定本级行使.法定本级行使,上级下放.上级下放,上级授权.上级授权,同级授权.同级授权,上级委托.上级委托,同级委托.同级委托)
*
* @param powerSourceShow
*/
public void setPowerSourceShow(String powerSourceShow) {
public void setPowerSourceShow(String powerSourceShow){
this.powerSourceShow = powerSourceShow;
}
/**
* 获取 实施主体性质(法定机关.法定机关,授权组织.授权组织,受委托组织.受委托组织)
*
* @return String
*/
public String getPerformDeptTypeShow() {
public String getPerformDeptTypeShow(){
return performDeptTypeShow;
}
/**
* 设置 实施主体性质(法定机关.法定机关,授权组织.授权组织,受委托组织.受委托组织)
*
* @param performDeptTypeShow
*/
public void setPerformDeptTypeShow(String performDeptTypeShow) {
public void setPerformDeptTypeShow(String performDeptTypeShow){
this.performDeptTypeShow = performDeptTypeShow;
}
/**
* 获取 是否进驻中心(否.否,是.是)
*
* @return String
*/
public String getGoveServiceCenterShow() {
public String getGoveServiceCenterShow(){
return goveServiceCenterShow;
}
/**
* 设置 是否进驻中心(否.否,是.是)
*
* @param goveServiceCenterShow
*/
public void setGoveServiceCenterShow(String goveServiceCenterShow) {
public void setGoveServiceCenterShow(String goveServiceCenterShow){
this.goveServiceCenterShow = goveServiceCenterShow;
}
/**
* 获取 是否纳入便民服务中心(否.否,是.是)
*
* @return String
*/
public String getIsConvenientCenterShow() {
public String getIsConvenientCenterShow(){
return isConvenientCenterShow;
}
/**
* 设置 是否纳入便民服务中心(否.否,是.是)
*
* @param isConvenientCenterShow
*/
public void setIsConvenientCenterShow(String isConvenientCenterShow) {
public void setIsConvenientCenterShow(String isConvenientCenterShow){
this.isConvenientCenterShow = isConvenientCenterShow;
}
/**
* 获取 自助终端办理 (否.否,是.是)
*
* @return String
*/
public String getTerminalHandle() {
public String getTerminalHandle(){
return terminalHandle;
}
/**
* 设置 自助终端办理 (否.否,是.是)
*
* @param terminalHandle
*/
public void setTerminalHandle(String terminalHandle) {
public void setTerminalHandle(String terminalHandle){
this.terminalHandle = terminalHandle;
}
/**
* 获取 是否网办 (否.否,是.是)
*
* @return String
*/
public String getIsOnline() {
public String getIsOnline(){
return isOnline;
}
/**
* 设置 是否网办 (否.否,是.是)
*
* @param isOnline
*/
public void setIsOnline(String isOnline) {
public void setIsOnline(String isOnline){
this.isOnline = isOnline;
}
/**
* 获取 支持网上支付(否.否,是.是)
*
* @return String
*/
public String getIsOnlinePayShow() {
public String getIsOnlinePayShow(){
return isOnlinePayShow;
}
/**
* 设置 支持网上支付(否.否,是.是)
*
* @param isOnlinePayShow
*/
public void setIsOnlinePayShow(String isOnlinePayShow) {
public void setIsOnlinePayShow(String isOnlinePayShow){
this.isOnlinePayShow = isOnlinePayShow;
}
/**
* 获取 委托部门(否.否,是.是)
*
* @return String
*/
public String getEntrustmentDepartmen() {
public String getEntrustmentDepartmen(){
return entrustmentDepartmen;
}
/**
* 设置 委托部门(否.否,是.是)
*
* @param entrustmentDepartmen
*/
public void setEntrustmentDepartmen(String entrustmentDepartmen) {
public void setEntrustmentDepartmen(String entrustmentDepartmen){
this.entrustmentDepartmen = entrustmentDepartmen;
}
/**
* 获取 联办机构
*
* @return String
*/
public String getJointInfoShow() {
public String getJointInfoShow(){
return jointInfoShow;
}
/**
* 设置 联办机构
*
* @param jointInfoShow
*/
public void setJointInfoShow(String jointInfoShow) {
public void setJointInfoShow(String jointInfoShow){
this.jointInfoShow = jointInfoShow;
}
/**
* 获取 事项状态(停用.停用,在用.在用)
*
* @return String
*/
public String getMatterStatus() {
public String getMatterStatus(){
return matterStatus;
}
/**
* 设置 事项状态(停用.停用,在用.在用)
*
* @param matterStatus
*/
public void setMatterStatus(String matterStatus) {
public void setMatterStatus(String matterStatus){
this.matterStatus = matterStatus;
}
/**
* 获取 数量限制
*
* @return Long
*/
public Long getNumberLimit() {
public Long getNumberLimit(){
return numberLimit;
}
/**
* 设置 数量限制
*
* @param numberLimit
*/
public void setNumberLimit(Long numberLimit) {
public void setNumberLimit(Long numberLimit){
this.numberLimit = numberLimit;
}
/**
* 获取 主题类型
*
* @return String
*/
public String getType() {
public String getType(){
return type;
}
/**
* 设置 主题类型
*
* @param type
*/
public void setType(String type) {
public void setType(String type){
this.type = type;
}
/**
* 获取 基本编码
*
* @return String
*/
public String getBaseCode() {
public String getBaseCode(){
return baseCode;
}
/**
* 设置 基本编码
*
* @param baseCode
*/
public void setBaseCode(String baseCode) {
public void setBaseCode(String baseCode){
this.baseCode = baseCode;
}
/**
* 获取 实施编码
*
* @return String
*/
public String getImplementCode() {
public String getImplementCode(){
return implementCode;
}
/**
* 设置 实施编码
*
* @param implementCode
*/
public void setImplementCode(String implementCode) {
public void setImplementCode(String implementCode){
this.implementCode = implementCode;
}
/**
* 获取 实施主体编码
*
* @return String
*/
public String getImplementBodyCode() {
public String getImplementBodyCode(){
return implementBodyCode;
}
/**
* 设置 实施主体编码
*
* @param implementBodyCode
*/
public void setImplementBodyCode(String implementBodyCode) {
public void setImplementBodyCode(String implementBodyCode){
this.implementBodyCode = implementBodyCode;
}
/**
* 获取 办理项编码
*
* @return String
*/
public String getOperateItemCode() {
public String getOperateItemCode(){
return operateItemCode;
}
/**
* 设置 办理项编码
*
* @param operateItemCode
*/
public void setOperateItemCode(String operateItemCode) {
public void setOperateItemCode(String operateItemCode){
this.operateItemCode = operateItemCode;
}
/**
* 获取 乡镇街道名称
*
* @return String
*/
public String getTownshipName() {
public String getTownshipName(){
return townshipName;
}
/**
* 设置 乡镇街道名称
*
* @param townshipName
*/
public void setTownshipName(String townshipName) {
public void setTownshipName(String townshipName){
this.townshipName = townshipName;
}
/**
* 获取 乡镇街道代码
*
* @return String
*/
public String getTownshipCode() {
public String getTownshipCode(){
return townshipCode;
}
/**
* 设置 乡镇街道代码
*
* @param townshipCode
*/
public void setTownshipCode(String townshipCode) {
public void setTownshipCode(String townshipCode){
this.townshipCode = townshipCode;
}
/**
* 获取 村居社区名称
*
* @return String
*/
public String getVillageName() {
public String getVillageName(){
return villageName;
}
/**
* 设置 村居社区名称
*
* @param villageName
*/
public void setVillageName(String villageName) {
public void setVillageName(String villageName){
this.villageName = villageName;
}
/**
* 获取 村居社区代码
*
* @return String
*/
public String getVillageCode() {
public String getVillageCode(){
return villageCode;
}
/**
* 设置 村居社区代码
*
* @param villageCode
*/
public void setVillageCode(String villageCode) {
public void setVillageCode(String villageCode){
this.villageCode = villageCode;
}
/**
* 获取 办理时间
*
* @return String
*/
public String getOperateTime() {
public String getOperateTime(){
return operateTime;
}
/**
* 设置 办理时间
*
* @param operateTime
*/
public void setOperateTime(String operateTime) {
public void setOperateTime(String operateTime){
this.operateTime = operateTime;
}
/**
* 获取 办理地点
*
* @return String
*/
public String getOperateSite() {
public String getOperateSite(){
return operateSite;
}
/**
* 设置 办理地点
*
* @param operateSite
*/
public void setOperateSite(String operateSite) {
public void setOperateSite(String operateSite){
this.operateSite = operateSite;
}
/**
* 获取 咨询方式
*
* @return String
*/
public String getCousultingShow() {
public String getCousultingShow(){
return cousultingShow;
}
/**
* 设置 咨询方式
*
* @param cousultingShow
*/
public void setCousultingShow(String cousultingShow) {
public void setCousultingShow(String cousultingShow){
this.cousultingShow = cousultingShow;
}
/**
* 获取 咨询电话
*
* @return String
*/
public String getCousultingTelephoneShow() {
public String getCousultingTelephoneShow(){
return cousultingTelephoneShow;
}
/**
* 设置 咨询电话
*
* @param cousultingTelephoneShow
*/
public void setCousultingTelephoneShow(String cousultingTelephoneShow) {
public void setCousultingTelephoneShow(String cousultingTelephoneShow){
this.cousultingTelephoneShow = cousultingTelephoneShow;
}
/**
* 获取 监督投诉方式
*
* @return String
*/
public String getSuperviseShow() {
public String getSuperviseShow(){
return superviseShow;
}
/**
* 设置 监督投诉方式
*
* @param superviseShow
*/
public void setSuperviseShow(String superviseShow) {
public void setSuperviseShow(String superviseShow){
this.superviseShow = superviseShow;
}
/**
* 获取 排序
*
* @return Integer
*/
public Integer getSort() {
public Integer getSort(){
return sort;
}
/**
* 设置 排序
*
* @param sort
*/
public void setSort(Integer sort) {
public void setSort(Integer sort){
this.sort = sort;
}
/**
* 获取 事项来源(0.政务网,1.自定义)
*
* @return Integer
*/
public Integer getSource() {
public Integer getSource(){
return source;
}
/**
* 设置 事项来源(0.政务网,1.自定义)
*
* @param source
*/
public void setSource(Integer source) {
public void setSource(Integer source){
this.source = source;
}
/**
* 获取 评价地址
* @return String
*/
public String getEvaluationUrl(){
return evaluationUrl;
}
/**
* 设置 评价地址
* @param evaluationUrl
*/
public void setEvaluationUrl(String evaluationUrl){
this.evaluationUrl = evaluationUrl;
}
/**
* 获取 申请地址
* @return String
*/
public String getNetApplyUrl(){
return netApplyUrl;
}
/**
* 设置 申请地址
* @param netApplyUrl
*/
public void setNetApplyUrl(String netApplyUrl){
this.netApplyUrl = netApplyUrl;
}
public List<MatterExtEntity> getMatterExtList() {
public List<MatterExtEntity> getMatterExtList(){
return matterExtList;
}
public void setMatterExtList(List<MatterExtEntity> matterExtList) {
public void setMatterExtList(List<MatterExtEntity> matterExtList){
this.matterExtList = matterExtList;
}
......@@ -1652,7 +1391,6 @@ public class MatterEntity extends MatterVo {
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
......@@ -1665,7 +1403,7 @@ public class MatterEntity extends MatterVo {
return false;
}
public String toString() {
public String toString(){
StringBuilder sb = new StringBuilder("");
sb.append(",siteId:").append(getSiteId());
sb.append(",tid:").append(getTid());
......@@ -1740,14 +1478,16 @@ public class MatterEntity extends MatterVo {
sb.append(",superviseShow:").append(getSuperviseShow());
sb.append(",sort:").append(getSort());
sb.append(",source:").append(getSource());
sb.append(",evaluationUrl:").append(getEvaluationUrl());
sb.append(",netApplyUrl:").append(getNetApplyUrl());
return sb.toString();
}
public void initAttrValue() {
public void initAttrValue(){
this.siteId = -1L;
this.siteId = null;
this.tid = "";
this.tid = null;
this.tcode = "";
......@@ -1757,25 +1497,25 @@ public class MatterEntity extends MatterVo {
this.englishName = "";
this.matterNo = "";
this.matterNo = null;
this.areaCode = "";
this.areaCode = null;
this.deptCode = "";
this.deptName = "";
this.deptName = null;
this.powerCode = "";
this.powerCode = null;
this.themeCode = "";
this.themeCode = null;
this.usertypeCode = "";
this.usertypeCode = null;
this.groupName = "";
this.groupName = null;
this.url = "";
this.url = null;
this.haveGetMatterInfo = "false";
this.haveGetMatterInfo = "0";
this.belongDept = "";
......@@ -1787,13 +1527,13 @@ public class MatterEntity extends MatterVo {
this.handleType = "窗口办理";
this.legalTimeLimitShow = "";
this.legalTimeLimitShow = null;
this.legalEndExplain = "";
this.legalEndExplain = null;
this.promiseTimeLimitShow = "";
this.promiseTimeLimitShow = null;
this.promiseEndExplain = "";
this.promiseEndExplain = null;
this.isChargesShow = "否";
......@@ -1803,9 +1543,9 @@ public class MatterEntity extends MatterVo {
this.promiseTakeTime = null;
this.specialProcedure = "";
this.specialProcedure = null;
this.windowToTheSceneNum = 0;
this.windowToTheSceneNum = null;
this.isOnlineSubscribeShow = "否";
......@@ -1815,7 +1555,7 @@ public class MatterEntity extends MatterVo {
this.isApplyProvinceShow = "否";
this.mustSceneExplain = "";
this.mustSceneExplain = null;
this.onlineType = "原件预审";
......@@ -1823,23 +1563,23 @@ public class MatterEntity extends MatterVo {
this.onlineOperatDeep = "互联网咨询";
this.isExpressTakeOnlineShow = "";
this.isExpressTakeOnlineShow = null;
this.isDoorTakeShow = "否";
this.onlineMustSceneExplain = "";
this.onlineMustSceneExplain = null;
this.performDeptType = "";
this.performDeptType = null;
this.matterEdition = "";
this.matterEdition = null;
this.eventTypeShow = "行政许可";
this.performHierarchyShow = "";
this.performHierarchyShow = null;
this.powerSourceShow = "";
this.powerSourceShow = null;
this.performDeptTypeShow = "";
this.performDeptTypeShow = null;
this.goveServiceCenterShow = "否";
......@@ -1853,42 +1593,46 @@ public class MatterEntity extends MatterVo {
this.entrustmentDepartmen = "是";
this.jointInfoShow = "";
this.jointInfoShow = null;
this.matterStatus = "在用";
this.numberLimit = 0L;
this.numberLimit = null;
this.type = "";
this.baseCode = "";
this.baseCode = null;
this.implementCode = null;
this.implementBodyCode = null;
this.implementCode = "";
this.operateItemCode = null;
this.implementBodyCode = "";
this.townshipName = null;
this.operateItemCode = "";
this.townshipCode = null;
this.townshipName = "";
this.villageName = null;
this.townshipCode = "";
this.villageCode = null;
this.villageName = "";
this.operateTime = null;
this.villageCode = "";
this.operateSite = null;
this.operateTime = "";
this.cousultingShow = null;
this.operateSite = "";
this.cousultingTelephoneShow = null;
this.cousultingShow = "";
this.superviseShow = null;
this.cousultingTelephoneShow = "";
this.sort = null;
this.superviseShow = "";
this.source = 1;
this.sort = 0;
this.evaluationUrl = null;
this.source = 0;
this.netApplyUrl = null;
}
}
\ No newline at end of file
......@@ -8,7 +8,7 @@ import com.mortals.xhx.module.matter.model.MatterEntity;
* 基础事项查询对象
*
* @author zxfei
* @date 2022-11-23
* @date 2022-12-28
*/
public class MatterQuery extends MatterEntity {
/** 开始 序号,主键,自增长 */
......@@ -326,6 +326,12 @@ public class MatterQuery extends MatterEntity {
/** 结束 修改时间 */
private String updateTimeEnd;
/** 评价地址 */
private List<String> evaluationUrlList;
/** 申请地址 */
private List<String> netApplyUrlList;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<MatterQuery> orConditionList;
......@@ -1949,6 +1955,36 @@ public class MatterQuery extends MatterEntity {
this.updateTimeEnd = updateTimeEnd;
}
/**
* 获取 评价地址
* @return evaluationUrlList
*/
public List<String> getEvaluationUrlList(){
return this.evaluationUrlList;
}
/**
* 设置 评价地址
* @param evaluationUrlList
*/
public void setEvaluationUrlList(List<String> evaluationUrlList){
this.evaluationUrlList = evaluationUrlList;
}
/**
* 获取 申请地址
* @return netApplyUrlList
*/
public List<String> getNetApplyUrlList(){
return this.netApplyUrlList;
}
/**
* 设置 申请地址
* @param netApplyUrlList
*/
public void setNetApplyUrlList(List<String> netApplyUrlList){
this.netApplyUrlList = netApplyUrlList;
}
/**
* 设置 序号,主键,自增长
* @param id
......@@ -3548,6 +3584,44 @@ public class MatterQuery extends MatterEntity {
}
/**
* 设置 评价地址
* @param evaluationUrl
*/
public MatterQuery evaluationUrl(String evaluationUrl){
setEvaluationUrl(evaluationUrl);
return this;
}
/**
* 设置 评价地址
* @param evaluationUrlList
*/
public MatterQuery evaluationUrlList(List<String> evaluationUrlList){
this.evaluationUrlList = evaluationUrlList;
return this;
}
/**
* 设置 申请地址
* @param netApplyUrl
*/
public MatterQuery netApplyUrl(String netApplyUrl){
setNetApplyUrl(netApplyUrl);
return this;
}
/**
* 设置 申请地址
* @param netApplyUrlList
*/
public MatterQuery netApplyUrlList(List<String> netApplyUrlList){
this.netApplyUrlList = netApplyUrlList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
......
......@@ -82,6 +82,8 @@
<result property="createTime" column="createTime" />
<result property="createUserId" column="createUserId" />
<result property="updateTime" column="updateTime" />
<result property="evaluationUrl" column="evaluationUrl" />
<result property="netApplyUrl" column="netApplyUrl" />
<collection property="matterExtList" column="id" ofType="MatterExtEntity" javaType="ArrayList" select="getMatterExtByMatterId"></collection>
</resultMap>
<resultMap type="MatterExtEntity" id="MatterExtEntity-Map">
......@@ -335,6 +337,12 @@
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('evaluationUrl') or colPickMode == 1 and data.containsKey('evaluationUrl')))">
a.evaluationUrl,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('netApplyUrl') or colPickMode == 1 and data.containsKey('netApplyUrl')))">
a.netApplyUrl,
</if>
</trim>
</sql>
<!-- 子表所有列 -->
......@@ -346,18 +354,18 @@
<!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="MatterEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_sys_matter
(siteId,tid,tcode,tname,matterName,englishName,matterNo,areaCode,deptCode,deptName,powerCode,themeCode,usertypeCode,groupName,url,haveGetMatterInfo,belongDept,appoveObjectShow,operatScopeShow,appoveTimeLimitShow,handleType,legalTimeLimitShow,legalEndExplain,promiseTimeLimitShow,promiseEndExplain,isChargesShow,certificationLevelsShow,planTakeTime,promiseTakeTime,specialProcedure,windowToTheSceneNum,isOnlineSubscribeShow,isExpressTakeShow,isProvinceAcquisitionShow,isApplyProvinceShow,mustSceneExplain,onlineType,onlineToTheSceneNum,onlineOperatDeep,isExpressTakeOnlineShow,isDoorTakeShow,onlineMustSceneExplain,performDeptType,matterEdition,eventTypeShow,performHierarchyShow,powerSourceShow,performDeptTypeShow,goveServiceCenterShow,isConvenientCenterShow,terminalHandle,isOnline,isOnlinePayShow,entrustmentDepartmen,jointInfoShow,matterStatus,numberLimit,type,baseCode,implementCode,implementBodyCode,operateItemCode,townshipName,townshipCode,villageName,villageCode,operateTime,operateSite,cousultingShow,cousultingTelephoneShow,superviseShow,sort,source,createTime,createUserId,updateTime)
(siteId,tid,tcode,tname,matterName,englishName,matterNo,areaCode,deptCode,deptName,powerCode,themeCode,usertypeCode,groupName,url,haveGetMatterInfo,belongDept,appoveObjectShow,operatScopeShow,appoveTimeLimitShow,handleType,legalTimeLimitShow,legalEndExplain,promiseTimeLimitShow,promiseEndExplain,isChargesShow,certificationLevelsShow,planTakeTime,promiseTakeTime,specialProcedure,windowToTheSceneNum,isOnlineSubscribeShow,isExpressTakeShow,isProvinceAcquisitionShow,isApplyProvinceShow,mustSceneExplain,onlineType,onlineToTheSceneNum,onlineOperatDeep,isExpressTakeOnlineShow,isDoorTakeShow,onlineMustSceneExplain,performDeptType,matterEdition,eventTypeShow,performHierarchyShow,powerSourceShow,performDeptTypeShow,goveServiceCenterShow,isConvenientCenterShow,terminalHandle,isOnline,isOnlinePayShow,entrustmentDepartmen,jointInfoShow,matterStatus,numberLimit,type,baseCode,implementCode,implementBodyCode,operateItemCode,townshipName,townshipCode,villageName,villageCode,operateTime,operateSite,cousultingShow,cousultingTelephoneShow,superviseShow,sort,source,createTime,createUserId,updateTime,evaluationUrl,netApplyUrl)
VALUES
(#{siteId},#{tid},#{tcode},#{tname},#{matterName},#{englishName},#{matterNo},#{areaCode},#{deptCode},#{deptName},#{powerCode},#{themeCode},#{usertypeCode},#{groupName},#{url},#{haveGetMatterInfo},#{belongDept},#{appoveObjectShow},#{operatScopeShow},#{appoveTimeLimitShow},#{handleType},#{legalTimeLimitShow},#{legalEndExplain},#{promiseTimeLimitShow},#{promiseEndExplain},#{isChargesShow},#{certificationLevelsShow},#{planTakeTime},#{promiseTakeTime},#{specialProcedure},#{windowToTheSceneNum},#{isOnlineSubscribeShow},#{isExpressTakeShow},#{isProvinceAcquisitionShow},#{isApplyProvinceShow},#{mustSceneExplain},#{onlineType},#{onlineToTheSceneNum},#{onlineOperatDeep},#{isExpressTakeOnlineShow},#{isDoorTakeShow},#{onlineMustSceneExplain},#{performDeptType},#{matterEdition},#{eventTypeShow},#{performHierarchyShow},#{powerSourceShow},#{performDeptTypeShow},#{goveServiceCenterShow},#{isConvenientCenterShow},#{terminalHandle},#{isOnline},#{isOnlinePayShow},#{entrustmentDepartmen},#{jointInfoShow},#{matterStatus},#{numberLimit},#{type},#{baseCode},#{implementCode},#{implementBodyCode},#{operateItemCode},#{townshipName},#{townshipCode},#{villageName},#{villageCode},#{operateTime},#{operateSite},#{cousultingShow},#{cousultingTelephoneShow},#{superviseShow},#{sort},#{source},#{createTime},#{createUserId},#{updateTime})
(#{siteId},#{tid},#{tcode},#{tname},#{matterName},#{englishName},#{matterNo},#{areaCode},#{deptCode},#{deptName},#{powerCode},#{themeCode},#{usertypeCode},#{groupName},#{url},#{haveGetMatterInfo},#{belongDept},#{appoveObjectShow},#{operatScopeShow},#{appoveTimeLimitShow},#{handleType},#{legalTimeLimitShow},#{legalEndExplain},#{promiseTimeLimitShow},#{promiseEndExplain},#{isChargesShow},#{certificationLevelsShow},#{planTakeTime},#{promiseTakeTime},#{specialProcedure},#{windowToTheSceneNum},#{isOnlineSubscribeShow},#{isExpressTakeShow},#{isProvinceAcquisitionShow},#{isApplyProvinceShow},#{mustSceneExplain},#{onlineType},#{onlineToTheSceneNum},#{onlineOperatDeep},#{isExpressTakeOnlineShow},#{isDoorTakeShow},#{onlineMustSceneExplain},#{performDeptType},#{matterEdition},#{eventTypeShow},#{performHierarchyShow},#{powerSourceShow},#{performDeptTypeShow},#{goveServiceCenterShow},#{isConvenientCenterShow},#{terminalHandle},#{isOnline},#{isOnlinePayShow},#{entrustmentDepartmen},#{jointInfoShow},#{matterStatus},#{numberLimit},#{type},#{baseCode},#{implementCode},#{implementBodyCode},#{operateItemCode},#{townshipName},#{townshipCode},#{villageName},#{villageCode},#{operateTime},#{operateSite},#{cousultingShow},#{cousultingTelephoneShow},#{superviseShow},#{sort},#{source},#{createTime},#{createUserId},#{updateTime},#{evaluationUrl},#{netApplyUrl})
</insert>
<!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto">
insert into mortals_sys_matter
(siteId,tid,tcode,tname,matterName,englishName,matterNo,areaCode,deptCode,deptName,powerCode,themeCode,usertypeCode,groupName,url,haveGetMatterInfo,belongDept,appoveObjectShow,operatScopeShow,appoveTimeLimitShow,handleType,legalTimeLimitShow,legalEndExplain,promiseTimeLimitShow,promiseEndExplain,isChargesShow,certificationLevelsShow,planTakeTime,promiseTakeTime,specialProcedure,windowToTheSceneNum,isOnlineSubscribeShow,isExpressTakeShow,isProvinceAcquisitionShow,isApplyProvinceShow,mustSceneExplain,onlineType,onlineToTheSceneNum,onlineOperatDeep,isExpressTakeOnlineShow,isDoorTakeShow,onlineMustSceneExplain,performDeptType,matterEdition,eventTypeShow,performHierarchyShow,powerSourceShow,performDeptTypeShow,goveServiceCenterShow,isConvenientCenterShow,terminalHandle,isOnline,isOnlinePayShow,entrustmentDepartmen,jointInfoShow,matterStatus,numberLimit,type,baseCode,implementCode,implementBodyCode,operateItemCode,townshipName,townshipCode,villageName,villageCode,operateTime,operateSite,cousultingShow,cousultingTelephoneShow,superviseShow,sort,source,createTime,createUserId,updateTime)
(siteId,tid,tcode,tname,matterName,englishName,matterNo,areaCode,deptCode,deptName,powerCode,themeCode,usertypeCode,groupName,url,haveGetMatterInfo,belongDept,appoveObjectShow,operatScopeShow,appoveTimeLimitShow,handleType,legalTimeLimitShow,legalEndExplain,promiseTimeLimitShow,promiseEndExplain,isChargesShow,certificationLevelsShow,planTakeTime,promiseTakeTime,specialProcedure,windowToTheSceneNum,isOnlineSubscribeShow,isExpressTakeShow,isProvinceAcquisitionShow,isApplyProvinceShow,mustSceneExplain,onlineType,onlineToTheSceneNum,onlineOperatDeep,isExpressTakeOnlineShow,isDoorTakeShow,onlineMustSceneExplain,performDeptType,matterEdition,eventTypeShow,performHierarchyShow,powerSourceShow,performDeptTypeShow,goveServiceCenterShow,isConvenientCenterShow,terminalHandle,isOnline,isOnlinePayShow,entrustmentDepartmen,jointInfoShow,matterStatus,numberLimit,type,baseCode,implementCode,implementBodyCode,operateItemCode,townshipName,townshipCode,villageName,villageCode,operateTime,operateSite,cousultingShow,cousultingTelephoneShow,superviseShow,sort,source,createTime,createUserId,updateTime,evaluationUrl,netApplyUrl)
VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.siteId},#{item.tid},#{item.tcode},#{item.tname},#{item.matterName},#{item.englishName},#{item.matterNo},#{item.areaCode},#{item.deptCode},#{item.deptName},#{item.powerCode},#{item.themeCode},#{item.usertypeCode},#{item.groupName},#{item.url},#{item.haveGetMatterInfo},#{item.belongDept},#{item.appoveObjectShow},#{item.operatScopeShow},#{item.appoveTimeLimitShow},#{item.handleType},#{item.legalTimeLimitShow},#{item.legalEndExplain},#{item.promiseTimeLimitShow},#{item.promiseEndExplain},#{item.isChargesShow},#{item.certificationLevelsShow},#{item.planTakeTime},#{item.promiseTakeTime},#{item.specialProcedure},#{item.windowToTheSceneNum},#{item.isOnlineSubscribeShow},#{item.isExpressTakeShow},#{item.isProvinceAcquisitionShow},#{item.isApplyProvinceShow},#{item.mustSceneExplain},#{item.onlineType},#{item.onlineToTheSceneNum},#{item.onlineOperatDeep},#{item.isExpressTakeOnlineShow},#{item.isDoorTakeShow},#{item.onlineMustSceneExplain},#{item.performDeptType},#{item.matterEdition},#{item.eventTypeShow},#{item.performHierarchyShow},#{item.powerSourceShow},#{item.performDeptTypeShow},#{item.goveServiceCenterShow},#{item.isConvenientCenterShow},#{item.terminalHandle},#{item.isOnline},#{item.isOnlinePayShow},#{item.entrustmentDepartmen},#{item.jointInfoShow},#{item.matterStatus},#{item.numberLimit},#{item.type},#{item.baseCode},#{item.implementCode},#{item.implementBodyCode},#{item.operateItemCode},#{item.townshipName},#{item.townshipCode},#{item.villageName},#{item.villageCode},#{item.operateTime},#{item.operateSite},#{item.cousultingShow},#{item.cousultingTelephoneShow},#{item.superviseShow},#{item.sort},#{item.source},#{item.createTime},#{item.createUserId},#{item.updateTime})
(#{item.siteId},#{item.tid},#{item.tcode},#{item.tname},#{item.matterName},#{item.englishName},#{item.matterNo},#{item.areaCode},#{item.deptCode},#{item.deptName},#{item.powerCode},#{item.themeCode},#{item.usertypeCode},#{item.groupName},#{item.url},#{item.haveGetMatterInfo},#{item.belongDept},#{item.appoveObjectShow},#{item.operatScopeShow},#{item.appoveTimeLimitShow},#{item.handleType},#{item.legalTimeLimitShow},#{item.legalEndExplain},#{item.promiseTimeLimitShow},#{item.promiseEndExplain},#{item.isChargesShow},#{item.certificationLevelsShow},#{item.planTakeTime},#{item.promiseTakeTime},#{item.specialProcedure},#{item.windowToTheSceneNum},#{item.isOnlineSubscribeShow},#{item.isExpressTakeShow},#{item.isProvinceAcquisitionShow},#{item.isApplyProvinceShow},#{item.mustSceneExplain},#{item.onlineType},#{item.onlineToTheSceneNum},#{item.onlineOperatDeep},#{item.isExpressTakeOnlineShow},#{item.isDoorTakeShow},#{item.onlineMustSceneExplain},#{item.performDeptType},#{item.matterEdition},#{item.eventTypeShow},#{item.performHierarchyShow},#{item.powerSourceShow},#{item.performDeptTypeShow},#{item.goveServiceCenterShow},#{item.isConvenientCenterShow},#{item.terminalHandle},#{item.isOnline},#{item.isOnlinePayShow},#{item.entrustmentDepartmen},#{item.jointInfoShow},#{item.matterStatus},#{item.numberLimit},#{item.type},#{item.baseCode},#{item.implementCode},#{item.implementBodyCode},#{item.operateItemCode},#{item.townshipName},#{item.townshipCode},#{item.villageName},#{item.villageCode},#{item.operateTime},#{item.operateSite},#{item.cousultingShow},#{item.cousultingTelephoneShow},#{item.superviseShow},#{item.sort},#{item.source},#{item.createTime},#{item.createUserId},#{item.updateTime},#{item.evaluationUrl},#{item.netApplyUrl})
</foreach>
</insert>
......@@ -616,6 +624,12 @@
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.updateTime=#{data.updateTime},
</if>
<if test="(colPickMode==0 and data.containsKey('evaluationUrl')) or (colPickMode==1 and !data.containsKey('evaluationUrl'))">
a.evaluationUrl=#{data.evaluationUrl},
</if>
<if test="(colPickMode==0 and data.containsKey('netApplyUrl')) or (colPickMode==1 and !data.containsKey('netApplyUrl'))">
a.netApplyUrl=#{data.netApplyUrl},
</if>
</trim>
<trim suffixOverrides="where" suffix="">
where
......@@ -1195,6 +1209,20 @@
</if>
</foreach>
</trim>
<trim prefix="evaluationUrl=(case" suffix="ELSE evaluationUrl end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('evaluationUrl')) or (colPickMode==1 and !item.containsKey('evaluationUrl'))">
when a.id=#{item.id} then #{item.evaluationUrl}
</if>
</foreach>
</trim>
<trim prefix="netApplyUrl=(case" suffix="ELSE netApplyUrl end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('netApplyUrl')) or (colPickMode==1 and !item.containsKey('netApplyUrl'))">
when a.id=#{item.id} then #{item.netApplyUrl}
</if>
</foreach>
</trim>
</trim>
where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
......@@ -2522,6 +2550,36 @@
<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>
<if test="conditionParamRef.containsKey('evaluationUrl')">
<if test="conditionParamRef.evaluationUrl != null and conditionParamRef.evaluationUrl != ''">
${_conditionType_} a.evaluationUrl like #{${_conditionParam_}.evaluationUrl}
</if>
<if test="conditionParamRef.evaluationUrl == null">
${_conditionType_} a.evaluationUrl is null
</if>
</if>
<if test="conditionParamRef.containsKey('evaluationUrlList')">
${_conditionType_} a.evaluationUrl in
<foreach collection="conditionParamRef.evaluationUrlList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('netApplyUrl')">
<if test="conditionParamRef.netApplyUrl != null and conditionParamRef.netApplyUrl != ''">
${_conditionType_} a.netApplyUrl like #{${_conditionParam_}.netApplyUrl}
</if>
<if test="conditionParamRef.netApplyUrl == null">
${_conditionType_} a.netApplyUrl is null
</if>
</if>
<if test="conditionParamRef.containsKey('netApplyUrlList')">
${_conditionType_} a.netApplyUrl in
<foreach collection="conditionParamRef.netApplyUrlList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
</sql>
<sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()">
......@@ -2920,6 +2978,16 @@
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('evaluationUrl')">
a.evaluationUrl
<if test='orderCol.evaluationUrl != null and "DESC".equalsIgnoreCase(orderCol.evaluationUrl)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('netApplyUrl')">
a.netApplyUrl
<if test='orderCol.netApplyUrl != null and "DESC".equalsIgnoreCase(orderCol.netApplyUrl)'>DESC</if>
,
</if>
</trim>
</if>
</sql>
......
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