Commit ca96da48 by wqc

新增组件跟组件接口

parent ff4ffe7a
......@@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.Map;
@Api(tags = "通用查询")
@Api(tags = "组件执行接口")
@RestController
@RequestMapping(value = "/data/execute")
public class ComponentRunController {
......@@ -18,9 +18,33 @@ public class ComponentRunController {
private CommonQueryService commonQueryService;
@ApiOperation("去重执行")
@PostMapping("/remove")
@PostMapping("/removeRepeat")
public ResultVo removeRepeat(@RequestBody Map<String, Object> body) throws Exception {
return ResultVo.success(commonQueryService.removeRepeat(body));
}
@ApiOperation("身份证清洗")
@PostMapping("/identityClean")
public ResultVo identityClean(@RequestBody Map<String, Object> body) throws Exception {
return ResultVo.success(commonQueryService.identityClean(body));
}
@ApiOperation("字符串替换")
@PostMapping("/replaceString")
public ResultVo replaceString(@RequestBody Map<String, Object> body) throws Exception {
return ResultVo.success(commonQueryService.replaceString(body));
}
@ApiOperation("记录排序")
@PostMapping("/SortRecord")
public ResultVo SortRecord(@RequestBody Map<String, Object> body) throws Exception {
return ResultVo.success(commonQueryService.SortRecord(body));
}
@ApiOperation("记录排序")
@PostMapping("/cutString")
public ResultVo CutString(@RequestBody Map<String, Object> body) throws Exception {
return ResultVo.success(commonQueryService.CutString(body));
}
}
......@@ -5,6 +5,7 @@ import cn.hutool.json.JSONUtil;
import com.alibaba.druid.pool.DruidPooledConnection;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jcraft.jsch.Logger;
import com.zq.common.exception.BusinessException;
import com.zq.common.vo.PageVo;
import com.zq.common.vo.ResultVo;
......@@ -15,7 +16,9 @@ import com.zq.dataoperation.entity.CommonQuerySetting;
import com.zq.dataoperation.entity.MetaDataMapping;
import com.zq.dataoperation.entity.QueryDb;
import com.zq.dataoperation.utils.ConnectionUtil;
import com.zq.dataoperation.utils.IdentityUtils;
import com.zq.dataoperation.utils.SqlUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;
......@@ -180,12 +183,87 @@ public class CommonQueryService extends ServiceImpl<CommonQuerySettingDao, Commo
return commonQuery(sql,id);
}
//----------------------------------组件接口----------------------------------------------------------
//去重
public Object removeRepeat(Map<String, Object> body) throws Exception {
JSONObject jsonObject = JSONUtil.parseObj(body);
Long datasourceId = Long.valueOf(jsonObject.get("datasourceId").toString());
String tableName = jsonObject.get("tableName").toString();
String metaData = jsonObject.get("metaData").toString();
String sql = "SELECT DISTINCT " + metaData + ",m.* FROM " + tableName+" m";
String sql1="SELECT "+metaData+" FROM " + tableName+" GROUP BY "+metaData+" HAVING COUNT("+metaData+")>1;";
List<Map> mapList = commonQuery(sql1, datasourceId);
if (mapList==null){
return "该字段没有重复值";
}else{
String sql = "SELECT * FROM " + tableName + " WHERE id not in (SELECT MIN(id) FROM " + tableName+" GROUP BY "+metaData+" HAVING COUNT("+metaData+")>1);";
return commonQuery(sql, datasourceId);
}
}
//身份证清洗
public Object identityClean(Map<String, Object> body) throws Exception {
JSONObject jsonObject = JSONUtil.parseObj(body);
Long datasourceId = Long.valueOf(jsonObject.get("datasourceId").toString());
String tableName = jsonObject.get("tableName").toString();
String metaData = jsonObject.get("metaData").toString();
String sql="SELECT * FROM " + tableName;
if (StringUtils.isNotBlank(metaData)) {
return "字段为身份证且不为空!";
}
if(IdentityUtils.isLegalIdCard(metaData)!=true){
return "身份证号不符";
}else if(IdentityUtils.is15BitLegalIdCard(metaData)!=true){
return "身份证不满15位!";
}else if(IdentityUtils.is18BitLegalIdCard(metaData)!=true){
return "身份证不满18位!";
}else {
return commonQuery(sql,datasourceId);
}
}
//字符串替换
public Object replaceString(Map<String, Object> body) throws Exception {
JSONObject jsonObject = JSONUtil.parseObj(body);
Long datasourceId = Long.valueOf(jsonObject.get("datasourceId").toString());
String tableName = jsonObject.get("tableName").toString();
String metaData = jsonObject.get("metaData").toString();
String originStr= jsonObject.get("originStr").toString();
String replaceStr= jsonObject.get("replaceStr").toString();
String sql ="UPDATE "+tableName+" SET "+metaData+"=REPLACE("+metaData+",'"+originStr+"','"+replaceStr+"');";
if (StringUtils.isNotBlank(metaData)&&StringUtils.isNotBlank(tableName)&&StringUtils.isNotBlank(originStr)&&StringUtils.isNotBlank(replaceStr)) {
return "传入参数不能为空";
}else{
return commonQuery(sql,datasourceId);
}
}
public Object SortRecord(Map<String, Object> body) throws Exception {
JSONObject jsonObject = JSONUtil.parseObj(body);
Long datasourceId = Long.valueOf(jsonObject.get("datasourceId").toString());
String tableName = jsonObject.get("tableName").toString();
String metaData = jsonObject.get("metaData").toString();
String sortStr=jsonObject.get("sortStr").toString();
if(sortStr.equals("1")){
sortStr="ASC";
}else{
sortStr="DESC";
}
String sql="SELECT * FROM "+tableName+" ORDER BY "+metaData+" "+sortStr;
return commonQuery(sql,datasourceId);
}
public Object CutString(Map<String, Object> body) throws Exception {
JSONObject jsonObject = JSONUtil.parseObj(body);
Long datasourceId = Long.valueOf(jsonObject.get("datasourceId").toString());
String tableName = jsonObject.get("tableName").toString();
String beginStr = jsonObject.get("beginStr").toString();
String indexStr = jsonObject.get("indexStr").toString();
String metaData = jsonObject.get("metaData").toString();
String sql="SELECT *,"+" SUBSTR("+metaData+","+beginStr+","+indexStr+") AS "+metaData +"1 FROM "+tableName;
if (StringUtils.isNotBlank(metaData)&&StringUtils.isNotBlank(tableName)&&StringUtils.isNotBlank(beginStr)&&StringUtils.isNotBlank(indexStr)) {
return "传入参数不能为空";
}else{
return commonQuery(sql,datasourceId);
}
}
}
package com.zq.dataoperation.utils;
import java.util.stream.IntStream;
/**
* 身份证号码验证
* 1、号码的结构
* 公民身份号码是特征组合码,由十七位数字本体码和一位校验码组成。从左至右依次为:六位数字地址码,
* 八位数字出生日期码,三位数字顺序码和一位数字校验码。
* 2、地址码(前六位数)
* 表示编码对象常住户口所在县(市、旗、区)的行政区划代码,按GB/T2260的规定执行。
* 3、出生日期码(第七位至十四位)
* 表示编码对象出生的年、月、日,按GB/T7408的规定执行,年、月、日代码之间不用分隔符。
* 4、顺序码(第十五位至十七位)
* 表示在同一地址码所标识的区域范围内,对同年、同月、同日出生的人编定的顺序号,
* 顺序码的奇数分配给男性,偶数分配给女性。
* 5、校验码(第十八位数)
* (1)十七位数字本体码加权求和公式 S = Sum(Ai Wi), i = 0, , 16 ,先对前17位数字的权求和 ;
* Ai:表示第i位置上的身份证号码数字值; Wi:表示第i位置上的加权因子 Wi: 7 9 10 5 8 4 2 1 6 3 7 9 10 5 8 4 2
* (2)计算模 Y = mod(S, 11)
* (3)通过模( 0 1 2 3 4 5 6 7 8 9 10)得到对应的校验码 Y:1 0 X 9 8 7 6 5 4 3 2
*
*/
public class IdentityUtils {
/**
* 身份证校验码
*/
private static final int[] COEFFICIENT_ARRAY = {7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2};
/**
* 身份证号的尾数规则
*/
private static final String[] IDENTITY_MANTISSA = {"1", "0", "X", "9", "8", "7", "6", "5", "4", "3", "2"};
private static final String IDENTITY_PATTERN_15 = "^[1-9]\\d{7}((0\\d)|(1[0-2]))(([0-2]\\d)|3[0-1])\\d{3}$";
// 修改前未做X位的校验:"^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0-2]\\d)|3[0-1])\\d{4}$";
// 修改后:"^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0-2]\\d)|3[0-1])\\d{3}[0-9Xx]$";
private static final String IDENTITY_PATTERN_18 = "^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0-2]\\d)|3[0-1])\\d{3}[0-9Xx]$";
/**
* 身份证号校验
*/
public static boolean isLegalIdCard(String identity) {
if (identity == null) {
return false;
}
if (identity.length() == 15) {
return is15BitLegalIdCard(identity);
}
if (identity.length() == 18) {
return is18BitLegalIdCard(identity);
}
return false;
}
public static boolean is15BitLegalIdCard(String identity) {
return identity.matches(IDENTITY_PATTERN_15);
}
public static boolean is18BitLegalIdCard(String identity) {
if (identity.length() != 18) {
return false;
}
if (!identity.matches(IDENTITY_PATTERN_18)) {
return false;
}
// 将字符串对象中的字符转换为一个字符数组
char[] chars = identity.toCharArray();
long sum = IntStream.range(0, 17).map(index -> {
char ch = chars[index];
// 通俗理解:digit()是个边界值判断,不过边界返回字符数字本身数值,超过边界即返回 -1.
int digit = Character.digit(ch, 10);
int coefficient = COEFFICIENT_ARRAY[index];
return digit * coefficient;
}).summaryStatistics().getSum();
// 计算出的尾数索引
int mantissaIndex = (int) (sum % 11);
String mantissa = IDENTITY_MANTISSA[mantissaIndex];
String lastChar = identity.substring(17);
return lastChar.equalsIgnoreCase(mantissa);
}
}
package com.zq.spiderflow.core.executor.shape;
import com.zq.spiderflow.context.SpiderContext;
import com.zq.spiderflow.executor.ShapeExecutor;
import com.zq.spiderflow.model.Shape;
import com.zq.spiderflow.model.SpiderNode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import java.util.Map;
/**
* @author Administrator
*/
@Component
public class DataEliminateExecutor implements ShapeExecutor {
public static final String DATASOURCE_ID = "datasourceId";
public static final String META_DATA = "metaData";
public static final String TABLE_NAME = "tableName";
private static final Logger logger = LoggerFactory.getLogger(ExecuteSQLExecutor.class);
@Override
public Shape shape() {
Shape shape = new Shape();
//web界面上显示的图标
shape.setImage("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAWy0lEQVR4nO3da6xl530X4N/2Jc7Fk5lEQpyoKh4aklYo4JHCB0hLPKVIlLTF09CmobTJxGmaRK3ISZtbL6STUJWmafAxH6qUEHuStrm0AcZAbRqBOE4JCCjShABqSpvORCAfxCUzHl/i2J7Fh7UcD+bsM2e/677P80hLHs9a79r/2eu8+3fWevd616KqqgDAqq4ZuwAA5kmAAFBEgABQRI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FBAgARaYeINeOXcAB4/1mN34uhjWb93uIAHmgRduv66wK9qPN+32psyrog344H7Pph0MEyMUWbf9yZ1WwH69o0bbNBxT90w/nYzb9cIgAOdei7TuSPKejOtjbc5O8s0X7L3VVCL34wxZt9cPhzKofDhEg/7lF229I8qkkhzqqhd0dSvLJJEdb7OPz3ZRCT/5Li7b64TBm1w+HCJDPtmz/7anflDcm+frMaIBp4q5N/X6+Mcl/Sv0+t/HbrSuiT/rhNF3ZDz+fmfXDRVVVve38BXfU/0ny3zL9b3xRrko98Hf/2IWwlH64/r7WD+9/yzAvOMQP0/1JPjPA6zCez0Z4TJ1+uP4G74dD/TZy50Cvwzg+NHYB7MuHxy6AXg3eD4cKkE8kOT/QazGs80k+PnYR7Msnox+uq1H64VAB8liS9w70WgzrvamPL9OnH66vUfrhkANqdyX5NwO+Hv3716mPK/NxV+rjxvoYrR8OGSBVktfFlBfr4lKS21IfV+ZDP1wvo/bDob/S94Ukb4gPnbmrkvxQ6uPJ/Pxe6uOnH85blfrzdLR+OMZ3wj+ZemoE5uvtSX597CJo5dejH87dO1N/no5mrJuKfjHJ2+I3oLmpUh+3D4xdCJ3QD+fpyX74/rELGfOu1A8k+f6YxXUuLqU+XsJjveiH8zKpfjj2tAafSPJnkvzbketgb/8uyUtTHy/Wj344D5Prh2MHSJL81yQvS/L6uMlpas6nPi5/LvVxYn3ph9M12X44hQBJksuppzt5UZLXJLmv+TuGdzn1+/+a1MfjzjgWB4V+OB2z6IdDzMZb3DzJX0zyzUm+KfWbeGPqB67QjQeSPJj6t5rfTT0Z2z+PiRF5in7Yv8774VCz8fYaIACsr6lcwgJgZgQIAEUECABFBAgARQQIAEUECABFBAgARQQIAEUECABFBAgARQQIAEUECABFBAgARQQIAEUECABFBAgARQQIAEUECABFBAgARQQIAEUECABFBAgARQQIAEUECABFBAgARQQIAEX+L8sCAJ/G8HIhAAAAAElFTkSuQmCC");
//拖放至容器里时默认的节点名称
shape.setLabel("DataEliminate");
//模板文件名
shape.setName("DataEliminate");
//鼠标移动至图标上显示的名称
shape.setTitle("数据剔除");
return shape;
}
@Override
public String supportShape() {
return "DataEliminate";
}
@Override
public void execute(SpiderNode node, SpiderContext context, Map<String, Object> variables) {
}
@Override
public boolean allowExecuteNext(SpiderNode node, SpiderContext context, Map<String, Object> variables) {
return false;
}
@Override
public boolean isThread() {
return false;
}
}
package com.zq.spiderflow.core.executor.shape;
import com.zq.spiderflow.context.SpiderContext;
import com.zq.spiderflow.executor.ShapeExecutor;
import com.zq.spiderflow.model.Shape;
import com.zq.spiderflow.model.SpiderNode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import java.util.Map;
/**
* @author Administrator
*/
@Component
public class GroupingMetaExecutor implements ShapeExecutor {
public static final String DATASOURCE_ID = "datasourceId";
public static final String META_DATA = "metaData";
public static final String TABLE_NAME = "tableName";
private static final Logger logger = LoggerFactory.getLogger(ExecuteSQLExecutor.class);
@Override
public Shape shape() {
Shape shape = new Shape();
//web界面上显示的图标
shape.setImage("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACnpJREFUeF7tnU+InVcZh39nkmAKFkK03Ds1iwpaxVKwdCOIkmIpCLrQhZDqIqA2aGnn3oCm4KITEIRQcr8RWxQC3Ym4sFKVLpSmbnRVKJL6d2M17dzJiESwNrSZe2RiU5KYmfvNmfOe7zvnPF2f8573fX7n4dK533fjxH8QgMCWBBxsIACBrQkgCLcDAtsQQBCuBwQQhDsAgTACfIKEcWNXJQQQpJKgGTOMAIKEcWNXJQQQpJKgGTOMAIKEcWNXJQQQpJKgGTOMAIKEcWNXJQQQpJKgGTOMAIKEcWNXJQQQpJKgGTOMAIKEcWNXJQQQpJKgGTOMAIKEcWNXJQQQpJKgGTOMAIKEcWNXJQQQpJKgGTOMAIKEcWNXJQQQpJKgGTOMAIKEcWNXJQQQpJKgGTOMAIKEcWNXJQQQpJKgGTOMAIKEcWN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wFfWH6qPu9xREIYkG1sJo9FsRUDv6KVdhFthqnp4KYy2EuyNtg75Z00Cq8Cuv+x0t/cl7Pxv6T5lYseyhIEjlMBRk2/pykuyq8wMlG3vC6Z33sXrI+sGeCJJPDTJBh4zffBDtqHVzt9b100S3o41b/g3qVb48ESSqHiSB3LPv9lw7ogqRba7/AKeb3Tl9dW3JnLM/qiSDJ5TARZDjxh+V01jIwal9DwOghvWsZ90CQTuRAkBJMK1+QzuRAEARpRaDDT5BO5UCQVtej54vK/QTpXA4E6fndb9VemYL0Qg4EaXUDe76oPEF6IweC9Pzut2qvLEF6JQeCtLqBPV9UjiC9kwNBen73W7VXhiC9lMNEEL5Jb3Wtoy1K8U36YuM/6aVfR2v6+kK9lcNEkM2iPItldJVuKJvqWaxDp/0tlxeuPD707siT9VoOM0HeloSneSPfphvLpXqa90qeK/5ZeX024ki9l8NUkCtQJ35ZTrwPEvFWSUr+Pshm+4PGf8ZJP4s0ShZymAsSCSZlekIg0qdINnIgSE8uXi5tDL/rP6KZfryLF+GykgNBcrmZPepzF5I8rwU9Yv1yV2xU/KpJbKIV1NuUxG9oyTk91Gpcpyen+zXWMfdWq/U9WoQgPQojt1YWV/y9M68vOekTku69of/fSfqhc/rV6pJ7MbfZrvaLILkm17O+b3/Cv/fyPt0ppzW/R2vrD7t/96zFoHYQJAgbm2ohgCC1JM2cQQQQJAgbm2ohgCC1JM2cQQQQJAgbm2ohgCC1JM2cQQQQJAgbm2ohgCC1JM2cQQQQJAgbm2ohgCC1JM2cQQQQJAgbm2ohgCC1JM2cQQQQJAgbm2ohgCC1JM2cQQQQJAgbm2ohgCC1JM2cQQQQJAgbm2ohgCC1JM2cQQQQJAgbm2ohgCC1JM2cQQQQJAgbm2ohgCC1JM2cQQQQJAgbm2oh8F/AWz0Flp1SAQAAAABJRU5ErkJggg==");
//拖放至容器里时默认的节点名称
shape.setLabel("GroupingMeta");
//模板文件名
shape.setName("GroupingMeta");
//鼠标移动至图标上显示的名称
shape.setTitle("字段分组");
return shape;
}
@Override
public String supportShape() {
return "GroupingMeta";
}
@Override
public void execute(SpiderNode node, SpiderContext context, Map<String, Object> variables) {
}
@Override
public boolean allowExecuteNext(SpiderNode node, SpiderContext context, Map<String, Object> variables) {
return false;
}
@Override
public boolean isThread() {
return false;
}
}
package com.zq.spiderflow.core.executor.shape;
import com.zq.spiderflow.context.SpiderContext;
import com.zq.spiderflow.executor.ShapeExecutor;
import com.zq.spiderflow.model.Shape;
import com.zq.spiderflow.model.SpiderNode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import java.util.Map;
/**
* @author Administrator
*/
@Component
public class TableLeftJoinExecutor implements ShapeExecutor {
public static final String DATASOURCE_ID = "datasourceId";
public static final String META_DATA = "metaData";
public static final String TABLE_NAME = "tableName";
private static final Logger logger = LoggerFactory.getLogger(ExecuteSQLExecutor.class);
@Override
public Shape shape() {
Shape shape = new Shape();
//web界面上显示的图标
shape.setImage("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAV+ElEQVR4nO3debBkVX3A8e/pfjPDMMgmI4JxQTBRQIKmlGiUQqIEEcUlLrhUmQTUqBFwyRiUiChGLaNFyqhRs1hZNO6WGiMqFololVQQiWKCgyuGCIIEhm2Yvid/3DfMwGyvf31Pn9uvv5+qdorhvXvODHZ/393OTTlnJEka16D2BCRJs8mASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCDIgkKcSASJJCFkpu/IDzxvrylcCBwCOBxwAHAw8A1gK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Emz4A7a9+tRuOcxt/oSEIDbgHXAYcAHgVvqTkfSdtxK+/48jPb9elvd6aimGsu578p64FTgDOBE4HHAkcBBwN7AiloTk+bMHcANwA9pr7C6APgcsKHinNQjKWcfryFJGl+fDmFJkmaIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhRgQSVKIAZEkhfw/xqVozoQ1jYcAAAAASUVORK5CYII=");
//拖放至容器里时默认的节点名称
shape.setLabel("TableLeftJoin");
//模板文件名
shape.setName("TableLeftJoin");
//鼠标移动至图标上显示的名称
shape.setTitle("表关联");
return shape;
}
@Override
public String supportShape() {
return "TableLeftJoin";
}
@Override
public void execute(SpiderNode node, SpiderContext context, Map<String, Object> variables) {
}
@Override
public boolean allowExecuteNext(SpiderNode node, SpiderContext context, Map<String, Object> variables) {
return false;
}
@Override
public boolean isThread() {
return false;
}
}
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