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