文档
测试

规则添加

POST
{{url_public}}/factor/rule/save/test

请求数据1

```json /** * 规则类型-: 1:未达标, 2:不合格, 3:按总得分计算绩效, 4:月度总结,合格度的得分算法 5:客户的等级,以下字段根据类型选择添加 */ private Integer type; /** * type: 1:金额数 2:不合格率, * */ private Float num; /** * type: 3:总分 4:签约客户数 * */ @ColumnType(column = "num_list", jdbcType = JdbcType.INTEGER, typeHandler = EntityJsonListTypeHandler.class) private List<Integer> numList; /** * 表示文字部分,type=3 绩效,type=5 名称 */ private String intro; /** * type=3提成比例 */ private Float commissionRatio; /** * type=4拜访任务占比 */ private Float visitRatio; /** * type=4签到任务占比 */ private Float signInRatio; /** * type=4日常任务占比 */ private Float dailyRatio; /** * 按照升序排序 */ private Integer sort; ``` ```json { "type":6, "num":100, "numList":[ 1, -1 ], "intro":"不及格", "commissionRatio":0.2, "visitRatio":0.11, "signInRatio":0.12, "dailyRatio":0.5, "sort":1 } ``` ```