Commit a9c6b7d0 by zhiwj

指标说明

parent 007522ca
......@@ -24,9 +24,9 @@ public class IndexModuleRelServiceImpl implements IndexModuleRelService {
@Override
public void save(Integer businessId, List<String> moduleIdList, Integer type) {
// 把所有关联status设置为0
tabIndexModuleRelMapper.delByBusinessId(businessId, type);
if (CollectionUtils.isNotEmpty(moduleIdList)) {
// 把所有关联status设置为0
tabIndexModuleRelMapper.delByBusinessId(businessId, type);
// 插入不存在的关联
for (String moduleId : moduleIdList) {
TabIndexModuleRel rel = new TabIndexModuleRel();
......
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