更新了导出毒品计算Excel会因为重名报错的Bug
This commit is contained in:
+2
-6
@@ -172,7 +172,6 @@ public class SewageJobIdentificationMaterialServiceImpl extends ServiceImpl<Sewa
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public List<SewageJobIdentificationMaterial> getSewageJobIdentificationMaterialList(List<String> ids) {
|
||||
return this.list(Wrappers.<SewageJobIdentificationMaterial>query().in("id", ids));
|
||||
@@ -233,7 +232,6 @@ public class SewageJobIdentificationMaterialServiceImpl extends ServiceImpl<Sewa
|
||||
//获取送检联系人信息
|
||||
@Override
|
||||
public String getContactsInfo() {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -314,7 +312,7 @@ public class SewageJobIdentificationMaterialServiceImpl extends ServiceImpl<Sewa
|
||||
.in("id", ids));
|
||||
|
||||
materialList.stream().forEach(item -> {
|
||||
if (item.getStatus() != 1) {
|
||||
if (item.getStatus() != 0) {
|
||||
throw new RuntimeException("请勾选未提交的数据进行提交操作!");
|
||||
}
|
||||
item.setStatus(1);
|
||||
@@ -372,6 +370,4 @@ public class SewageJobIdentificationMaterialServiceImpl extends ServiceImpl<Sewa
|
||||
}
|
||||
return this.removeById(id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user