|
|
@ -2,6 +2,7 @@ package com.iflytop.uf.model; |
|
|
|
import com.iflytop.uf.UfActiveRecord; |
|
|
|
import com.iflytop.uf.UfActiveRecordField; |
|
|
|
import com.iflytop.uf.util.UfJsonHelper; |
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.Map; |
|
|
|
public class UfMdbNotification extends UfActiveRecord { |
|
|
|
@UfActiveRecordField |
|
|
@ -35,4 +36,9 @@ public class UfMdbNotification extends UfActiveRecord { |
|
|
|
notification.status = "new"; |
|
|
|
notification.save(); |
|
|
|
} |
|
|
|
|
|
|
|
// notify action |
|
|
|
public static void action( String action ) { |
|
|
|
UfMdbNotification.action(action, new HashMap<>()); |
|
|
|
} |
|
|
|
} |