Commit 877e301e by 阮思源

修改bug

parent a00ca20c
......@@ -311,12 +311,18 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
if (!ListUtils.isEmpty(group.getDescList())){
if (group.getDescList().size()>0){
group.setDesc1(group.getDescList().get(0));
}else {
group.setDesc1(null);
}
if (group.getDescList().size()>1){
group.setDesc2(group.getDescList().get(1));
}else {
group.setDesc2(null);
}
if (group.getDescList().size()>2){
group.setDesc3(group.getDescList().get(2));
}else {
group.setDesc3(null);
}
}
group.setRightsSettingId(rightsSettingId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment