1,修改用户管理展示岗位信息
2,修复提成比例数据格式为浮点型 3,修复修改提成比例时业务员展示 4,金额数字逢三位加逗号
This commit is contained in:
		| @@ -27,7 +27,7 @@ public class SysCommision extends BaseEntity { | ||||
|     private Long userId; | ||||
|  | ||||
|     /** | ||||
|      * 职位id | ||||
|      * 岗位id | ||||
|      */ | ||||
|     private Long postId; | ||||
|  | ||||
| @@ -37,7 +37,7 @@ public class SysCommision extends BaseEntity { | ||||
|     @Excel(name = "业务员") | ||||
|     private String userName; | ||||
|  | ||||
|     @Excel(name = "职位") | ||||
|     @Excel(name = "岗位") | ||||
|     private String postName; | ||||
|  | ||||
|     /** | ||||
| @@ -50,7 +50,7 @@ public class SysCommision extends BaseEntity { | ||||
|      * 分成比例 | ||||
|      */ | ||||
|     @Excel(name = "比例", suffix = "%") | ||||
|     private Long rate; | ||||
|     private Float rate; | ||||
|  | ||||
|     /** | ||||
|      * 提成 | ||||
| @@ -114,11 +114,11 @@ public class SysCommision extends BaseEntity { | ||||
|         return amount; | ||||
|     } | ||||
|  | ||||
|     public void setRate(Long rate) { | ||||
|     public void setRate(Float rate) { | ||||
|         this.rate = rate; | ||||
|     } | ||||
|  | ||||
|     public Long getRate() { | ||||
|     public Float getRate() { | ||||
|         return rate; | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user