From 76d35b42e1cdc5485e5dee222299237151a4693d Mon Sep 17 00:00:00 2001 From: "castle.zang" Date: Sun, 30 Oct 2022 10:53:06 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=8A=A8=E6=80=81form=20+=20ptl=5Fpcn?= =?UTF-8?q?=E4=BA=AE=E7=81=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pojo/base/enumutil/BlockFormEnumUtil.java | 5 +++- .../estsh/i3plus/pojo/form/bean/BfDataObject.java | 4 +++ .../cn/estsh/i3plus/pojo/ptl/bean/PtlControl.java | 6 ++++- .../i3plus/pojo/ptl/model/WhLightOnModel.java | 29 ++++++++++++++++++++++ 4 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 modules/i3plus-pojo-ptl/src/main/java/cn/estsh/i3plus/pojo/ptl/model/WhLightOnModel.java diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/BlockFormEnumUtil.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/BlockFormEnumUtil.java index 2cf1636..e1d463d 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/BlockFormEnumUtil.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/BlockFormEnumUtil.java @@ -20,7 +20,8 @@ public class BlockFormEnumUtil { public enum FORM_TABLE_TYPE { TABLE(1, "TABLE", "表"), VIEW(2, "VIEW", "视图"), - PROCEDURE(3, "PROCEDURE", "存储过程"); + PROCEDURE(3, "PROCEDURE", "存储过程"), + CUSTOM(4, "CUSTOM", "自定义对象"); private int value; private String code; @@ -2799,4 +2800,6 @@ public class BlockFormEnumUtil { } } + + } diff --git a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfDataObject.java b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfDataObject.java index 917912c..466e47a 100644 --- a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfDataObject.java +++ b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfDataObject.java @@ -75,6 +75,10 @@ public class BfDataObject extends BaseBean { @ApiParam(value ="描述") private String objectDescription; + @Column(name="DATA_OBJECT_TYPE") + @ApiParam(value ="对象类型") + private Integer dataObjectType; + @Transient @ApiParam(value = "数据对象属性") @AnnoOutputColumn(hidden = true) diff --git a/modules/i3plus-pojo-ptl/src/main/java/cn/estsh/i3plus/pojo/ptl/bean/PtlControl.java b/modules/i3plus-pojo-ptl/src/main/java/cn/estsh/i3plus/pojo/ptl/bean/PtlControl.java index 8eeef68..ba1c78a 100644 --- a/modules/i3plus-pojo-ptl/src/main/java/cn/estsh/i3plus/pojo/ptl/bean/PtlControl.java +++ b/modules/i3plus-pojo-ptl/src/main/java/cn/estsh/i3plus/pojo/ptl/bean/PtlControl.java @@ -66,6 +66,10 @@ public class PtlControl extends BaseBean implements Serializable { public transient Integer lockVersion; @Column(name = "BACKOFF") - @ApiParam("是否需要回调") + @ApiParam("是否需要回调--废弃,使用不同的策略") private Integer backoff; + + @Column(name = "BACK_NAME") + @ApiParam("回调类--反射获取调用execute方法") + private String backName; } diff --git a/modules/i3plus-pojo-ptl/src/main/java/cn/estsh/i3plus/pojo/ptl/model/WhLightOnModel.java b/modules/i3plus-pojo-ptl/src/main/java/cn/estsh/i3plus/pojo/ptl/model/WhLightOnModel.java new file mode 100644 index 0000000..492f26b --- /dev/null +++ b/modules/i3plus-pojo-ptl/src/main/java/cn/estsh/i3plus/pojo/ptl/model/WhLightOnModel.java @@ -0,0 +1,29 @@ +package cn.estsh.i3plus.pojo.ptl.model; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Description : + * @Reference : + * @Author : Castle + * @CreateDate : 2022/10/12 14:54 + * @Modify: + **/ +@Data +@ApiModel(value = "mes-pcn调用亮灯接口") +public class WhLightOnModel { + + @ApiModelProperty(value = "工厂") + private String organizeCode; + + @ApiModelProperty(value = "总成物料号") + private String partNo; + + @ApiModelProperty(value = "亮灯区域") + private String areaNo; + + @ApiModelProperty(value = "操作员") + private String userName; +} From 27b8c1133ef9c2a6123480b3429b6036d777bdd0 Mon Sep 17 00:00:00 2001 From: yanyujia <3406185119@qq.com> Date: Tue, 22 Nov 2022 17:03:08 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=9C=80=E8=A6=81=E7=9A=84=E6=9E=9A=E4=B8=BE?= =?UTF-8?q?=E5=92=8C=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../i3plus/pojo/base/enumutil/CommonEnumUtil.java | 60 ++++++++++++++++++++++ .../pojo/model/platform/UserDetailModel.java | 3 ++ .../estsh/i3plus/pojo/platform/bean/SysUser.java | 20 ++++++++ 3 files changed, 83 insertions(+) diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/CommonEnumUtil.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/CommonEnumUtil.java index c2c8157..0a61ed0 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/CommonEnumUtil.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/CommonEnumUtil.java @@ -576,6 +576,66 @@ public class CommonEnumUtil { } /** + * 用户状态 + * 1.长时间未登录锁定 + * 2.登录失败次数过多锁定 + * 3.管理员手动锁定 + */ + @JsonFormat(shape = JsonFormat.Shape.OBJECT) + public enum LOCK_TYPE { + + NOT_LOGGED_A_LONG_TIME(1, "not logger a long time", "长时间未登录锁定"), + LOGGER_TOO_MANY_FAILURES(2, "logger too many failures", "登录失败次数过多锁定"), + ADMIN_HAND_MOVEMENT_LOCKING(3, "admin hand movement locking", "管理员手动锁定"); + + private int value; + private String code; + private String description; + + private LOCK_TYPE(int value, String code, String description) { + this.value = value; + this.code = code; + this.description = description; + } + + public int getValue() { + return value; + } + + public String getDescription() { + return description; + } + + public String getCode() { + return code; + } + + public static String valueOf(int val) { + String tmp = null; + for (int i = 0; i < values().length; i++) { + if (values()[i].value == val) { + tmp = values()[i].description; + } + } + return tmp; + } + + public static String valueOfDescription(int val) { + return valueOf(val); + } + + public static int descOf(String desc) { + int tmp = 1; + for (int i = 0; i < values().length; i++) { + if (values()[i].description.equals(desc)) { + tmp = values()[i].value; + } + } + return tmp; + } + } + + /** * 数据类型 * 1库存移动数据 * 2质检数据 diff --git a/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/platform/UserDetailModel.java b/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/platform/UserDetailModel.java index c747c11..108ea04 100644 --- a/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/platform/UserDetailModel.java +++ b/modules/i3plus-pojo-model/src/main/java/cn/estsh/i3plus/pojo/model/platform/UserDetailModel.java @@ -179,6 +179,9 @@ public class UserDetailModel extends BaseBean { @ApiParam(value = "账号类型") private String userAccountType; + @ApiParam(value ="密码是否过期(枚举:1是,2否)" , example ="-1") + private Integer userPasswordOverdue; + public SysUser getSysUser(){ SysUser user = new SysUser(); diff --git a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUser.java b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUser.java index 0353f26..fd2f42a 100644 --- a/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUser.java +++ b/modules/i3plus-pojo-platform/src/main/java/cn/estsh/i3plus/pojo/platform/bean/SysUser.java @@ -110,6 +110,26 @@ public class SysUser extends BaseBean { @Column(name = "USER_ACCOUNT_TYPE") @ApiParam(value = "用户账号类型") private String userAccountType; + + @Column(name = "LOCK_TYPE") + @ApiParam(value = "锁定状态(枚举:1用户长时间未登录锁定,2登录失败次数过多锁定,3管理员手动锁定)", example = "-1") + private Integer lockType; + + @Column(name = "AUTO_UNLOCK_NUM") + @ApiParam(value = "自动解锁次数(大于三次账号将锁定)", example = "0") + private Integer autoUnlockNum; + + @Column(name = "MODIFY_PWD_NUM") + @ApiParam(value = "修改密码的次数", example = "0") + private Integer modifyPwdNum; + + @Column(name = "USER_PASSWORD_OVERDUE") + @ApiParam(value = "密码是否过期", example = "-1") + private Integer userPasswordOverdue; + + @Column(name = "RESET_PASSWORD_TIME") + @ApiParam(value = "重置密码的时间") + private String resetPasswordTime; /********************************** 关系信息 ********************************/ @Column(name = "DEPARTMENT_ID") From 1b8347db894173090b1db46e3bc079b6d08860bf Mon Sep 17 00:00:00 2001 From: "castle.zang" Date: Mon, 5 Dec 2022 13:34:29 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E5=8A=A8=E6=80=81=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=8E=9F=E7=94=9Fsql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pojo/base/enumutil/BlockFormEnumUtil.java | 177 +++++++++++++++++++++ .../cn/estsh/i3plus/pojo/form/bean/BfButton.java | 8 + .../pojo/form/bean/BfDataObjectProperty.java | 3 + .../cn/estsh/i3plus/pojo/form/bean/BfElement.java | 83 ++++++---- 4 files changed, 240 insertions(+), 31 deletions(-) diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/BlockFormEnumUtil.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/BlockFormEnumUtil.java index e1d463d..1c6f611 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/BlockFormEnumUtil.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/BlockFormEnumUtil.java @@ -12,6 +12,182 @@ import java.util.Objects; * @Modify: **/ public class BlockFormEnumUtil { + /** + * common普通操作,不执行脚本 + */ + @JsonFormat(shape = JsonFormat.Shape.OBJECT) + public enum FORM_SCRIPT_TYPE { + SAVE(1, "save", "保存"), + UPDATE(2, "update", "更新"), + DELETE(3, "delete", "删除"), + QUERY(4, "query", "查询"), + EXPORT(5, "export", "导出"), + IMPORT(6, "import", "导入"), + COMMON(7,"common","普通操作"); + + private int value; + private String type; + private String description; + + FORM_SCRIPT_TYPE(int value, String type, String description) { + this.value = value; + this.type = type; + this.description = description; + } + + public int getValue() { + return value; + } + + public String getCode() { + return type; + } + + public String getDescription() { + return description; + } + + public static String valueOfCode(int val) { + String tmp = null; + for (int i = 0; i < values().length; i++) { + if (values()[i].value == val) { + tmp = values()[i].type; + } + } + return tmp; + } + + public static int codeOfValue(String code) { + int tmp = 1; + for (int i = 0; i < values().length; i++) { + if (values()[i].type.toLowerCase().equals(code.toLowerCase())) { + tmp = values()[i].value; + } + } + return tmp; + } + + public static String valueOfDescription(int val) { + String tmp = null; + for (int i = 0; i < values().length; i++) { + if (values()[i].value == val) { + tmp = values()[i].description; + } + } + return tmp; + } + + public static FORM_SCRIPT_TYPE valueOf(int val) { + for (int i = 0; i < values().length; i++) { + if (values()[i].value == val) { + return values()[i]; + } + } + return null; + } + + public static String codeOfDescription(String code) { + String tmp = null; + for (int i = 0; i < values().length; i++) { + if (values()[i].type.equals(code)) { + tmp = values()[i].description; + } + } + return tmp; + } + } + + /** + * 选择执行脚本的位置 + */ + @JsonFormat(shape = JsonFormat.Shape.OBJECT) + public enum FORM_SCRIPT_FUN_TYPE { + BEFORE_SAVE(1, "beforeSave", "保存前执行"), + AFTER_SAVE(2, "afterSave", "保存后执行"), + BEFORE_UPDATE(3, "beforeUpdate", "更新前执行"), + AFTER_UPDATE(4, "afterUpdate", "更新后执行"), + BEFORE_DELETE(5, "beforeDelete", "删除前执行"), + AFTER_DELETE(6, "afterDelete", "删除后执行"), + BEFORE_QUERY(7, "beforeQuery", "查询前执行"), + AFTER_QUERY(8, "afterQuery", "查询后执行"), + BEFORE_EXPORT(9, "beforeExport", "导出前执行"), + AFTER_EXPORT(10, "afterExport", "导出后执行"), + BEFORE_IMPORT(11, "beforeImport", "导入前执行"), + AFTER_IMPORT(12, "afterImport", "导入后执行"); + + + private int value; + private String funName; + private String description; + + FORM_SCRIPT_FUN_TYPE(int value, String funName, String description) { + this.value = value; + this.funName = funName; + this.description = description; + } + + public int getValue() { + return value; + } + + public String getCode() { + return funName; + } + + public String getDescription() { + return description; + } + + public static String valueOfCode(int val) { + String tmp = null; + for (int i = 0; i < values().length; i++) { + if (values()[i].value == val) { + tmp = values()[i].funName; + } + } + return tmp; + } + + public static int codeOfValue(String code) { + int tmp = 1; + for (int i = 0; i < values().length; i++) { + if (values()[i].funName.toLowerCase().equals(code.toLowerCase())) { + tmp = values()[i].value; + } + } + return tmp; + } + + public static String valueOfDescription(int val) { + String tmp = null; + for (int i = 0; i < values().length; i++) { + if (values()[i].value == val) { + tmp = values()[i].description; + } + } + return tmp; + } + + public static FORM_SCRIPT_FUN_TYPE valueOf(int val) { + String tmp = null; + for (int i = 0; i < values().length; i++) { + if (values()[i].value == val) { + return values()[i]; + } + } + return null; + } + + public static String codeOfDescription(String code) { + String tmp = null; + for (int i = 0; i < values().length; i++) { + if (values()[i].funName.equals(code)) { + tmp = values()[i].description; + } + } + return tmp; + } + } /** * 原数据类型 @@ -1916,6 +2092,7 @@ public class BlockFormEnumUtil { */ @JsonFormat(shape = JsonFormat.Shape.OBJECT) public enum BUTTON_TRIGGER_EFFECT { + SCRIPT(60,"SCRIPT","执行脚本"), DIALOG(10, "DIALOG", "弹出窗口"), NEW_WINDOW(20, "NEW_WINDOW", "新开窗口"), SQL(30, "SQL", "执行SQL"), diff --git a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfButton.java b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfButton.java index 11a0bcf..b98f62f 100644 --- a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfButton.java +++ b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfButton.java @@ -74,4 +74,12 @@ public class BfButton extends BaseBean { @Column(name = "BUTTON_DESCRIPTION") @ApiParam(value = "按钮描述") private String buttonDescription; + + @Column(name = "FUN_NAME") + @ApiParam(value = "groovy脚本时的方法名") + private String funName; + + @Column(name = "SCRIPT_NO") + @ApiParam(value = "脚本No") + private String scriptNo; } diff --git a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfDataObjectProperty.java b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfDataObjectProperty.java index e919715..85ed9ec 100644 --- a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfDataObjectProperty.java +++ b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfDataObjectProperty.java @@ -125,6 +125,9 @@ public class BfDataObjectProperty extends BaseBean { @ApiParam(value ="属性描述") private String propertyDescription; + @Column(name = "REF_TABLE_NAME") + @ApiParam(value ="字段来源的表名--可空,如果自定义对象不可空") + private String refTableName; @Transient @ApiParam(value ="默认查询条件") private Integer objectColumnCustomWhere; diff --git a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfElement.java b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfElement.java index 20b7111..ca2cb6f 100644 --- a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfElement.java +++ b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfElement.java @@ -54,27 +54,27 @@ public class BfElement extends BaseBean { @JsonSerialize(using = ToStringSerializer.class) private Long elementPropertyPrimaryKey; - @Column(name="ELEMENT_PROPERTY_PRIMARY_KEY_NAME_RDD") - @ApiParam(value ="元素主键Key名称") + @Column(name = "ELEMENT_PROPERTY_PRIMARY_KEY_NAME_RDD") + @ApiParam(value = "元素主键Key名称") private String elementPropertyPrimaryKeyNameRdd; - @Column(name="ELEMENT_TYPE") - @ApiParam(value ="元素类型") + @Column(name = "ELEMENT_TYPE") + @ApiParam(value = "元素类型") private Integer elementType; - @Column(name="ELEMENT_NAME") - @ApiParam(value ="元素名称") + @Column(name = "ELEMENT_NAME") + @ApiParam(value = "元素名称") private String elementName; - @Column(name="ELEMENT_CODE") - @ApiParam(value ="元素编码") + @Column(name = "ELEMENT_CODE") + @ApiParam(value = "元素编码") private String elementCode; @Column(name = "IS_OBJECT_ADD") @ApiParam(value = "是否新增") private Integer isObjectAdd; - public boolean isObjectAdd(){ + public boolean isObjectAdd() { return isObjectAdd != null && isObjectAdd == BlockFormEnumUtil.ELEMENT_ADD_STATUS.ON.getValue(); } @@ -82,7 +82,7 @@ public class BfElement extends BaseBean { @ApiParam(value = "是否编辑") private Integer isObjectEdit; - public boolean isObjectEdit(){ + public boolean isObjectEdit() { return isObjectEdit != null && isObjectEdit == BlockFormEnumUtil.ELEMENT_EDIT_STATUS.ON.getValue(); } @@ -90,7 +90,7 @@ public class BfElement extends BaseBean { @ApiParam(value = "是否删除") private Integer isObjectDel; - public boolean isObjectDel(){ + public boolean isObjectDel() { return isObjectDel != null && isObjectDel == BlockFormEnumUtil.ELEMENT_DEL_STATUS.ON.getValue(); } @@ -98,11 +98,11 @@ public class BfElement extends BaseBean { @ApiParam(value = "是否弱删除") private Integer isObjectDelWeak; - public boolean isObjectDelWeak(){ + public boolean isObjectDelWeak() { return isObjectDelWeak != null && isObjectDelWeak == BlockFormEnumUtil.ELEMENT_DELETE_WEAK_STATUS.ON.getValue(); } - public Integer getIsObjectDelWeakVal(){ + public Integer getIsObjectDelWeakVal() { return isObjectDelWeak == null ? BlockFormEnumUtil.ELEMENT_DELETE_WEAK_STATUS.OFF.getValue() : isObjectDelWeak.intValue(); } @@ -114,11 +114,11 @@ public class BfElement extends BaseBean { @ApiParam(value = "是否有效") private Integer isObjectValid; - public Integer getIsObjectValidVal(){ + public Integer getIsObjectValidVal() { return isObjectValid == null ? BlockFormEnumUtil.ELEMENT_VALID_STATUS.OFF.getValue() : isObjectValid.intValue(); } - public boolean isObjectValid(){ + public boolean isObjectValid() { return isObjectValid != null && isObjectValid == BlockFormEnumUtil.ELEMENT_VALID_STATUS.ON.getValue(); } @@ -130,13 +130,14 @@ public class BfElement extends BaseBean { @ApiParam(value = "是否组织隔离") private Integer isOrganizeIsolation; - public Integer getIsOrganizeIsolationVal(){ + public Integer getIsOrganizeIsolationVal() { return isOrganizeIsolation == null ? BlockFormEnumUtil.ELEMENT_ORGANIZE_ISOLATION_STATUS.OFF.getValue() : isOrganizeIsolation.intValue(); } - public boolean isOrganizeIsolation(){ + public boolean isOrganizeIsolation() { return isOrganizeIsolation != null && isOrganizeIsolation == BlockFormEnumUtil.ELEMENT_ORGANIZE_ISOLATION_STATUS.ON.getValue(); } + @Column(name = "ELEMENT_ORGANIZE_ISOLATION_ATTR_ID") @ApiParam(value = "组织隔离属性id") private Long elementOrganizeIsolationAttrId; @@ -158,33 +159,53 @@ public class BfElement extends BaseBean { @ApiParam(value = "是否导入") private Integer isObjectImport; - @Column(name="ELEMENT_SORT_ATTR_ID") - @ApiParam(value ="默认排序属性") + @Column(name = "ELEMENT_SORT_ATTR_ID") + @ApiParam(value = "默认排序属性") @JsonSerialize(using = ToStringSerializer.class) private Long elementSortAttrId; - @Column(name="ELEMENT_SORT_ATTR_CODE_RDD") - @ApiParam(value ="默认排序属性名称") + @Column(name = "ELEMENT_SORT_ATTR_CODE_RDD") + @ApiParam(value = "默认排序属性名称") private String elementSortAttrCodeRdd; - @Column(name="ELEMENT_SORT_ATTR_TYPE") - @ApiParam(value ="默认排序规则") + @Column(name = "ELEMENT_SORT_ATTR_TYPE") + @ApiParam(value = "默认排序规则") private Integer elementSortAttrType; -// @Lob - @Column(name="ELEMENT_CSS_STYLE") - @ApiParam(value ="元素样式") + // @Lob + @Column(name = "ELEMENT_CSS_STYLE") + @ApiParam(value = "元素样式") private String elementCssStyle; -// @Lob - @Column(name="ELEMENT_FORMATTER") - @ApiParam(value ="元素格式化") + // @Lob + @Column(name = "ELEMENT_FORMATTER") + @ApiParam(value = "元素格式化") private String elementFormatter; - @Column(name="ELEMENT_DESCRIPTION") - @ApiParam(value ="元素描述") + @Column(name = "ELEMENT_DESCRIPTION") + @ApiParam(value = "元素描述") private String elementDescription; + /** + * 自定义元素 + * 1: true,只能查询 + * 2: false,普通元素,支持所有操作 + */ + @Column(name = "CUSTOM_ELEMENT") + @ApiParam(value = "自定义元素") + private Integer customElement; + + /** + * BlockFormEnumUtil.FORM_SCRIPT_FUN_TYPE 取值,用逗号隔开 + */ + @Column(name = "SCRIPT_EXECUTE_POSITION") + @ApiParam(value = "执行脚本的位置,取值为枚举") + private String scriptExecutePosition; + + @Column(name = "SCRIPT_NO") + @ApiParam(value = "脚本No") + private String scriptNo; + @Transient @ApiParam(value = "数据对象") private BfDataObject dataObject; From f1cbc90bd1d7afcd3df460ac617c1cc899446892 Mon Sep 17 00:00:00 2001 From: "castle.zang" Date: Wed, 7 Dec 2022 09:21:59 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E5=8D=87=E7=BA=A7shiro=201.4.0=20=E5=88=B0?= =?UTF-8?q?1.10.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 478033a..f75494e 100644 --- a/pom.xml +++ b/pom.xml @@ -166,7 +166,7 @@ org.apache.shiro shiro-core - 1.4.0 + 1.10.1 From facd1a4ee42604e0cf594d8e9d4150228ae4188f Mon Sep 17 00:00:00 2001 From: "zhang.xw" Date: Wed, 7 Dec 2022 20:49:34 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E6=8C=89=E5=88=9B=E5=BB=BA=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=80=92=E5=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/estsh/i3plus/pojo/softswitch/sqlpack/SoftSwitchHqlPack.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/sqlpack/SoftSwitchHqlPack.java b/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/sqlpack/SoftSwitchHqlPack.java index 021e734..3f01cd0 100644 --- a/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/sqlpack/SoftSwitchHqlPack.java +++ b/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/sqlpack/SoftSwitchHqlPack.java @@ -403,7 +403,7 @@ public class SoftSwitchHqlPack { DdlPreparedPack.getStringEqualPack(suitCaseCode,"suitCaseCodeRdd",ddlPackBean); DdlPreparedPack.getNumEqualPack(processState,"processState",ddlPackBean); - DdlPreparedPack.getOrderByPack(new Object[]{CommonEnumUtil.ASC_OR_DESC.DESC.getValue()},new String[]{"getDateTime"},ddlPackBean); + DdlPreparedPack.getOrderByPack(new Object[]{CommonEnumUtil.ASC_OR_DESC.DESC.getValue()},new String[]{"createDatetime"},ddlPackBean); return ddlPackBean; }