| | |
| | | import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.crm.system.entity.User; |
| | | import com.zy.crm.system.service.UserService; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | |
| | | this.ruleStandby2 = ruleStandby2; |
| | | } |
| | | |
| | | public String getRuleConnectorType$(){ |
| | | if (null == this.ruleConnectorType){ return null; } |
| | | switch (this.ruleConnectorType){ |
| | | case 1: |
| | | return "不启用"; |
| | | case 0: |
| | | return "启用"; |
| | | default: |
| | | return String.valueOf(this.ruleConnectorType); |
| | | } |
| | | } |
| | | |
| | | public String getRuleConnector$(){ |
| | | if (null == this.ruleConnectorType){ return null; } |
| | | switch (this.ruleConnector){ |
| | | case "-": |
| | | return "默认'-'"; |
| | | default: |
| | | return String.valueOf(this.ruleConnectorType); |
| | | } |
| | | } |
| | | |
| | | // Rule rule = new Rule( |
| | | // null, // 规则方式(默认1:当前日期时间戳)[非空] |
| | | // null, // 规则头[非空] |