【添加】代码生成器模块
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ public class Swagger2Config implements WebMvcConfigurer {
|
|||||||
.apiInfo(apiInfo())
|
.apiInfo(apiInfo())
|
||||||
.select()
|
.select()
|
||||||
//此包路径下的类,才生成接口文档
|
//此包路径下的类,才生成接口文档
|
||||||
.apis(RequestHandlerSelectors.basePackage("org.jeecg"))
|
.apis(RequestHandlerSelectors.basePackage("com.jero"))
|
||||||
//加了ApiOperation注解的类,才生成接口文档
|
//加了ApiOperation注解的类,才生成接口文档
|
||||||
.apis(RequestHandlerSelectors.withClassAnnotation(RestController.class))
|
.apis(RequestHandlerSelectors.withClassAnnotation(RestController.class))
|
||||||
.apis(RequestHandlerSelectors.withMethodAnnotation(ApiOperation.class))
|
.apis(RequestHandlerSelectors.withMethodAnnotation(ApiOperation.class))
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="com.jero.generater.modules.online.auth.mapper.OnlAuthPageMapper">
|
<mapper namespace="com.jero.generater.modules.online.auth.mapper.OnlAuthPageMapper">
|
||||||
|
|
||||||
<resultMap id="AuthPageVO" type="com.jero.modules.online.auth.vo.AuthPageVO">
|
<resultMap id="AuthPageVO" type="com.jero.generater.modules.online.auth.vo.AuthPageVO">
|
||||||
<result column="id" property="id" jdbcType="VARCHAR"/>
|
<result column="id" property="id" jdbcType="VARCHAR"/>
|
||||||
<result column="code" property="code" jdbcType="VARCHAR"/>
|
<result column="code" property="code" jdbcType="VARCHAR"/>
|
||||||
<result column="title" property="title" jdbcType="VARCHAR"/>
|
<result column="title" property="title" jdbcType="VARCHAR"/>
|
||||||
|
|||||||
-178
@@ -1,178 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.a;
|
|
||||||
|
|
||||||
public class a {
|
|
||||||
private String a;
|
|
||||||
private String b;
|
|
||||||
private String c;
|
|
||||||
private String d;
|
|
||||||
private String e;
|
|
||||||
private String f;
|
|
||||||
private String g;
|
|
||||||
private String h;
|
|
||||||
|
|
||||||
/* access modifiers changed from: protected */
|
|
||||||
public boolean a(Object obj) {
|
|
||||||
return obj instanceof a;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean equals(Object o) {
|
|
||||||
if (o == this) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (!(o instanceof a)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
a aVar = (a) o;
|
|
||||||
if (!aVar.a(this)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
String table = getTable();
|
|
||||||
String table2 = aVar.getTable();
|
|
||||||
if (table != null ? !table.equals(table2) : table2 != null) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
String txt = getTxt();
|
|
||||||
String txt2 = aVar.getTxt();
|
|
||||||
if (txt != null ? !txt.equals(txt2) : txt2 != null) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
String key = getKey();
|
|
||||||
String key2 = aVar.getKey();
|
|
||||||
if (key != null ? !key.equals(key2) : key2 != null) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
String linkField = getLinkField();
|
|
||||||
String linkField2 = aVar.getLinkField();
|
|
||||||
if (linkField != null ? !linkField.equals(linkField2) : linkField2 != null) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
String idField = getIdField();
|
|
||||||
String idField2 = aVar.getIdField();
|
|
||||||
if (idField != null ? !idField.equals(idField2) : idField2 != null) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
String pidField = getPidField();
|
|
||||||
String pidField2 = aVar.getPidField();
|
|
||||||
if (pidField != null ? !pidField.equals(pidField2) : pidField2 != null) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
String pidValue = getPidValue();
|
|
||||||
String pidValue2 = aVar.getPidValue();
|
|
||||||
if (pidValue != null ? !pidValue.equals(pidValue2) : pidValue2 != null) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
String condition = getCondition();
|
|
||||||
String condition2 = aVar.getCondition();
|
|
||||||
if (condition == null) {
|
|
||||||
if (condition2 == null) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
} else if (condition.equals(condition2)) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int hashCode() {
|
|
||||||
int i = 43;
|
|
||||||
String table = getTable();
|
|
||||||
int hashCode = table == null ? 43 : table.hashCode();
|
|
||||||
String txt = getTxt();
|
|
||||||
int i2 = (hashCode + 59) * 59;
|
|
||||||
int hashCode2 = txt == null ? 43 : txt.hashCode();
|
|
||||||
String key = getKey();
|
|
||||||
int i3 = (hashCode2 + i2) * 59;
|
|
||||||
int hashCode3 = key == null ? 43 : key.hashCode();
|
|
||||||
String linkField = getLinkField();
|
|
||||||
int i4 = (hashCode3 + i3) * 59;
|
|
||||||
int hashCode4 = linkField == null ? 43 : linkField.hashCode();
|
|
||||||
String idField = getIdField();
|
|
||||||
int i5 = (hashCode4 + i4) * 59;
|
|
||||||
int hashCode5 = idField == null ? 43 : idField.hashCode();
|
|
||||||
String pidField = getPidField();
|
|
||||||
int i6 = (hashCode5 + i5) * 59;
|
|
||||||
int hashCode6 = pidField == null ? 43 : pidField.hashCode();
|
|
||||||
String pidValue = getPidValue();
|
|
||||||
int i7 = (hashCode6 + i6) * 59;
|
|
||||||
int hashCode7 = pidValue == null ? 43 : pidValue.hashCode();
|
|
||||||
String condition = getCondition();
|
|
||||||
int i8 = (hashCode7 + i7) * 59;
|
|
||||||
if (condition != null) {
|
|
||||||
i = condition.hashCode();
|
|
||||||
}
|
|
||||||
return i8 + i;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCondition(String condition) {
|
|
||||||
this.h = condition;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setIdField(String idField) {
|
|
||||||
this.e = idField;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setKey(String key) {
|
|
||||||
this.c = key;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setLinkField(String linkField) {
|
|
||||||
this.d = linkField;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPidField(String pidField) {
|
|
||||||
this.f = pidField;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPidValue(String pidValue) {
|
|
||||||
this.g = pidValue;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTable(String table) {
|
|
||||||
this.a = table;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTxt(String txt) {
|
|
||||||
this.b = txt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String toString() {
|
|
||||||
return "LinkDown(table=" + getTable() + ", txt=" + getTxt() + ", key=" + getKey() + ", linkField=" + getLinkField() + ", idField=" + getIdField() + ", pidField=" + getPidField() + ", pidValue=" + getPidValue() + ", condition=" + getCondition() + ")";
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTable() {
|
|
||||||
return this.a;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTxt() {
|
|
||||||
return this.b;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getKey() {
|
|
||||||
return this.c;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getLinkField() {
|
|
||||||
return this.d;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getIdField() {
|
|
||||||
return this.e;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getPidField() {
|
|
||||||
return this.f;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getPidValue() {
|
|
||||||
return this.g;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCondition() {
|
|
||||||
return this.h;
|
|
||||||
}
|
|
||||||
|
|
||||||
private String getQuerySql() {
|
|
||||||
new StringBuffer().append(b.a);
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-1228
File diff suppressed because it is too large
Load Diff
-192
@@ -1,192 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.b;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
||||||
import java.util.Arrays;
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import com.jero.common.api.vo.Result;
|
|
||||||
import com.jero.common.system.query.QueryGenerator;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformButton;
|
|
||||||
import com.jero.generater.modules.online.cgform.service.IOnlCgformButtonService;
|
|
||||||
import org.slf4j.Logger;
|
|
||||||
import org.slf4j.LoggerFactory;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
|
||||||
import org.springframework.web.bind.annotation.PutMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@RestController("onlCgformButtonController")
|
|
||||||
@RequestMapping({"/online/cgform/button"})
|
|
||||||
public class b
|
|
||||||
{
|
|
||||||
private static final Logger a = LoggerFactory.getLogger(b.class);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private IOnlCgformButtonService onlCgformButtonService;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/list/{code}"})
|
|
||||||
public Result<IPage<OnlCgformButton>> a(OnlCgformButton paramOnlCgformButton, @RequestParam(name = "pageNo", defaultValue = "1") Integer paramInteger1, @RequestParam(name = "pageSize", defaultValue = "10") Integer paramInteger2, HttpServletRequest paramHttpServletRequest, @PathVariable("code") String paramString) {
|
|
||||||
Result<IPage<OnlCgformButton>> result = new Result();
|
|
||||||
paramOnlCgformButton.setCgformHeadId(paramString);
|
|
||||||
QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(paramOnlCgformButton, paramHttpServletRequest.getParameterMap());
|
|
||||||
Page page = new Page(paramInteger1.intValue(), paramInteger2.intValue());
|
|
||||||
IPage iPage = this.onlCgformButtonService.page((IPage)page, (Wrapper)queryWrapper);
|
|
||||||
result.setSuccess(true);
|
|
||||||
result.setResult(iPage);
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping({"/add"})
|
|
||||||
public Result<OnlCgformButton> a(@RequestBody OnlCgformButton paramOnlCgformButton) {
|
|
||||||
Result<OnlCgformButton> result = new Result();
|
|
||||||
try {
|
|
||||||
this.onlCgformButtonService.save(paramOnlCgformButton);
|
|
||||||
result.success("添加成功!");
|
|
||||||
} catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
result.error500("操作失败");
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping({"/aitest"})
|
|
||||||
public Result<OnlCgformButton> a(@RequestBody JSONArray paramJSONArray) {
|
|
||||||
Result<OnlCgformButton> result = new Result();
|
|
||||||
try {
|
|
||||||
for (byte b1 = 0; b1 < paramJSONArray.size(); b1++) {
|
|
||||||
JSONObject jSONObject = paramJSONArray.getJSONObject(b1);
|
|
||||||
OnlCgformButton onlCgformButton = (OnlCgformButton)JSONObject.parseObject(jSONObject.toJSONString(), OnlCgformButton.class);
|
|
||||||
this.onlCgformButtonService.saveButton(onlCgformButton);
|
|
||||||
}
|
|
||||||
result.success("添加成功!");
|
|
||||||
} catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
result.error500("操作失败");
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PutMapping({"/edit"})
|
|
||||||
public Result<OnlCgformButton> b(@RequestBody OnlCgformButton paramOnlCgformButton) {
|
|
||||||
Result<OnlCgformButton> result = new Result();
|
|
||||||
OnlCgformButton onlCgformButton = (OnlCgformButton)this.onlCgformButtonService.getById(paramOnlCgformButton.getId());
|
|
||||||
if (onlCgformButton == null) {
|
|
||||||
result.error500("未找到对应实体");
|
|
||||||
} else {
|
|
||||||
boolean bool = this.onlCgformButtonService.updateById(paramOnlCgformButton);
|
|
||||||
|
|
||||||
if (bool) {
|
|
||||||
result.success("修改成功!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@DeleteMapping({"/delete"})
|
|
||||||
public Result<OnlCgformButton> a(@RequestParam(name = "id", required = true) String paramString) {
|
|
||||||
Result<OnlCgformButton> result = new Result();
|
|
||||||
OnlCgformButton onlCgformButton = (OnlCgformButton)this.onlCgformButtonService.getById(paramString);
|
|
||||||
if (onlCgformButton == null) {
|
|
||||||
result.error500("未找到对应实体");
|
|
||||||
} else {
|
|
||||||
boolean bool = this.onlCgformButtonService.removeById(paramString);
|
|
||||||
if (bool) {
|
|
||||||
result.success("删除成功!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@DeleteMapping({"/deleteBatch"})
|
|
||||||
public Result<OnlCgformButton> b(@RequestParam(name = "ids", required = true) String paramString) {
|
|
||||||
Result<OnlCgformButton> result = new Result();
|
|
||||||
if (paramString == null || "".equals(paramString.trim())) {
|
|
||||||
result.error500("参数不识别!");
|
|
||||||
} else {
|
|
||||||
this.onlCgformButtonService.removeByIds(Arrays.asList(paramString.split(",")));
|
|
||||||
result.success("删除成功!");
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/queryById"})
|
|
||||||
public Result<OnlCgformButton> c(@RequestParam(name = "id", required = true) String paramString) {
|
|
||||||
Result<OnlCgformButton> result = new Result();
|
|
||||||
OnlCgformButton onlCgformButton = (OnlCgformButton)this.onlCgformButtonService.getById(paramString);
|
|
||||||
if (onlCgformButton == null) {
|
|
||||||
result.error500("未找到对应实体");
|
|
||||||
} else {
|
|
||||||
result.setResult(onlCgformButton);
|
|
||||||
result.setSuccess(true);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\b\b.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-205
@@ -1,205 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.b;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
||||||
import java.lang.invoke.SerializedLambda;
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.List;
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import com.jero.common.api.vo.Result;
|
|
||||||
import com.jero.common.system.query.QueryGenerator;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
|
||||||
import com.jero.generater.modules.online.cgform.service.IOnlCgformFieldService;
|
|
||||||
import com.jero.generater.modules.online.cgform.service.IOnlCgformHeadService;
|
|
||||||
import org.slf4j.Logger;
|
|
||||||
import org.slf4j.LoggerFactory;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
|
||||||
import org.springframework.web.bind.annotation.PutMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@RestController("onlCgformFieldController")
|
|
||||||
@RequestMapping({"/online/cgform/field"})
|
|
||||||
public class c
|
|
||||||
{
|
|
||||||
private static final Logger a = LoggerFactory.getLogger(c.class);
|
|
||||||
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private IOnlCgformHeadService onlCgformHeadService;
|
|
||||||
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private IOnlCgformFieldService onlCgformFieldService;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/listByHeadCode"})
|
|
||||||
public Result<?> a(@RequestParam("headCode") String paramString) {
|
|
||||||
LambdaQueryWrapper lambdaQueryWrapper = new LambdaQueryWrapper();
|
|
||||||
lambdaQueryWrapper.eq(OnlCgformHead::getTableName, paramString);
|
|
||||||
|
|
||||||
OnlCgformHead onlCgformHead = (OnlCgformHead)this.onlCgformHeadService.getOne((Wrapper)lambdaQueryWrapper);
|
|
||||||
if (onlCgformHead == null) {
|
|
||||||
return Result.error("不存在的code");
|
|
||||||
}
|
|
||||||
return b(onlCgformHead.getId());
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/listByHeadId"})
|
|
||||||
public Result<?> b(@RequestParam("headId") String paramString) {
|
|
||||||
QueryWrapper queryWrapper = new QueryWrapper();
|
|
||||||
queryWrapper.eq("cgform_head_id", paramString);
|
|
||||||
queryWrapper.orderByAsc("order_num");
|
|
||||||
List list = this.onlCgformFieldService.list((Wrapper)queryWrapper);
|
|
||||||
return Result.OK(list);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/list"})
|
|
||||||
public Result<IPage<OnlCgformField>> a(OnlCgformField paramOnlCgformField, @RequestParam(name = "pageNo", defaultValue = "1") Integer paramInteger1, @RequestParam(name = "pageSize", defaultValue = "10") Integer paramInteger2, HttpServletRequest paramHttpServletRequest) {
|
|
||||||
Result<IPage<OnlCgformField>> result = new Result();
|
|
||||||
QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(paramOnlCgformField, paramHttpServletRequest.getParameterMap());
|
|
||||||
Page page = new Page(paramInteger1.intValue(), paramInteger2.intValue());
|
|
||||||
IPage iPage = this.onlCgformFieldService.page((IPage)page, (Wrapper)queryWrapper);
|
|
||||||
result.setSuccess(true);
|
|
||||||
result.setResult(iPage);
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping({"/add"})
|
|
||||||
public Result<OnlCgformField> a(@RequestBody OnlCgformField paramOnlCgformField) {
|
|
||||||
Result<OnlCgformField> result = new Result();
|
|
||||||
try {
|
|
||||||
this.onlCgformFieldService.save(paramOnlCgformField);
|
|
||||||
result.success("添加成功!");
|
|
||||||
} catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
result.error500("操作失败");
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PutMapping({"/edit"})
|
|
||||||
public Result<OnlCgformField> b(@RequestBody OnlCgformField paramOnlCgformField) {
|
|
||||||
Result<OnlCgformField> result = new Result();
|
|
||||||
OnlCgformField onlCgformField = (OnlCgformField)this.onlCgformFieldService.getById(paramOnlCgformField.getId());
|
|
||||||
if (onlCgformField == null) {
|
|
||||||
result.error500("未找到对应实体");
|
|
||||||
} else {
|
|
||||||
boolean bool = this.onlCgformFieldService.updateById(paramOnlCgformField);
|
|
||||||
|
|
||||||
if (bool) {
|
|
||||||
result.success("修改成功!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@DeleteMapping({"/delete"})
|
|
||||||
public Result<OnlCgformField> c(@RequestParam(name = "id", required = true) String paramString) {
|
|
||||||
Result<OnlCgformField> result = new Result();
|
|
||||||
OnlCgformField onlCgformField = (OnlCgformField)this.onlCgformFieldService.getById(paramString);
|
|
||||||
if (onlCgformField == null) {
|
|
||||||
result.error500("未找到对应实体");
|
|
||||||
} else {
|
|
||||||
boolean bool = this.onlCgformFieldService.removeById(paramString);
|
|
||||||
if (bool) {
|
|
||||||
result.success("删除成功!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@DeleteMapping({"/deleteBatch"})
|
|
||||||
public Result<OnlCgformField> d(@RequestParam(name = "ids", required = true) String paramString) {
|
|
||||||
Result<OnlCgformField> result = new Result();
|
|
||||||
if (paramString == null || "".equals(paramString.trim())) {
|
|
||||||
result.error500("参数不识别!");
|
|
||||||
} else {
|
|
||||||
this.onlCgformFieldService.removeByIds(Arrays.asList(paramString.split(",")));
|
|
||||||
result.success("删除成功!");
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/queryById"})
|
|
||||||
public Result<OnlCgformField> e(@RequestParam(name = "id", required = true) String paramString) {
|
|
||||||
Result<OnlCgformField> result = new Result();
|
|
||||||
OnlCgformField onlCgformField = (OnlCgformField)this.onlCgformFieldService.getById(paramString);
|
|
||||||
if (onlCgformField == null) {
|
|
||||||
result.error500("未找到对应实体");
|
|
||||||
} else {
|
|
||||||
result.setResult(onlCgformField);
|
|
||||||
result.setSuccess(true);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\b\c.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-706
@@ -1,706 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.b;
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.InputStream;
|
|
||||||
import java.sql.SQLException;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.Comparator;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Properties;
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import org.apache.shiro.authz.annotation.RequiresRoles;
|
|
||||||
import com.jero.common.api.vo.Result;
|
|
||||||
import com.jero.common.system.query.QueryGenerator;
|
|
||||||
import com.jero.common.system.util.JwtUtil;
|
|
||||||
import com.jero.common.util.oConvertUtils;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceJava;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceJs;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceSql;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
|
||||||
import com.jero.generater.modules.online.config.exception.DBException;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.core.io.Resource;
|
|
||||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
|
||||||
import org.springframework.web.bind.annotation.PutMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
|
||||||
|
|
||||||
@RestController("onlCgformHeadController")
|
|
||||||
@RequestMapping({"/online/cgform/head"})
|
|
||||||
public class d {
|
|
||||||
private static final Logger a = LoggerFactory.getLogger(d.class);
|
|
||||||
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private IOnlCgformHeadService onlCgformHeadService;
|
|
||||||
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private IOnlCgformFieldService onlCgformFieldService;
|
|
||||||
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private IOnlCgformEnhanceService onlCgformEnhanceService;
|
|
||||||
|
|
||||||
|
|
||||||
private static List<String> b = null;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
ResourceLoader resourceLoader;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private static String c;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/list"})
|
|
||||||
public Result<IPage<OnlCgformHead>> a(OnlCgformHead paramOnlCgformHead, @RequestParam(name = "pageNo", defaultValue = "1") Integer paramInteger1, @RequestParam(name = "pageSize", defaultValue = "10") Integer paramInteger2, HttpServletRequest paramHttpServletRequest) {
|
|
||||||
Result<IPage<OnlCgformHead>> result = new Result();
|
|
||||||
QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(paramOnlCgformHead, paramHttpServletRequest.getParameterMap());
|
|
||||||
Page page = new Page(paramInteger1.intValue(), paramInteger2.intValue());
|
|
||||||
IPage iPage = this.onlCgformHeadService.page((IPage)page, (Wrapper)queryWrapper);
|
|
||||||
if (paramOnlCgformHead.getCopyType() != null && paramOnlCgformHead.getCopyType().intValue() == 0) {
|
|
||||||
this.onlCgformHeadService.initCopyState(iPage.getRecords());
|
|
||||||
}
|
|
||||||
result.setSuccess(true);
|
|
||||||
result.setResult(iPage);
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping({"/add"})
|
|
||||||
public Result<OnlCgformHead> a(@RequestBody OnlCgformHead paramOnlCgformHead) {
|
|
||||||
Result<OnlCgformHead> result = new Result();
|
|
||||||
try {
|
|
||||||
this.onlCgformHeadService.save(paramOnlCgformHead);
|
|
||||||
result.success("添加成功!");
|
|
||||||
} catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
result.error500("操作失败");
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PutMapping({"/edit"})
|
|
||||||
public Result<OnlCgformHead> b(@RequestBody OnlCgformHead paramOnlCgformHead) {
|
|
||||||
Result<OnlCgformHead> result = new Result();
|
|
||||||
OnlCgformHead onlCgformHead = (OnlCgformHead)this.onlCgformHeadService.getById(paramOnlCgformHead.getId());
|
|
||||||
if (onlCgformHead == null) {
|
|
||||||
result.error500("未找到对应实体");
|
|
||||||
} else {
|
|
||||||
boolean bool = this.onlCgformHeadService.updateById(paramOnlCgformHead);
|
|
||||||
|
|
||||||
if (bool) {
|
|
||||||
result.success("修改成功!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@DeleteMapping({"/delete"})
|
|
||||||
public Result<?> a(@RequestParam(name = "id", required = true) String paramString) {
|
|
||||||
try {
|
|
||||||
this.onlCgformHeadService.deleteRecordAndTable(paramString);
|
|
||||||
} catch (DBException dBException) {
|
|
||||||
return Result.error("删除失败" + dBException.getMessage());
|
|
||||||
} catch (SQLException sQLException) {
|
|
||||||
return Result.error("删除失败" + sQLException.getMessage());
|
|
||||||
}
|
|
||||||
return Result.OK("删除成功!");
|
|
||||||
}
|
|
||||||
|
|
||||||
@DeleteMapping({"/removeRecord"})
|
|
||||||
public Result<?> b(@RequestParam(name = "id", required = true) String paramString) {
|
|
||||||
try {
|
|
||||||
this.onlCgformHeadService.deleteRecord(paramString);
|
|
||||||
} catch (DBException dBException) {
|
|
||||||
return Result.error("移除失败" + dBException.getMessage());
|
|
||||||
} catch (SQLException sQLException) {
|
|
||||||
return Result.error("移除失败" + sQLException.getMessage());
|
|
||||||
}
|
|
||||||
return Result.OK("移除成功!");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@DeleteMapping({"/deleteBatch"})
|
|
||||||
public Result<OnlCgformHead> a(@RequestParam(name = "ids", required = true) String paramString1, @RequestParam(name = "flag") String paramString2) {
|
|
||||||
Result<OnlCgformHead> result = new Result();
|
|
||||||
if (paramString1 == null || "".equals(paramString1.trim())) {
|
|
||||||
result.error500("参数不识别!");
|
|
||||||
} else {
|
|
||||||
this.onlCgformHeadService.deleteBatch(paramString1, paramString2);
|
|
||||||
result.success("删除成功!");
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/queryById"})
|
|
||||||
public Result<OnlCgformHead> c(@RequestParam(name = "id", required = true) String paramString) {
|
|
||||||
Result<OnlCgformHead> result = new Result();
|
|
||||||
OnlCgformHead onlCgformHead = (OnlCgformHead)this.onlCgformHeadService.getById(paramString);
|
|
||||||
if (onlCgformHead == null) {
|
|
||||||
result.error500("未找到对应实体");
|
|
||||||
} else {
|
|
||||||
result.setResult(onlCgformHead);
|
|
||||||
result.setSuccess(true);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/queryByTableNames"})
|
|
||||||
public Result<?> d(@RequestParam(name = "tableNames", required = true) String paramString) {
|
|
||||||
LambdaQueryWrapper lambdaQueryWrapper = new LambdaQueryWrapper();
|
|
||||||
|
|
||||||
String[] arrayOfString = paramString.split(",");
|
|
||||||
lambdaQueryWrapper.in(OnlCgformHead::getTableName, Arrays.asList(arrayOfString));
|
|
||||||
|
|
||||||
List list = this.onlCgformHeadService.list((Wrapper)lambdaQueryWrapper);
|
|
||||||
if (list == null) {
|
|
||||||
return Result.error("未找到对应实体");
|
|
||||||
}
|
|
||||||
return Result.OK(list);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping({"/enhanceJs/{code}"})
|
|
||||||
public Result<?> a(@PathVariable("code") String paramString, @RequestBody OnlCgformEnhanceJs paramOnlCgformEnhanceJs) {
|
|
||||||
try {
|
|
||||||
paramOnlCgformEnhanceJs.setCgformHeadId(paramString);
|
|
||||||
this.onlCgformHeadService.saveEnhance(paramOnlCgformEnhanceJs);
|
|
||||||
return Result.OK("保存成功!");
|
|
||||||
} catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
return Result.error("保存失败!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@GetMapping({"/enhanceJs/{code}"})
|
|
||||||
public Result<?> a(@PathVariable("code") String paramString, HttpServletRequest paramHttpServletRequest) {
|
|
||||||
try {
|
|
||||||
String str = paramHttpServletRequest.getParameter("type");
|
|
||||||
OnlCgformEnhanceJs onlCgformEnhanceJs = this.onlCgformHeadService.queryEnhance(paramString, str);
|
|
||||||
if (onlCgformEnhanceJs == null) {
|
|
||||||
return Result.error("查询为空");
|
|
||||||
}
|
|
||||||
return Result.OK(onlCgformEnhanceJs);
|
|
||||||
}
|
|
||||||
catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
return Result.error("查询失败!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@PutMapping({"/enhanceJs/{code}"})
|
|
||||||
public Result<?> b(@PathVariable("code") String paramString, @RequestBody OnlCgformEnhanceJs paramOnlCgformEnhanceJs) {
|
|
||||||
try {
|
|
||||||
paramOnlCgformEnhanceJs.setCgformHeadId(paramString);
|
|
||||||
this.onlCgformHeadService.editEnhance(paramOnlCgformEnhanceJs);
|
|
||||||
return Result.OK("保存成功!");
|
|
||||||
} catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
return Result.error("保存失败!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/enhanceButton/{formId}"})
|
|
||||||
public Result<?> b(@PathVariable("formId") String paramString, HttpServletRequest paramHttpServletRequest) {
|
|
||||||
try {
|
|
||||||
List list = this.onlCgformHeadService.queryButtonList(paramString);
|
|
||||||
if (list == null || list.size() == 0) {
|
|
||||||
return Result.error("查询为空");
|
|
||||||
}
|
|
||||||
return Result.OK(list);
|
|
||||||
}
|
|
||||||
catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
return Result.error("查询失败!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/enhanceSql/{formId}"})
|
|
||||||
public Result<?> c(@PathVariable("formId") String paramString, HttpServletRequest paramHttpServletRequest) {
|
|
||||||
List list = this.onlCgformEnhanceService.queryEnhanceSqlList(paramString);
|
|
||||||
return Result.OK(list);
|
|
||||||
}
|
|
||||||
|
|
||||||
@RequiresRoles({"admin"})
|
|
||||||
@PostMapping({"/enhanceSql/{formId}"})
|
|
||||||
public Result<?> a(@PathVariable("formId") String paramString, @RequestBody OnlCgformEnhanceSql paramOnlCgformEnhanceSql) {
|
|
||||||
try {
|
|
||||||
paramOnlCgformEnhanceSql.setCgformHeadId(paramString);
|
|
||||||
if (this.onlCgformEnhanceService.checkOnlyEnhance(paramOnlCgformEnhanceSql)) {
|
|
||||||
this.onlCgformEnhanceService.saveEnhanceSql(paramOnlCgformEnhanceSql);
|
|
||||||
return Result.OK("保存成功!");
|
|
||||||
}
|
|
||||||
return Result.error("保存失败,该按钮已存在增强配置!");
|
|
||||||
}
|
|
||||||
catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
return Result.error("保存失败!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@RequiresRoles({"admin"})
|
|
||||||
@PutMapping({"/enhanceSql/{formId}"})
|
|
||||||
public Result<?> b(@PathVariable("formId") String paramString, @RequestBody OnlCgformEnhanceSql paramOnlCgformEnhanceSql) {
|
|
||||||
try {
|
|
||||||
paramOnlCgformEnhanceSql.setCgformHeadId(paramString);
|
|
||||||
if (this.onlCgformEnhanceService.checkOnlyEnhance(paramOnlCgformEnhanceSql)) {
|
|
||||||
this.onlCgformEnhanceService.updateEnhanceSql(paramOnlCgformEnhanceSql);
|
|
||||||
return Result.OK("保存成功!");
|
|
||||||
}
|
|
||||||
return Result.error("保存失败,该按钮已存在增强配置!");
|
|
||||||
}
|
|
||||||
catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
return Result.error("保存失败!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@DeleteMapping({"/enhanceSql"})
|
|
||||||
public Result<?> e(@RequestParam(name = "id", required = true) String paramString) {
|
|
||||||
try {
|
|
||||||
this.onlCgformEnhanceService.deleteEnhanceSql(paramString);
|
|
||||||
return Result.OK("删除成功");
|
|
||||||
} catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
return Result.error("删除失败!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@DeleteMapping({"/deletebatchEnhanceSql"})
|
|
||||||
public Result<?> f(@RequestParam(name = "ids", required = true) String paramString) {
|
|
||||||
try {
|
|
||||||
List<String> list = Arrays.asList(paramString.split(","));
|
|
||||||
this.onlCgformEnhanceService.deleteBatchEnhanceSql(list);
|
|
||||||
return Result.OK("删除成功");
|
|
||||||
} catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
return Result.error("删除失败!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/enhanceJava/{formId}"})
|
|
||||||
public Result<?> a(@PathVariable("formId") String paramString, OnlCgformEnhanceJava paramOnlCgformEnhanceJava) {
|
|
||||||
List list = this.onlCgformEnhanceService.queryEnhanceJavaList(paramString);
|
|
||||||
return Result.OK(list);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping({"/enhanceJava/{formId}"})
|
|
||||||
public Result<?> b(@PathVariable("formId") String paramString, @RequestBody OnlCgformEnhanceJava paramOnlCgformEnhanceJava) {
|
|
||||||
try {
|
|
||||||
if (!b.a(paramOnlCgformEnhanceJava)) {
|
|
||||||
return Result.error("类实例化失败,请检查!");
|
|
||||||
}
|
|
||||||
paramOnlCgformEnhanceJava.setCgformHeadId(paramString);
|
|
||||||
if (this.onlCgformEnhanceService.checkOnlyEnhance(paramOnlCgformEnhanceJava)) {
|
|
||||||
this.onlCgformEnhanceService.saveEnhanceJava(paramOnlCgformEnhanceJava);
|
|
||||||
return Result.OK("保存成功!");
|
|
||||||
}
|
|
||||||
return Result.error("保存失败,配置重复了!");
|
|
||||||
}
|
|
||||||
catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
return Result.error("保存失败!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@PutMapping({"/enhanceJava/{formId}"})
|
|
||||||
public Result<?> c(@PathVariable("formId") String paramString, @RequestBody OnlCgformEnhanceJava paramOnlCgformEnhanceJava) {
|
|
||||||
try {
|
|
||||||
if (!b.a(paramOnlCgformEnhanceJava)) {
|
|
||||||
return Result.error("类实例化失败,请检查!");
|
|
||||||
}
|
|
||||||
paramOnlCgformEnhanceJava.setCgformHeadId(paramString);
|
|
||||||
if (this.onlCgformEnhanceService.checkOnlyEnhance(paramOnlCgformEnhanceJava)) {
|
|
||||||
this.onlCgformEnhanceService.updateEnhanceJava(paramOnlCgformEnhanceJava);
|
|
||||||
return Result.OK("保存成功!");
|
|
||||||
}
|
|
||||||
return Result.error("保存失败,配置重复了!");
|
|
||||||
}
|
|
||||||
catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
return Result.error("保存失败!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@DeleteMapping({"/enhanceJava"})
|
|
||||||
public Result<?> g(@RequestParam(name = "id", required = true) String paramString) {
|
|
||||||
try {
|
|
||||||
this.onlCgformEnhanceService.deleteEnhanceJava(paramString);
|
|
||||||
return Result.OK("删除成功");
|
|
||||||
} catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
return Result.error("删除失败!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@DeleteMapping({"/deleteBatchEnhanceJava"})
|
|
||||||
public Result<?> h(@RequestParam(name = "ids", required = true) String paramString) {
|
|
||||||
try {
|
|
||||||
List<String> list = Arrays.asList(paramString.split(","));
|
|
||||||
this.onlCgformEnhanceService.deleteBatchEnhanceJava(list);
|
|
||||||
return Result.OK("删除成功");
|
|
||||||
} catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
return Result.error("删除失败!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/queryTables"})
|
|
||||||
public Result<?> a(@RequestParam(name = "tableName", required = false) String paramString, @RequestParam(name = "pageNo", defaultValue = "1") Integer paramInteger1, @RequestParam(name = "pageSize", defaultValue = "10") Integer paramInteger2, HttpServletRequest paramHttpServletRequest) {
|
|
||||||
String str = JwtUtil.getUserNameByToken(paramHttpServletRequest);
|
|
||||||
if (!"admin".equals(str)) {
|
|
||||||
return Result.error("noadminauth");
|
|
||||||
}
|
|
||||||
List list = new ArrayList();
|
|
||||||
|
|
||||||
try {
|
|
||||||
list = DbReadTableUtil.a();
|
|
||||||
} catch (SQLException sQLException) {
|
|
||||||
a.error(sQLException.getMessage(), sQLException);
|
|
||||||
return Result.error("同步失败,未获取数据库表信息");
|
|
||||||
}
|
|
||||||
b.b(list);
|
|
||||||
|
|
||||||
list = b.f(list);
|
|
||||||
|
|
||||||
List<?> list1 = this.onlCgformHeadService.queryOnlinetables();
|
|
||||||
|
|
||||||
b();
|
|
||||||
|
|
||||||
list.removeAll(list1);
|
|
||||||
ArrayList<HashMap<Object, Object>> arrayList = new ArrayList();
|
|
||||||
for (String str1 : list) {
|
|
||||||
if (l(str1)) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
HashMap<Object, Object> hashMap = new HashMap<>();
|
|
||||||
hashMap.put("id", str1);
|
|
||||||
arrayList.add(hashMap);
|
|
||||||
}
|
|
||||||
return Result.OK(arrayList);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping({"/transTables/{tbnames}"})
|
|
||||||
@RequiresRoles({"admin"})
|
|
||||||
public Result<?> d(@PathVariable("tbnames") String paramString, HttpServletRequest paramHttpServletRequest) {
|
|
||||||
String str = JwtUtil.getUserNameByToken(paramHttpServletRequest);
|
|
||||||
if (!"admin".equals(str)) {
|
|
||||||
return Result.error("noadminauth");
|
|
||||||
}
|
|
||||||
if (oConvertUtils.isEmpty(paramString)) {
|
|
||||||
return Result.error("未识别的表名信息");
|
|
||||||
}
|
|
||||||
if (c != null && c.equals(paramString)) {
|
|
||||||
return Result.error("不允许重复生成!");
|
|
||||||
}
|
|
||||||
c = paramString;
|
|
||||||
|
|
||||||
|
|
||||||
String[] arrayOfString = paramString.split(",");
|
|
||||||
for (byte b = 0; b < arrayOfString.length; b++) {
|
|
||||||
if (oConvertUtils.isNotEmpty(arrayOfString[b])) {
|
|
||||||
int i = this.onlCgformHeadService.count((Wrapper)(new LambdaQueryWrapper()).eq(OnlCgformHead::getTableName, arrayOfString[b]));
|
|
||||||
if (i <= 0) {
|
|
||||||
|
|
||||||
|
|
||||||
a.info("[IP] [online数据库导入表] --表名:" + arrayOfString[b]);
|
|
||||||
this.onlCgformHeadService.saveDbTable2Online(arrayOfString[b]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} c = null;
|
|
||||||
return Result.OK("同步完成!");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/rootFile"})
|
|
||||||
public Result<?> a() {
|
|
||||||
JSONArray jSONArray = new JSONArray();
|
|
||||||
File[] arrayOfFile = File.listRoots();
|
|
||||||
for (File file : arrayOfFile) {
|
|
||||||
JSONObject jSONObject = new JSONObject();
|
|
||||||
if (file.isDirectory()) {
|
|
||||||
|
|
||||||
jSONObject.put("key", file.getAbsolutePath());
|
|
||||||
jSONObject.put("title", file.getPath());
|
|
||||||
jSONObject.put("opened", Boolean.valueOf(false));
|
|
||||||
JSONObject jSONObject1 = new JSONObject();
|
|
||||||
jSONObject1.put("icon", "custom");
|
|
||||||
jSONObject.put("scopedSlots", jSONObject1);
|
|
||||||
jSONObject.put("isLeaf", Boolean.valueOf((file.listFiles() == null || (file.listFiles()).length == 0)));
|
|
||||||
}
|
|
||||||
jSONArray.add(jSONObject);
|
|
||||||
}
|
|
||||||
return Result.OK(jSONArray);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/fileTree"})
|
|
||||||
public Result<?> i(@RequestParam(name = "parentPath", required = true) String paramString) {
|
|
||||||
JSONArray jSONArray = new JSONArray();
|
|
||||||
File file = new File(paramString);
|
|
||||||
File[] arrayOfFile = file.listFiles();
|
|
||||||
for (File file1 : arrayOfFile) {
|
|
||||||
if (file1.isDirectory() && oConvertUtils.isNotEmpty(file1.getPath())) {
|
|
||||||
JSONObject jSONObject1 = new JSONObject();
|
|
||||||
System.out.println(file1.getPath());
|
|
||||||
jSONObject1.put("key", file1.getAbsolutePath());
|
|
||||||
jSONObject1.put("title", file1.getPath().substring(file1.getPath().lastIndexOf(File.separator) + 1));
|
|
||||||
jSONObject1.put("isLeaf", Boolean.valueOf((file1.listFiles() == null || (file1.listFiles()).length == 0)));
|
|
||||||
jSONObject1.put("opened", Boolean.valueOf(false));
|
|
||||||
JSONObject jSONObject2 = new JSONObject();
|
|
||||||
jSONObject2.put("icon", "custom");
|
|
||||||
jSONObject1.put("scopedSlots", jSONObject2);
|
|
||||||
jSONArray.add(jSONObject1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return Result.OK(jSONArray);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/tableInfo"})
|
|
||||||
public Result<?> j(@RequestParam(name = "code", required = true) String paramString) {
|
|
||||||
OnlCgformHead onlCgformHead = (OnlCgformHead)this.onlCgformHeadService.getById(paramString);
|
|
||||||
if (onlCgformHead == null) {
|
|
||||||
return Result.error("未找到对应实体");
|
|
||||||
}
|
|
||||||
HashMap<Object, Object> hashMap = new HashMap<>();
|
|
||||||
hashMap.put("main", onlCgformHead);
|
|
||||||
if (onlCgformHead.getTableType().intValue() == 2) {
|
|
||||||
|
|
||||||
String str = onlCgformHead.getSubTableStr();
|
|
||||||
if (oConvertUtils.isNotEmpty(str)) {
|
|
||||||
ArrayList<OnlCgformHead> arrayList = new ArrayList();
|
|
||||||
String[] arrayOfString = str.split(",");
|
|
||||||
for (String str1 : arrayOfString) {
|
|
||||||
LambdaQueryWrapper lambdaQueryWrapper = new LambdaQueryWrapper();
|
|
||||||
lambdaQueryWrapper.eq(OnlCgformHead::getTableName, str1);
|
|
||||||
OnlCgformHead onlCgformHead1 = (OnlCgformHead)this.onlCgformHeadService.getOne((Wrapper)lambdaQueryWrapper);
|
|
||||||
arrayList.add(onlCgformHead1);
|
|
||||||
}
|
|
||||||
|
|
||||||
Collections.sort(arrayList, new Comparator<OnlCgformHead>(this)
|
|
||||||
{
|
|
||||||
public int a(OnlCgformHead param1OnlCgformHead1, OnlCgformHead param1OnlCgformHead2) {
|
|
||||||
Integer integer1 = param1OnlCgformHead1.getTabOrderNum();
|
|
||||||
if (integer1 == null) {
|
|
||||||
integer1 = Integer.valueOf(0);
|
|
||||||
}
|
|
||||||
Integer integer2 = param1OnlCgformHead2.getTabOrderNum();
|
|
||||||
if (integer2 == null) {
|
|
||||||
integer2 = Integer.valueOf(0);
|
|
||||||
}
|
|
||||||
return integer1.compareTo(integer2);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
hashMap.put("sub", arrayList);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Integer integer = onlCgformHead.getTableType();
|
|
||||||
if ("Y".equals(onlCgformHead.getIsTree())) {
|
|
||||||
integer = Integer.valueOf(3);
|
|
||||||
}
|
|
||||||
List list = CgformEnum.getJspModelList(integer.intValue());
|
|
||||||
|
|
||||||
hashMap.put("jspModeList", list);
|
|
||||||
hashMap.put("projectPath", a.m());
|
|
||||||
return Result.OK(hashMap);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping({"/copyOnline"})
|
|
||||||
public Result<?> k(@RequestParam(name = "code", required = true) String paramString) {
|
|
||||||
try {
|
|
||||||
OnlCgformHead onlCgformHead = (OnlCgformHead)this.onlCgformHeadService.getById(paramString);
|
|
||||||
if (onlCgformHead == null) {
|
|
||||||
return Result.error("未找到对应实体");
|
|
||||||
}
|
|
||||||
this.onlCgformHeadService.copyOnlineTableConfig(onlCgformHead);
|
|
||||||
} catch (Exception exception) {
|
|
||||||
exception.printStackTrace();
|
|
||||||
}
|
|
||||||
return Result.OK();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private boolean l(String paramString) {
|
|
||||||
for (String str : b) {
|
|
||||||
if (paramString.startsWith(str) || paramString.startsWith(str.toUpperCase())) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private void b() {
|
|
||||||
if (b == null) {
|
|
||||||
Resource resource = this.resourceLoader.getResource("classpath:jeecg" + File.separator + "jeecg_config.properties");
|
|
||||||
InputStream inputStream = null;
|
|
||||||
try {
|
|
||||||
inputStream = resource.getInputStream();
|
|
||||||
Properties properties = new Properties();
|
|
||||||
properties.load(inputStream);
|
|
||||||
String str = properties.getProperty("exclude_table");
|
|
||||||
if (str != null) {
|
|
||||||
b = Arrays.asList(str.split(","));
|
|
||||||
}
|
|
||||||
} catch (IOException iOException) {
|
|
||||||
iOException.printStackTrace();
|
|
||||||
} finally {
|
|
||||||
if (inputStream != null)
|
|
||||||
try {
|
|
||||||
inputStream.close();
|
|
||||||
} catch (IOException iOException) {
|
|
||||||
iOException.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\b\d.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-188
@@ -1,188 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.b;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.List;
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import com.jero.common.api.vo.Result;
|
|
||||||
import com.jero.common.constant.CommonConstant;
|
|
||||||
import com.jero.common.system.query.QueryGenerator;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformIndex;
|
|
||||||
import com.jero.generater.modules.online.cgform.service.IOnlCgformIndexService;
|
|
||||||
import org.slf4j.Logger;
|
|
||||||
import org.slf4j.LoggerFactory;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
|
||||||
import org.springframework.web.bind.annotation.PutMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@RestController("onlCgformIndexController")
|
|
||||||
@RequestMapping({"/online/cgform/index"})
|
|
||||||
public class e
|
|
||||||
{
|
|
||||||
private static final Logger a = LoggerFactory.getLogger(e.class);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private IOnlCgformIndexService onlCgformIndexService;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/listByHeadId"})
|
|
||||||
public Result<?> a(@RequestParam("headId") String paramString) {
|
|
||||||
QueryWrapper queryWrapper = new QueryWrapper();
|
|
||||||
queryWrapper.eq("cgform_head_id", paramString);
|
|
||||||
queryWrapper.eq("del_flag", CommonConstant.DEL_FLAG_0);
|
|
||||||
queryWrapper.orderByDesc("create_time");
|
|
||||||
List list = this.onlCgformIndexService.list((Wrapper)queryWrapper);
|
|
||||||
return Result.OK(list);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/list"})
|
|
||||||
public Result<IPage<OnlCgformIndex>> a(OnlCgformIndex paramOnlCgformIndex, @RequestParam(name = "pageNo", defaultValue = "1") Integer paramInteger1, @RequestParam(name = "pageSize", defaultValue = "10") Integer paramInteger2, HttpServletRequest paramHttpServletRequest) {
|
|
||||||
Result<IPage<OnlCgformIndex>> result = new Result();
|
|
||||||
QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(paramOnlCgformIndex, paramHttpServletRequest.getParameterMap());
|
|
||||||
Page page = new Page(paramInteger1.intValue(), paramInteger2.intValue());
|
|
||||||
IPage iPage = this.onlCgformIndexService.page((IPage)page, (Wrapper)queryWrapper);
|
|
||||||
|
|
||||||
result.setSuccess(true);
|
|
||||||
result.setResult(iPage);
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping({"/add"})
|
|
||||||
public Result<OnlCgformIndex> a(@RequestBody OnlCgformIndex paramOnlCgformIndex) {
|
|
||||||
Result<OnlCgformIndex> result = new Result();
|
|
||||||
try {
|
|
||||||
this.onlCgformIndexService.save(paramOnlCgformIndex);
|
|
||||||
result.success("添加成功!");
|
|
||||||
} catch (Exception exception) {
|
|
||||||
a.error(exception.getMessage(), exception);
|
|
||||||
result.error500("操作失败");
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@PutMapping({"/edit"})
|
|
||||||
public Result<OnlCgformIndex> b(@RequestBody OnlCgformIndex paramOnlCgformIndex) {
|
|
||||||
Result<OnlCgformIndex> result = new Result();
|
|
||||||
OnlCgformIndex onlCgformIndex = (OnlCgformIndex)this.onlCgformIndexService.getById(paramOnlCgformIndex.getId());
|
|
||||||
if (onlCgformIndex == null) {
|
|
||||||
result.error500("未找到对应实体");
|
|
||||||
} else {
|
|
||||||
boolean bool = this.onlCgformIndexService.updateById(paramOnlCgformIndex);
|
|
||||||
|
|
||||||
if (bool) {
|
|
||||||
result.success("修改成功!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@DeleteMapping({"/delete"})
|
|
||||||
public Result<OnlCgformIndex> b(@RequestParam(name = "id", required = true) String paramString) {
|
|
||||||
Result<OnlCgformIndex> result = new Result();
|
|
||||||
OnlCgformIndex onlCgformIndex = (OnlCgformIndex)this.onlCgformIndexService.getById(paramString);
|
|
||||||
if (onlCgformIndex == null) {
|
|
||||||
result.error500("未找到对应实体");
|
|
||||||
} else {
|
|
||||||
boolean bool = this.onlCgformIndexService.removeById(paramString);
|
|
||||||
if (bool) {
|
|
||||||
result.success("删除成功!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@DeleteMapping({"/deleteBatch"})
|
|
||||||
public Result<OnlCgformIndex> c(@RequestParam(name = "ids", required = true) String paramString) {
|
|
||||||
Result<OnlCgformIndex> result = new Result();
|
|
||||||
if (paramString == null || "".equals(paramString.trim())) {
|
|
||||||
result.error500("参数不识别!");
|
|
||||||
} else {
|
|
||||||
this.onlCgformIndexService.removeByIds(Arrays.asList(paramString.split(",")));
|
|
||||||
result.success("删除成功!");
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping({"/queryById"})
|
|
||||||
public Result<OnlCgformIndex> d(@RequestParam(name = "id", required = true) String paramString) {
|
|
||||||
Result<OnlCgformIndex> result = new Result();
|
|
||||||
OnlCgformIndex onlCgformIndex = (OnlCgformIndex)this.onlCgformIndexService.getById(paramString);
|
|
||||||
if (onlCgformIndex == null) {
|
|
||||||
result.error500("未找到对应实体");
|
|
||||||
} else {
|
|
||||||
result.setResult(onlCgformIndex);
|
|
||||||
result.setSuccess(true);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\b\e.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-41
@@ -1,41 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.c;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import java.text.SimpleDateFormat;
|
|
||||||
import java.util.Date;
|
|
||||||
import org.apache.commons.lang.StringUtils;
|
|
||||||
import org.apache.commons.lang.math.RandomUtils;
|
|
||||||
import com.jero.common.handler.IFillRuleHandler;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class a
|
|
||||||
implements IFillRuleHandler
|
|
||||||
{
|
|
||||||
public Object execute(JSONObject params, JSONObject formData) {
|
|
||||||
String str1 = "CN";
|
|
||||||
|
|
||||||
if (params != null) {
|
|
||||||
Object object = params.get("prefix");
|
|
||||||
if (object != null) str1 = object.toString();
|
|
||||||
}
|
|
||||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
||||||
int i = RandomUtils.nextInt(90) + 10;
|
|
||||||
String str2 = str1 + simpleDateFormat.format(new Date()) + i;
|
|
||||||
|
|
||||||
String str3 = formData.getString("name");
|
|
||||||
if (!StringUtils.isEmpty(str3)) {
|
|
||||||
str2 = str2 + str3;
|
|
||||||
}
|
|
||||||
return str2;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\c\a.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+22
-22
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.controller;
|
package com.jero.generater.modules.online.cgform.controller;
|
||||||
|
|
||||||
import cn.hutool.core.io.FileUtil;
|
import cn.hutool.core.io.FileUtil;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
@@ -42,27 +42,27 @@ import com.jero.common.util.BrowserUtils;
|
|||||||
import com.jero.common.util.SpringContextUtils;
|
import com.jero.common.util.SpringContextUtils;
|
||||||
import com.jero.common.util.TokenUtils;
|
import com.jero.common.util.TokenUtils;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.link.LinkDown;
|
import com.jero.generater.modules.online.cgform.link.LinkDown;
|
||||||
import org.jeecg.modules.online.cgform.converter.ConvertUtil;
|
import com.jero.generater.modules.online.cgform.converter.ConvertUtil;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformEnhanceJs;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceJs;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformHead;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
||||||
import org.jeecg.modules.online.cgform.model.OnlCgformModel;
|
import com.jero.generater.modules.online.cgform.model.OnlCgformModel;
|
||||||
import org.jeecg.modules.online.cgform.model.OnlGenerateModel;
|
import com.jero.generater.modules.online.cgform.model.OnlGenerateModel;
|
||||||
import org.jeecg.modules.online.cgform.model.TreeModel;
|
import com.jero.generater.modules.online.cgform.model.TreeModel;
|
||||||
import org.jeecg.modules.online.cgform.model.OnlComplexModel;
|
import com.jero.generater.modules.online.cgform.model.OnlComplexModel;
|
||||||
import org.jeecg.modules.online.cgform.model.TreeSelectColumn;
|
import com.jero.generater.modules.online.cgform.model.TreeSelectColumn;
|
||||||
import org.jeecg.modules.online.cgform.service.IOnlCgformFieldService;
|
import com.jero.generater.modules.online.cgform.service.IOnlCgformFieldService;
|
||||||
import org.jeecg.modules.online.cgform.service.IOnlCgformHeadService;
|
import com.jero.generater.modules.online.cgform.service.IOnlCgformHeadService;
|
||||||
import org.jeecg.modules.online.cgform.service.IOnlCgformSqlService;
|
import com.jero.generater.modules.online.cgform.service.IOnlCgformSqlService;
|
||||||
import org.jeecg.modules.online.cgform.service.IOnlineService;
|
import com.jero.generater.modules.online.cgform.service.IOnlineService;
|
||||||
import org.jeecg.modules.online.cgform.util.CgFormExcelHandler;
|
import com.jero.generater.modules.online.cgform.util.CgFormExcelHandler;
|
||||||
import org.jeecg.modules.online.cgform.util.CgformUtil;
|
import com.jero.generater.modules.online.cgform.util.CgformUtil;
|
||||||
import org.jeecg.modules.online.cgform.util.EnhanceJsUtil;
|
import com.jero.generater.modules.online.cgform.util.EnhanceJsUtil;
|
||||||
import org.jeecg.modules.online.cgform.util.GenerateCodeFileToZip;
|
import com.jero.generater.modules.online.cgform.util.GenerateCodeFileToZip;
|
||||||
import org.jeecg.modules.online.config.util.DbTableUtil;
|
import com.jero.generater.modules.online.config.util.DbTableUtil;
|
||||||
import org.jeecg.modules.online.config.exception.BusinessException;
|
import com.jero.generater.modules.online.config.exception.BusinessException;
|
||||||
import org.jeecg.modules.online.config.exception.DBException;
|
import com.jero.generater.modules.online.config.exception.DBException;
|
||||||
import org.jeecgframework.poi.excel.ExcelExportUtil;
|
import org.jeecgframework.poi.excel.ExcelExportUtil;
|
||||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||||
+3
-3
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.controller;
|
package com.jero.generater.modules.online.cgform.controller;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
import com.alibaba.fastjson.JSONArray;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
@@ -10,8 +10,8 @@ import java.util.Arrays;
|
|||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import com.jero.common.api.vo.Result;
|
import com.jero.common.api.vo.Result;
|
||||||
import com.jero.common.system.query.QueryGenerator;
|
import com.jero.common.system.query.QueryGenerator;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformButton;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformButton;
|
||||||
import org.jeecg.modules.online.cgform.service.IOnlCgformButtonService;
|
import com.jero.generater.modules.online.cgform.service.IOnlCgformButtonService;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
+5
-5
@@ -1,4 +1,4 @@
|
|||||||
package org.jeecg.modules.online.cgform.controller;
|
package com.jero.generater.modules.online.cgform.controller;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
@@ -9,10 +9,10 @@ import java.util.List;
|
|||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import com.jero.common.api.vo.Result;
|
import com.jero.common.api.vo.Result;
|
||||||
import com.jero.common.system.query.QueryGenerator;
|
import com.jero.common.system.query.QueryGenerator;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformHead;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
||||||
import org.jeecg.modules.online.cgform.service.IOnlCgformFieldService;
|
import com.jero.generater.modules.online.cgform.service.IOnlCgformFieldService;
|
||||||
import org.jeecg.modules.online.cgform.service.IOnlCgformHeadService;
|
import com.jero.generater.modules.online.cgform.service.IOnlCgformHeadService;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
+10
-10
@@ -1,4 +1,4 @@
|
|||||||
package org.jeecg.modules.online.cgform.controller;
|
package com.jero.generater.modules.online.cgform.controller;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
import com.alibaba.fastjson.JSONArray;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
@@ -26,15 +26,15 @@ import com.jero.common.constant.enums.CgformEnum;
|
|||||||
import com.jero.common.system.query.QueryGenerator;
|
import com.jero.common.system.query.QueryGenerator;
|
||||||
import com.jero.common.system.util.JwtUtil;
|
import com.jero.common.system.util.JwtUtil;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformEnhanceJava;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceJava;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformEnhanceJs;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceJs;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformEnhanceSql;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceSql;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformHead;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
||||||
import org.jeecg.modules.online.cgform.service.IOnlCgformEnhanceService;
|
import com.jero.generater.modules.online.cgform.service.IOnlCgformEnhanceService;
|
||||||
import org.jeecg.modules.online.cgform.service.IOnlCgformFieldService;
|
import com.jero.generater.modules.online.cgform.service.IOnlCgformFieldService;
|
||||||
import org.jeecg.modules.online.cgform.service.IOnlCgformHeadService;
|
import com.jero.generater.modules.online.cgform.service.IOnlCgformHeadService;
|
||||||
import org.jeecg.modules.online.cgform.util.CgformUtil;
|
import com.jero.generater.modules.online.cgform.util.CgformUtil;
|
||||||
import org.jeecg.modules.online.config.exception.DBException;
|
import com.jero.generater.modules.online.config.exception.DBException;
|
||||||
import org.jeecgframework.codegenerate.database.DbReadTableUtil;
|
import org.jeecgframework.codegenerate.database.DbReadTableUtil;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
package org.jeecg.modules.online.cgform.controller;
|
package com.jero.generater.modules.online.cgform.controller;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
@@ -9,8 +9,8 @@ import javax.servlet.http.HttpServletRequest;
|
|||||||
import com.jero.common.api.vo.Result;
|
import com.jero.common.api.vo.Result;
|
||||||
import com.jero.common.constant.CommonConstant;
|
import com.jero.common.constant.CommonConstant;
|
||||||
import com.jero.common.system.query.QueryGenerator;
|
import com.jero.common.system.query.QueryGenerator;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformIndex;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformIndex;
|
||||||
import org.jeecg.modules.online.cgform.service.IOnlCgformIndexService;
|
import com.jero.generater.modules.online.cgform.service.IOnlCgformIndexService;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
+12
-12
@@ -1,4 +1,4 @@
|
|||||||
package org.jeecg.modules.online.cgform.converter;
|
package com.jero.generater.modules.online.cgform.converter;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
@@ -7,17 +7,17 @@ import java.util.Map;
|
|||||||
import com.jero.common.util.MyClassLoader;
|
import com.jero.common.util.MyClassLoader;
|
||||||
import com.jero.common.util.SpringContextUtils;
|
import com.jero.common.util.SpringContextUtils;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.converter.convertImpl.CatTreeConverter;
|
import com.jero.generater.modules.online.cgform.converter.convertImpl.CatTreeConverter;
|
||||||
import org.jeecg.modules.online.cgform.converter.convertImpl.DepartConverter;
|
import com.jero.generater.modules.online.cgform.converter.convertImpl.DepartConverter;
|
||||||
import org.jeecg.modules.online.cgform.converter.convertImpl.DictEasyConverter;
|
import com.jero.generater.modules.online.cgform.converter.convertImpl.DictEasyConverter;
|
||||||
import org.jeecg.modules.online.cgform.converter.convertImpl.DictTableConverter;
|
import com.jero.generater.modules.online.cgform.converter.convertImpl.DictTableConverter;
|
||||||
import org.jeecg.modules.online.cgform.converter.convertImpl.LinkDownConverter;
|
import com.jero.generater.modules.online.cgform.converter.convertImpl.LinkDownConverter;
|
||||||
import org.jeecg.modules.online.cgform.converter.convertImpl.MultiSelectConverter;
|
import com.jero.generater.modules.online.cgform.converter.convertImpl.MultiSelectConverter;
|
||||||
import org.jeecg.modules.online.cgform.converter.convertImpl.PcaConverter;
|
import com.jero.generater.modules.online.cgform.converter.convertImpl.PcaConverter;
|
||||||
import org.jeecg.modules.online.cgform.converter.convertImpl.SwitchConverter;
|
import com.jero.generater.modules.online.cgform.converter.convertImpl.SwitchConverter;
|
||||||
import org.jeecg.modules.online.cgform.converter.convertImpl.TreeSelectConverter;
|
import com.jero.generater.modules.online.cgform.converter.convertImpl.TreeSelectConverter;
|
||||||
import org.jeecg.modules.online.cgform.converter.convertImpl.UserSelectConverter;
|
import com.jero.generater.modules.online.cgform.converter.convertImpl.UserSelectConverter;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.converter;
|
package com.jero.generater.modules.online.cgform.converter;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
@@ -7,7 +7,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
|
|
||||||
public class ConvertUtil {
|
public class ConvertUtil {
|
||||||
public static final int a = 2;
|
public static final int a = 2;
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.converter;
|
package com.jero.generater.modules.online.cgform.converter;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
+4
-10
@@ -3,15 +3,9 @@ package com.jero.generater.modules.online.cgform.converter;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
public interface FieldCommentConverter {
|
public interface FieldCommentConverter {
|
||||||
String converterToVal(String paramString);
|
String converterToVal(String var1);
|
||||||
|
|
||||||
String converterToTxt(String paramString);
|
String converterToTxt(String var1);
|
||||||
|
|
||||||
Map<String, String> getConfig();
|
Map<String, String> getConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\FieldCommentConverter.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-129
@@ -1,129 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.b.c;
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.b.d;
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.b.e;
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.b.f;
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.b.g;
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.b.h;
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.b.i;
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.b.j;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
|
|
||||||
public class a {
|
|
||||||
private static final Logger a = LoggerFactory.getLogger(a.class);
|
|
||||||
|
|
||||||
private static final String b = "list";
|
|
||||||
|
|
||||||
private static final String c = "radio";
|
|
||||||
|
|
||||||
private static final String d = "checkbox";
|
|
||||||
|
|
||||||
private static final String e = "list_multi";
|
|
||||||
|
|
||||||
private static final String f = "sel_search";
|
|
||||||
private static final String g = "sel_tree";
|
|
||||||
private static final String h = "cat_tree";
|
|
||||||
private static final String i = "link_down";
|
|
||||||
private static final String j = "sel_depart";
|
|
||||||
private static final String k = "sel_user";
|
|
||||||
private static final String l = "pca";
|
|
||||||
private static final String m = "switch";
|
|
||||||
|
|
||||||
public static FieldCommentConverter a(OnlCgformField paramOnlCgformField) {
|
|
||||||
f f;
|
|
||||||
d d;
|
|
||||||
i i;
|
|
||||||
a a1;
|
|
||||||
e e;
|
|
||||||
b b;
|
|
||||||
j j;
|
|
||||||
g g;
|
|
||||||
String str = paramOnlCgformField.getFieldShowType();
|
|
||||||
c c = null;
|
|
||||||
switch (str) { case "list":
|
|
||||||
case "radio":
|
|
||||||
c = new c(paramOnlCgformField);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return (FieldCommentConverter)c;case "list_multi": case "checkbox": return (FieldCommentConverter)new f(paramOnlCgformField);case "sel_search": return (FieldCommentConverter)new d(paramOnlCgformField);case "sel_tree": return (FieldCommentConverter)new i(paramOnlCgformField);case "cat_tree": return (FieldCommentConverter)new a(paramOnlCgformField);case "link_down": return (FieldCommentConverter)new e(paramOnlCgformField);case "sel_depart": return (FieldCommentConverter)new b(paramOnlCgformField);case "sel_user": return (FieldCommentConverter)new j(paramOnlCgformField);case "pca": return (FieldCommentConverter)new g(paramOnlCgformField);case "switch": h = new h(paramOnlCgformField); return (FieldCommentConverter)h; } h h = null; return (FieldCommentConverter)h;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Map<String, FieldCommentConverter> a(List<OnlCgformField> paramList) {
|
|
||||||
HashMap<Object, Object> hashMap = new HashMap<>();
|
|
||||||
for (OnlCgformField onlCgformField : paramList) {
|
|
||||||
FieldCommentConverter fieldCommentConverter = null;
|
|
||||||
if (oConvertUtils.isNotEmpty(onlCgformField.getConverter())) {
|
|
||||||
fieldCommentConverter = a(onlCgformField.getConverter().trim());
|
|
||||||
} else {
|
|
||||||
fieldCommentConverter = a(onlCgformField);
|
|
||||||
}
|
|
||||||
if (fieldCommentConverter == null) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
hashMap.put(onlCgformField.getDbFieldName().toLowerCase(), fieldCommentConverter);
|
|
||||||
}
|
|
||||||
return (Map)hashMap;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private static FieldCommentConverter a(String paramString) {
|
|
||||||
Object object = null;
|
|
||||||
if (paramString.indexOf(".") > 0) {
|
|
||||||
try {
|
|
||||||
object = MyClassLoader.getClassByScn(paramString).newInstance();
|
|
||||||
} catch (InstantiationException instantiationException) {
|
|
||||||
a.error(instantiationException.getMessage(), instantiationException);
|
|
||||||
} catch (IllegalAccessException illegalAccessException) {
|
|
||||||
a.error(illegalAccessException.getMessage(), illegalAccessException);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
object = SpringContextUtils.getBean(paramString);
|
|
||||||
}
|
|
||||||
if (object != null && object instanceof FieldCommentConverter) {
|
|
||||||
return (FieldCommentConverter)object;
|
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\a.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-122
@@ -1,122 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter.a;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
import com.jero.common.system.api.ISysBaseAPI;
|
|
||||||
import com.jero.common.system.vo.DictModel;
|
|
||||||
import com.jero.common.util.SpringContextUtils;
|
|
||||||
import com.jero.common.util.oConvertUtils;
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.FieldCommentConverter;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class a
|
|
||||||
implements FieldCommentConverter
|
|
||||||
{
|
|
||||||
protected ISysBaseAPI a = (ISysBaseAPI)SpringContextUtils.getBean(ISysBaseAPI.class); protected String b;
|
|
||||||
protected String c;
|
|
||||||
|
|
||||||
public a(String paramString1, String paramString2, String paramString3) {
|
|
||||||
this();
|
|
||||||
this.c = paramString1;
|
|
||||||
this.d = paramString2;
|
|
||||||
this.e = paramString3;
|
|
||||||
} protected String d; protected String e;
|
|
||||||
public a() {}
|
|
||||||
public String getField() {
|
|
||||||
return this.b;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setField(String field) {
|
|
||||||
this.b = field;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTable() {
|
|
||||||
return this.c;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTable(String table) {
|
|
||||||
this.c = table;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCode() {
|
|
||||||
return this.d;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCode(String code) {
|
|
||||||
this.d = code;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getText() {
|
|
||||||
return this.e;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setText(String text) {
|
|
||||||
this.e = text;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public String converterToVal(String txt) {
|
|
||||||
if (oConvertUtils.isNotEmpty(txt)) {
|
|
||||||
String str1 = this.e + "= '" + txt + "'";
|
|
||||||
String str2 = null;
|
|
||||||
int i = this.c.indexOf("where");
|
|
||||||
if (i > 0) {
|
|
||||||
str2 = this.c.substring(0, i).trim();
|
|
||||||
str1 = str1 + " and " + this.c.substring(i + 5);
|
|
||||||
} else {
|
|
||||||
str2 = this.c;
|
|
||||||
}
|
|
||||||
List<DictModel> list = this.a.queryFilterTableDictInfo(str2, this.e, this.d, str1);
|
|
||||||
if (list != null && list.size() > 0) {
|
|
||||||
return ((DictModel)list.get(0)).getValue();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String converterToTxt(String val) {
|
|
||||||
if (oConvertUtils.isNotEmpty(val)) {
|
|
||||||
String str1 = this.d + "= '" + val + "'";
|
|
||||||
String str2 = null;
|
|
||||||
int i = this.c.indexOf("where");
|
|
||||||
if (i > 0) {
|
|
||||||
str2 = this.c.substring(0, i).trim();
|
|
||||||
str1 = str1 + " and " + this.c.substring(i + 5);
|
|
||||||
} else {
|
|
||||||
str2 = this.c;
|
|
||||||
}
|
|
||||||
List<DictModel> list = this.a.queryFilterTableDictInfo(str2, this.e, this.d, str1);
|
|
||||||
if (list != null && list.size() > 0) {
|
|
||||||
return ((DictModel)list.get(0)).getText();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public Map<String, String> getConfig() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\a\a.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-71
@@ -1,71 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter.a;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
import com.jero.common.system.vo.DictModel;
|
|
||||||
import com.jero.common.util.oConvertUtils;
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.FieldCommentConverter;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class b
|
|
||||||
implements FieldCommentConverter
|
|
||||||
{
|
|
||||||
protected String a;
|
|
||||||
protected List<DictModel> b;
|
|
||||||
|
|
||||||
public String getFiled() {
|
|
||||||
return this.a;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setFiled(String filed) {
|
|
||||||
this.a = filed;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<DictModel> getDictList() {
|
|
||||||
return this.b;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setDictList(List<DictModel> dictList) {
|
|
||||||
this.b = dictList;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public String converterToVal(String txt) {
|
|
||||||
if (oConvertUtils.isNotEmpty(txt)) {
|
|
||||||
for (DictModel dictModel : this.b) {
|
|
||||||
if (dictModel.getText().equals(txt)) {
|
|
||||||
return dictModel.getValue();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String converterToTxt(String val) {
|
|
||||||
if (oConvertUtils.isNotEmpty(val)) {
|
|
||||||
for (DictModel dictModel : this.b) {
|
|
||||||
if (dictModel.getValue().equals(val)) {
|
|
||||||
return dictModel.getText();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public Map<String, String> getConfig() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\a\b.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-99
@@ -1,99 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter;
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
import com.jero.common.util.oConvertUtils;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class b
|
|
||||||
{
|
|
||||||
public static final int a = 2;
|
|
||||||
public static final int b = 1;
|
|
||||||
|
|
||||||
public static void a(int paramInt, List<Map<String, Object>> paramList, List<OnlCgformField> paramList1) {
|
|
||||||
Map<String, FieldCommentConverter> map = a.a(paramList1);
|
|
||||||
for (Map<String, Object> map1 : paramList) {
|
|
||||||
Iterator<Map.Entry> iterator = map1.entrySet().iterator();
|
|
||||||
|
|
||||||
HashMap<Object, Object> hashMap = new HashMap<>();
|
|
||||||
while (iterator.hasNext()) {
|
|
||||||
Map.Entry entry = iterator.next();
|
|
||||||
Object object = entry.getValue();
|
|
||||||
if (object == null) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
String str = (String)entry.getKey();
|
|
||||||
FieldCommentConverter fieldCommentConverter = map.get(str.toLowerCase());
|
|
||||||
if (fieldCommentConverter != null) {
|
|
||||||
String str1 = object.toString();
|
|
||||||
String str2 = (paramInt == 1) ? fieldCommentConverter.converterToTxt(str1) : fieldCommentConverter.converterToVal(str1);
|
|
||||||
|
|
||||||
|
|
||||||
a(fieldCommentConverter, map1, paramInt);
|
|
||||||
a(fieldCommentConverter, (Map)hashMap, str1);
|
|
||||||
map1.put(str, str2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for (String str : hashMap.keySet()) {
|
|
||||||
map1.put(str, hashMap.get(str));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private static void a(FieldCommentConverter paramFieldCommentConverter, Map<String, Object> paramMap, int paramInt) {
|
|
||||||
Map<String, String> map = paramFieldCommentConverter.getConfig();
|
|
||||||
if (map != null) {
|
|
||||||
String str = map.get("linkField");
|
|
||||||
if (oConvertUtils.isNotEmpty(str)) {
|
|
||||||
for (String str1 : str.split(",")) {
|
|
||||||
Object object = paramMap.get(str1);
|
|
||||||
if (object != null) {
|
|
||||||
|
|
||||||
|
|
||||||
String str2 = object.toString();
|
|
||||||
String str3 = (paramInt == 1) ? paramFieldCommentConverter.converterToTxt(str2) : paramFieldCommentConverter.converterToVal(str2);
|
|
||||||
paramMap.put(str1, str3);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private static void a(FieldCommentConverter paramFieldCommentConverter, Map<String, Object> paramMap, String paramString) {
|
|
||||||
Map<String, String> map = paramFieldCommentConverter.getConfig();
|
|
||||||
if (map != null) {
|
|
||||||
|
|
||||||
String str = map.get("treeText");
|
|
||||||
if (oConvertUtils.isNotEmpty(str))
|
|
||||||
paramMap.put(str, paramString);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\b.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-48
@@ -1,48 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter.b;
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.Map;
|
|
||||||
import com.jero.common.util.oConvertUtils;
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.a.a;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class a
|
|
||||||
extends a
|
|
||||||
{
|
|
||||||
private String f;
|
|
||||||
|
|
||||||
public String getTreeText() {
|
|
||||||
return this.f;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTreeText(String treeText) {
|
|
||||||
this.f = treeText;
|
|
||||||
}
|
|
||||||
|
|
||||||
public a(OnlCgformField paramOnlCgformField) {
|
|
||||||
super("SYS_CATEGORY", "ID", "NAME");
|
|
||||||
this.f = paramOnlCgformField.getDictText();
|
|
||||||
this.b = paramOnlCgformField.getDbFieldName();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public Map<String, String> getConfig() {
|
|
||||||
if (oConvertUtils.isEmpty(this.f)) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
HashMap<Object, Object> hashMap = new HashMap<>();
|
|
||||||
hashMap.put("treeText", this.f);
|
|
||||||
hashMap.put("field", this.b);
|
|
||||||
return (Map)hashMap;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\b\a.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-66
@@ -1,66 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter.b;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
import com.jero.common.system.api.ISysBaseAPI;
|
|
||||||
import com.jero.common.util.SpringContextUtils;
|
|
||||||
import com.jero.common.util.oConvertUtils;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class b
|
|
||||||
extends com.jero.generater.modules.online.cgform.converter.b.b
|
|
||||||
{
|
|
||||||
public b(OnlCgformField paramOnlCgformField) {
|
|
||||||
ISysBaseAPI iSysBaseAPI = (ISysBaseAPI)SpringContextUtils.getBean(ISysBaseAPI.class);
|
|
||||||
String str1 = "SYS_DEPART";
|
|
||||||
String str2 = "DEPART_NAME";
|
|
||||||
String str3 = "ID";
|
|
||||||
List list = iSysBaseAPI.queryTableDictItemsByCode(str1, str2, str3);
|
|
||||||
this.b = list;
|
|
||||||
this.a = paramOnlCgformField.getDbFieldName();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public String converterToVal(String txt) {
|
|
||||||
if (oConvertUtils.isEmpty(txt)) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
ArrayList<String> arrayList = new ArrayList();
|
|
||||||
for (String str1 : txt.split(",")) {
|
|
||||||
String str2 = super.converterToVal(str1);
|
|
||||||
if (str2 != null)
|
|
||||||
{
|
|
||||||
|
|
||||||
arrayList.add(str2); }
|
|
||||||
}
|
|
||||||
return String.join(",", (Iterable)arrayList);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String converterToTxt(String val) {
|
|
||||||
if (oConvertUtils.isEmpty(val)) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
ArrayList<String> arrayList = new ArrayList();
|
|
||||||
for (String str1 : val.split(",")) {
|
|
||||||
String str2 = super.converterToTxt(str1);
|
|
||||||
if (str2 != null)
|
|
||||||
{
|
|
||||||
|
|
||||||
arrayList.add(str2); }
|
|
||||||
}
|
|
||||||
return String.join(",", (Iterable)arrayList);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\b\b.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-38
@@ -1,38 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter.b;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
import com.jero.common.system.api.ISysBaseAPI;
|
|
||||||
import com.jero.common.util.SpringContextUtils;
|
|
||||||
import com.jero.common.util.oConvertUtils;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class c
|
|
||||||
extends com.jero.generater.modules.online.cgform.converter.a.b
|
|
||||||
{
|
|
||||||
public c(OnlCgformField paramOnlCgformField) {
|
|
||||||
ISysBaseAPI iSysBaseAPI = (ISysBaseAPI)SpringContextUtils.getBean(ISysBaseAPI.class);
|
|
||||||
String str1 = paramOnlCgformField.getDictTable();
|
|
||||||
String str2 = paramOnlCgformField.getDictText();
|
|
||||||
String str3 = paramOnlCgformField.getDictField();
|
|
||||||
List list = new ArrayList();
|
|
||||||
if (oConvertUtils.isNotEmpty(str1)) {
|
|
||||||
List list1 = iSysBaseAPI.queryTableDictItemsByCode(str1, str2, str3);
|
|
||||||
} else if (oConvertUtils.isNotEmpty(str3)) {
|
|
||||||
list = iSysBaseAPI.queryDictItemsByCode(str3);
|
|
||||||
}
|
|
||||||
this.b = list;
|
|
||||||
this.a = paramOnlCgformField.getDbFieldName();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\b\c.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-22
@@ -1,22 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter.b;
|
|
||||||
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.a.a;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class d
|
|
||||||
extends a
|
|
||||||
{
|
|
||||||
public d(OnlCgformField paramOnlCgformField) {
|
|
||||||
super(paramOnlCgformField.getDictTable(), paramOnlCgformField.getDictField(), paramOnlCgformField.getDictText());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\b\d.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-48
@@ -1,48 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter.b;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.Map;
|
|
||||||
import com.jero.generater.modules.online.cgform.a.a;
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.a.a;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class e
|
|
||||||
extends a
|
|
||||||
{
|
|
||||||
private String f;
|
|
||||||
|
|
||||||
public String getLinkField() {
|
|
||||||
return this.f;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setLinkField(String linkField) {
|
|
||||||
this.f = linkField;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public e(OnlCgformField paramOnlCgformField) {
|
|
||||||
String str = paramOnlCgformField.getDictTable();
|
|
||||||
a a1 = (a)JSONObject.parseObject(str, a.class);
|
|
||||||
setTable(a1.getTable());
|
|
||||||
setCode(a1.getKey());
|
|
||||||
setText(a1.getTxt());
|
|
||||||
this.f = a1.getLinkField();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public Map<String, String> getConfig() {
|
|
||||||
HashMap<Object, Object> hashMap = new HashMap<>();
|
|
||||||
hashMap.put("linkField", this.f);
|
|
||||||
return (Map)hashMap;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\b\e.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-70
@@ -1,70 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter.b;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
import com.jero.common.system.api.ISysBaseAPI;
|
|
||||||
import com.jero.common.util.SpringContextUtils;
|
|
||||||
import com.jero.common.util.oConvertUtils;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class f
|
|
||||||
extends com.jero.generater.modules.online.cgform.converter.a.b
|
|
||||||
{
|
|
||||||
public f(OnlCgformField paramOnlCgformField) {
|
|
||||||
ISysBaseAPI iSysBaseAPI = (ISysBaseAPI)SpringContextUtils.getBean(ISysBaseAPI.class);
|
|
||||||
String str1 = paramOnlCgformField.getDictTable();
|
|
||||||
String str2 = paramOnlCgformField.getDictText();
|
|
||||||
String str3 = paramOnlCgformField.getDictField();
|
|
||||||
List list = new ArrayList();
|
|
||||||
if (oConvertUtils.isNotEmpty(str1)) {
|
|
||||||
List list1 = iSysBaseAPI.queryTableDictItemsByCode(str1, str2, str3);
|
|
||||||
} else if (oConvertUtils.isNotEmpty(str3)) {
|
|
||||||
list = iSysBaseAPI.queryDictItemsByCode(str3);
|
|
||||||
}
|
|
||||||
this.b = list;
|
|
||||||
this.a = paramOnlCgformField.getDbFieldName();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String converterToVal(String txt) {
|
|
||||||
if (oConvertUtils.isEmpty(txt)) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
ArrayList<String> arrayList = new ArrayList();
|
|
||||||
for (String str1 : txt.split(",")) {
|
|
||||||
String str2 = super.converterToVal(str1);
|
|
||||||
if (str2 != null)
|
|
||||||
{
|
|
||||||
|
|
||||||
arrayList.add(str2); }
|
|
||||||
}
|
|
||||||
return String.join(",", (Iterable)arrayList);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String converterToTxt(String val) {
|
|
||||||
if (oConvertUtils.isEmpty(val)) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
ArrayList<String> arrayList = new ArrayList();
|
|
||||||
for (String str1 : val.split(",")) {
|
|
||||||
String str2 = super.converterToTxt(str1);
|
|
||||||
if (str2 != null)
|
|
||||||
{
|
|
||||||
|
|
||||||
arrayList.add(str2); }
|
|
||||||
}
|
|
||||||
return String.join(",", (Iterable)arrayList);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\b\f.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-41
@@ -1,41 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter.b;
|
|
||||||
|
|
||||||
import com.jero.common.constant.ProvinceCityArea;
|
|
||||||
import com.jero.common.util.SpringContextUtils;
|
|
||||||
import com.jero.common.util.oConvertUtils;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class g
|
|
||||||
extends com.jero.generater.modules.online.cgform.converter.a.b
|
|
||||||
{
|
|
||||||
ProvinceCityArea c;
|
|
||||||
|
|
||||||
public g(OnlCgformField paramOnlCgformField) {
|
|
||||||
this.a = paramOnlCgformField.getDbFieldName();
|
|
||||||
this.c = (ProvinceCityArea)SpringContextUtils.getBean(ProvinceCityArea.class);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String converterToVal(String txt) {
|
|
||||||
if (oConvertUtils.isEmpty(txt)) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
return this.c.getCode(txt);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String converterToTxt(String val) {
|
|
||||||
if (oConvertUtils.isEmpty(val)) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
return this.c.getText(val);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\b\g.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-39
@@ -1,39 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter.b;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import com.jero.common.system.vo.DictModel;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class h
|
|
||||||
extends com.jero.generater.modules.online.cgform.converter.a.b
|
|
||||||
{
|
|
||||||
public h(OnlCgformField paramOnlCgformField) {
|
|
||||||
String str1 = paramOnlCgformField.getFieldExtendJson();
|
|
||||||
String str2 = "Y", str3 = "N";
|
|
||||||
if (str1 != null && !"".equals(str1)) {
|
|
||||||
JSONArray jSONArray = JSONArray.parseArray(str1);
|
|
||||||
if (jSONArray != null && jSONArray.size() == 2) {
|
|
||||||
str2 = jSONArray.get(0).toString();
|
|
||||||
str3 = jSONArray.get(1).toString();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ArrayList<DictModel> arrayList = new ArrayList();
|
|
||||||
DictModel dictModel1 = new DictModel(str2, "是");
|
|
||||||
DictModel dictModel2 = new DictModel(str3, "否");
|
|
||||||
arrayList.add(dictModel1);
|
|
||||||
arrayList.add(dictModel2);
|
|
||||||
this.b = arrayList;
|
|
||||||
this.a = paramOnlCgformField.getDbFieldName();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\b\h.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-26
@@ -1,26 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter.b;
|
|
||||||
|
|
||||||
import com.jero.generater.modules.online.cgform.converter.a.a;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class i
|
|
||||||
extends a
|
|
||||||
{
|
|
||||||
public i(OnlCgformField paramOnlCgformField) {
|
|
||||||
String str = paramOnlCgformField.getDictText();
|
|
||||||
|
|
||||||
String[] arrayOfString = str.split(",");
|
|
||||||
setTable(paramOnlCgformField.getDictTable());
|
|
||||||
setCode(arrayOfString[0]);
|
|
||||||
setText(arrayOfString[2]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\b\i.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-65
@@ -1,65 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter.b;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
import com.jero.common.system.api.ISysBaseAPI;
|
|
||||||
import com.jero.common.util.SpringContextUtils;
|
|
||||||
import com.jero.common.util.oConvertUtils;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class j
|
|
||||||
extends com.jero.generater.modules.online.cgform.converter.a.b
|
|
||||||
{
|
|
||||||
public j(OnlCgformField paramOnlCgformField) {
|
|
||||||
ISysBaseAPI iSysBaseAPI = (ISysBaseAPI)SpringContextUtils.getBean(ISysBaseAPI.class);
|
|
||||||
String str1 = "SYS_USER";
|
|
||||||
String str2 = "REALNAME";
|
|
||||||
String str3 = "USERNAME";
|
|
||||||
List list = iSysBaseAPI.queryTableDictItemsByCode(str1, str2, str3);
|
|
||||||
this.b = list;
|
|
||||||
this.a = paramOnlCgformField.getDbFieldName();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String converterToVal(String txt) {
|
|
||||||
if (oConvertUtils.isEmpty(txt)) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
ArrayList<String> arrayList = new ArrayList();
|
|
||||||
for (String str1 : txt.split(",")) {
|
|
||||||
String str2 = super.converterToVal(str1);
|
|
||||||
if (str2 != null)
|
|
||||||
{
|
|
||||||
|
|
||||||
arrayList.add(str2); }
|
|
||||||
}
|
|
||||||
return String.join(",", (Iterable)arrayList);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String converterToTxt(String val) {
|
|
||||||
if (oConvertUtils.isEmpty(val)) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
ArrayList<String> arrayList = new ArrayList();
|
|
||||||
for (String str1 : val.split(",")) {
|
|
||||||
String str2 = super.converterToTxt(str1);
|
|
||||||
if (str2 != null)
|
|
||||||
{
|
|
||||||
|
|
||||||
arrayList.add(str2); }
|
|
||||||
}
|
|
||||||
return String.join(",", (Iterable)arrayList);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\b\j.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-40
@@ -1,40 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter;
|
|
||||||
|
|
||||||
import java.util.Map;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component("customDemoConverter")
|
|
||||||
public class c
|
|
||||||
implements FieldCommentConverter
|
|
||||||
{
|
|
||||||
public String converterToVal(String txt) {
|
|
||||||
if (txt != null && txt.equals("管理员1")) {
|
|
||||||
return "admin";
|
|
||||||
}
|
|
||||||
return txt;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public String converterToTxt(String val) {
|
|
||||||
if (val != null) {
|
|
||||||
if (val.equals("admin")) {
|
|
||||||
return "管理员1";
|
|
||||||
}
|
|
||||||
if (val.equals("scott"))
|
|
||||||
return "管理员2";
|
|
||||||
}
|
|
||||||
return val;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public Map<String, String> getConfig() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\c.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-20
@@ -1,20 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.converter.c;
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class a
|
|
||||||
{
|
|
||||||
private static Map a = new HashMap<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\converter\c\a.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.converter.config;
|
package com.jero.generater.modules.online.cgform.converter.config;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
package org.jeecg.modules.online.cgform.converter.convert;
|
package com.jero.generater.modules.online.cgform.converter.convert;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@@ -6,7 +6,7 @@ import com.jero.common.system.api.ISysBaseAPI;
|
|||||||
import com.jero.common.system.vo.DictModel;
|
import com.jero.common.system.vo.DictModel;
|
||||||
import com.jero.common.util.SpringContextUtils;
|
import com.jero.common.util.SpringContextUtils;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.converter.FieldCommentConverter;
|
import com.jero.generater.modules.online.cgform.converter.FieldCommentConverter;
|
||||||
|
|
||||||
public class ConfigConvert implements FieldCommentConverter {
|
public class ConfigConvert implements FieldCommentConverter {
|
||||||
protected ISysBaseAPI a;
|
protected ISysBaseAPI a;
|
||||||
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
package org.jeecg.modules.online.cgform.converter.convert;
|
package com.jero.generater.modules.online.cgform.converter.convert;
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import com.jero.common.system.vo.DictModel;
|
import com.jero.common.system.vo.DictModel;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.converter.FieldCommentConverter;
|
import com.jero.generater.modules.online.cgform.converter.FieldCommentConverter;
|
||||||
|
|
||||||
public class ForeseeConvert implements FieldCommentConverter {
|
public class ForeseeConvert implements FieldCommentConverter {
|
||||||
protected String a;
|
protected String a;
|
||||||
+3
-3
@@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.converter.convertImpl;
|
package com.jero.generater.modules.online.cgform.converter.convertImpl;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.converter.convert.ConfigConvert;
|
import com.jero.generater.modules.online.cgform.converter.convert.ConfigConvert;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
|
|
||||||
public class CatTreeConverter extends ConfigConvert {
|
public class CatTreeConverter extends ConfigConvert {
|
||||||
private String f;
|
private String f;
|
||||||
+3
-3
@@ -1,13 +1,13 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.converter.convertImpl;
|
package com.jero.generater.modules.online.cgform.converter.convertImpl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import com.jero.common.system.api.ISysBaseAPI;
|
import com.jero.common.system.api.ISysBaseAPI;
|
||||||
import com.jero.common.util.SpringContextUtils;
|
import com.jero.common.util.SpringContextUtils;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.converter.convert.ForeseeConvert;
|
import com.jero.generater.modules.online.cgform.converter.convert.ForeseeConvert;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
|
|
||||||
public class DepartConverter extends ForeseeConvert {
|
public class DepartConverter extends ForeseeConvert {
|
||||||
public DepartConverter(OnlCgformField var1) {
|
public DepartConverter(OnlCgformField var1) {
|
||||||
+3
-3
@@ -1,13 +1,13 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.converter.convertImpl;
|
package com.jero.generater.modules.online.cgform.converter.convertImpl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import com.jero.common.system.api.ISysBaseAPI;
|
import com.jero.common.system.api.ISysBaseAPI;
|
||||||
import com.jero.common.util.SpringContextUtils;
|
import com.jero.common.util.SpringContextUtils;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.converter.convert.ForeseeConvert;
|
import com.jero.generater.modules.online.cgform.converter.convert.ForeseeConvert;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
|
|
||||||
public class DictEasyConverter extends ForeseeConvert {
|
public class DictEasyConverter extends ForeseeConvert {
|
||||||
public DictEasyConverter(OnlCgformField var1) {
|
public DictEasyConverter(OnlCgformField var1) {
|
||||||
+11
@@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
package com.jero.generater.modules.online.cgform.converter.convertImpl;
|
||||||
|
|
||||||
|
import com.jero.generater.modules.online.cgform.converter.convert.ConfigConvert;
|
||||||
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
|
|
||||||
|
public class DictTableConverter extends ConfigConvert {
|
||||||
|
public DictTableConverter(OnlCgformField var1) {
|
||||||
|
super(var1.getDictTable(), var1.getDictField(), var1.getDictText());
|
||||||
|
}
|
||||||
|
}
|
||||||
+4
-4
@@ -1,13 +1,13 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.converter.convertImpl;
|
package com.jero.generater.modules.online.cgform.converter.convertImpl;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import org.jeecg.modules.online.cgform.link.LinkDown;
|
import com.jero.generater.modules.online.cgform.link.LinkDown;
|
||||||
import org.jeecg.modules.online.cgform.converter.convert.ConfigConvert;
|
import com.jero.generater.modules.online.cgform.converter.convert.ConfigConvert;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
|
|
||||||
public class LinkDownConverter extends ConfigConvert {
|
public class LinkDownConverter extends ConfigConvert {
|
||||||
private String f;
|
private String f;
|
||||||
+3
-3
@@ -1,13 +1,13 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.converter.convertImpl;
|
package com.jero.generater.modules.online.cgform.converter.convertImpl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import com.jero.common.system.api.ISysBaseAPI;
|
import com.jero.common.system.api.ISysBaseAPI;
|
||||||
import com.jero.common.util.SpringContextUtils;
|
import com.jero.common.util.SpringContextUtils;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.converter.convert.ForeseeConvert;
|
import com.jero.generater.modules.online.cgform.converter.convert.ForeseeConvert;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
|
|
||||||
public class MultiSelectConverter extends ForeseeConvert {
|
public class MultiSelectConverter extends ForeseeConvert {
|
||||||
public MultiSelectConverter(OnlCgformField var1) {
|
public MultiSelectConverter(OnlCgformField var1) {
|
||||||
+3
-3
@@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.converter.convertImpl;
|
package com.jero.generater.modules.online.cgform.converter.convertImpl;
|
||||||
|
|
||||||
import com.jero.common.constant.ProvinceCityArea;
|
import com.jero.common.constant.ProvinceCityArea;
|
||||||
import com.jero.common.util.SpringContextUtils;
|
import com.jero.common.util.SpringContextUtils;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.converter.convert.ForeseeConvert;
|
import com.jero.generater.modules.online.cgform.converter.convert.ForeseeConvert;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
|
|
||||||
public class PcaConverter extends ForeseeConvert {
|
public class PcaConverter extends ForeseeConvert {
|
||||||
ProvinceCityArea c;
|
ProvinceCityArea c;
|
||||||
+3
-3
@@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.converter.convertImpl;
|
package com.jero.generater.modules.online.cgform.converter.convertImpl;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
import com.alibaba.fastjson.JSONArray;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import com.jero.common.system.vo.DictModel;
|
import com.jero.common.system.vo.DictModel;
|
||||||
import org.jeecg.modules.online.cgform.converter.convert.ForeseeConvert;
|
import com.jero.generater.modules.online.cgform.converter.convert.ForeseeConvert;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
|
|
||||||
public class SwitchConverter extends ForeseeConvert {
|
public class SwitchConverter extends ForeseeConvert {
|
||||||
public SwitchConverter(OnlCgformField var1) {
|
public SwitchConverter(OnlCgformField var1) {
|
||||||
+3
-3
@@ -1,8 +1,8 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.converter.convertImpl;
|
package com.jero.generater.modules.online.cgform.converter.convertImpl;
|
||||||
|
|
||||||
import org.jeecg.modules.online.cgform.converter.convert.ConfigConvert;
|
import com.jero.generater.modules.online.cgform.converter.convert.ConfigConvert;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
|
|
||||||
public class TreeSelectConverter extends ConfigConvert {
|
public class TreeSelectConverter extends ConfigConvert {
|
||||||
public TreeSelectConverter(OnlCgformField var1) {
|
public TreeSelectConverter(OnlCgformField var1) {
|
||||||
+3
-3
@@ -1,13 +1,13 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.converter.convertImpl;
|
package com.jero.generater.modules.online.cgform.converter.convertImpl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import com.jero.common.system.api.ISysBaseAPI;
|
import com.jero.common.system.api.ISysBaseAPI;
|
||||||
import com.jero.common.util.SpringContextUtils;
|
import com.jero.common.util.SpringContextUtils;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.converter.convert.ForeseeConvert;
|
import com.jero.generater.modules.online.cgform.converter.convert.ForeseeConvert;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
|
|
||||||
public class UserSelectConverter extends ForeseeConvert {
|
public class UserSelectConverter extends ForeseeConvert {
|
||||||
public UserSelectConverter(OnlCgformField var1) {
|
public UserSelectConverter(OnlCgformField var1) {
|
||||||
+5
-9
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.enhance;
|
package com.jero.generater.modules.online.cgform.enhance;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
@@ -5,14 +6,9 @@ import java.util.Map;
|
|||||||
import com.jero.generater.modules.online.config.exception.BusinessException;
|
import com.jero.generater.modules.online.config.exception.BusinessException;
|
||||||
|
|
||||||
public interface CgformEnhanceJavaInter {
|
public interface CgformEnhanceJavaInter {
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
int execute(String paramString, Map<String, Object> paramMap) throws BusinessException;
|
int execute(String var1, Map<String, Object> var2) throws BusinessException;
|
||||||
|
|
||||||
int execute(String paramString, JSONObject paramJSONObject) throws BusinessException;
|
int execute(String var1, JSONObject var2) throws BusinessException;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\enhance\CgformEnhanceJavaInter.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+2
-7
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.enhance;
|
package com.jero.generater.modules.online.cgform.enhance;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -5,11 +6,5 @@ import java.util.Map;
|
|||||||
import com.jero.generater.modules.online.config.exception.BusinessException;
|
import com.jero.generater.modules.online.config.exception.BusinessException;
|
||||||
|
|
||||||
public interface CgformEnhanceJavaListInter {
|
public interface CgformEnhanceJavaListInter {
|
||||||
void execute(String paramString, List<Map<String, Object>> paramList) throws BusinessException;
|
void execute(String var1, List<Map<String, Object>> var2) throws BusinessException;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\enhance\CgformEnhanceJavaListInter.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-66
@@ -1,66 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.enhance.a;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import java.util.Map;
|
|
||||||
import com.jero.generater.modules.online.cgform.enhance.CgformEnhanceJavaInter;
|
|
||||||
import com.jero.generater.modules.online.config.exception.BusinessException;
|
|
||||||
import org.slf4j.Logger;
|
|
||||||
import org.slf4j.LoggerFactory;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Component("cgformEnhanceBeanDemo")
|
|
||||||
public class a
|
|
||||||
implements CgformEnhanceJavaInter
|
|
||||||
{
|
|
||||||
private static final Logger a = LoggerFactory.getLogger(a.class);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public int execute(String tableName, JSONObject json) throws BusinessException {
|
|
||||||
a.info("--------我是自定义java增强测试bean-----------");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
a.info("--------当前表单 tableName=> " + tableName);
|
|
||||||
a.info("--------当前表单 JSON数据=> " + json.toJSONString());
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (json.containsKey("phone")) {
|
|
||||||
json.put("phone", "18611100000");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public int execute(String tableName, Map<String, Object> map) throws BusinessException {
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\enhance\a\a.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-64
@@ -1,64 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.enhance.a;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.stream.Collectors;
|
|
||||||
import com.jero.common.system.api.ISysBaseAPI;
|
|
||||||
import com.jero.common.system.vo.SysCategoryModel;
|
|
||||||
import com.jero.common.util.oConvertUtils;
|
|
||||||
import com.jero.generater.modules.online.cgform.enhance.CgformEnhanceJavaListInter;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
import com.jero.generater.modules.online.cgform.service.IOnlCgformFieldService;
|
|
||||||
import com.jero.generater.modules.online.config.exception.BusinessException;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Component("cgformEnhanceExportDemo")
|
|
||||||
public class b
|
|
||||||
implements CgformEnhanceJavaListInter
|
|
||||||
{
|
|
||||||
@Autowired
|
|
||||||
ISysBaseAPI sysBaseAPI;
|
|
||||||
@Autowired
|
|
||||||
IOnlCgformFieldService onlCgformFieldService;
|
|
||||||
|
|
||||||
public void execute(String tableName, List<Map<String, Object>> data) throws BusinessException {
|
|
||||||
List list = this.sysBaseAPI.queryAllDSysCategory();
|
|
||||||
for (Map<String, String> map : data) {
|
|
||||||
|
|
||||||
String str1 = oConvertUtils.getString(map.get("fen_tree"));
|
|
||||||
if (oConvertUtils.isEmpty(str1)) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
List<SysCategoryModel> list1 = (List)list.stream().filter(paramSysCategoryModel -> paramSysCategoryModel.getId().equals(paramString)).collect(Collectors.toList());
|
|
||||||
if (list1 != null && list1.size() != 0) {
|
|
||||||
map.put("fen_tree", ((SysCategoryModel)list1.get(0)).getName());
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
String str2 = oConvertUtils.getString(map.get("sel_search"));
|
|
||||||
if (oConvertUtils.isEmpty(str2)) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
OnlCgformField onlCgformField = this.onlCgformFieldService.queryFormFieldByTableNameAndField(tableName, "sel_search");
|
|
||||||
if (onlCgformField == null || oConvertUtils.isEmpty(onlCgformField.getDictTable())) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
List<String> list2 = this.sysBaseAPI.queryTableDictByKeys(onlCgformField.getDictTable(), onlCgformField.getDictText(), onlCgformField.getDictField(), new String[] { str2 });
|
|
||||||
if (list2 != null && list2.size() > 0)
|
|
||||||
map.put("sel_search", list2.get(0));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\enhance\a\b.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-64
@@ -1,64 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.enhance.a;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import java.util.Map;
|
|
||||||
import com.jero.common.util.oConvertUtils;
|
|
||||||
import com.jero.generater.modules.online.cgform.enhance.CgformEnhanceJavaInter;
|
|
||||||
import com.jero.generater.modules.online.config.exception.BusinessException;
|
|
||||||
import org.slf4j.Logger;
|
|
||||||
import org.slf4j.LoggerFactory;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component("cgformEnhanceImportDemo")
|
|
||||||
public class c
|
|
||||||
implements CgformEnhanceJavaInter {
|
|
||||||
private static final Logger a = LoggerFactory.getLogger(c.class);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public int execute(String tableName, JSONObject json) throws BusinessException {
|
|
||||||
a.info("--------当前tableName=>" + tableName);
|
|
||||||
a.info("===============================================================================================================");
|
|
||||||
a.info("--------导入JSON数据=>" + json.toJSONString());
|
|
||||||
|
|
||||||
if (oConvertUtils.isEmpty(json.get("name"))) {
|
|
||||||
a.info("-----变更导入数据,直接返回1----");
|
|
||||||
json.put("name", "默认值");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (json.getString("name").equals("error")) {
|
|
||||||
json.put("name", "默认值");
|
|
||||||
throw new BusinessException("测试抛出异常error");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (json.getString("name").equals("hello")) {
|
|
||||||
a.info("-----导入数据变更新,直接返回2----");
|
|
||||||
json.put("id", "testid123");
|
|
||||||
json.put("name", "JAVA导入增强 测试修改");
|
|
||||||
return 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (json.getString("name").equals("ok")) {
|
|
||||||
a.info("-----丢弃导入数据,直接返回0----");
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public int execute(String tableName, Map<String, Object> map) throws BusinessException {
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\enhance\a\c.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-37
@@ -1,37 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.enhance.a;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import java.util.Map;
|
|
||||||
import com.jero.generater.modules.online.cgform.enhance.CgformEnhanceJavaInter;
|
|
||||||
import com.jero.generater.modules.online.config.exception.BusinessException;
|
|
||||||
import org.slf4j.Logger;
|
|
||||||
import org.slf4j.LoggerFactory;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component("cgformEnhanceJavaDemo")
|
|
||||||
public class d implements CgformEnhanceJavaInter {
|
|
||||||
private static final Logger a = LoggerFactory.getLogger(d.class);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public int execute(String tableName, JSONObject json) throws BusinessException {
|
|
||||||
a.info("----------我是自定义java增强测试demo类-----------");
|
|
||||||
a.info("--------当前tableName=>" + tableName);
|
|
||||||
a.info("--------当前JSON数据=>" + json.toJSONString());
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public int execute(String tableName, Map<String, Object> map) throws BusinessException {
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\enhance\a\d.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-69
@@ -1,69 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.enhance.a;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
import com.jero.generater.modules.online.cgform.enhance.CgformEnhanceJavaListInter;
|
|
||||||
import com.jero.generater.modules.online.config.exception.BusinessException;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Component("cgformEnhanceQueryDemo")
|
|
||||||
public class e
|
|
||||||
implements CgformEnhanceJavaListInter
|
|
||||||
{
|
|
||||||
public void execute(String tableName, List<Map<String, Object>> data) throws BusinessException {
|
|
||||||
List<a> list = a();
|
|
||||||
for (Map<String, String> map : data) {
|
|
||||||
Object object = map.get("province");
|
|
||||||
if (object == null) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
String str = list.stream().filter(parama -> paramObject.toString().equals(parama.a())).map(a::b).findAny().orElse("");
|
|
||||||
map.put("province", str);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private List<a> a() {
|
|
||||||
ArrayList<a> arrayList = new ArrayList();
|
|
||||||
arrayList.add(new a(this, "bj", "北京"));
|
|
||||||
arrayList.add(new a(this, "sd", "山东"));
|
|
||||||
arrayList.add(new a(this, "ah", "安徽"));
|
|
||||||
return arrayList;
|
|
||||||
}
|
|
||||||
|
|
||||||
class a {
|
|
||||||
String a;
|
|
||||||
String b;
|
|
||||||
|
|
||||||
public a(e this$0, String param1String1, String param1String2) {
|
|
||||||
this.a = param1String1;
|
|
||||||
this.b = param1String2;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String a() {
|
|
||||||
return this.a;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String b() {
|
|
||||||
return this.b;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\enhance\a\e.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+3
-3
@@ -1,9 +1,9 @@
|
|||||||
package org.jeecg.modules.online.cgform.enhance.demo;
|
package com.jero.generater.modules.online.cgform.enhance.demo;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import org.jeecg.modules.online.cgform.enhance.CgformEnhanceJavaInter;
|
import com.jero.generater.modules.online.cgform.enhance.CgformEnhanceJavaInter;
|
||||||
import org.jeecg.modules.online.config.exception.BusinessException;
|
import com.jero.generater.modules.online.config.exception.BusinessException;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
+5
-5
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.enhance.demo;
|
package com.jero.generater.modules.online.cgform.enhance.demo;
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -8,10 +8,10 @@ import java.util.stream.Collectors;
|
|||||||
import com.jero.common.system.api.ISysBaseAPI;
|
import com.jero.common.system.api.ISysBaseAPI;
|
||||||
import com.jero.common.system.vo.SysCategoryModel;
|
import com.jero.common.system.vo.SysCategoryModel;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.enhance.CgformEnhanceJavaListInter;
|
import com.jero.generater.modules.online.cgform.enhance.CgformEnhanceJavaListInter;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
import org.jeecg.modules.online.cgform.service.IOnlCgformFieldService;
|
import com.jero.generater.modules.online.cgform.service.IOnlCgformFieldService;
|
||||||
import org.jeecg.modules.online.config.exception.BusinessException;
|
import com.jero.generater.modules.online.config.exception.BusinessException;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
+3
-3
@@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.enhance.demo;
|
package com.jero.generater.modules.online.cgform.enhance.demo;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import com.jero.common.util.oConvertUtils;
|
import com.jero.common.util.oConvertUtils;
|
||||||
import org.jeecg.modules.online.cgform.enhance.CgformEnhanceJavaInter;
|
import com.jero.generater.modules.online.cgform.enhance.CgformEnhanceJavaInter;
|
||||||
import org.jeecg.modules.online.config.exception.BusinessException;
|
import com.jero.generater.modules.online.config.exception.BusinessException;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
+3
-3
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.enhance.demo;
|
package com.jero.generater.modules.online.cgform.enhance.demo;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import org.jeecg.modules.online.cgform.enhance.CgformEnhanceJavaInter;
|
import com.jero.generater.modules.online.cgform.enhance.CgformEnhanceJavaInter;
|
||||||
import org.jeecg.modules.online.config.exception.BusinessException;
|
import com.jero.generater.modules.online.config.exception.BusinessException;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
+3
-3
@@ -1,12 +1,12 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.enhance.demo;
|
package com.jero.generater.modules.online.cgform.enhance.demo;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import org.jeecg.modules.online.cgform.enhance.CgformEnhanceJavaListInter;
|
import com.jero.generater.modules.online.cgform.enhance.CgformEnhanceJavaListInter;
|
||||||
import org.jeecg.modules.online.config.exception.BusinessException;
|
import com.jero.generater.modules.online.config.exception.BusinessException;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@Component("cgformEnhanceQueryDemo")
|
@Component("cgformEnhanceQueryDemo")
|
||||||
+287
-36
@@ -1,47 +1,298 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.entity;
|
package com.jero.generater.modules.online.cgform.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
@TableName("onl_cgform_button")
|
@TableName("onl_cgform_button")
|
||||||
public class OnlCgformButton implements Serializable { private static final long serialVersionUID = 1L; @TableId(type = IdType.UUID)
|
public class OnlCgformButton implements Serializable {
|
||||||
private String id; private String cgformHeadId;
|
private static final long serialVersionUID = 1L;
|
||||||
private String buttonCode;
|
@TableId(
|
||||||
private String buttonName;
|
type = IdType.UUID
|
||||||
private String buttonStyle;
|
)
|
||||||
|
private String id;
|
||||||
|
private String cgformHeadId;
|
||||||
|
private String buttonCode;
|
||||||
|
private String buttonName;
|
||||||
|
private String buttonStyle;
|
||||||
|
private String optType;
|
||||||
|
private String exp;
|
||||||
|
private String buttonStatus;
|
||||||
|
private Integer orderNum;
|
||||||
|
private String buttonIcon;
|
||||||
|
private String optPosition;
|
||||||
|
|
||||||
public void setId(String id) { this.id = id; } private String optType; private String exp; private String buttonStatus; private Integer orderNum; private String buttonIcon; private String optPosition; public void setCgformHeadId(String cgformHeadId) { this.cgformHeadId = cgformHeadId; } public void setButtonCode(String buttonCode) { this.buttonCode = buttonCode; } public void setButtonName(String buttonName) { this.buttonName = buttonName; } public void setButtonStyle(String buttonStyle) { this.buttonStyle = buttonStyle; } public void setOptType(String optType) { this.optType = optType; } public void setExp(String exp) { this.exp = exp; } public void setButtonStatus(String buttonStatus) { this.buttonStatus = buttonStatus; } public void setOrderNum(Integer orderNum) { this.orderNum = orderNum; } public void setButtonIcon(String buttonIcon) { this.buttonIcon = buttonIcon; } public void setOptPosition(String optPosition) { this.optPosition = optPosition; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof OnlCgformButton)) return false; OnlCgformButton onlCgformButton = (OnlCgformButton)o; if (!onlCgformButton.canEqual(this)) return false; Integer integer1 = getOrderNum(), integer2 = onlCgformButton.getOrderNum(); if ((integer1 == null) ? (integer2 != null) : !integer1.equals(integer2)) return false; String str1 = getId(), str2 = onlCgformButton.getId(); if ((str1 == null) ? (str2 != null) : !str1.equals(str2)) return false; String str3 = getCgformHeadId(), str4 = onlCgformButton.getCgformHeadId(); if ((str3 == null) ? (str4 != null) : !str3.equals(str4)) return false; String str5 = getButtonCode(), str6 = onlCgformButton.getButtonCode(); if ((str5 == null) ? (str6 != null) : !str5.equals(str6)) return false; String str7 = getButtonName(), str8 = onlCgformButton.getButtonName(); if ((str7 == null) ? (str8 != null) : !str7.equals(str8)) return false; String str9 = getButtonStyle(), str10 = onlCgformButton.getButtonStyle(); if ((str9 == null) ? (str10 != null) : !str9.equals(str10)) return false; String str11 = getOptType(), str12 = onlCgformButton.getOptType(); if ((str11 == null) ? (str12 != null) : !str11.equals(str12)) return false; String str13 = getExp(), str14 = onlCgformButton.getExp(); if ((str13 == null) ? (str14 != null) : !str13.equals(str14)) return false; String str15 = getButtonStatus(), str16 = onlCgformButton.getButtonStatus(); if ((str15 == null) ? (str16 != null) : !str15.equals(str16)) return false; String str17 = getButtonIcon(), str18 = onlCgformButton.getButtonIcon(); if ((str17 == null) ? (str18 != null) : !str17.equals(str18)) return false; String str19 = getOptPosition(), str20 = onlCgformButton.getOptPosition(); return !((str19 == null) ? (str20 != null) : !str19.equals(str20)); } protected boolean canEqual(Object other) { return other instanceof OnlCgformButton; } public int hashCode() { byte b = 59; null = 1; Integer integer = getOrderNum(); null = null * 59 + ((integer == null) ? 43 : integer.hashCode()); String str1 = getId(); null = null * 59 + ((str1 == null) ? 43 : str1.hashCode()); String str2 = getCgformHeadId(); null = null * 59 + ((str2 == null) ? 43 : str2.hashCode()); String str3 = getButtonCode(); null = null * 59 + ((str3 == null) ? 43 : str3.hashCode()); String str4 = getButtonName(); null = null * 59 + ((str4 == null) ? 43 : str4.hashCode()); String str5 = getButtonStyle(); null = null * 59 + ((str5 == null) ? 43 : str5.hashCode()); String str6 = getOptType(); null = null * 59 + ((str6 == null) ? 43 : str6.hashCode()); String str7 = getExp(); null = null * 59 + ((str7 == null) ? 43 : str7.hashCode()); String str8 = getButtonStatus(); null = null * 59 + ((str8 == null) ? 43 : str8.hashCode()); String str9 = getButtonIcon(); null = null * 59 + ((str9 == null) ? 43 : str9.hashCode()); String str10 = getOptPosition(); return null * 59 + ((str10 == null) ? 43 : str10.hashCode()); } public String toString() { return "OnlCgformButton(id=" + getId() + ", cgformHeadId=" + getCgformHeadId() + ", buttonCode=" + getButtonCode() + ", buttonName=" + getButtonName() + ", buttonStyle=" + getButtonStyle() + ", optType=" + getOptType() + ", exp=" + getExp() + ", buttonStatus=" + getButtonStatus() + ", orderNum=" + getOrderNum() + ", buttonIcon=" + getButtonIcon() + ", optPosition=" + getOptPosition() + ")"; }
|
public OnlCgformButton() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getId() {
|
||||||
|
return this.id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCgformHeadId() {
|
||||||
|
return this.cgformHeadId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getButtonCode() {
|
||||||
|
return this.buttonCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getButtonName() {
|
||||||
|
return this.buttonName;
|
||||||
|
}
|
||||||
|
|
||||||
public String getId() {
|
public String getButtonStyle() {
|
||||||
return this.id;
|
return this.buttonStyle;
|
||||||
}
|
}
|
||||||
public String getCgformHeadId() {
|
|
||||||
return this.cgformHeadId;
|
|
||||||
}
|
|
||||||
public String getButtonCode() {
|
|
||||||
return this.buttonCode;
|
|
||||||
} public String getButtonName() {
|
|
||||||
return this.buttonName;
|
|
||||||
} public String getButtonStyle() {
|
|
||||||
return this.buttonStyle;
|
|
||||||
} public String getOptType() {
|
|
||||||
return this.optType;
|
|
||||||
} public String getExp() {
|
|
||||||
return this.exp;
|
|
||||||
} public String getButtonStatus() {
|
|
||||||
return this.buttonStatus;
|
|
||||||
} public Integer getOrderNum() {
|
|
||||||
return this.orderNum;
|
|
||||||
} public String getButtonIcon() {
|
|
||||||
return this.buttonIcon;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getOptPosition() {
|
public String getOptType() {
|
||||||
return this.optPosition;
|
return this.optType;
|
||||||
} }
|
}
|
||||||
|
|
||||||
|
public String getExp() {
|
||||||
|
return this.exp;
|
||||||
|
}
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\entity\OnlCgformButton.class
|
public String getButtonStatus() {
|
||||||
* Java compiler version: 8 (52.0)
|
return this.buttonStatus;
|
||||||
* JD-Core Version: 1.1.3
|
}
|
||||||
*/
|
|
||||||
|
public Integer getOrderNum() {
|
||||||
|
return this.orderNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getButtonIcon() {
|
||||||
|
return this.buttonIcon;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOptPosition() {
|
||||||
|
return this.optPosition;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(String id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCgformHeadId(String cgformHeadId) {
|
||||||
|
this.cgformHeadId = cgformHeadId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setButtonCode(String buttonCode) {
|
||||||
|
this.buttonCode = buttonCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setButtonName(String buttonName) {
|
||||||
|
this.buttonName = buttonName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setButtonStyle(String buttonStyle) {
|
||||||
|
this.buttonStyle = buttonStyle;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOptType(String optType) {
|
||||||
|
this.optType = optType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setExp(String exp) {
|
||||||
|
this.exp = exp;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setButtonStatus(String buttonStatus) {
|
||||||
|
this.buttonStatus = buttonStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOrderNum(Integer orderNum) {
|
||||||
|
this.orderNum = orderNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setButtonIcon(String buttonIcon) {
|
||||||
|
this.buttonIcon = buttonIcon;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOptPosition(String optPosition) {
|
||||||
|
this.optPosition = optPosition;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
} else if (!(o instanceof OnlCgformButton)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
OnlCgformButton var2 = (OnlCgformButton)o;
|
||||||
|
if (!var2.canEqual(this)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
label143: {
|
||||||
|
Integer var3 = this.getOrderNum();
|
||||||
|
Integer var4 = var2.getOrderNum();
|
||||||
|
if (var3 == null) {
|
||||||
|
if (var4 == null) {
|
||||||
|
break label143;
|
||||||
|
}
|
||||||
|
} else if (var3.equals(var4)) {
|
||||||
|
break label143;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var5 = this.getId();
|
||||||
|
String var6 = var2.getId();
|
||||||
|
if (var5 == null) {
|
||||||
|
if (var6 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var5.equals(var6)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var7 = this.getCgformHeadId();
|
||||||
|
String var8 = var2.getCgformHeadId();
|
||||||
|
if (var7 == null) {
|
||||||
|
if (var8 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var7.equals(var8)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label122: {
|
||||||
|
String var9 = this.getButtonCode();
|
||||||
|
String var10 = var2.getButtonCode();
|
||||||
|
if (var9 == null) {
|
||||||
|
if (var10 == null) {
|
||||||
|
break label122;
|
||||||
|
}
|
||||||
|
} else if (var9.equals(var10)) {
|
||||||
|
break label122;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label115: {
|
||||||
|
String var11 = this.getButtonName();
|
||||||
|
String var12 = var2.getButtonName();
|
||||||
|
if (var11 == null) {
|
||||||
|
if (var12 == null) {
|
||||||
|
break label115;
|
||||||
|
}
|
||||||
|
} else if (var11.equals(var12)) {
|
||||||
|
break label115;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var13 = this.getButtonStyle();
|
||||||
|
String var14 = var2.getButtonStyle();
|
||||||
|
if (var13 == null) {
|
||||||
|
if (var14 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var13.equals(var14)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var15 = this.getOptType();
|
||||||
|
String var16 = var2.getOptType();
|
||||||
|
if (var15 == null) {
|
||||||
|
if (var16 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var15.equals(var16)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label94: {
|
||||||
|
String var17 = this.getExp();
|
||||||
|
String var18 = var2.getExp();
|
||||||
|
if (var17 == null) {
|
||||||
|
if (var18 == null) {
|
||||||
|
break label94;
|
||||||
|
}
|
||||||
|
} else if (var17.equals(var18)) {
|
||||||
|
break label94;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label87: {
|
||||||
|
String var19 = this.getButtonStatus();
|
||||||
|
String var20 = var2.getButtonStatus();
|
||||||
|
if (var19 == null) {
|
||||||
|
if (var20 == null) {
|
||||||
|
break label87;
|
||||||
|
}
|
||||||
|
} else if (var19.equals(var20)) {
|
||||||
|
break label87;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var21 = this.getButtonIcon();
|
||||||
|
String var22 = var2.getButtonIcon();
|
||||||
|
if (var21 == null) {
|
||||||
|
if (var22 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var21.equals(var22)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var23 = this.getOptPosition();
|
||||||
|
String var24 = var2.getOptPosition();
|
||||||
|
if (var23 == null) {
|
||||||
|
if (var24 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var23.equals(var24)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected boolean canEqual(Object other) {
|
||||||
|
return other instanceof OnlCgformButton;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int hashCode() {
|
||||||
|
boolean var1 = true;
|
||||||
|
byte var2 = 1;
|
||||||
|
Integer var3 = this.getOrderNum();
|
||||||
|
int var14 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
|
||||||
|
String var4 = this.getId();
|
||||||
|
var14 = var14 * 59 + (var4 == null ? 43 : var4.hashCode());
|
||||||
|
String var5 = this.getCgformHeadId();
|
||||||
|
var14 = var14 * 59 + (var5 == null ? 43 : var5.hashCode());
|
||||||
|
String var6 = this.getButtonCode();
|
||||||
|
var14 = var14 * 59 + (var6 == null ? 43 : var6.hashCode());
|
||||||
|
String var7 = this.getButtonName();
|
||||||
|
var14 = var14 * 59 + (var7 == null ? 43 : var7.hashCode());
|
||||||
|
String var8 = this.getButtonStyle();
|
||||||
|
var14 = var14 * 59 + (var8 == null ? 43 : var8.hashCode());
|
||||||
|
String var9 = this.getOptType();
|
||||||
|
var14 = var14 * 59 + (var9 == null ? 43 : var9.hashCode());
|
||||||
|
String var10 = this.getExp();
|
||||||
|
var14 = var14 * 59 + (var10 == null ? 43 : var10.hashCode());
|
||||||
|
String var11 = this.getButtonStatus();
|
||||||
|
var14 = var14 * 59 + (var11 == null ? 43 : var11.hashCode());
|
||||||
|
String var12 = this.getButtonIcon();
|
||||||
|
var14 = var14 * 59 + (var12 == null ? 43 : var12.hashCode());
|
||||||
|
String var13 = this.getOptPosition();
|
||||||
|
var14 = var14 * 59 + (var13 == null ? 43 : var13.hashCode());
|
||||||
|
return var14;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
return "OnlCgformButton(id=" + this.getId() + ", cgformHeadId=" + this.getCgformHeadId() + ", buttonCode=" + this.getButtonCode() + ", buttonName=" + this.getButtonName() + ", buttonStyle=" + this.getButtonStyle() + ", optType=" + this.getOptType() + ", exp=" + this.getExp() + ", buttonStatus=" + this.getButtonStatus() + ", orderNum=" + this.getOrderNum() + ", buttonIcon=" + this.getButtonIcon() + ", optPosition=" + this.getOptPosition() + ")";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
+190
-28
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.entity;
|
package com.jero.generater.modules.online.cgform.entity;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
@@ -7,38 +8,199 @@ import java.io.Serializable;
|
|||||||
|
|
||||||
@TableName("onl_cgform_enhance_java")
|
@TableName("onl_cgform_enhance_java")
|
||||||
public class OnlCgformEnhanceJava implements Serializable {
|
public class OnlCgformEnhanceJava implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId(type = IdType.UUID)
|
@TableId(
|
||||||
private String id;
|
type = IdType.UUID
|
||||||
private String cgformHeadId;
|
)
|
||||||
private String buttonCode;
|
private String id;
|
||||||
|
private String cgformHeadId;
|
||||||
|
private String buttonCode;
|
||||||
|
private String cgJavaType;
|
||||||
|
private String cgJavaValue;
|
||||||
|
private String activeStatus;
|
||||||
|
private String event;
|
||||||
|
|
||||||
public void setId(String id) {
|
public OnlCgformEnhanceJava() {
|
||||||
this.id = id; } private String cgJavaType; private String cgJavaValue; private String activeStatus; private String event; public void setCgformHeadId(String cgformHeadId) { this.cgformHeadId = cgformHeadId; } public void setButtonCode(String buttonCode) { this.buttonCode = buttonCode; } public void setCgJavaType(String cgJavaType) { this.cgJavaType = cgJavaType; } public void setCgJavaValue(String cgJavaValue) { this.cgJavaValue = cgJavaValue; } public void setActiveStatus(String activeStatus) { this.activeStatus = activeStatus; } public void setEvent(String event) { this.event = event; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof OnlCgformEnhanceJava)) return false; OnlCgformEnhanceJava onlCgformEnhanceJava = (OnlCgformEnhanceJava)o; if (!onlCgformEnhanceJava.canEqual(this)) return false; String str1 = getId(), str2 = onlCgformEnhanceJava.getId(); if ((str1 == null) ? (str2 != null) : !str1.equals(str2)) return false; String str3 = getCgformHeadId(), str4 = onlCgformEnhanceJava.getCgformHeadId(); if ((str3 == null) ? (str4 != null) : !str3.equals(str4)) return false; String str5 = getButtonCode(), str6 = onlCgformEnhanceJava.getButtonCode(); if ((str5 == null) ? (str6 != null) : !str5.equals(str6)) return false; String str7 = getCgJavaType(), str8 = onlCgformEnhanceJava.getCgJavaType(); if ((str7 == null) ? (str8 != null) : !str7.equals(str8)) return false; String str9 = getCgJavaValue(), str10 = onlCgformEnhanceJava.getCgJavaValue(); if ((str9 == null) ? (str10 != null) : !str9.equals(str10)) return false; String str11 = getActiveStatus(), str12 = onlCgformEnhanceJava.getActiveStatus(); if ((str11 == null) ? (str12 != null) : !str11.equals(str12)) return false; String str13 = getEvent(), str14 = onlCgformEnhanceJava.getEvent(); return !((str13 == null) ? (str14 != null) : !str13.equals(str14)); } protected boolean canEqual(Object other) { return other instanceof OnlCgformEnhanceJava; } public int hashCode() { byte b = 59; null = 1; String str1 = getId(); null = null * 59 + ((str1 == null) ? 43 : str1.hashCode()); String str2 = getCgformHeadId(); null = null * 59 + ((str2 == null) ? 43 : str2.hashCode()); String str3 = getButtonCode(); null = null * 59 + ((str3 == null) ? 43 : str3.hashCode()); String str4 = getCgJavaType(); null = null * 59 + ((str4 == null) ? 43 : str4.hashCode()); String str5 = getCgJavaValue(); null = null * 59 + ((str5 == null) ? 43 : str5.hashCode()); String str6 = getActiveStatus(); null = null * 59 + ((str6 == null) ? 43 : str6.hashCode()); String str7 = getEvent(); return null * 59 + ((str7 == null) ? 43 : str7.hashCode()); } public String toString() { return "OnlCgformEnhanceJava(id=" + getId() + ", cgformHeadId=" + getCgformHeadId() + ", buttonCode=" + getButtonCode() + ", cgJavaType=" + getCgJavaType() + ", cgJavaValue=" + getCgJavaValue() + ", activeStatus=" + getActiveStatus() + ", event=" + getEvent() + ")"; }
|
}
|
||||||
|
|
||||||
|
public String getId() {
|
||||||
|
return this.id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCgformHeadId() {
|
||||||
|
return this.cgformHeadId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getButtonCode() {
|
||||||
|
return this.buttonCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCgJavaType() {
|
||||||
|
return this.cgJavaType;
|
||||||
|
}
|
||||||
|
|
||||||
public String getId() {
|
public String getCgJavaValue() {
|
||||||
return this.id;
|
return this.cgJavaValue;
|
||||||
} public String getCgformHeadId() {
|
}
|
||||||
return this.cgformHeadId;
|
|
||||||
} public String getButtonCode() {
|
public String getActiveStatus() {
|
||||||
return this.buttonCode;
|
return this.activeStatus;
|
||||||
} public String getCgJavaType() {
|
}
|
||||||
return this.cgJavaType;
|
|
||||||
} public String getCgJavaValue() {
|
public String getEvent() {
|
||||||
return this.cgJavaValue;
|
return this.event;
|
||||||
} public String getActiveStatus() {
|
}
|
||||||
return this.activeStatus;
|
|
||||||
} public String getEvent() {
|
public void setId(String id) {
|
||||||
return this.event;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setCgformHeadId(String cgformHeadId) {
|
||||||
|
this.cgformHeadId = cgformHeadId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setButtonCode(String buttonCode) {
|
||||||
|
this.buttonCode = buttonCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCgJavaType(String cgJavaType) {
|
||||||
|
this.cgJavaType = cgJavaType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCgJavaValue(String cgJavaValue) {
|
||||||
|
this.cgJavaValue = cgJavaValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setActiveStatus(String activeStatus) {
|
||||||
|
this.activeStatus = activeStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEvent(String event) {
|
||||||
|
this.event = event;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
} else if (!(o instanceof OnlCgformEnhanceJava)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
OnlCgformEnhanceJava var2 = (OnlCgformEnhanceJava)o;
|
||||||
|
if (!var2.canEqual(this)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
label95: {
|
||||||
|
String var3 = this.getId();
|
||||||
|
String var4 = var2.getId();
|
||||||
|
if (var3 == null) {
|
||||||
|
if (var4 == null) {
|
||||||
|
break label95;
|
||||||
|
}
|
||||||
|
} else if (var3.equals(var4)) {
|
||||||
|
break label95;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var5 = this.getCgformHeadId();
|
||||||
|
String var6 = var2.getCgformHeadId();
|
||||||
|
if (var5 == null) {
|
||||||
|
if (var6 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var5.equals(var6)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var7 = this.getButtonCode();
|
||||||
|
String var8 = var2.getButtonCode();
|
||||||
|
if (var7 == null) {
|
||||||
|
if (var8 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var7.equals(var8)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label74: {
|
||||||
|
String var9 = this.getCgJavaType();
|
||||||
|
String var10 = var2.getCgJavaType();
|
||||||
|
if (var9 == null) {
|
||||||
|
if (var10 == null) {
|
||||||
|
break label74;
|
||||||
|
}
|
||||||
|
} else if (var9.equals(var10)) {
|
||||||
|
break label74;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label67: {
|
||||||
|
String var11 = this.getCgJavaValue();
|
||||||
|
String var12 = var2.getCgJavaValue();
|
||||||
|
if (var11 == null) {
|
||||||
|
if (var12 == null) {
|
||||||
|
break label67;
|
||||||
|
}
|
||||||
|
} else if (var11.equals(var12)) {
|
||||||
|
break label67;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var13 = this.getActiveStatus();
|
||||||
|
String var14 = var2.getActiveStatus();
|
||||||
|
if (var13 == null) {
|
||||||
|
if (var14 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var13.equals(var14)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var15 = this.getEvent();
|
||||||
|
String var16 = var2.getEvent();
|
||||||
|
if (var15 == null) {
|
||||||
|
if (var16 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var15.equals(var16)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected boolean canEqual(Object other) {
|
||||||
|
return other instanceof OnlCgformEnhanceJava;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int hashCode() {
|
||||||
|
boolean var1 = true;
|
||||||
|
byte var2 = 1;
|
||||||
|
String var3 = this.getId();
|
||||||
|
int var10 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
|
||||||
|
String var4 = this.getCgformHeadId();
|
||||||
|
var10 = var10 * 59 + (var4 == null ? 43 : var4.hashCode());
|
||||||
|
String var5 = this.getButtonCode();
|
||||||
|
var10 = var10 * 59 + (var5 == null ? 43 : var5.hashCode());
|
||||||
|
String var6 = this.getCgJavaType();
|
||||||
|
var10 = var10 * 59 + (var6 == null ? 43 : var6.hashCode());
|
||||||
|
String var7 = this.getCgJavaValue();
|
||||||
|
var10 = var10 * 59 + (var7 == null ? 43 : var7.hashCode());
|
||||||
|
String var8 = this.getActiveStatus();
|
||||||
|
var10 = var10 * 59 + (var8 == null ? 43 : var8.hashCode());
|
||||||
|
String var9 = this.getEvent();
|
||||||
|
var10 = var10 * 59 + (var9 == null ? 43 : var9.hashCode());
|
||||||
|
return var10;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
return "OnlCgformEnhanceJava(id=" + this.getId() + ", cgformHeadId=" + this.getCgformHeadId() + ", buttonCode=" + this.getButtonCode() + ", cgJavaType=" + this.getCgJavaType() + ", cgJavaValue=" + this.getCgJavaValue() + ", activeStatus=" + this.getActiveStatus() + ", event=" + this.getEvent() + ")";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\entity\OnlCgformEnhanceJava.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+145
-29
@@ -1,44 +1,160 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.entity;
|
package com.jero.generater.modules.online.cgform.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@TableName("onl_cgform_enhance_js")
|
@TableName("onl_cgform_enhance_js")
|
||||||
public class OnlCgformEnhanceJs implements Serializable {
|
public class OnlCgformEnhanceJs implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId(type = IdType.UUID)
|
@TableId(
|
||||||
private String id;
|
type = IdType.UUID
|
||||||
private String cgformHeadId;
|
)
|
||||||
private String cgJsType;
|
private String id;
|
||||||
private String cgJs;
|
private String cgformHeadId;
|
||||||
private String content;
|
private String cgJsType;
|
||||||
|
private String cgJs;
|
||||||
|
private String content;
|
||||||
|
|
||||||
public void setId(String id) { this.id = id; } public void setCgformHeadId(String cgformHeadId) { this.cgformHeadId = cgformHeadId; } public void setCgJsType(String cgJsType) { this.cgJsType = cgJsType; } public void setCgJs(String cgJs) { this.cgJs = cgJs; } public void setContent(String content) { this.content = content; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof OnlCgformEnhanceJs)) return false; OnlCgformEnhanceJs onlCgformEnhanceJs = (OnlCgformEnhanceJs)o; if (!onlCgformEnhanceJs.canEqual(this)) return false; String str1 = getId(), str2 = onlCgformEnhanceJs.getId(); if ((str1 == null) ? (str2 != null) : !str1.equals(str2)) return false; String str3 = getCgformHeadId(), str4 = onlCgformEnhanceJs.getCgformHeadId(); if ((str3 == null) ? (str4 != null) : !str3.equals(str4)) return false; String str5 = getCgJsType(), str6 = onlCgformEnhanceJs.getCgJsType(); if ((str5 == null) ? (str6 != null) : !str5.equals(str6)) return false; String str7 = getCgJs(), str8 = onlCgformEnhanceJs.getCgJs(); if ((str7 == null) ? (str8 != null) : !str7.equals(str8)) return false; String str9 = getContent(), str10 = onlCgformEnhanceJs.getContent(); return !((str9 == null) ? (str10 != null) : !str9.equals(str10)); } protected boolean canEqual(Object other) { return other instanceof OnlCgformEnhanceJs; } public int hashCode() { byte b = 59; null = 1; String str1 = getId(); null = null * 59 + ((str1 == null) ? 43 : str1.hashCode()); String str2 = getCgformHeadId(); null = null * 59 + ((str2 == null) ? 43 : str2.hashCode()); String str3 = getCgJsType(); null = null * 59 + ((str3 == null) ? 43 : str3.hashCode()); String str4 = getCgJs(); null = null * 59 + ((str4 == null) ? 43 : str4.hashCode()); String str5 = getContent(); return null * 59 + ((str5 == null) ? 43 : str5.hashCode()); } public String toString() { return "OnlCgformEnhanceJs(id=" + getId() + ", cgformHeadId=" + getCgformHeadId() + ", cgJsType=" + getCgJsType() + ", cgJs=" + getCgJs() + ", content=" + getContent() + ")"; }
|
public OnlCgformEnhanceJs() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getId() {
|
||||||
|
return this.id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCgformHeadId() {
|
||||||
|
return this.cgformHeadId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCgJsType() {
|
||||||
|
return this.cgJsType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCgJs() {
|
||||||
|
return this.cgJs;
|
||||||
|
}
|
||||||
|
|
||||||
public String getId() {
|
public String getContent() {
|
||||||
return this.id;
|
return this.content;
|
||||||
}
|
}
|
||||||
public String getCgformHeadId() {
|
|
||||||
return this.cgformHeadId;
|
public void setId(String id) {
|
||||||
}
|
this.id = id;
|
||||||
public String getCgJsType() {
|
}
|
||||||
return this.cgJsType;
|
|
||||||
}
|
public void setCgformHeadId(String cgformHeadId) {
|
||||||
public String getCgJs() {
|
this.cgformHeadId = cgformHeadId;
|
||||||
return this.cgJs;
|
}
|
||||||
}
|
|
||||||
public String getContent() {
|
public void setCgJsType(String cgJsType) {
|
||||||
return this.content;
|
this.cgJsType = cgJsType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setCgJs(String cgJs) {
|
||||||
|
this.cgJs = cgJs;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setContent(String content) {
|
||||||
|
this.content = content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
} else if (!(o instanceof OnlCgformEnhanceJs)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
OnlCgformEnhanceJs var2 = (OnlCgformEnhanceJs)o;
|
||||||
|
if (!var2.canEqual(this)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
label71: {
|
||||||
|
String var3 = this.getId();
|
||||||
|
String var4 = var2.getId();
|
||||||
|
if (var3 == null) {
|
||||||
|
if (var4 == null) {
|
||||||
|
break label71;
|
||||||
|
}
|
||||||
|
} else if (var3.equals(var4)) {
|
||||||
|
break label71;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var5 = this.getCgformHeadId();
|
||||||
|
String var6 = var2.getCgformHeadId();
|
||||||
|
if (var5 == null) {
|
||||||
|
if (var6 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var5.equals(var6)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label57: {
|
||||||
|
String var7 = this.getCgJsType();
|
||||||
|
String var8 = var2.getCgJsType();
|
||||||
|
if (var7 == null) {
|
||||||
|
if (var8 == null) {
|
||||||
|
break label57;
|
||||||
|
}
|
||||||
|
} else if (var7.equals(var8)) {
|
||||||
|
break label57;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var9 = this.getCgJs();
|
||||||
|
String var10 = var2.getCgJs();
|
||||||
|
if (var9 == null) {
|
||||||
|
if (var10 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var9.equals(var10)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var11 = this.getContent();
|
||||||
|
String var12 = var2.getContent();
|
||||||
|
if (var11 == null) {
|
||||||
|
if (var12 == null) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
} else if (var11.equals(var12)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected boolean canEqual(Object other) {
|
||||||
|
return other instanceof OnlCgformEnhanceJs;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int hashCode() {
|
||||||
|
boolean var1 = true;
|
||||||
|
byte var2 = 1;
|
||||||
|
String var3 = this.getId();
|
||||||
|
int var8 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
|
||||||
|
String var4 = this.getCgformHeadId();
|
||||||
|
var8 = var8 * 59 + (var4 == null ? 43 : var4.hashCode());
|
||||||
|
String var5 = this.getCgJsType();
|
||||||
|
var8 = var8 * 59 + (var5 == null ? 43 : var5.hashCode());
|
||||||
|
String var6 = this.getCgJs();
|
||||||
|
var8 = var8 * 59 + (var6 == null ? 43 : var6.hashCode());
|
||||||
|
String var7 = this.getContent();
|
||||||
|
var8 = var8 * 59 + (var7 == null ? 43 : var7.hashCode());
|
||||||
|
return var8;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
return "OnlCgformEnhanceJs(id=" + this.getId() + ", cgformHeadId=" + this.getCgformHeadId() + ", cgJsType=" + this.getCgJsType() + ", cgJs=" + this.getCgJs() + ", content=" + this.getContent() + ")";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\entity\OnlCgformEnhanceJs.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+170
-28
@@ -1,39 +1,181 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.entity;
|
package com.jero.generater.modules.online.cgform.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
@TableName("onl_cgform_enhance_sql")
|
@TableName("onl_cgform_enhance_sql")
|
||||||
public class OnlCgformEnhanceSql implements Serializable {
|
public class OnlCgformEnhanceSql implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId(type = IdType.UUID)
|
@TableId(
|
||||||
private String id;
|
type = IdType.UUID
|
||||||
private String cgformHeadId;
|
)
|
||||||
|
private String id;
|
||||||
|
private String cgformHeadId;
|
||||||
|
private String buttonCode;
|
||||||
|
private String cgbSql;
|
||||||
|
private String cgbSqlName;
|
||||||
|
private String content;
|
||||||
|
|
||||||
public void setId(String id) { this.id = id; } private String buttonCode; private String cgbSql; private String cgbSqlName; private String content; public void setCgformHeadId(String cgformHeadId) { this.cgformHeadId = cgformHeadId; } public void setButtonCode(String buttonCode) { this.buttonCode = buttonCode; } public void setCgbSql(String cgbSql) { this.cgbSql = cgbSql; } public void setCgbSqlName(String cgbSqlName) { this.cgbSqlName = cgbSqlName; } public void setContent(String content) { this.content = content; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof OnlCgformEnhanceSql)) return false; OnlCgformEnhanceSql onlCgformEnhanceSql = (OnlCgformEnhanceSql)o; if (!onlCgformEnhanceSql.canEqual(this)) return false; String str1 = getId(), str2 = onlCgformEnhanceSql.getId(); if ((str1 == null) ? (str2 != null) : !str1.equals(str2)) return false; String str3 = getCgformHeadId(), str4 = onlCgformEnhanceSql.getCgformHeadId(); if ((str3 == null) ? (str4 != null) : !str3.equals(str4)) return false; String str5 = getButtonCode(), str6 = onlCgformEnhanceSql.getButtonCode(); if ((str5 == null) ? (str6 != null) : !str5.equals(str6)) return false; String str7 = getCgbSql(), str8 = onlCgformEnhanceSql.getCgbSql(); if ((str7 == null) ? (str8 != null) : !str7.equals(str8)) return false; String str9 = getCgbSqlName(), str10 = onlCgformEnhanceSql.getCgbSqlName(); if ((str9 == null) ? (str10 != null) : !str9.equals(str10)) return false; String str11 = getContent(), str12 = onlCgformEnhanceSql.getContent(); return !((str11 == null) ? (str12 != null) : !str11.equals(str12)); } protected boolean canEqual(Object other) { return other instanceof OnlCgformEnhanceSql; } public int hashCode() { byte b = 59; null = 1; String str1 = getId(); null = null * 59 + ((str1 == null) ? 43 : str1.hashCode()); String str2 = getCgformHeadId(); null = null * 59 + ((str2 == null) ? 43 : str2.hashCode()); String str3 = getButtonCode(); null = null * 59 + ((str3 == null) ? 43 : str3.hashCode()); String str4 = getCgbSql(); null = null * 59 + ((str4 == null) ? 43 : str4.hashCode()); String str5 = getCgbSqlName(); null = null * 59 + ((str5 == null) ? 43 : str5.hashCode()); String str6 = getContent(); return null * 59 + ((str6 == null) ? 43 : str6.hashCode()); } public String toString() { return "OnlCgformEnhanceSql(id=" + getId() + ", cgformHeadId=" + getCgformHeadId() + ", buttonCode=" + getButtonCode() + ", cgbSql=" + getCgbSql() + ", cgbSqlName=" + getCgbSqlName() + ", content=" + getContent() + ")"; }
|
public OnlCgformEnhanceSql() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getId() {
|
||||||
|
return this.id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCgformHeadId() {
|
||||||
|
return this.cgformHeadId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getButtonCode() {
|
||||||
|
return this.buttonCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCgbSql() {
|
||||||
|
return this.cgbSql;
|
||||||
|
}
|
||||||
|
|
||||||
public String getId() {
|
public String getCgbSqlName() {
|
||||||
return this.id;
|
return this.cgbSqlName;
|
||||||
}
|
}
|
||||||
public String getCgformHeadId() {
|
|
||||||
return this.cgformHeadId;
|
public String getContent() {
|
||||||
}
|
return this.content;
|
||||||
public String getButtonCode() {
|
}
|
||||||
return this.buttonCode;
|
|
||||||
}
|
public void setId(String id) {
|
||||||
public String getCgbSql() {
|
this.id = id;
|
||||||
return this.cgbSql;
|
}
|
||||||
} public String getCgbSqlName() {
|
|
||||||
return this.cgbSqlName;
|
public void setCgformHeadId(String cgformHeadId) {
|
||||||
}
|
this.cgformHeadId = cgformHeadId;
|
||||||
public String getContent() {
|
}
|
||||||
return this.content;
|
|
||||||
}
|
public void setButtonCode(String buttonCode) {
|
||||||
|
this.buttonCode = buttonCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCgbSql(String cgbSql) {
|
||||||
|
this.cgbSql = cgbSql;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCgbSqlName(String cgbSqlName) {
|
||||||
|
this.cgbSqlName = cgbSqlName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setContent(String content) {
|
||||||
|
this.content = content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
} else if (!(o instanceof OnlCgformEnhanceSql)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
OnlCgformEnhanceSql var2 = (OnlCgformEnhanceSql)o;
|
||||||
|
if (!var2.canEqual(this)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
String var3 = this.getId();
|
||||||
|
String var4 = var2.getId();
|
||||||
|
if (var3 == null) {
|
||||||
|
if (var4 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var3.equals(var4)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var5 = this.getCgformHeadId();
|
||||||
|
String var6 = var2.getCgformHeadId();
|
||||||
|
if (var5 == null) {
|
||||||
|
if (var6 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var5.equals(var6)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var7 = this.getButtonCode();
|
||||||
|
String var8 = var2.getButtonCode();
|
||||||
|
if (var7 == null) {
|
||||||
|
if (var8 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var7.equals(var8)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label62: {
|
||||||
|
String var9 = this.getCgbSql();
|
||||||
|
String var10 = var2.getCgbSql();
|
||||||
|
if (var9 == null) {
|
||||||
|
if (var10 == null) {
|
||||||
|
break label62;
|
||||||
|
}
|
||||||
|
} else if (var9.equals(var10)) {
|
||||||
|
break label62;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label55: {
|
||||||
|
String var11 = this.getCgbSqlName();
|
||||||
|
String var12 = var2.getCgbSqlName();
|
||||||
|
if (var11 == null) {
|
||||||
|
if (var12 == null) {
|
||||||
|
break label55;
|
||||||
|
}
|
||||||
|
} else if (var11.equals(var12)) {
|
||||||
|
break label55;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var13 = this.getContent();
|
||||||
|
String var14 = var2.getContent();
|
||||||
|
if (var13 == null) {
|
||||||
|
if (var14 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var13.equals(var14)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected boolean canEqual(Object other) {
|
||||||
|
return other instanceof OnlCgformEnhanceSql;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int hashCode() {
|
||||||
|
boolean var1 = true;
|
||||||
|
byte var2 = 1;
|
||||||
|
String var3 = this.getId();
|
||||||
|
int var9 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
|
||||||
|
String var4 = this.getCgformHeadId();
|
||||||
|
var9 = var9 * 59 + (var4 == null ? 43 : var4.hashCode());
|
||||||
|
String var5 = this.getButtonCode();
|
||||||
|
var9 = var9 * 59 + (var5 == null ? 43 : var5.hashCode());
|
||||||
|
String var6 = this.getCgbSql();
|
||||||
|
var9 = var9 * 59 + (var6 == null ? 43 : var6.hashCode());
|
||||||
|
String var7 = this.getCgbSqlName();
|
||||||
|
var9 = var9 * 59 + (var7 == null ? 43 : var7.hashCode());
|
||||||
|
String var8 = this.getContent();
|
||||||
|
var9 = var9 * 59 + (var8 == null ? 43 : var8.hashCode());
|
||||||
|
return var9;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
return "OnlCgformEnhanceSql(id=" + this.getId() + ", cgformHeadId=" + this.getCgformHeadId() + ", buttonCode=" + this.getButtonCode() + ", cgbSql=" + this.getCgbSql() + ", cgbSqlName=" + this.getCgbSqlName() + ", content=" + this.getContent() + ")";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\entity\OnlCgformEnhanceSql.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+1039
-120
File diff suppressed because one or more lines are too long
+809
-95
File diff suppressed because one or more lines are too long
+303
-39
@@ -1,5 +1,7 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.entity;
|
package com.jero.generater.modules.online.cgform.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
@@ -9,51 +11,313 @@ import org.springframework.format.annotation.DateTimeFormat;
|
|||||||
|
|
||||||
@TableName("onl_cgform_index")
|
@TableName("onl_cgform_index")
|
||||||
public class OnlCgformIndex implements Serializable {
|
public class OnlCgformIndex implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId(type = IdType.UUID)
|
@TableId(
|
||||||
private String id;
|
type = IdType.UUID
|
||||||
private String cgformHeadId;
|
)
|
||||||
private String indexName;
|
private String id;
|
||||||
private String indexField;
|
private String cgformHeadId;
|
||||||
private String isDbSynch;
|
private String indexName;
|
||||||
|
private String indexField;
|
||||||
|
private String isDbSynch;
|
||||||
|
private Integer delFlag;
|
||||||
|
private String indexType;
|
||||||
|
private String createBy;
|
||||||
|
@JsonFormat(
|
||||||
|
timezone = "GMT+8",
|
||||||
|
pattern = "yyyy-MM-dd HH:mm:ss"
|
||||||
|
)
|
||||||
|
@DateTimeFormat(
|
||||||
|
pattern = "yyyy-MM-dd HH:mm:ss"
|
||||||
|
)
|
||||||
|
private Date createTime;
|
||||||
|
private String updateBy;
|
||||||
|
@JsonFormat(
|
||||||
|
timezone = "GMT+8",
|
||||||
|
pattern = "yyyy-MM-dd HH:mm:ss"
|
||||||
|
)
|
||||||
|
@DateTimeFormat(
|
||||||
|
pattern = "yyyy-MM-dd HH:mm:ss"
|
||||||
|
)
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
public void setId(String id) { this.id = id; } private Integer delFlag; private String indexType; private String createBy; @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date createTime; private String updateBy; @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date updateTime; public void setCgformHeadId(String cgformHeadId) { this.cgformHeadId = cgformHeadId; } public void setIndexName(String indexName) { this.indexName = indexName; } public void setIndexField(String indexField) { this.indexField = indexField; } public void setIsDbSynch(String isDbSynch) { this.isDbSynch = isDbSynch; } public void setDelFlag(Integer delFlag) { this.delFlag = delFlag; } public void setIndexType(String indexType) { this.indexType = indexType; } public void setCreateBy(String createBy) { this.createBy = createBy; } @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") public void setCreateTime(Date createTime) { this.createTime = createTime; } public void setUpdateBy(String updateBy) { this.updateBy = updateBy; } @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof OnlCgformIndex)) return false; OnlCgformIndex onlCgformIndex = (OnlCgformIndex)o; if (!onlCgformIndex.canEqual(this)) return false; Integer integer1 = getDelFlag(), integer2 = onlCgformIndex.getDelFlag(); if ((integer1 == null) ? (integer2 != null) : !integer1.equals(integer2)) return false; String str1 = getId(), str2 = onlCgformIndex.getId(); if ((str1 == null) ? (str2 != null) : !str1.equals(str2)) return false; String str3 = getCgformHeadId(), str4 = onlCgformIndex.getCgformHeadId(); if ((str3 == null) ? (str4 != null) : !str3.equals(str4)) return false; String str5 = getIndexName(), str6 = onlCgformIndex.getIndexName(); if ((str5 == null) ? (str6 != null) : !str5.equals(str6)) return false; String str7 = getIndexField(), str8 = onlCgformIndex.getIndexField(); if ((str7 == null) ? (str8 != null) : !str7.equals(str8)) return false; String str9 = getIsDbSynch(), str10 = onlCgformIndex.getIsDbSynch(); if ((str9 == null) ? (str10 != null) : !str9.equals(str10)) return false; String str11 = getIndexType(), str12 = onlCgformIndex.getIndexType(); if ((str11 == null) ? (str12 != null) : !str11.equals(str12)) return false; String str13 = getCreateBy(), str14 = onlCgformIndex.getCreateBy(); if ((str13 == null) ? (str14 != null) : !str13.equals(str14)) return false; Date date1 = getCreateTime(), date2 = onlCgformIndex.getCreateTime(); if ((date1 == null) ? (date2 != null) : !date1.equals(date2)) return false; String str15 = getUpdateBy(), str16 = onlCgformIndex.getUpdateBy(); if ((str15 == null) ? (str16 != null) : !str15.equals(str16)) return false; Date date3 = getUpdateTime(), date4 = onlCgformIndex.getUpdateTime(); return !((date3 == null) ? (date4 != null) : !date3.equals(date4)); } protected boolean canEqual(Object other) { return other instanceof OnlCgformIndex; } public int hashCode() { byte b = 59; null = 1; Integer integer = getDelFlag(); null = null * 59 + ((integer == null) ? 43 : integer.hashCode()); String str1 = getId(); null = null * 59 + ((str1 == null) ? 43 : str1.hashCode()); String str2 = getCgformHeadId(); null = null * 59 + ((str2 == null) ? 43 : str2.hashCode()); String str3 = getIndexName(); null = null * 59 + ((str3 == null) ? 43 : str3.hashCode()); String str4 = getIndexField(); null = null * 59 + ((str4 == null) ? 43 : str4.hashCode()); String str5 = getIsDbSynch(); null = null * 59 + ((str5 == null) ? 43 : str5.hashCode()); String str6 = getIndexType(); null = null * 59 + ((str6 == null) ? 43 : str6.hashCode()); String str7 = getCreateBy(); null = null * 59 + ((str7 == null) ? 43 : str7.hashCode()); Date date1 = getCreateTime(); null = null * 59 + ((date1 == null) ? 43 : date1.hashCode()); String str8 = getUpdateBy(); null = null * 59 + ((str8 == null) ? 43 : str8.hashCode()); Date date2 = getUpdateTime(); return null * 59 + ((date2 == null) ? 43 : date2.hashCode()); } public String toString() { return "OnlCgformIndex(id=" + getId() + ", cgformHeadId=" + getCgformHeadId() + ", indexName=" + getIndexName() + ", indexField=" + getIndexField() + ", isDbSynch=" + getIsDbSynch() + ", delFlag=" + getDelFlag() + ", indexType=" + getIndexType() + ", createBy=" + getCreateBy() + ", createTime=" + getCreateTime() + ", updateBy=" + getUpdateBy() + ", updateTime=" + getUpdateTime() + ")"; }
|
public OnlCgformIndex() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getId() {
|
||||||
|
return this.id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCgformHeadId() {
|
||||||
|
return this.cgformHeadId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIndexName() {
|
||||||
|
return this.indexName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIndexField() {
|
||||||
|
return this.indexField;
|
||||||
|
}
|
||||||
|
|
||||||
public String getId() {
|
public String getIsDbSynch() {
|
||||||
return this.id;
|
return this.isDbSynch;
|
||||||
} public String getCgformHeadId() {
|
}
|
||||||
return this.cgformHeadId;
|
|
||||||
} public String getIndexName() {
|
|
||||||
return this.indexName;
|
|
||||||
} public String getIndexField() {
|
|
||||||
return this.indexField;
|
|
||||||
} public String getIsDbSynch() {
|
|
||||||
return this.isDbSynch;
|
|
||||||
} public Integer getDelFlag() {
|
|
||||||
return this.delFlag;
|
|
||||||
} public String getIndexType() {
|
|
||||||
return this.indexType;
|
|
||||||
} public String getCreateBy() {
|
|
||||||
return this.createBy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Date getCreateTime() {
|
public Integer getDelFlag() {
|
||||||
return this.createTime;
|
return this.delFlag;
|
||||||
} public String getUpdateBy() {
|
}
|
||||||
return this.updateBy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Date getUpdateTime() {
|
public String getIndexType() {
|
||||||
return this.updateTime;
|
return this.indexType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getCreateBy() {
|
||||||
|
return this.createBy;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getCreateTime() {
|
||||||
|
return this.createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUpdateBy() {
|
||||||
|
return this.updateBy;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getUpdateTime() {
|
||||||
|
return this.updateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(String id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCgformHeadId(String cgformHeadId) {
|
||||||
|
this.cgformHeadId = cgformHeadId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndexName(String indexName) {
|
||||||
|
this.indexName = indexName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndexField(String indexField) {
|
||||||
|
this.indexField = indexField;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIsDbSynch(String isDbSynch) {
|
||||||
|
this.isDbSynch = isDbSynch;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDelFlag(Integer delFlag) {
|
||||||
|
this.delFlag = delFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndexType(String indexType) {
|
||||||
|
this.indexType = indexType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateBy(String createBy) {
|
||||||
|
this.createBy = createBy;
|
||||||
|
}
|
||||||
|
|
||||||
|
@JsonFormat(
|
||||||
|
timezone = "GMT+8",
|
||||||
|
pattern = "yyyy-MM-dd HH:mm:ss"
|
||||||
|
)
|
||||||
|
public void setCreateTime(Date createTime) {
|
||||||
|
this.createTime = createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUpdateBy(String updateBy) {
|
||||||
|
this.updateBy = updateBy;
|
||||||
|
}
|
||||||
|
|
||||||
|
@JsonFormat(
|
||||||
|
timezone = "GMT+8",
|
||||||
|
pattern = "yyyy-MM-dd HH:mm:ss"
|
||||||
|
)
|
||||||
|
public void setUpdateTime(Date updateTime) {
|
||||||
|
this.updateTime = updateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
} else if (!(o instanceof OnlCgformIndex)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
OnlCgformIndex var2 = (OnlCgformIndex)o;
|
||||||
|
if (!var2.canEqual(this)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
label143: {
|
||||||
|
Integer var3 = this.getDelFlag();
|
||||||
|
Integer var4 = var2.getDelFlag();
|
||||||
|
if (var3 == null) {
|
||||||
|
if (var4 == null) {
|
||||||
|
break label143;
|
||||||
|
}
|
||||||
|
} else if (var3.equals(var4)) {
|
||||||
|
break label143;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var5 = this.getId();
|
||||||
|
String var6 = var2.getId();
|
||||||
|
if (var5 == null) {
|
||||||
|
if (var6 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var5.equals(var6)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var7 = this.getCgformHeadId();
|
||||||
|
String var8 = var2.getCgformHeadId();
|
||||||
|
if (var7 == null) {
|
||||||
|
if (var8 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var7.equals(var8)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label122: {
|
||||||
|
String var9 = this.getIndexName();
|
||||||
|
String var10 = var2.getIndexName();
|
||||||
|
if (var9 == null) {
|
||||||
|
if (var10 == null) {
|
||||||
|
break label122;
|
||||||
|
}
|
||||||
|
} else if (var9.equals(var10)) {
|
||||||
|
break label122;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label115: {
|
||||||
|
String var11 = this.getIndexField();
|
||||||
|
String var12 = var2.getIndexField();
|
||||||
|
if (var11 == null) {
|
||||||
|
if (var12 == null) {
|
||||||
|
break label115;
|
||||||
|
}
|
||||||
|
} else if (var11.equals(var12)) {
|
||||||
|
break label115;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var13 = this.getIsDbSynch();
|
||||||
|
String var14 = var2.getIsDbSynch();
|
||||||
|
if (var13 == null) {
|
||||||
|
if (var14 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var13.equals(var14)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var15 = this.getIndexType();
|
||||||
|
String var16 = var2.getIndexType();
|
||||||
|
if (var15 == null) {
|
||||||
|
if (var16 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var15.equals(var16)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label94: {
|
||||||
|
String var17 = this.getCreateBy();
|
||||||
|
String var18 = var2.getCreateBy();
|
||||||
|
if (var17 == null) {
|
||||||
|
if (var18 == null) {
|
||||||
|
break label94;
|
||||||
|
}
|
||||||
|
} else if (var17.equals(var18)) {
|
||||||
|
break label94;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label87: {
|
||||||
|
Date var19 = this.getCreateTime();
|
||||||
|
Date var20 = var2.getCreateTime();
|
||||||
|
if (var19 == null) {
|
||||||
|
if (var20 == null) {
|
||||||
|
break label87;
|
||||||
|
}
|
||||||
|
} else if (var19.equals(var20)) {
|
||||||
|
break label87;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var21 = this.getUpdateBy();
|
||||||
|
String var22 = var2.getUpdateBy();
|
||||||
|
if (var21 == null) {
|
||||||
|
if (var22 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var21.equals(var22)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
Date var23 = this.getUpdateTime();
|
||||||
|
Date var24 = var2.getUpdateTime();
|
||||||
|
if (var23 == null) {
|
||||||
|
if (var24 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var23.equals(var24)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected boolean canEqual(Object other) {
|
||||||
|
return other instanceof OnlCgformIndex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int hashCode() {
|
||||||
|
boolean var1 = true;
|
||||||
|
byte var2 = 1;
|
||||||
|
Integer var3 = this.getDelFlag();
|
||||||
|
int var14 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
|
||||||
|
String var4 = this.getId();
|
||||||
|
var14 = var14 * 59 + (var4 == null ? 43 : var4.hashCode());
|
||||||
|
String var5 = this.getCgformHeadId();
|
||||||
|
var14 = var14 * 59 + (var5 == null ? 43 : var5.hashCode());
|
||||||
|
String var6 = this.getIndexName();
|
||||||
|
var14 = var14 * 59 + (var6 == null ? 43 : var6.hashCode());
|
||||||
|
String var7 = this.getIndexField();
|
||||||
|
var14 = var14 * 59 + (var7 == null ? 43 : var7.hashCode());
|
||||||
|
String var8 = this.getIsDbSynch();
|
||||||
|
var14 = var14 * 59 + (var8 == null ? 43 : var8.hashCode());
|
||||||
|
String var9 = this.getIndexType();
|
||||||
|
var14 = var14 * 59 + (var9 == null ? 43 : var9.hashCode());
|
||||||
|
String var10 = this.getCreateBy();
|
||||||
|
var14 = var14 * 59 + (var10 == null ? 43 : var10.hashCode());
|
||||||
|
Date var11 = this.getCreateTime();
|
||||||
|
var14 = var14 * 59 + (var11 == null ? 43 : var11.hashCode());
|
||||||
|
String var12 = this.getUpdateBy();
|
||||||
|
var14 = var14 * 59 + (var12 == null ? 43 : var12.hashCode());
|
||||||
|
Date var13 = this.getUpdateTime();
|
||||||
|
var14 = var14 * 59 + (var13 == null ? 43 : var13.hashCode());
|
||||||
|
return var14;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
return "OnlCgformIndex(id=" + this.getId() + ", cgformHeadId=" + this.getCgformHeadId() + ", indexName=" + this.getIndexName() + ", indexField=" + this.getIndexField() + ", isDbSynch=" + this.getIsDbSynch() + ", delFlag=" + this.getDelFlag() + ", indexType=" + this.getIndexType() + ", createBy=" + this.getCreateBy() + ", createTime=" + this.getCreateTime() + ", updateBy=" + this.getUpdateBy() + ", updateTime=" + this.getUpdateTime() + ")";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\entity\OnlCgformIndex.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+6
-16
@@ -1,19 +1,9 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.enums;
|
package com.jero.generater.modules.online.cgform.enums;
|
||||||
|
|
||||||
|
public interface CgformConstant {
|
||||||
|
Integer ONLINE_TABLE_TYPE_SUB = 3;
|
||||||
|
Integer ONLINE_TABLE_TYPE_ONE = 1;
|
||||||
|
Integer ONLINE_TABLE_TYPE_MAIN = 2;
|
||||||
public interface CgformConstant
|
String ONLINE_JS_CHANGE_FUNCTION_NAME = "onlChange";
|
||||||
{
|
|
||||||
public static final Integer ONLINE_TABLE_TYPE_SUB = Integer.valueOf(3);
|
|
||||||
public static final Integer ONLINE_TABLE_TYPE_ONE = Integer.valueOf(1);
|
|
||||||
public static final Integer ONLINE_TABLE_TYPE_MAIN = Integer.valueOf(2);
|
|
||||||
public static final String ONLINE_JS_CHANGE_FUNCTION_NAME = "onlChange";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\enums\CgformConstant.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+60
-74
@@ -1,80 +1,66 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.enums;
|
package com.jero.generater.modules.online.cgform.enums;
|
||||||
|
|
||||||
|
public enum CgformValidPatternEnum {
|
||||||
|
ONLY("only", "only", ""),
|
||||||
|
NUM6_16("n6-16", "^\\d{6,16}$", "请输入6-16位的数字"),
|
||||||
|
STRING6_16("*6-16", "^.{6,16}$", "请输入6-16位任意字符"),
|
||||||
|
LETTER6_18("s6-18", "^[a-z|A-Z]{6,18}$", "请输入6-18位字母"),
|
||||||
|
URL("url", "^((ht|f)tps?):\\/\\/[\\w\\-]+(\\.[\\w\\-]+)+([\\w\\-.,@?^=%&:\\/~+#]*[\\w\\-@?^=%&\\/~+#])?$", "请输入正规的网址"),
|
||||||
|
MOBILE("m", "^1[3456789]\\d{9}$", "请输入正规的手机号码"),
|
||||||
|
POSTAL("p", "^[1-9]\\d{5}$", "请输入正规的邮政编码"),
|
||||||
|
LETTER("s", "[A-Z|a-z]+$", "请输入字母"),
|
||||||
|
NUMBER("n", "^-?\\d+(\\.?\\d+|\\d?)$", "请输入数字"),
|
||||||
|
INTEGER("z", "z", "请输入整数"),
|
||||||
|
NOTNULL("*", "^.+$", "该字段不能为空"),
|
||||||
|
EMAIL("e", "^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$", "请输入正确格式的邮箱地址"),
|
||||||
|
MONEY("money", "^(([1-9][0-9]*)|([0]\\.\\d{0,2}|[1-9][0-9]*\\.\\d{0,5}))$", "请输入正确的金额");
|
||||||
|
|
||||||
|
String type;
|
||||||
|
String pattern;
|
||||||
|
String msg;
|
||||||
|
|
||||||
|
private CgformValidPatternEnum(String type, String pattern, String msg) {
|
||||||
|
this.pattern = pattern;
|
||||||
public enum CgformValidPatternEnum
|
this.msg = msg;
|
||||||
{
|
this.type = type;
|
||||||
ONLY("only", "only", ""),
|
}
|
||||||
|
|
||||||
NUM6_16("n6-16", "^\\d{6,16}$", "请输入6-16位的数字"),
|
public String getType() {
|
||||||
|
return this.type;
|
||||||
STRING6_16("*6-16", "^.{6,16}$", "请输入6-16位任意字符"),
|
}
|
||||||
|
|
||||||
LETTER6_18("s6-18", "^[a-z|A-Z]{6,18}$", "请输入6-18位字母"),
|
public void setType(String type) {
|
||||||
|
this.type = type;
|
||||||
URL("url", "^((ht|f)tps?):\\/\\/[\\w\\-]+(\\.[\\w\\-]+)+([\\w\\-.,@?^=%&:\\/~+#]*[\\w\\-@?^=%&\\/~+#])?$", "请输入正规的网址"),
|
}
|
||||||
|
|
||||||
MOBILE("m", "^1[3456789]\\d{9}$", "请输入正规的手机号码"),
|
public String getPattern() {
|
||||||
|
return this.pattern;
|
||||||
POSTAL("p", "^[1-9]\\d{5}$", "请输入正规的邮政编码"),
|
}
|
||||||
|
|
||||||
LETTER("s", "[A-Z|a-z]+$", "请输入字母"),
|
public void setPattern(String pattern) {
|
||||||
|
this.pattern = pattern;
|
||||||
NUMBER("n", "^-?\\d+(\\.?\\d+|\\d?)$", "请输入数字"),
|
}
|
||||||
|
|
||||||
INTEGER("z", "z", "请输入整数"),
|
public String getMsg() {
|
||||||
|
return this.msg;
|
||||||
NOTNULL("*", "^.+$", "该字段不能为空"),
|
}
|
||||||
|
|
||||||
EMAIL("e", "^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$", "请输入正确格式的邮箱地址"),
|
public void setMsg(String msg) {
|
||||||
|
this.msg = msg;
|
||||||
MONEY("money", "^(([1-9][0-9]*)|([0]\\.\\d{0,2}|[1-9][0-9]*\\.\\d{0,5}))$", "请输入正确的金额");
|
}
|
||||||
|
|
||||||
String type;
|
public static CgformValidPatternEnum getPatternInfoByType(String type) {
|
||||||
|
CgformValidPatternEnum[] var1 = values();
|
||||||
String pattern;
|
int var2 = var1.length;
|
||||||
|
|
||||||
String msg;
|
for(int var3 = 0; var3 < var2; ++var3) {
|
||||||
|
CgformValidPatternEnum var4 = var1[var3];
|
||||||
CgformValidPatternEnum(String type, String pattern, String msg) {
|
if (var4.type.equals(type)) {
|
||||||
this.pattern = pattern;
|
return var4;
|
||||||
this.msg = msg;
|
}
|
||||||
this.type = type;
|
}
|
||||||
}
|
|
||||||
|
return null;
|
||||||
public String getType() {
|
|
||||||
return this.type;
|
|
||||||
}
|
|
||||||
public void setType(String type) {
|
|
||||||
this.type = type;
|
|
||||||
}
|
|
||||||
public String getPattern() {
|
|
||||||
return this.pattern;
|
|
||||||
}
|
|
||||||
public void setPattern(String pattern) {
|
|
||||||
this.pattern = pattern;
|
|
||||||
}
|
|
||||||
public String getMsg() {
|
|
||||||
return this.msg;
|
|
||||||
}
|
|
||||||
public void setMsg(String msg) {
|
|
||||||
this.msg = msg;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static CgformValidPatternEnum getPatternInfoByType(String type) {
|
|
||||||
for (CgformValidPatternEnum cgformValidPatternEnum : values()) {
|
|
||||||
if (cgformValidPatternEnum.type.equals(type)) {
|
|
||||||
return cgformValidPatternEnum;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\enums\CgformValidPatternEnum.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+36
-47
@@ -1,58 +1,47 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.enums;
|
package com.jero.generater.modules.online.cgform.enums;
|
||||||
|
|
||||||
|
public enum DataBaseEnum {
|
||||||
|
MYSQL("MYSQL", "1"),
|
||||||
|
ORACLE("ORACLE", "2"),
|
||||||
|
SQLSERVER("SQLSERVER", "3"),
|
||||||
|
POSTGRESQL("POSTGRESQL", "4");
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
private String value;
|
||||||
|
|
||||||
|
private DataBaseEnum(String name, String value) {
|
||||||
public enum DataBaseEnum
|
this.name = name;
|
||||||
{
|
this.value = value;
|
||||||
MYSQL("MYSQL", "1"),
|
|
||||||
ORACLE("ORACLE", "2"),
|
|
||||||
SQLSERVER("SQLSERVER", "3"),
|
|
||||||
POSTGRESQL("POSTGRESQL", "4");
|
|
||||||
|
|
||||||
DataBaseEnum(String name, String value) {
|
|
||||||
this.name = name;
|
|
||||||
this.value = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private String name;
|
|
||||||
|
|
||||||
|
|
||||||
private String value;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public static String getDataBaseNameByValue(String value) {
|
|
||||||
for (DataBaseEnum dataBaseEnum : values()) {
|
|
||||||
if (dataBaseEnum.value.equals(value)) {
|
|
||||||
return dataBaseEnum.name;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return MYSQL.name;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
public static String getDataBaseNameByValue(String value) {
|
||||||
|
DataBaseEnum[] var1 = values();
|
||||||
|
int var2 = var1.length;
|
||||||
|
|
||||||
public String getName() {
|
for(int var3 = 0; var3 < var2; ++var3) {
|
||||||
return this.name;
|
DataBaseEnum var4 = var1[var3];
|
||||||
}
|
if (var4.value.equals(value)) {
|
||||||
|
return var4.name;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void setName(String name) {
|
return MYSQL.name;
|
||||||
this.name = name;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public String getValue() {
|
public String getName() {
|
||||||
return this.value;
|
return this.name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setValue(String value) {
|
public void setName(String name) {
|
||||||
this.value = value;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getValue() {
|
||||||
|
return this.value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setValue(String value) {
|
||||||
|
this.value = value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\enums\DataBaseEnum.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package org.jeecg.modules.online.cgform.link;
|
package com.jero.generater.modules.online.cgform.link;
|
||||||
|
|
||||||
public class LinkDown {
|
public class LinkDown {
|
||||||
private String a;
|
private String a;
|
||||||
+3
-7
@@ -1,12 +1,8 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.mapper;
|
package com.jero.generater.modules.online.cgform.mapper;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformButton;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformButton;
|
||||||
|
|
||||||
public interface OnlCgformButtonMapper extends BaseMapper<OnlCgformButton> {}
|
public interface OnlCgformButtonMapper extends BaseMapper<OnlCgformButton> {
|
||||||
|
}
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\mapper\OnlCgformButtonMapper.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
|
|||||||
+3
-7
@@ -1,12 +1,8 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.mapper;
|
package com.jero.generater.modules.online.cgform.mapper;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceJava;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceJava;
|
||||||
|
|
||||||
public interface OnlCgformEnhanceJavaMapper extends BaseMapper<OnlCgformEnhanceJava> {}
|
public interface OnlCgformEnhanceJavaMapper extends BaseMapper<OnlCgformEnhanceJava> {
|
||||||
|
}
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\mapper\OnlCgformEnhanceJavaMapper.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
|
|||||||
+3
-7
@@ -1,12 +1,8 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.mapper;
|
package com.jero.generater.modules.online.cgform.mapper;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceJs;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceJs;
|
||||||
|
|
||||||
public interface OnlCgformEnhanceJsMapper extends BaseMapper<OnlCgformEnhanceJs> {}
|
public interface OnlCgformEnhanceJsMapper extends BaseMapper<OnlCgformEnhanceJs> {
|
||||||
|
}
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\mapper\OnlCgformEnhanceJsMapper.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
|
|||||||
+3
-7
@@ -1,12 +1,8 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.mapper;
|
package com.jero.generater.modules.online.cgform.mapper;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceSql;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceSql;
|
||||||
|
|
||||||
public interface OnlCgformEnhanceSqlMapper extends BaseMapper<OnlCgformEnhanceSql> {}
|
public interface OnlCgformEnhanceSqlMapper extends BaseMapper<OnlCgformEnhanceSql> {
|
||||||
|
}
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\mapper\OnlCgformEnhanceSqlMapper.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
|
|||||||
+31
-34
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.mapper;
|
package com.jero.generater.modules.online.cgform.mapper;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
@@ -6,43 +7,39 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Param;
|
||||||
import com.jero.generater.modules.online.cgform.a.a;
|
import com.jero.generater.modules.online.cgform.link.LinkDown;
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
import com.jero.generater.modules.online.cgform.model.TreeModel;
|
import com.jero.generater.modules.online.cgform.model.TreeModel;
|
||||||
|
|
||||||
public interface OnlCgformFieldMapper extends BaseMapper<OnlCgformField> {
|
public interface OnlCgformFieldMapper extends BaseMapper<OnlCgformField> {
|
||||||
List<Map<String, Object>> queryListBySql(@Param("sqlStr") String paramString);
|
|
||||||
|
List<Map<String, Object>> queryListBySql(@Param("sqlStr") String var1);
|
||||||
Integer queryCountBySql(@Param("sqlStr") String paramString);
|
|
||||||
|
Integer queryCountBySql(@Param("sqlStr") String var1);
|
||||||
void deleteAutoList(@Param("sqlStr") String paramString);
|
|
||||||
|
void deleteAutoList(@Param("sqlStr") String var1);
|
||||||
void saveFormData(@Param("sqlStr") String paramString);
|
|
||||||
|
void saveFormData(@Param("sqlStr") String var1);
|
||||||
void editFormData(@Param("sqlStr") String paramString);
|
|
||||||
|
void editFormData(@Param("sqlStr") String var1);
|
||||||
Map<String, Object> queryFormData(@Param("sqlStr") String paramString);
|
|
||||||
|
Map<String, Object> queryFormData(@Param("sqlStr") String var1);
|
||||||
List<Map<String, Object>> queryListData(@Param("sqlStr") String paramString);
|
|
||||||
|
List<Map<String, Object>> queryListData(@Param("sqlStr") String var1);
|
||||||
IPage<Map<String, Object>> selectPageBySql(Page<Map<String, Object>> paramPage, @Param("sqlStr") String paramString);
|
|
||||||
|
IPage<Map<String, Object>> selectPageBySql(Page<Map<String, Object>> var1, @Param("sqlStr") String var2);
|
||||||
void executeInsertSQL(Map<String, Object> paramMap);
|
|
||||||
|
void executeInsertSQL(Map<String, Object> var1);
|
||||||
void executeUpdatetSQL(Map<String, Object> paramMap);
|
|
||||||
|
void executeUpdatetSQL(Map<String, Object> var1);
|
||||||
List<String> selectOnlineHideColumns(@Param("user_id") String paramString1, @Param("online_tbname") String paramString2);
|
|
||||||
|
List<String> selectOnlineHideColumns(@Param("user_id") String var1, @Param("online_tbname") String var2);
|
||||||
List<String> selectOnlineDisabledColumns(@Param("user_id") String paramString1, @Param("online_tbname") String paramString2);
|
|
||||||
|
List<String> selectOnlineDisabledColumns(@Param("user_id") String var1, @Param("online_tbname") String var2);
|
||||||
List<String> selectFlowAuthColumns(@Param("table_name") String paramString1, @Param("task_id") String paramString2, @Param("rule_type") String paramString3);
|
|
||||||
|
List<String> selectFlowAuthColumns(@Param("table_name") String var1, @Param("task_id") String var2, @Param("rule_type") String var3);
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
@Deprecated
|
@Deprecated
|
||||||
List<TreeModel> queryDataListByLinkDown(@Param("query") a parama);
|
List<TreeModel> queryDataListByLinkDown(@Param("query") LinkDown var1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\mapper\OnlCgformFieldMapper.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+19
-24
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.mapper;
|
package com.jero.generater.modules.online.cgform.mapper;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
@@ -8,35 +9,29 @@ import org.apache.ibatis.annotations.Select;
|
|||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
||||||
|
|
||||||
public interface OnlCgformHeadMapper extends BaseMapper<OnlCgformHead> {
|
public interface OnlCgformHeadMapper extends BaseMapper<OnlCgformHead> {
|
||||||
void executeDDL(@Param("sqlStr") String paramString);
|
void executeDDL(@Param("sqlStr") String var1);
|
||||||
|
|
||||||
List<Map<String, Object>> queryList(@Param("sqlStr") String paramString);
|
List<Map<String, Object>> queryList(@Param("sqlStr") String var1);
|
||||||
|
|
||||||
List<String> queryOnlinetables();
|
List<String> queryOnlinetables();
|
||||||
|
|
||||||
Map<String, Object> queryOneByTableNameAndId(@Param("tbname") String paramString1, @Param("dataId") String paramString2);
|
Map<String, Object> queryOneByTableNameAndId(@Param("tbname") String var1, @Param("dataId") String var2);
|
||||||
|
|
||||||
void deleteOne(@Param("sqlStr") String paramString);
|
void deleteOne(@Param("sqlStr") String var1);
|
||||||
|
|
||||||
Integer queryMaxCopyVersion();
|
Integer queryMaxCopyVersion();
|
||||||
|
|
||||||
@Select({"select max(copy_version) from onl_cgform_head where physic_id = #{physicId}"})
|
@Select({"select max(copy_version) from onl_cgform_head where physic_id = #{physicId}"})
|
||||||
Integer getMaxCopyVersion(@Param("physicId") String paramString);
|
Integer getMaxCopyVersion(@Param("physicId") String var1);
|
||||||
|
|
||||||
@Select({"select table_name from onl_cgform_head where physic_id = #{physicId}"})
|
@Select({"select table_name from onl_cgform_head where physic_id = #{physicId}"})
|
||||||
List<String> queryAllCopyTableName(@Param("physicId") String paramString);
|
List<String> queryAllCopyTableName(@Param("physicId") String var1);
|
||||||
|
|
||||||
@Select({"select physic_id from onl_cgform_head GROUP BY physic_id"})
|
@Select({"select physic_id from onl_cgform_head GROUP BY physic_id"})
|
||||||
List<String> queryCopyPhysicId();
|
List<String> queryCopyPhysicId();
|
||||||
|
|
||||||
String queryCategoryIdByCode(@Param("code") String paramString);
|
String queryCategoryIdByCode(@Param("code") String var1);
|
||||||
|
|
||||||
@Select({"select count(*) from ${tableName} where ${pidField} = #{pidValue}"})
|
@Select({"select count(*) from ${tableName} where ${pidField} = #{pidValue}"})
|
||||||
Integer queryChildNode(@Param("tableName") String paramString1, @Param("pidField") String paramString2, @Param("pidValue") String paramString3);
|
Integer queryChildNode(@Param("tableName") String var1, @Param("pidField") String var2, @Param("pidValue") String var3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\mapper\OnlCgformHeadMapper.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+2
-7
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.mapper;
|
package com.jero.generater.modules.online.cgform.mapper;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
@@ -5,11 +6,5 @@ import org.apache.ibatis.annotations.Param;
|
|||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformIndex;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformIndex;
|
||||||
|
|
||||||
public interface OnlCgformIndexMapper extends BaseMapper<OnlCgformIndex> {
|
public interface OnlCgformIndexMapper extends BaseMapper<OnlCgformIndex> {
|
||||||
int queryIndexCount(@Param("sqlStr") String paramString);
|
int queryIndexCount(@Param("sqlStr") String var1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\mapper\OnlCgformIndexMapper.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+78
-17
@@ -1,23 +1,84 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.model;
|
package com.jero.generater.modules.online.cgform.model;
|
||||||
public class HrefSlots { private String slotName;
|
|
||||||
private String href;
|
|
||||||
|
|
||||||
public void setSlotName(String slotName) { this.slotName = slotName; } public void setHref(String href) { this.href = href; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof HrefSlots)) return false; HrefSlots hrefSlots = (HrefSlots)o; if (!hrefSlots.canEqual(this)) return false; String str1 = getSlotName(), str2 = hrefSlots.getSlotName(); if ((str1 == null) ? (str2 != null) : !str1.equals(str2)) return false; String str3 = getHref(), str4 = hrefSlots.getHref(); return !((str3 == null) ? (str4 != null) : !str3.equals(str4)); } protected boolean canEqual(Object other) { return other instanceof HrefSlots; } public int hashCode() { byte b = 59; null = 1; String str1 = getSlotName(); null = null * 59 + ((str1 == null) ? 43 : str1.hashCode()); String str2 = getHref(); return null * 59 + ((str2 == null) ? 43 : str2.hashCode()); } public String toString() { return "HrefSlots(slotName=" + getSlotName() + ", href=" + getHref() + ")"; }
|
public class HrefSlots {
|
||||||
|
private String slotName;
|
||||||
|
private String href;
|
||||||
|
|
||||||
public String getSlotName() {
|
public HrefSlots() {
|
||||||
return this.slotName;
|
}
|
||||||
} public String getHref() {
|
|
||||||
return this.href;
|
|
||||||
}
|
|
||||||
public HrefSlots() {}
|
|
||||||
|
|
||||||
public HrefSlots(String slotName, String href) {
|
public HrefSlots(String slotName, String href) {
|
||||||
this.slotName = slotName;
|
this.slotName = slotName;
|
||||||
this.href = href;
|
this.href = href;
|
||||||
} }
|
}
|
||||||
|
|
||||||
|
public String getSlotName() {
|
||||||
|
return this.slotName;
|
||||||
|
}
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\model\HrefSlots.class
|
public String getHref() {
|
||||||
* Java compiler version: 8 (52.0)
|
return this.href;
|
||||||
* JD-Core Version: 1.1.3
|
}
|
||||||
*/
|
|
||||||
|
public void setSlotName(String slotName) {
|
||||||
|
this.slotName = slotName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setHref(String href) {
|
||||||
|
this.href = href;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
} else if (!(o instanceof HrefSlots)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
HrefSlots var2 = (HrefSlots)o;
|
||||||
|
if (!var2.canEqual(this)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
String var3 = this.getSlotName();
|
||||||
|
String var4 = var2.getSlotName();
|
||||||
|
if (var3 == null) {
|
||||||
|
if (var4 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var3.equals(var4)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var5 = this.getHref();
|
||||||
|
String var6 = var2.getHref();
|
||||||
|
if (var5 == null) {
|
||||||
|
if (var6 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var5.equals(var6)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected boolean canEqual(Object other) {
|
||||||
|
return other instanceof HrefSlots;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int hashCode() {
|
||||||
|
boolean var1 = true;
|
||||||
|
byte var2 = 1;
|
||||||
|
String var3 = this.getSlotName();
|
||||||
|
int var5 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
|
||||||
|
String var4 = this.getHref();
|
||||||
|
var5 = var5 * 59 + (var4 == null ? 43 : var4.hashCode());
|
||||||
|
return var5;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
return "HrefSlots(slotName=" + this.getSlotName() + ", href=" + this.getHref() + ")";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
+4
-4
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.model;
|
package com.jero.generater.modules.online.cgform.model;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformHead;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformIndex;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformIndex;
|
||||||
|
|
||||||
public class OnlCgformModel {
|
public class OnlCgformModel {
|
||||||
private OnlCgformHead a;
|
private OnlCgformHead a;
|
||||||
+188
-34
@@ -1,51 +1,205 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.model;
|
package com.jero.generater.modules.online.cgform.model;
|
||||||
public class OnlColumn { private String title;
|
|
||||||
private String dataIndex;
|
|
||||||
private String align;
|
|
||||||
|
|
||||||
public void setTitle(String title) { this.title = title; } private String customRender; private d scopedSlots; private String hrefSlotName; private int showLength; public void setDataIndex(String dataIndex) { this.dataIndex = dataIndex; } public void setAlign(String align) { this.align = align; } public void setCustomRender(String customRender) { this.customRender = customRender; } public void setScopedSlots(d scopedSlots) { this.scopedSlots = scopedSlots; } public void setHrefSlotName(String hrefSlotName) { this.hrefSlotName = hrefSlotName; } public void setShowLength(int showLength) { this.showLength = showLength; } public void setSorter(boolean sorter) { this.sorter = sorter; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof OnlColumn)) return false; OnlColumn onlColumn = (OnlColumn)o; if (!onlColumn.canEqual(this)) return false; if (getShowLength() != onlColumn.getShowLength()) return false; if (isSorter() != onlColumn.isSorter()) return false; String str1 = getTitle(), str2 = onlColumn.getTitle(); if ((str1 == null) ? (str2 != null) : !str1.equals(str2)) return false; String str3 = getDataIndex(), str4 = onlColumn.getDataIndex(); if ((str3 == null) ? (str4 != null) : !str3.equals(str4)) return false; String str5 = getAlign(), str6 = onlColumn.getAlign(); if ((str5 == null) ? (str6 != null) : !str5.equals(str6)) return false; String str7 = getCustomRender(), str8 = onlColumn.getCustomRender(); if ((str7 == null) ? (str8 != null) : !str7.equals(str8)) return false; d d1 = getScopedSlots(), d2 = onlColumn.getScopedSlots(); if ((d1 == null) ? (d2 != null) : !d1.equals(d2)) return false; String str9 = getHrefSlotName(), str10 = onlColumn.getHrefSlotName(); return !((str9 == null) ? (str10 != null) : !str9.equals(str10)); } protected boolean canEqual(Object other) { return other instanceof OnlColumn; } public int hashCode() { byte b = 59; null = 1; null = null * 59 + getShowLength(); null = null * 59 + (isSorter() ? 79 : 97); String str1 = getTitle(); null = null * 59 + ((str1 == null) ? 43 : str1.hashCode()); String str2 = getDataIndex(); null = null * 59 + ((str2 == null) ? 43 : str2.hashCode()); String str3 = getAlign(); null = null * 59 + ((str3 == null) ? 43 : str3.hashCode()); String str4 = getCustomRender(); null = null * 59 + ((str4 == null) ? 43 : str4.hashCode()); d d1 = getScopedSlots(); null = null * 59 + ((d1 == null) ? 43 : d1.hashCode()); String str5 = getHrefSlotName(); return null * 59 + ((str5 == null) ? 43 : str5.hashCode()); } public String toString() { return "OnlColumn(title=" + getTitle() + ", dataIndex=" + getDataIndex() + ", align=" + getAlign() + ", customRender=" + getCustomRender() + ", scopedSlots=" + getScopedSlots() + ", hrefSlotName=" + getHrefSlotName() + ", showLength=" + getShowLength() + ", sorter=" + isSorter() + ")"; }
|
public class OnlColumn {
|
||||||
|
private String title;
|
||||||
|
private String dataIndex;
|
||||||
|
private String align;
|
||||||
|
private String customRender;
|
||||||
|
private ScopedSlots scopedSlots;
|
||||||
|
private String hrefSlotName;
|
||||||
|
private int showLength;
|
||||||
|
private boolean sorter = false;
|
||||||
|
|
||||||
public String getTitle() {
|
public OnlColumn() {
|
||||||
return this.title;
|
}
|
||||||
} public String getDataIndex() {
|
|
||||||
return this.dataIndex;
|
|
||||||
} public String getAlign() {
|
|
||||||
return this.align;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
public OnlColumn(String title, String dataIndex) {
|
||||||
|
this.align = "center";
|
||||||
|
this.title = title;
|
||||||
|
this.dataIndex = dataIndex;
|
||||||
|
}
|
||||||
|
|
||||||
public String getCustomRender() {
|
public String getTitle() {
|
||||||
return this.customRender;
|
return this.title;
|
||||||
} public d getScopedSlots() {
|
}
|
||||||
return this.scopedSlots;
|
|
||||||
}
|
|
||||||
public String getHrefSlotName() {
|
|
||||||
return this.hrefSlotName;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
public String getDataIndex() {
|
||||||
|
return this.dataIndex;
|
||||||
|
}
|
||||||
|
|
||||||
public int getShowLength() {
|
public String getAlign() {
|
||||||
return this.showLength;
|
return this.align;
|
||||||
} private boolean sorter = false; public boolean isSorter() {
|
}
|
||||||
return this.sorter;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
public String getCustomRender() {
|
||||||
|
return this.customRender;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ScopedSlots getScopedSlots() {
|
||||||
|
return this.scopedSlots;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getHrefSlotName() {
|
||||||
|
return this.hrefSlotName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getShowLength() {
|
||||||
|
return this.showLength;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isSorter() {
|
||||||
|
return this.sorter;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTitle(String title) {
|
||||||
|
this.title = title;
|
||||||
|
}
|
||||||
|
|
||||||
public OnlColumn(String title, String dataIndex) {
|
public void setDataIndex(String dataIndex) {
|
||||||
this.align = "center";
|
this.dataIndex = dataIndex;
|
||||||
this.title = title;
|
}
|
||||||
this.dataIndex = dataIndex;
|
|
||||||
}
|
|
||||||
|
|
||||||
public OnlColumn() {} }
|
public void setAlign(String align) {
|
||||||
|
this.align = align;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCustomRender(String customRender) {
|
||||||
|
this.customRender = customRender;
|
||||||
|
}
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\model\OnlColumn.class
|
public void setScopedSlots(ScopedSlots scopedSlots) {
|
||||||
* Java compiler version: 8 (52.0)
|
this.scopedSlots = scopedSlots;
|
||||||
* JD-Core Version: 1.1.3
|
}
|
||||||
*/
|
|
||||||
|
public void setHrefSlotName(String hrefSlotName) {
|
||||||
|
this.hrefSlotName = hrefSlotName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShowLength(int showLength) {
|
||||||
|
this.showLength = showLength;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSorter(boolean sorter) {
|
||||||
|
this.sorter = sorter;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
} else if (!(o instanceof OnlColumn)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
OnlColumn var2 = (OnlColumn)o;
|
||||||
|
if (!var2.canEqual(this)) {
|
||||||
|
return false;
|
||||||
|
} else if (this.getShowLength() != var2.getShowLength()) {
|
||||||
|
return false;
|
||||||
|
} else if (this.isSorter() != var2.isSorter()) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
label88: {
|
||||||
|
String var3 = this.getTitle();
|
||||||
|
String var4 = var2.getTitle();
|
||||||
|
if (var3 == null) {
|
||||||
|
if (var4 == null) {
|
||||||
|
break label88;
|
||||||
|
}
|
||||||
|
} else if (var3.equals(var4)) {
|
||||||
|
break label88;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var5 = this.getDataIndex();
|
||||||
|
String var6 = var2.getDataIndex();
|
||||||
|
if (var5 == null) {
|
||||||
|
if (var6 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var5.equals(var6)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label74: {
|
||||||
|
String var7 = this.getAlign();
|
||||||
|
String var8 = var2.getAlign();
|
||||||
|
if (var7 == null) {
|
||||||
|
if (var8 == null) {
|
||||||
|
break label74;
|
||||||
|
}
|
||||||
|
} else if (var7.equals(var8)) {
|
||||||
|
break label74;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label67: {
|
||||||
|
String var9 = this.getCustomRender();
|
||||||
|
String var10 = var2.getCustomRender();
|
||||||
|
if (var9 == null) {
|
||||||
|
if (var10 == null) {
|
||||||
|
break label67;
|
||||||
|
}
|
||||||
|
} else if (var9.equals(var10)) {
|
||||||
|
break label67;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
ScopedSlots var11 = this.getScopedSlots();
|
||||||
|
ScopedSlots var12 = var2.getScopedSlots();
|
||||||
|
if (var11 == null) {
|
||||||
|
if (var12 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var11.equals(var12)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var13 = this.getHrefSlotName();
|
||||||
|
String var14 = var2.getHrefSlotName();
|
||||||
|
if (var13 == null) {
|
||||||
|
if (var14 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var13.equals(var14)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected boolean canEqual(Object other) {
|
||||||
|
return other instanceof OnlColumn;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int hashCode() {
|
||||||
|
boolean var1 = true;
|
||||||
|
byte var2 = 1;
|
||||||
|
int var9 = var2 * 59 + this.getShowLength();
|
||||||
|
var9 = var9 * 59 + (this.isSorter() ? 79 : 97);
|
||||||
|
String var3 = this.getTitle();
|
||||||
|
var9 = var9 * 59 + (var3 == null ? 43 : var3.hashCode());
|
||||||
|
String var4 = this.getDataIndex();
|
||||||
|
var9 = var9 * 59 + (var4 == null ? 43 : var4.hashCode());
|
||||||
|
String var5 = this.getAlign();
|
||||||
|
var9 = var9 * 59 + (var5 == null ? 43 : var5.hashCode());
|
||||||
|
String var6 = this.getCustomRender();
|
||||||
|
var9 = var9 * 59 + (var6 == null ? 43 : var6.hashCode());
|
||||||
|
ScopedSlots var7 = this.getScopedSlots();
|
||||||
|
var9 = var9 * 59 + (var7 == null ? 43 : var7.hashCode());
|
||||||
|
String var8 = this.getHrefSlotName();
|
||||||
|
var9 = var9 * 59 + (var8 == null ? 43 : var8.hashCode());
|
||||||
|
return var9;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
return "OnlColumn(title=" + this.getTitle() + ", dataIndex=" + this.getDataIndex() + ", align=" + this.getAlign() + ", customRender=" + this.getCustomRender() + ", scopedSlots=" + this.getScopedSlots() + ", hrefSlotName=" + this.getHrefSlotName() + ", showLength=" + this.getShowLength() + ", sorter=" + this.isSorter() + ")";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
+415
-169
@@ -1,11 +1,11 @@
|
|||||||
package com.jero.generater.modules.online.cgform.model;
|
|
||||||
|
|
||||||
import com.jero.common.system.vo.DictModel;
|
package com.jero.generater.modules.online.cgform.model;
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformButton;
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import com.jero.common.system.vo.DictModel;
|
||||||
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformButton;
|
||||||
|
|
||||||
public class OnlComplexModel {
|
public class OnlComplexModel {
|
||||||
private String b;
|
private String b;
|
||||||
@@ -18,6 +18,104 @@ public class OnlComplexModel {
|
|||||||
private Integer i;
|
private Integer i;
|
||||||
private List<OnlColumn> j;
|
private List<OnlColumn> j;
|
||||||
private List<String> k;
|
private List<String> k;
|
||||||
|
private Map<String, List<DictModel>> l = new HashMap();
|
||||||
|
private List<OnlCgformButton> m;
|
||||||
|
List<HrefSlots> a;
|
||||||
|
private String n;
|
||||||
|
private List<OnlForeignKey> o;
|
||||||
|
private String p;
|
||||||
|
private String q;
|
||||||
|
private String r;
|
||||||
|
private String s;
|
||||||
|
private String t;
|
||||||
|
private Integer u;
|
||||||
|
|
||||||
|
public OnlComplexModel() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCode() {
|
||||||
|
return this.b;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFormTemplate() {
|
||||||
|
return this.c;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDescription() {
|
||||||
|
return this.d;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCurrentTableName() {
|
||||||
|
return this.e;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getTableType() {
|
||||||
|
return this.f;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPaginationFlag() {
|
||||||
|
return this.g;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCheckboxFlag() {
|
||||||
|
return this.h;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getScrollFlag() {
|
||||||
|
return this.i;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<OnlColumn> getColumns() {
|
||||||
|
return this.j;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<String> getHideColumns() {
|
||||||
|
return this.k;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Map<String, List<DictModel>> getDictOptions() {
|
||||||
|
return this.l;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<OnlCgformButton> getCgButtonList() {
|
||||||
|
return this.m;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<HrefSlots> getFieldHrefSlots() {
|
||||||
|
return this.a;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getEnhanceJs() {
|
||||||
|
return this.n;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<OnlForeignKey> getForeignKeys() {
|
||||||
|
return this.o;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPidField() {
|
||||||
|
return this.p;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getHasChildrenField() {
|
||||||
|
return this.q;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTextField() {
|
||||||
|
return this.r;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIsDesForm() {
|
||||||
|
return this.s;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDesFormCode() {
|
||||||
|
return this.t;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getRelationType() {
|
||||||
|
return this.u;
|
||||||
|
}
|
||||||
|
|
||||||
public void setCode(String code) {
|
public void setCode(String code) {
|
||||||
this.b = code;
|
this.b = code;
|
||||||
@@ -75,7 +173,7 @@ public class OnlComplexModel {
|
|||||||
this.n = enhanceJs;
|
this.n = enhanceJs;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setForeignKeys(List<c> foreignKeys) {
|
public void setForeignKeys(List<OnlForeignKey> foreignKeys) {
|
||||||
this.o = foreignKeys;
|
this.o = foreignKeys;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -104,175 +202,323 @@ public class OnlComplexModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
if (o == this) return true;
|
if (o == this) {
|
||||||
if (!(o instanceof OnlComplexModel)) return false;
|
return true;
|
||||||
OnlComplexModel onlComplexModel1 = (OnlComplexModel) o;
|
} else if (!(o instanceof OnlComplexModel)) {
|
||||||
if (!onlComplexModel1.a(this)) return false;
|
return false;
|
||||||
Integer integer1 = getTableType(), integer2 = onlComplexModel1.getTableType();
|
} else {
|
||||||
if ((integer1 == null) ? (integer2 != null) : !integer1.equals(integer2)) return false;
|
OnlComplexModel var2 = (OnlComplexModel)o;
|
||||||
Integer integer3 = getScrollFlag(), integer4 = onlComplexModel1.getScrollFlag();
|
if (!var2.a(this)) {
|
||||||
if ((integer3 == null) ? (integer4 != null) : !integer3.equals(integer4)) return false;
|
return false;
|
||||||
Integer integer5 = getRelationType(), integer6 = onlComplexModel1.getRelationType();
|
} else {
|
||||||
if ((integer5 == null) ? (integer6 != null) : !integer5.equals(integer6)) return false;
|
label263: {
|
||||||
String str1 = getCode(), str2 = onlComplexModel1.getCode();
|
Integer var3 = this.getTableType();
|
||||||
if ((str1 == null) ? (str2 != null) : !str1.equals(str2)) return false;
|
Integer var4 = var2.getTableType();
|
||||||
String str3 = getFormTemplate(), str4 = onlComplexModel1.getFormTemplate();
|
if (var3 == null) {
|
||||||
if ((str3 == null) ? (str4 != null) : !str3.equals(str4)) return false;
|
if (var4 == null) {
|
||||||
String str5 = getDescription(), str6 = onlComplexModel1.getDescription();
|
break label263;
|
||||||
if ((str5 == null) ? (str6 != null) : !str5.equals(str6)) return false;
|
}
|
||||||
String str7 = getCurrentTableName(), str8 = onlComplexModel1.getCurrentTableName();
|
} else if (var3.equals(var4)) {
|
||||||
if ((str7 == null) ? (str8 != null) : !str7.equals(str8)) return false;
|
break label263;
|
||||||
String str9 = getPaginationFlag(), str10 = onlComplexModel1.getPaginationFlag();
|
}
|
||||||
if ((str9 == null) ? (str10 != null) : !str9.equals(str10)) return false;
|
|
||||||
String str11 = getCheckboxFlag(), str12 = onlComplexModel1.getCheckboxFlag();
|
return false;
|
||||||
if ((str11 == null) ? (str12 != null) : !str11.equals(str12)) return false;
|
}
|
||||||
List<OnlColumn> list1 = getColumns(), list2 = onlComplexModel1.getColumns();
|
|
||||||
if ((list1 == null) ? (list2 != null) : !list1.equals(list2)) return false;
|
Integer var5 = this.getScrollFlag();
|
||||||
List<String> list3 = getHideColumns(), list4 = onlComplexModel1.getHideColumns();
|
Integer var6 = var2.getScrollFlag();
|
||||||
if ((list3 == null) ? (list4 != null) : !list3.equals(list4)) return false;
|
if (var5 == null) {
|
||||||
Map<String, List<DictModel>> map1 = getDictOptions(), map2 = onlComplexModel1.getDictOptions();
|
if (var6 != null) {
|
||||||
if ((map1 == null) ? (map2 != null) : !map1.equals(map2)) return false;
|
return false;
|
||||||
List<OnlCgformButton> list5 = getCgButtonList(), list6 = onlComplexModel1.getCgButtonList();
|
}
|
||||||
if ((list5 == null) ? (list6 != null) : !list5.equals(list6)) return false;
|
} else if (!var5.equals(var6)) {
|
||||||
List<HrefSlots> list7 = getFieldHrefSlots(), list8 = onlComplexModel1.getFieldHrefSlots();
|
return false;
|
||||||
if ((list7 == null) ? (list8 != null) : !list7.equals(list8)) return false;
|
}
|
||||||
String str13 = getEnhanceJs(), str14 = onlComplexModel1.getEnhanceJs();
|
|
||||||
if ((str13 == null) ? (str14 != null) : !str13.equals(str14)) return false;
|
label249: {
|
||||||
List<c> list9 = getForeignKeys(), list10 = onlComplexModel1.getForeignKeys();
|
Integer var7 = this.getRelationType();
|
||||||
if ((list9 == null) ? (list10 != null) : !list9.equals(list10)) return false;
|
Integer var8 = var2.getRelationType();
|
||||||
String str15 = getPidField(), str16 = onlComplexModel1.getPidField();
|
if (var7 == null) {
|
||||||
if ((str15 == null) ? (str16 != null) : !str15.equals(str16)) return false;
|
if (var8 == null) {
|
||||||
String str17 = getHasChildrenField(), str18 = onlComplexModel1.getHasChildrenField();
|
break label249;
|
||||||
if ((str17 == null) ? (str18 != null) : !str17.equals(str18)) return false;
|
}
|
||||||
String str19 = getTextField(), str20 = onlComplexModel1.getTextField();
|
} else if (var7.equals(var8)) {
|
||||||
if ((str19 == null) ? (str20 != null) : !str19.equals(str20)) return false;
|
break label249;
|
||||||
String str21 = getIsDesForm(), str22 = onlComplexModel1.getIsDesForm();
|
}
|
||||||
if ((str21 == null) ? (str22 != null) : !str21.equals(str22)) return false;
|
|
||||||
String str23 = getDesFormCode(), str24 = onlComplexModel1.getDesFormCode();
|
return false;
|
||||||
return !((str23 == null) ? (str24 != null) : !str23.equals(str24));
|
}
|
||||||
|
|
||||||
|
String var9 = this.getCode();
|
||||||
|
String var10 = var2.getCode();
|
||||||
|
if (var9 == null) {
|
||||||
|
if (var10 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var9.equals(var10)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label235: {
|
||||||
|
String var11 = this.getFormTemplate();
|
||||||
|
String var12 = var2.getFormTemplate();
|
||||||
|
if (var11 == null) {
|
||||||
|
if (var12 == null) {
|
||||||
|
break label235;
|
||||||
|
}
|
||||||
|
} else if (var11.equals(var12)) {
|
||||||
|
break label235;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var13 = this.getDescription();
|
||||||
|
String var14 = var2.getDescription();
|
||||||
|
if (var13 == null) {
|
||||||
|
if (var14 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var13.equals(var14)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label221: {
|
||||||
|
String var15 = this.getCurrentTableName();
|
||||||
|
String var16 = var2.getCurrentTableName();
|
||||||
|
if (var15 == null) {
|
||||||
|
if (var16 == null) {
|
||||||
|
break label221;
|
||||||
|
}
|
||||||
|
} else if (var15.equals(var16)) {
|
||||||
|
break label221;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label214: {
|
||||||
|
String var17 = this.getPaginationFlag();
|
||||||
|
String var18 = var2.getPaginationFlag();
|
||||||
|
if (var17 == null) {
|
||||||
|
if (var18 == null) {
|
||||||
|
break label214;
|
||||||
|
}
|
||||||
|
} else if (var17.equals(var18)) {
|
||||||
|
break label214;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var19 = this.getCheckboxFlag();
|
||||||
|
String var20 = var2.getCheckboxFlag();
|
||||||
|
if (var19 == null) {
|
||||||
|
if (var20 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var19.equals(var20)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label200: {
|
||||||
|
List var21 = this.getColumns();
|
||||||
|
List var22 = var2.getColumns();
|
||||||
|
if (var21 == null) {
|
||||||
|
if (var22 == null) {
|
||||||
|
break label200;
|
||||||
|
}
|
||||||
|
} else if (var21.equals(var22)) {
|
||||||
|
break label200;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label193: {
|
||||||
|
List var23 = this.getHideColumns();
|
||||||
|
List var24 = var2.getHideColumns();
|
||||||
|
if (var23 == null) {
|
||||||
|
if (var24 == null) {
|
||||||
|
break label193;
|
||||||
|
}
|
||||||
|
} else if (var23.equals(var24)) {
|
||||||
|
break label193;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
Map var25 = this.getDictOptions();
|
||||||
|
Map var26 = var2.getDictOptions();
|
||||||
|
if (var25 == null) {
|
||||||
|
if (var26 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var25.equals(var26)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
List var27 = this.getCgButtonList();
|
||||||
|
List var28 = var2.getCgButtonList();
|
||||||
|
if (var27 == null) {
|
||||||
|
if (var28 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var27.equals(var28)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label172: {
|
||||||
|
List var29 = this.getFieldHrefSlots();
|
||||||
|
List var30 = var2.getFieldHrefSlots();
|
||||||
|
if (var29 == null) {
|
||||||
|
if (var30 == null) {
|
||||||
|
break label172;
|
||||||
|
}
|
||||||
|
} else if (var29.equals(var30)) {
|
||||||
|
break label172;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var31 = this.getEnhanceJs();
|
||||||
|
String var32 = var2.getEnhanceJs();
|
||||||
|
if (var31 == null) {
|
||||||
|
if (var32 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var31.equals(var32)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
List var33 = this.getForeignKeys();
|
||||||
|
List var34 = var2.getForeignKeys();
|
||||||
|
if (var33 == null) {
|
||||||
|
if (var34 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var33.equals(var34)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label151: {
|
||||||
|
String var35 = this.getPidField();
|
||||||
|
String var36 = var2.getPidField();
|
||||||
|
if (var35 == null) {
|
||||||
|
if (var36 == null) {
|
||||||
|
break label151;
|
||||||
|
}
|
||||||
|
} else if (var35.equals(var36)) {
|
||||||
|
break label151;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var37 = this.getHasChildrenField();
|
||||||
|
String var38 = var2.getHasChildrenField();
|
||||||
|
if (var37 == null) {
|
||||||
|
if (var38 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var37.equals(var38)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
label137: {
|
||||||
|
String var39 = this.getTextField();
|
||||||
|
String var40 = var2.getTextField();
|
||||||
|
if (var39 == null) {
|
||||||
|
if (var40 == null) {
|
||||||
|
break label137;
|
||||||
|
}
|
||||||
|
} else if (var39.equals(var40)) {
|
||||||
|
break label137;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var41 = this.getIsDesForm();
|
||||||
|
String var42 = var2.getIsDesForm();
|
||||||
|
if (var41 == null) {
|
||||||
|
if (var42 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var41.equals(var42)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var43 = this.getDesFormCode();
|
||||||
|
String var44 = var2.getDesFormCode();
|
||||||
|
if (var43 == null) {
|
||||||
|
if (var44 == null) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
} else if (var43.equals(var44)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected boolean a(Object paramObject) {
|
protected boolean a(Object var1) {
|
||||||
return paramObject instanceof OnlComplexModel;
|
return var1 instanceof OnlComplexModel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int hashCode() {
|
||||||
|
boolean var1 = true;
|
||||||
|
byte var2 = 1;
|
||||||
|
Integer var3 = this.getTableType();
|
||||||
|
int var24 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
|
||||||
|
Integer var4 = this.getScrollFlag();
|
||||||
|
var24 = var24 * 59 + (var4 == null ? 43 : var4.hashCode());
|
||||||
|
Integer var5 = this.getRelationType();
|
||||||
|
var24 = var24 * 59 + (var5 == null ? 43 : var5.hashCode());
|
||||||
|
String var6 = this.getCode();
|
||||||
|
var24 = var24 * 59 + (var6 == null ? 43 : var6.hashCode());
|
||||||
|
String var7 = this.getFormTemplate();
|
||||||
|
var24 = var24 * 59 + (var7 == null ? 43 : var7.hashCode());
|
||||||
|
String var8 = this.getDescription();
|
||||||
|
var24 = var24 * 59 + (var8 == null ? 43 : var8.hashCode());
|
||||||
|
String var9 = this.getCurrentTableName();
|
||||||
|
var24 = var24 * 59 + (var9 == null ? 43 : var9.hashCode());
|
||||||
|
String var10 = this.getPaginationFlag();
|
||||||
|
var24 = var24 * 59 + (var10 == null ? 43 : var10.hashCode());
|
||||||
|
String var11 = this.getCheckboxFlag();
|
||||||
|
var24 = var24 * 59 + (var11 == null ? 43 : var11.hashCode());
|
||||||
|
List var12 = this.getColumns();
|
||||||
|
var24 = var24 * 59 + (var12 == null ? 43 : var12.hashCode());
|
||||||
|
List var13 = this.getHideColumns();
|
||||||
|
var24 = var24 * 59 + (var13 == null ? 43 : var13.hashCode());
|
||||||
|
Map var14 = this.getDictOptions();
|
||||||
|
var24 = var24 * 59 + (var14 == null ? 43 : var14.hashCode());
|
||||||
|
List var15 = this.getCgButtonList();
|
||||||
|
var24 = var24 * 59 + (var15 == null ? 43 : var15.hashCode());
|
||||||
|
List var16 = this.getFieldHrefSlots();
|
||||||
|
var24 = var24 * 59 + (var16 == null ? 43 : var16.hashCode());
|
||||||
|
String var17 = this.getEnhanceJs();
|
||||||
|
var24 = var24 * 59 + (var17 == null ? 43 : var17.hashCode());
|
||||||
|
List var18 = this.getForeignKeys();
|
||||||
|
var24 = var24 * 59 + (var18 == null ? 43 : var18.hashCode());
|
||||||
|
String var19 = this.getPidField();
|
||||||
|
var24 = var24 * 59 + (var19 == null ? 43 : var19.hashCode());
|
||||||
|
String var20 = this.getHasChildrenField();
|
||||||
|
var24 = var24 * 59 + (var20 == null ? 43 : var20.hashCode());
|
||||||
|
String var21 = this.getTextField();
|
||||||
|
var24 = var24 * 59 + (var21 == null ? 43 : var21.hashCode());
|
||||||
|
String var22 = this.getIsDesForm();
|
||||||
|
var24 = var24 * 59 + (var22 == null ? 43 : var22.hashCode());
|
||||||
|
String var23 = this.getDesFormCode();
|
||||||
|
var24 = var24 * 59 + (var23 == null ? 43 : var23.hashCode());
|
||||||
|
return var24;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "OnlComplexModel(code=" + getCode() + ", formTemplate=" + getFormTemplate() + ", description=" + getDescription() + ", currentTableName=" + getCurrentTableName() + ", tableType=" + getTableType() + ", paginationFlag=" + getPaginationFlag() + ", checkboxFlag=" + getCheckboxFlag() + ", scrollFlag=" + getScrollFlag() + ", columns=" + getColumns() + ", hideColumns=" + getHideColumns() + ", dictOptions=" + getDictOptions() + ", cgButtonList=" + getCgButtonList() + ", fieldHrefSlots=" + getFieldHrefSlots() + ", enhanceJs=" + getEnhanceJs() + ", foreignKeys=" + getForeignKeys() + ", pidField=" + getPidField() + ", hasChildrenField=" + getHasChildrenField() + ", textField=" + getTextField() + ", isDesForm=" + getIsDesForm() + ", desFormCode=" + getDesFormCode() + ", relationType=" + getRelationType() + ")";
|
return "OnlComplexModel(code=" + this.getCode() + ", formTemplate=" + this.getFormTemplate() + ", description=" + this.getDescription() + ", currentTableName=" + this.getCurrentTableName() + ", tableType=" + this.getTableType() + ", paginationFlag=" + this.getPaginationFlag() + ", checkboxFlag=" + this.getCheckboxFlag() + ", scrollFlag=" + this.getScrollFlag() + ", columns=" + this.getColumns() + ", hideColumns=" + this.getHideColumns() + ", dictOptions=" + this.getDictOptions() + ", cgButtonList=" + this.getCgButtonList() + ", fieldHrefSlots=" + this.getFieldHrefSlots() + ", enhanceJs=" + this.getEnhanceJs() + ", foreignKeys=" + this.getForeignKeys() + ", pidField=" + this.getPidField() + ", hasChildrenField=" + this.getHasChildrenField() + ", textField=" + this.getTextField() + ", isDesForm=" + this.getIsDesForm() + ", desFormCode=" + this.getDesFormCode() + ", relationType=" + this.getRelationType() + ")";
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String getCode() {
|
|
||||||
return this.b;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getFormTemplate() {
|
|
||||||
return this.c;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getDescription() {
|
|
||||||
return this.d;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCurrentTableName() {
|
|
||||||
return this.e;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getTableType() {
|
|
||||||
return this.f;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String getPaginationFlag() {
|
|
||||||
return this.g;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String getCheckboxFlag() {
|
|
||||||
return this.h;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public Integer getScrollFlag() {
|
|
||||||
return this.i;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public List<OnlColumn> getColumns() {
|
|
||||||
return this.j;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public List<String> getHideColumns() {
|
|
||||||
return this.k;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
private Map<String, List<DictModel>> l = new HashMap<>();
|
|
||||||
private List<OnlCgformButton> m;
|
|
||||||
List<HrefSlots> a;
|
|
||||||
private String n;
|
|
||||||
private List<c> o;
|
|
||||||
private String p;
|
|
||||||
|
|
||||||
public Map<String, List<DictModel>> getDictOptions() {
|
|
||||||
return this.l;
|
|
||||||
}
|
|
||||||
|
|
||||||
private String q;
|
|
||||||
private String r;
|
|
||||||
private String s;
|
|
||||||
private String t;
|
|
||||||
private Integer u;
|
|
||||||
|
|
||||||
public List<OnlCgformButton> getCgButtonList() {
|
|
||||||
return this.m;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public List<HrefSlots> getFieldHrefSlots() {
|
|
||||||
return this.a;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String getEnhanceJs() {
|
|
||||||
return this.n;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public List<c> getForeignKeys() {
|
|
||||||
return this.o;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String getPidField() {
|
|
||||||
return this.p;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String getHasChildrenField() {
|
|
||||||
return this.q;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String getTextField() {
|
|
||||||
return this.r;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getIsDesForm() {
|
|
||||||
return this.s;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getDesFormCode() {
|
|
||||||
return this.t;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getRelationType() {
|
|
||||||
return this.u;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\model\b.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.model;
|
package com.jero.generater.modules.online.cgform.model;
|
||||||
|
|
||||||
public class OnlForeignKey {
|
public class OnlForeignKey {
|
||||||
private String a;
|
private String a;
|
||||||
+75
-87
@@ -1,115 +1,103 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.model;
|
package com.jero.generater.modules.online.cgform.model;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
public class OnlGenerateModel implements Serializable {
|
||||||
|
private static final long b = 684098897071177558L;
|
||||||
|
private String c;
|
||||||
|
private String d;
|
||||||
|
private String e;
|
||||||
|
private String f;
|
||||||
|
private String g;
|
||||||
|
private String h;
|
||||||
|
private String i;
|
||||||
|
private String j;
|
||||||
|
private String k;
|
||||||
|
List<OnlGenerateModel> a = new ArrayList();
|
||||||
|
|
||||||
|
public OnlGenerateModel() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProjectPath() {
|
||||||
|
return this.d;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProjectPath(String projectPath) {
|
||||||
|
this.d = projectPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPackageStyle() {
|
||||||
|
return this.e;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPackageStyle(String packageStyle) {
|
||||||
|
this.e = packageStyle;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFtlDescription() {
|
||||||
|
return this.f;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFtlDescription(String ftlDescription) {
|
||||||
|
this.f = ftlDescription;
|
||||||
|
}
|
||||||
|
|
||||||
public class OnlGenerateModel
|
public String getJformType() {
|
||||||
implements Serializable
|
return this.g;
|
||||||
{
|
}
|
||||||
private static final long b = 684098897071177558L;
|
|
||||||
private String c;
|
|
||||||
private String d;
|
|
||||||
private String e;
|
|
||||||
private String f;
|
|
||||||
private String g;
|
|
||||||
private String h;
|
|
||||||
private String i;
|
|
||||||
private String j;
|
|
||||||
private String k;
|
|
||||||
List<OnlGenerateModel> a = new ArrayList<>();
|
|
||||||
|
|
||||||
public String getProjectPath() {
|
public void setJformType(String jformType) {
|
||||||
return this.d;
|
this.g = jformType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setProjectPath(String projectPath) {
|
public String getTableName() {
|
||||||
this.d = projectPath;
|
return this.h;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getPackageStyle() {
|
public void setTableName(String tableName) {
|
||||||
return this.e;
|
this.h = tableName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setPackageStyle(String packageStyle) {
|
public String getEntityPackage() {
|
||||||
this.e = packageStyle;
|
return this.i;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getFtlDescription() {
|
public void setEntityPackage(String entityPackage) {
|
||||||
return this.f;
|
this.i = entityPackage;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setFtlDescription(String ftlDescription) {
|
public String getEntityName() {
|
||||||
this.f = ftlDescription;
|
return this.j;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getJformType() {
|
public void setEntityName(String entityName) {
|
||||||
return this.g;
|
this.j = entityName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setJformType(String jformType) {
|
public String getJspMode() {
|
||||||
this.g = jformType;
|
return this.k;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getTableName() {
|
public void setJspMode(String jspMode) {
|
||||||
return this.h;
|
this.k = jspMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTableName(String tableName) {
|
public String getCode() {
|
||||||
this.h = tableName;
|
return this.c;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getEntityPackage() {
|
public void setCode(String code) {
|
||||||
return this.i;
|
this.c = code;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setEntityPackage(String entityPackage) {
|
public List<OnlGenerateModel> getSubList() {
|
||||||
this.i = entityPackage;
|
return this.a;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getEntityName() {
|
public void setSubList(List<OnlGenerateModel> subList) {
|
||||||
return this.j;
|
this.a = subList;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setEntityName(String entityName) {
|
|
||||||
this.j = entityName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getJspMode() {
|
|
||||||
return this.k;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setJspMode(String jspMode) {
|
|
||||||
this.k = jspMode;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCode() {
|
|
||||||
return this.c;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCode(String code) {
|
|
||||||
this.c = code;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<OnlGenerateModel> getSubList() {
|
|
||||||
return this.a;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSubList(List<OnlGenerateModel> subList) {
|
|
||||||
this.a = subList;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\model\OnlGenerateModel.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.model;
|
package com.jero.generater.modules.online.cgform.model;
|
||||||
|
|
||||||
public class ScopedSlots {
|
public class ScopedSlots {
|
||||||
private String a;
|
private String a;
|
||||||
+118
-17
@@ -1,24 +1,125 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.model;
|
package com.jero.generater.modules.online.cgform.model;
|
||||||
public class TreeModel { private String label;
|
|
||||||
private String store;
|
|
||||||
|
|
||||||
public void setLabel(String label) { this.label = label; } private String id; private String pid; public void setStore(String store) { this.store = store; } public void setId(String id) { this.id = id; } public void setPid(String pid) { this.pid = pid; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof TreeModel)) return false; TreeModel treeModel = (TreeModel)o; if (!treeModel.canEqual(this)) return false; String str1 = getLabel(), str2 = treeModel.getLabel(); if ((str1 == null) ? (str2 != null) : !str1.equals(str2)) return false; String str3 = getStore(), str4 = treeModel.getStore(); if ((str3 == null) ? (str4 != null) : !str3.equals(str4)) return false; String str5 = getId(), str6 = treeModel.getId(); if ((str5 == null) ? (str6 != null) : !str5.equals(str6)) return false; String str7 = getPid(), str8 = treeModel.getPid(); return !((str7 == null) ? (str8 != null) : !str7.equals(str8)); } protected boolean canEqual(Object other) { return other instanceof TreeModel; } public int hashCode() { byte b = 59; null = 1; String str1 = getLabel(); null = null * 59 + ((str1 == null) ? 43 : str1.hashCode()); String str2 = getStore(); null = null * 59 + ((str2 == null) ? 43 : str2.hashCode()); String str3 = getId(); null = null * 59 + ((str3 == null) ? 43 : str3.hashCode()); String str4 = getPid(); return null * 59 + ((str4 == null) ? 43 : str4.hashCode()); } public String toString() { return "TreeModel(label=" + getLabel() + ", store=" + getStore() + ", id=" + getId() + ", pid=" + getPid() + ")"; }
|
public class TreeModel {
|
||||||
|
private String label;
|
||||||
|
private String store;
|
||||||
|
private String id;
|
||||||
|
private String pid;
|
||||||
|
|
||||||
public String getLabel() {
|
public TreeModel() {
|
||||||
return this.label;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
public String getLabel() {
|
||||||
|
return this.label;
|
||||||
|
}
|
||||||
|
|
||||||
public String getStore() {
|
public String getStore() {
|
||||||
return this.store;
|
return this.store;
|
||||||
} public String getId() {
|
}
|
||||||
return this.id;
|
|
||||||
} public String getPid() {
|
|
||||||
return this.pid;
|
|
||||||
} }
|
|
||||||
|
|
||||||
|
public String getId() {
|
||||||
|
return this.id;
|
||||||
|
}
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\model\TreeModel.class
|
public String getPid() {
|
||||||
* Java compiler version: 8 (52.0)
|
return this.pid;
|
||||||
* JD-Core Version: 1.1.3
|
}
|
||||||
*/
|
|
||||||
|
public void setLabel(String label) {
|
||||||
|
this.label = label;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStore(String store) {
|
||||||
|
this.store = store;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(String id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPid(String pid) {
|
||||||
|
this.pid = pid;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
} else if (!(o instanceof TreeModel)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
TreeModel var2 = (TreeModel)o;
|
||||||
|
if (!var2.canEqual(this)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
label59: {
|
||||||
|
String var3 = this.getLabel();
|
||||||
|
String var4 = var2.getLabel();
|
||||||
|
if (var3 == null) {
|
||||||
|
if (var4 == null) {
|
||||||
|
break label59;
|
||||||
|
}
|
||||||
|
} else if (var3.equals(var4)) {
|
||||||
|
break label59;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var5 = this.getStore();
|
||||||
|
String var6 = var2.getStore();
|
||||||
|
if (var5 == null) {
|
||||||
|
if (var6 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var5.equals(var6)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var7 = this.getId();
|
||||||
|
String var8 = var2.getId();
|
||||||
|
if (var7 == null) {
|
||||||
|
if (var8 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var7.equals(var8)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
String var9 = this.getPid();
|
||||||
|
String var10 = var2.getPid();
|
||||||
|
if (var9 == null) {
|
||||||
|
if (var10 != null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!var9.equals(var10)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected boolean canEqual(Object other) {
|
||||||
|
return other instanceof TreeModel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int hashCode() {
|
||||||
|
boolean var1 = true;
|
||||||
|
byte var2 = 1;
|
||||||
|
String var3 = this.getLabel();
|
||||||
|
int var7 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
|
||||||
|
String var4 = this.getStore();
|
||||||
|
var7 = var7 * 59 + (var4 == null ? 43 : var4.hashCode());
|
||||||
|
String var5 = this.getId();
|
||||||
|
var7 = var7 * 59 + (var5 == null ? 43 : var5.hashCode());
|
||||||
|
String var6 = this.getPid();
|
||||||
|
var7 = var7 * 59 + (var6 == null ? 43 : var6.hashCode());
|
||||||
|
return var7;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
return "TreeModel(label=" + this.getLabel() + ", store=" + this.getStore() + ", id=" + this.getId() + ", pid=" + this.getPid() + ")";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.model;
|
package com.jero.generater.modules.online.cgform.model;
|
||||||
|
|
||||||
public class TreeSelectColumn {
|
public class TreeSelectColumn {
|
||||||
private String a;
|
private String a;
|
||||||
-75
@@ -1,75 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.model;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformIndex;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class a
|
|
||||||
{
|
|
||||||
private OnlCgformHead a;
|
|
||||||
private List<OnlCgformField> b;
|
|
||||||
private List<String> c;
|
|
||||||
private List<OnlCgformIndex> d;
|
|
||||||
private List<String> e;
|
|
||||||
|
|
||||||
public OnlCgformHead getHead() {
|
|
||||||
return this.a;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setHead(OnlCgformHead head) {
|
|
||||||
this.a = head;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<OnlCgformField> getFields() {
|
|
||||||
return this.b;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setFields(List<OnlCgformField> fields) {
|
|
||||||
this.b = fields;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<OnlCgformIndex> getIndexs() {
|
|
||||||
return this.d;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setIndexs(List<OnlCgformIndex> indexs) {
|
|
||||||
this.d = indexs;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<String> getDeleteFieldIds() {
|
|
||||||
return this.c;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setDeleteFieldIds(List<String> deleteFieldIds) {
|
|
||||||
this.c = deleteFieldIds;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<String> getDeleteIndexIds() {
|
|
||||||
return this.e;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setDeleteIndexIds(List<String> deleteIndexIds) {
|
|
||||||
this.e = deleteIndexIds;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String toString() {
|
|
||||||
return "OnlCgformModel [head=" + this.a + ", fields=" + this.b + ", deleteFieldIds=" + this.c + ", indexs=" + this.d + ", deleteIndexIds=" + this.e + "]";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\model\a.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-37
@@ -1,37 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.model;
|
|
||||||
public class c {
|
|
||||||
private String a;
|
|
||||||
|
|
||||||
public void setField(String field) { this.a = field; } private String b; private String c; public void setTable(String table) { this.b = table; } public void setKey(String key) { this.c = key; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof c)) return false; c c1 = (c)o; if (!c1.a(this)) return false; String str1 = getField(), str2 = c1.getField(); if ((str1 == null) ? (str2 != null) : !str1.equals(str2)) return false; String str3 = getTable(), str4 = c1.getTable(); if ((str3 == null) ? (str4 != null) : !str3.equals(str4)) return false; String str5 = getKey(), str6 = c1.getKey(); return !((str5 == null) ? (str6 != null) : !str5.equals(str6)); } protected boolean a(Object paramObject) { return paramObject instanceof c; } public int hashCode() { byte b = 59; null = 1; String str1 = getField(); null = null * 59 + ((str1 == null) ? 43 : str1.hashCode()); String str2 = getTable(); null = null * 59 + ((str2 == null) ? 43 : str2.hashCode()); String str3 = getKey(); return null * 59 + ((str3 == null) ? 43 : str3.hashCode()); } public String toString() { return "OnlForeignKey(field=" + getField() + ", table=" + getTable() + ", key=" + getKey() + ")"; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public String getField() {
|
|
||||||
return this.a;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public String getTable() {
|
|
||||||
return this.b;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String getKey() {
|
|
||||||
return this.c;
|
|
||||||
}
|
|
||||||
|
|
||||||
public c() {}
|
|
||||||
|
|
||||||
public c(String paramString1, String paramString2) {
|
|
||||||
this.c = paramString2;
|
|
||||||
this.a = paramString1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\model\c.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-21
@@ -1,21 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.model;
|
|
||||||
public class d {
|
|
||||||
private String a;
|
|
||||||
|
|
||||||
public void setCustomRender(String customRender) { this.a = customRender; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof d)) return false; d d1 = (d)o; if (!d1.a(this)) return false; String str1 = getCustomRender(), str2 = d1.getCustomRender(); return !((str1 == null) ? (str2 != null) : !str1.equals(str2)); } protected boolean a(Object paramObject) { return paramObject instanceof d; } public int hashCode() { byte b = 59; null = 1; String str = getCustomRender(); return null * 59 + ((str == null) ? 43 : str.hashCode()); } public String toString() { return "ScopedSlots(customRender=" + getCustomRender() + ")"; }
|
|
||||||
|
|
||||||
public String getCustomRender() {
|
|
||||||
return this.a;
|
|
||||||
}
|
|
||||||
public d() {}
|
|
||||||
|
|
||||||
public d(String paramString) {
|
|
||||||
this.a = paramString;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\model\d.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
-80
@@ -1,80 +0,0 @@
|
|||||||
package com.jero.generater.modules.online.cgform.model;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class e
|
|
||||||
{
|
|
||||||
private String a;
|
|
||||||
private String b;
|
|
||||||
private String c;
|
|
||||||
private String d;
|
|
||||||
private String e;
|
|
||||||
private String f;
|
|
||||||
private String g;
|
|
||||||
|
|
||||||
public String getFieldName() {
|
|
||||||
return this.a;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setFieldName(String fieldName) {
|
|
||||||
this.a = fieldName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTableName() {
|
|
||||||
return this.b;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTableName(String tableName) {
|
|
||||||
this.b = tableName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCodeField() {
|
|
||||||
return this.c;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCodeField(String codeField) {
|
|
||||||
this.c = codeField;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTextField() {
|
|
||||||
return this.d;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTextField(String textField) {
|
|
||||||
this.d = textField;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getPidField() {
|
|
||||||
return this.e;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPidField(String pidField) {
|
|
||||||
this.e = pidField;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getPidValue() {
|
|
||||||
return this.f;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPidValue(String pidValue) {
|
|
||||||
this.f = pidValue;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getHsaChildField() {
|
|
||||||
return this.g;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setHsaChildField(String hsaChildField) {
|
|
||||||
this.g = hsaChildField;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\model\e.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package org.jeecg.modules.online.cgform.rule;
|
package com.jero.generater.modules.online.cgform.rule;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
+2
-7
@@ -1,14 +1,9 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.service;
|
package com.jero.generater.modules.online.cgform.service;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformButton;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformButton;
|
||||||
|
|
||||||
public interface IOnlCgformButtonService extends IService<OnlCgformButton> {
|
public interface IOnlCgformButtonService extends IService<OnlCgformButton> {
|
||||||
void saveButton(OnlCgformButton paramOnlCgformButton);
|
void saveButton(OnlCgformButton var1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\service\IOnlCgformButtonService.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+24
-29
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.service;
|
package com.jero.generater.modules.online.cgform.service;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -5,33 +6,27 @@ import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceJava;
|
|||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceSql;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceSql;
|
||||||
|
|
||||||
public interface IOnlCgformEnhanceService {
|
public interface IOnlCgformEnhanceService {
|
||||||
List<OnlCgformEnhanceJava> queryEnhanceJavaList(String paramString);
|
List<OnlCgformEnhanceJava> queryEnhanceJavaList(String var1);
|
||||||
|
|
||||||
void saveEnhanceJava(OnlCgformEnhanceJava paramOnlCgformEnhanceJava);
|
void saveEnhanceJava(OnlCgformEnhanceJava var1);
|
||||||
|
|
||||||
void updateEnhanceJava(OnlCgformEnhanceJava paramOnlCgformEnhanceJava);
|
void updateEnhanceJava(OnlCgformEnhanceJava var1);
|
||||||
|
|
||||||
void deleteEnhanceJava(String paramString);
|
void deleteEnhanceJava(String var1);
|
||||||
|
|
||||||
void deleteBatchEnhanceJava(List<String> paramList);
|
void deleteBatchEnhanceJava(List<String> var1);
|
||||||
|
|
||||||
boolean checkOnlyEnhance(OnlCgformEnhanceJava paramOnlCgformEnhanceJava);
|
boolean checkOnlyEnhance(OnlCgformEnhanceJava var1);
|
||||||
|
|
||||||
boolean checkOnlyEnhance(OnlCgformEnhanceSql paramOnlCgformEnhanceSql);
|
boolean checkOnlyEnhance(OnlCgformEnhanceSql var1);
|
||||||
|
|
||||||
List<OnlCgformEnhanceSql> queryEnhanceSqlList(String paramString);
|
List<OnlCgformEnhanceSql> queryEnhanceSqlList(String var1);
|
||||||
|
|
||||||
void saveEnhanceSql(OnlCgformEnhanceSql paramOnlCgformEnhanceSql);
|
void saveEnhanceSql(OnlCgformEnhanceSql var1);
|
||||||
|
|
||||||
void updateEnhanceSql(OnlCgformEnhanceSql paramOnlCgformEnhanceSql);
|
void updateEnhanceSql(OnlCgformEnhanceSql var1);
|
||||||
|
|
||||||
void deleteEnhanceSql(String paramString);
|
void deleteEnhanceSql(String var1);
|
||||||
|
|
||||||
void deleteBatchEnhanceSql(List<String> paramList);
|
void deleteBatchEnhanceSql(List<String> var1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\service\IOnlCgformEnhanceService.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+61
-66
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.service;
|
package com.jero.generater.modules.online.cgform.service;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
@@ -7,75 +8,69 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Param;
|
||||||
import com.jero.generater.modules.online.cgform.a.a;
|
import com.jero.generater.modules.online.cgform.link.LinkDown;
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformField;
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
||||||
import com.jero.generater.modules.online.cgform.model.TreeModel;
|
import com.jero.generater.modules.online.cgform.model.TreeModel;
|
||||||
|
|
||||||
public interface IOnlCgformFieldService extends IService<OnlCgformField> {
|
public interface IOnlCgformFieldService extends IService<OnlCgformField> {
|
||||||
Map<String, Object> queryAutolistPage(String paramString1, String paramString2, Map<String, Object> paramMap, List<String> paramList);
|
Map<String, Object> queryAutolistPage(String var1, String var2, Map<String, Object> var3, List<String> var4);
|
||||||
|
|
||||||
Map<String, Object> queryAutoTreeNoPage(String paramString1, String paramString2, Map<String, Object> paramMap, List<String> paramList, String paramString3);
|
Map<String, Object> queryAutoTreeNoPage(String var1, String var2, Map<String, Object> var3, List<String> var4, String var5);
|
||||||
|
|
||||||
void deleteAutoListMainAndSub(OnlCgformHead paramOnlCgformHead, String paramString);
|
void deleteAutoListMainAndSub(OnlCgformHead var1, String var2);
|
||||||
|
|
||||||
void deleteAutoListById(String paramString1, String paramString2);
|
void deleteAutoListById(String var1, String var2);
|
||||||
|
|
||||||
void deleteAutoList(String paramString1, String paramString2, String paramString3);
|
void deleteAutoList(String var1, String var2, String var3);
|
||||||
|
|
||||||
void saveFormData(String paramString1, String paramString2, JSONObject paramJSONObject, boolean paramBoolean);
|
void saveFormData(String var1, String var2, JSONObject var3, boolean var4);
|
||||||
|
|
||||||
void saveTreeFormData(String paramString1, String paramString2, JSONObject paramJSONObject, String paramString3, String paramString4);
|
void saveTreeFormData(String var1, String var2, JSONObject var3, String var4, String var5);
|
||||||
|
|
||||||
void saveFormData(List<OnlCgformField> paramList, String paramString, JSONObject paramJSONObject);
|
void saveFormData(List<OnlCgformField> var1, String var2, JSONObject var3);
|
||||||
|
|
||||||
List<OnlCgformField> queryFormFields(String paramString, boolean paramBoolean);
|
List<OnlCgformField> queryFormFields(String var1, boolean var2);
|
||||||
|
|
||||||
List<OnlCgformField> queryFormFieldsByTableName(String paramString);
|
List<OnlCgformField> queryFormFieldsByTableName(String var1);
|
||||||
|
|
||||||
OnlCgformField queryFormFieldByTableNameAndField(String paramString1, String paramString2);
|
OnlCgformField queryFormFieldByTableNameAndField(String var1, String var2);
|
||||||
|
|
||||||
void editTreeFormData(String paramString1, String paramString2, JSONObject paramJSONObject, String paramString3, String paramString4);
|
void editTreeFormData(String var1, String var2, JSONObject var3, String var4, String var5);
|
||||||
|
|
||||||
void editFormData(String paramString1, String paramString2, JSONObject paramJSONObject, boolean paramBoolean);
|
void editFormData(String var1, String var2, JSONObject var3, boolean var4);
|
||||||
|
|
||||||
Map<String, Object> queryFormData(String paramString1, String paramString2, String paramString3);
|
Map<String, Object> queryFormData(String var1, String var2, String var3);
|
||||||
|
|
||||||
Map<String, Object> queryFormData(List<OnlCgformField> paramList, String paramString1, String paramString2);
|
Map<String, Object> queryFormData(List<OnlCgformField> var1, String var2, String var3);
|
||||||
|
|
||||||
List<Map<String, Object>> querySubFormData(List<OnlCgformField> paramList, String paramString1, String paramString2, String paramString3);
|
List<Map<String, Object>> querySubFormData(List<OnlCgformField> var1, String var2, String var3, String var4);
|
||||||
|
|
||||||
List<Map<String, String>> getAutoListQueryInfo(String paramString);
|
List<Map<String, String>> getAutoListQueryInfo(String var1);
|
||||||
|
|
||||||
IPage<Map<String, Object>> selectPageBySql(Page<Map<String, Object>> paramPage, @Param("sqlStr") String paramString);
|
IPage<Map<String, Object>> selectPageBySql(Page<Map<String, Object>> var1, @Param("sqlStr") String var2);
|
||||||
|
|
||||||
List<String> selectOnlineHideColumns(String paramString);
|
List<String> selectOnlineHideColumns(String var1);
|
||||||
|
|
||||||
List<OnlCgformField> queryAvailableFields(String paramString1, String paramString2, String paramString3, boolean paramBoolean);
|
List<OnlCgformField> queryAvailableFields(String var1, String var2, String var3, boolean var4);
|
||||||
|
|
||||||
List<String> queryDisabledFields(String paramString);
|
List<String> queryDisabledFields(String var1);
|
||||||
|
|
||||||
List<String> queryDisabledFields(String paramString1, String paramString2);
|
List<String> queryDisabledFields(String var1, String var2);
|
||||||
|
|
||||||
List<OnlCgformField> queryAvailableFields(String paramString, boolean paramBoolean, List<OnlCgformField> paramList, List<String> paramList1);
|
List<OnlCgformField> queryAvailableFields(String var1, boolean var2, List<OnlCgformField> var3, List<String> var4);
|
||||||
|
|
||||||
List<OnlCgformField> queryAvailableFields(String paramString1, String paramString2, boolean paramBoolean, List<OnlCgformField> paramList, List<String> paramList1);
|
List<OnlCgformField> queryAvailableFields(String var1, String var2, boolean var3, List<OnlCgformField> var4, List<String> var5);
|
||||||
|
|
||||||
void executeInsertSQL(Map<String, Object> paramMap);
|
void executeInsertSQL(Map<String, Object> var1);
|
||||||
|
|
||||||
void executeUpdatetSQL(Map<String, Object> paramMap);
|
void executeUpdatetSQL(Map<String, Object> var1);
|
||||||
|
|
||||||
List<TreeModel> queryDataListByLinkDown(a parama);
|
List<TreeModel> queryDataListByLinkDown(LinkDown var1);
|
||||||
|
|
||||||
void updateTreeNodeNoChild(String paramString1, String paramString2, String paramString3);
|
void updateTreeNodeNoChild(String var1, String var2, String var3);
|
||||||
|
|
||||||
String queryTreeChildIds(OnlCgformHead paramOnlCgformHead, String paramString);
|
String queryTreeChildIds(OnlCgformHead var1, String var2);
|
||||||
|
|
||||||
String queryTreePids(OnlCgformHead paramOnlCgformHead, String paramString);
|
String queryTreePids(OnlCgformHead var1, String var2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\service\IOnlCgformFieldService.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+76
-81
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.service;
|
package com.jero.generater.modules.online.cgform.service;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
@@ -15,91 +16,85 @@ import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceJava;
|
|||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceJs;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceJs;
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceSql;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformEnhanceSql;
|
||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
||||||
|
import com.jero.generater.modules.online.cgform.model.OnlCgformModel;
|
||||||
import com.jero.generater.modules.online.cgform.model.OnlGenerateModel;
|
import com.jero.generater.modules.online.cgform.model.OnlGenerateModel;
|
||||||
import com.jero.generater.modules.online.cgform.model.a;
|
|
||||||
import com.jero.generater.modules.online.config.exception.BusinessException;
|
import com.jero.generater.modules.online.config.exception.BusinessException;
|
||||||
import com.jero.generater.modules.online.config.exception.DBException;
|
import com.jero.generater.modules.online.config.exception.DBException;
|
||||||
|
|
||||||
public interface IOnlCgformHeadService extends IService<OnlCgformHead> {
|
public interface IOnlCgformHeadService extends IService<OnlCgformHead> {
|
||||||
Result<?> addAll(a parama);
|
Result<?> addAll(OnlCgformModel var1);
|
||||||
|
|
||||||
Result<?> editAll(a parama);
|
Result<?> editAll(OnlCgformModel var1);
|
||||||
|
|
||||||
void doDbSynch(String paramString1, String paramString2) throws HibernateException, IOException, TemplateException, SQLException, DBException;
|
void doDbSynch(String var1, String var2) throws HibernateException, IOException, TemplateException, SQLException, DBException;
|
||||||
|
|
||||||
void deleteRecordAndTable(String paramString) throws DBException, SQLException;
|
void deleteRecordAndTable(String var1) throws DBException, SQLException;
|
||||||
|
|
||||||
void deleteRecord(String paramString) throws DBException, SQLException;
|
void deleteRecord(String var1) throws DBException, SQLException;
|
||||||
|
|
||||||
List<Map<String, Object>> queryListData(String paramString);
|
List<Map<String, Object>> queryListData(String var1);
|
||||||
|
|
||||||
OnlCgformEnhanceJs queryEnhance(String paramString1, String paramString2);
|
OnlCgformEnhanceJs queryEnhance(String var1, String var2);
|
||||||
|
|
||||||
void saveEnhance(OnlCgformEnhanceJs paramOnlCgformEnhanceJs);
|
void saveEnhance(OnlCgformEnhanceJs var1);
|
||||||
|
|
||||||
void editEnhance(OnlCgformEnhanceJs paramOnlCgformEnhanceJs);
|
void editEnhance(OnlCgformEnhanceJs var1);
|
||||||
|
|
||||||
OnlCgformEnhanceSql queryEnhanceSql(String paramString1, String paramString2);
|
OnlCgformEnhanceSql queryEnhanceSql(String var1, String var2);
|
||||||
|
|
||||||
OnlCgformEnhanceJava queryEnhanceJava(OnlCgformEnhanceJava paramOnlCgformEnhanceJava);
|
OnlCgformEnhanceJava queryEnhanceJava(OnlCgformEnhanceJava var1);
|
||||||
|
|
||||||
List<OnlCgformButton> queryButtonList(String paramString, boolean paramBoolean);
|
List<OnlCgformButton> queryButtonList(String var1, boolean var2);
|
||||||
|
|
||||||
List<OnlCgformButton> queryButtonList(String paramString);
|
List<OnlCgformButton> queryButtonList(String var1);
|
||||||
|
|
||||||
List<String> queryOnlinetables();
|
List<String> queryOnlinetables();
|
||||||
|
|
||||||
void saveDbTable2Online(String paramString);
|
void saveDbTable2Online(String var1);
|
||||||
|
|
||||||
JSONObject queryFormItem(OnlCgformHead paramOnlCgformHead);
|
JSONObject queryFormItem(OnlCgformHead var1);
|
||||||
|
|
||||||
String saveManyFormData(String paramString1, JSONObject paramJSONObject, String paramString2) throws DBException, BusinessException;
|
String saveManyFormData(String var1, JSONObject var2, String var3) throws DBException, BusinessException;
|
||||||
|
|
||||||
Map<String, Object> queryManyFormData(String paramString1, String paramString2) throws DBException;
|
Map<String, Object> queryManyFormData(String var1, String var2) throws DBException;
|
||||||
|
|
||||||
List<Map<String, Object>> queryManySubFormData(String paramString1, String paramString2) throws DBException;
|
List<Map<String, Object>> queryManySubFormData(String var1, String var2) throws DBException;
|
||||||
|
|
||||||
Map<String, Object> querySubFormData(String paramString1, String paramString2) throws DBException;
|
Map<String, Object> querySubFormData(String var1, String var2) throws DBException;
|
||||||
|
|
||||||
String editManyFormData(String paramString, JSONObject paramJSONObject) throws DBException, BusinessException;
|
String editManyFormData(String var1, JSONObject var2) throws DBException, BusinessException;
|
||||||
|
|
||||||
int executeEnhanceJava(String paramString1, String paramString2, OnlCgformHead paramOnlCgformHead, JSONObject paramJSONObject) throws BusinessException;
|
int executeEnhanceJava(String var1, String var2, OnlCgformHead var3, JSONObject var4) throws BusinessException;
|
||||||
|
|
||||||
void executeEnhanceExport(OnlCgformHead paramOnlCgformHead, List<Map<String, Object>> paramList) throws BusinessException;
|
void executeEnhanceExport(OnlCgformHead var1, List<Map<String, Object>> var2) throws BusinessException;
|
||||||
|
|
||||||
void executeEnhanceList(OnlCgformHead paramOnlCgformHead, String paramString, List<Map<String, Object>> paramList) throws BusinessException;
|
void executeEnhanceList(OnlCgformHead var1, String var2, List<Map<String, Object>> var3) throws BusinessException;
|
||||||
|
|
||||||
void executeEnhanceSql(String paramString1, String paramString2, JSONObject paramJSONObject);
|
void executeEnhanceSql(String var1, String var2, JSONObject var3);
|
||||||
|
|
||||||
void executeCustomerButton(String paramString1, String paramString2, String paramString3) throws BusinessException;
|
void executeCustomerButton(String var1, String var2, String var3) throws BusinessException;
|
||||||
|
|
||||||
List<OnlCgformButton> queryValidButtonList(String paramString);
|
List<OnlCgformButton> queryValidButtonList(String var1);
|
||||||
|
|
||||||
OnlCgformEnhanceJs queryEnhanceJs(String paramString1, String paramString2);
|
OnlCgformEnhanceJs queryEnhanceJs(String var1, String var2);
|
||||||
|
|
||||||
void deleteOneTableInfo(String paramString1, String paramString2) throws BusinessException;
|
void deleteOneTableInfo(String var1, String var2) throws BusinessException;
|
||||||
|
|
||||||
List<String> generateCode(OnlGenerateModel paramOnlGenerateModel) throws Exception;
|
List<String> generateCode(OnlGenerateModel var1) throws Exception;
|
||||||
|
|
||||||
List<String> generateOneToMany(OnlGenerateModel paramOnlGenerateModel) throws Exception;
|
List<String> generateOneToMany(OnlGenerateModel var1) throws Exception;
|
||||||
|
|
||||||
void addCrazyFormData(String paramString, JSONObject paramJSONObject) throws DBException, UnsupportedEncodingException;
|
void addCrazyFormData(String var1, JSONObject var2) throws DBException, UnsupportedEncodingException;
|
||||||
|
|
||||||
void editCrazyFormData(String paramString, JSONObject paramJSONObject) throws DBException, UnsupportedEncodingException;
|
void editCrazyFormData(String var1, JSONObject var2) throws DBException, UnsupportedEncodingException;
|
||||||
|
|
||||||
Integer getMaxCopyVersion(String paramString);
|
Integer getMaxCopyVersion(String var1);
|
||||||
|
|
||||||
void copyOnlineTableConfig(OnlCgformHead paramOnlCgformHead) throws Exception;
|
void copyOnlineTableConfig(OnlCgformHead var1) throws Exception;
|
||||||
|
|
||||||
void initCopyState(List<OnlCgformHead> paramList);
|
void initCopyState(List<OnlCgformHead> var1);
|
||||||
|
|
||||||
void deleteBatch(String paramString1, String paramString2);
|
void deleteBatch(String var1, String var2);
|
||||||
|
|
||||||
void updateParentNode(OnlCgformHead paramOnlCgformHead, String paramString);
|
void updateParentNode(OnlCgformHead var1, String var2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\service\IOnlCgformHeadService.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+6
-11
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.service;
|
package com.jero.generater.modules.online.cgform.service;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
@@ -5,15 +6,9 @@ import java.util.List;
|
|||||||
import com.jero.generater.modules.online.cgform.entity.OnlCgformIndex;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformIndex;
|
||||||
|
|
||||||
public interface IOnlCgformIndexService extends IService<OnlCgformIndex> {
|
public interface IOnlCgformIndexService extends IService<OnlCgformIndex> {
|
||||||
void createIndex(String paramString1, String paramString2, String paramString3);
|
void createIndex(String var1, String var2, String var3);
|
||||||
|
|
||||||
boolean isExistIndex(String paramString);
|
boolean isExistIndex(String var1);
|
||||||
|
|
||||||
List<OnlCgformIndex> getCgformIndexsByCgformId(String paramString);
|
List<OnlCgformIndex> getCgformIndexsByCgformId(String var1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\service\IOnlCgformIndexService.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+4
-9
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.service;
|
package com.jero.generater.modules.online.cgform.service;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -7,13 +8,7 @@ import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
|||||||
import com.jero.generater.modules.online.config.exception.BusinessException;
|
import com.jero.generater.modules.online.config.exception.BusinessException;
|
||||||
|
|
||||||
public interface IOnlCgformSqlService {
|
public interface IOnlCgformSqlService {
|
||||||
void saveBatchOnlineTable(OnlCgformHead paramOnlCgformHead, List<OnlCgformField> paramList, List<Map<String, Object>> paramList1) throws BusinessException;
|
void saveBatchOnlineTable(OnlCgformHead var1, List<OnlCgformField> var2, List<Map<String, Object>> var3) throws BusinessException;
|
||||||
|
|
||||||
void saveOrUpdateSubData(String paramString, OnlCgformHead paramOnlCgformHead, List<OnlCgformField> paramList) throws BusinessException;
|
void saveOrUpdateSubData(String var1, OnlCgformHead var2, List<OnlCgformField> var3) throws BusinessException;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\service\IOnlCgformSqlService.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+2
-7
@@ -1,11 +1,6 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.service;
|
package com.jero.generater.modules.online.cgform.service;
|
||||||
|
|
||||||
public interface IOnlineBaseAPI {
|
public interface IOnlineBaseAPI {
|
||||||
String getOnlineErpCode(String paramString1, String paramString2);
|
String getOnlineErpCode(String var1, String var2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\service\IOnlineBaseAPI.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+8
-13
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
package com.jero.generater.modules.online.cgform.service;
|
package com.jero.generater.modules.online.cgform.service;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
@@ -8,17 +9,11 @@ import com.jero.generater.modules.online.cgform.entity.OnlCgformHead;
|
|||||||
import com.jero.generater.modules.online.cgform.model.OnlComplexModel;
|
import com.jero.generater.modules.online.cgform.model.OnlComplexModel;
|
||||||
|
|
||||||
public interface IOnlineService {
|
public interface IOnlineService {
|
||||||
OnlComplexModel queryOnlineConfig(OnlCgformHead paramOnlCgformHead);
|
OnlComplexModel queryOnlineConfig(OnlCgformHead var1);
|
||||||
|
|
||||||
JSONObject queryOnlineFormObj(OnlCgformHead paramOnlCgformHead, OnlCgformEnhanceJs paramOnlCgformEnhanceJs);
|
JSONObject queryOnlineFormObj(OnlCgformHead var1, OnlCgformEnhanceJs var2);
|
||||||
|
|
||||||
JSONObject queryOnlineFormObj(OnlCgformHead paramOnlCgformHead);
|
JSONObject queryOnlineFormObj(OnlCgformHead var1);
|
||||||
|
|
||||||
List<OnlCgformButton> queryFormValidButton(String paramString);
|
List<OnlCgformButton> queryFormValidButton(String var1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: C:\Users\syxy012\Desktop\hibernate-re-2.4.2.jar!\com.jero.generater.modules.online\cgform\service\IOnlineService.class
|
|
||||||
* Java compiler version: 8 (52.0)
|
|
||||||
* JD-Core Version: 1.1.3
|
|
||||||
*/
|
|
||||||
+4
-4
@@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
package org.jeecg.modules.online.cgform.service.impl;
|
package com.jero.generater.modules.online.cgform.service.impl;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
import org.jeecg.modules.online.cgform.entity.OnlCgformButton;
|
import com.jero.generater.modules.online.cgform.entity.OnlCgformButton;
|
||||||
import org.jeecg.modules.online.cgform.mapper.OnlCgformButtonMapper;
|
import com.jero.generater.modules.online.cgform.mapper.OnlCgformButtonMapper;
|
||||||
import org.jeecg.modules.online.cgform.service.IOnlCgformButtonService;
|
import com.jero.generater.modules.online.cgform.service.IOnlCgformButtonService;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
@Service("onlCgformButtonServiceImpl")
|
@Service("onlCgformButtonServiceImpl")
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user