|
@@ -344,8 +344,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("sj");
|
|
|
- if (entity != null && (CollectionUtil.isEmpty(postCodes) || CollectionUtil.contains(postCodes, "user"))) {
|
|
|
+ if (entity != null && (CollectionUtil.isEmpty(postCodes) || CollectionUtil.contains(postCodes, "user")) && !CollectionUtil.contains(postCodes, "sj")) {
|
|
|
return "true";
|
|
|
}
|
|
|
return "false";
|