@@ -173,7 +173,7 @@
#{item.staffId}::uuid,
#{item.purviewCode},
#{item.flgNolimit},
- #{item.dataIds},
+ #{item.dataIds, typeHandler=UuidListTypeHandler},
#{item.cpId},
</trim>
)
@@ -85,7 +85,7 @@ public class Staff extends PageInfo<Staff> implements Serializable {
@Excel(name = "角色")
@ApiModelProperty(value = "角色")
@TableField(typeHandler = UuidListTypeHandler.class)
- private String roleIds;
+ private List<String> roleIds;
/**
@@ -68,7 +68,7 @@ public class StaffPurview extends PageInfo<StaffPurview> implements Serializable
@Excel(name = "数据ID")
@ApiModelProperty(value = "数据ID")
- private String dataIds;
+ private List<String> dataIds;
@@ -105,7 +105,7 @@ public class StaffVO extends PageInfo<StaffVO> implements Serializable {
*/
@ApiModelProperty(value = "员工状态list")
* 工厂ID
@@ -79,7 +79,6 @@ public class StaffService extends BaseService<Staff> {
public ResponseResultVO<?> insert(StaffVO staffVO) {
// 转化实体
Staff staff = staffConvert.convertToPo(staffVO);
-
return super.insert(staff);
}