潘志宝
9 天以前 bdab69ab243b3f93c9bf9cbcd128bcfc4af216f8
iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmItemOutputServiceImpl.java
@@ -6,6 +6,7 @@
import com.iailab.module.model.mcs.pre.dto.MmItemOutputDTO;
import com.iailab.module.model.mcs.pre.entity.MmItemOutputEntity;
import com.iailab.module.model.mcs.pre.service.MmItemOutputService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
@@ -74,11 +75,11 @@
    }
    @Override
    public MmItemOutputEntity getByItemid(String itemid, String resultstr, Integer resultIndex) {
    public MmItemOutputEntity getByItemid(String itemid, String resultstr, String resultIndex) {
        QueryWrapper<MmItemOutputEntity> queryWrapper = new QueryWrapper<>();
        queryWrapper.eq("itemid", itemid)
                .eq("resultstr", resultstr)
                .eq("result_index", resultIndex);
                .eq(StringUtils.isNotBlank(resultIndex), "result_index", resultIndex);
        return mmItemOutputDao.selectOne(queryWrapper);
    }