|
|
@@ -329,12 +329,14 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
success = releaseProductByBatchDao.getCountPublisherUuAndBatchAndReleaseCode(userUU, batch, ReleaseStatus.success.value());
|
|
|
}
|
|
|
}
|
|
|
- String publish = publishByBatch(batch, isPcb);
|
|
|
+ if (!isAPerson && !isPcb) {
|
|
|
+ String publish = publishByBatch(batch, isPcb);
|
|
|
+ modelMap.put("publish", publish);
|
|
|
+ }
|
|
|
modelMap.put("total", total);
|
|
|
modelMap.put("success", success);
|
|
|
modelMap.put("failure", failure);
|
|
|
modelMap.put("filter", filter);
|
|
|
- modelMap.put("publish", publish);
|
|
|
return modelMap;
|
|
|
}
|
|
|
|