소스 검색

公告发送短信

wangliang 1 년 전
부모
커밋
6845aad7b5
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 12 0
      sop-business/src/main/java/com/qmth/sop/business/entity/TSJobRemind.java

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