|
@@ -328,8 +328,7 @@ public class CommonCostEvent extends BaseController {
|
|
|
CommonCostDO entity = commonCostService.findByInstanceId(flowInstanceId);
|
|
|
List<PostRespDTO> postList = postApi.getPostByUser(entity.getUserId()).getCheckedData();
|
|
|
Set<String> postCodes = convertSet(postList, PostRespDTO::getCode);
|
|
|
- postCodes.remove("jmfzr");
|
|
|
- if (entity != null && CollectionUtil.contains(postCodes, "bmjl")) {
|
|
|
+ if (entity != null && CollectionUtil.contains(postCodes, "bmjl") && !CollectionUtil.contains(postCodes, "jmfzr")) {
|
|
|
return "true";
|
|
|
}
|
|
|
return "false";
|