wangliang 1 год назад
Родитель
Сommit
6845aad7b5

+ 12 - 0
sop-business/src/main/java/com/qmth/sop/business/entity/TSJobRemind.java

@@ -71,6 +71,18 @@ public class TSJobRemind implements Serializable {
 
     }
 
+    public TSJobRemind(JobQuartzTypeEnum type, String code, Long objId, String objName, JobTypeEnum remindType, Long userId) {
+        this.id = SystemConstant.getDbUuid();
+        this.type = type;
+        this.code = code;
+        this.objId = objId;
+        this.objName = objName;
+        this.remindType = remindType;
+        this.createId = userId;
+        this.createTime = System.currentTimeMillis();
+        this.enable = true;
+    }
+
     public TSJobRemind(JobQuartzTypeEnum type, String code, Long objId, String objName, JobTypeEnum remindType, Long receiveUserId, FlowApproveOperationEnum approveOperation, Long userId) {
         this.id = SystemConstant.getDbUuid();
         this.type = type;