|
@@ -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;
|