|
@@ -184,15 +184,14 @@ public class BillIsolatedServiceImpl extends ServiceImpl<BillIsolatedMapper, Bil
|
|
|
BillIsolated isolation = this.getById(id);
|
|
|
isolation.setIsolatedPicUrl(content);
|
|
|
isolation.setIsolatedSch(2);
|
|
|
-
|
|
|
- EartagResult eartagCollection = EartagUtil.getEartagCollection(deaths);
|
|
|
- if (!eartagCollection.getSuccess()){
|
|
|
- return new Result(10001,eartagCollection.getMsg(),false);
|
|
|
- }
|
|
|
- List<String> eartagList = eartagCollection.getEartagList();
|
|
|
if ("1".equals(isDead)){
|
|
|
isolation.setIsDead(1);
|
|
|
isolation.setDeaths(deaths);
|
|
|
+ EartagResult eartagCollection = EartagUtil.getEartagCollection(deaths);
|
|
|
+ if (!eartagCollection.getSuccess()){
|
|
|
+ return new Result(10001,eartagCollection.getMsg(),false);
|
|
|
+ }
|
|
|
+ List<String> eartagList = eartagCollection.getEartagList();
|
|
|
for (String number : eartagList) {
|
|
|
BaseAnimal animal = baseAnimalMapper.selectOne(new QueryWrapper<BaseAnimal>().eq("earatg_no", number));
|
|
|
if (ObjectUtil.isEmpty(animal)){
|