|
|
@ -1,17 +1,25 @@
|
|
|
|
package com.hyp.web.controller.manager;
|
|
|
|
package com.hyp.web.controller.manager;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollUtil;
|
|
|
|
import cn.hutool.core.convert.Convert;
|
|
|
|
import cn.hutool.core.convert.Convert;
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
|
import com.hyp.common.core.domain.model.LoginUser;
|
|
|
|
import com.hyp.common.core.domain.model.LoginUser;
|
|
|
|
import com.hyp.common.utils.SecurityUtils;
|
|
|
|
import com.hyp.common.utils.SecurityUtils;
|
|
|
|
import com.hyp.common.utils.StringUtils;
|
|
|
|
import com.hyp.common.utils.StringUtils;
|
|
|
|
|
|
|
|
import com.hyp.system.domain.RewApplyInfoList;
|
|
|
|
|
|
|
|
import com.hyp.system.domain.RewFileRelation;
|
|
|
|
import com.hyp.system.domain.RewScoreInfo;
|
|
|
|
import com.hyp.system.domain.RewScoreInfo;
|
|
|
|
import com.hyp.system.domain.dto.ScoreInfoSaveDTO;
|
|
|
|
import com.hyp.system.domain.dto.ScoreInfoSaveDTO;
|
|
|
|
|
|
|
|
import com.hyp.system.domain.vo.ApplyInfoListVO;
|
|
|
|
|
|
|
|
import com.hyp.system.domain.vo.FileRelationVO;
|
|
|
|
import com.hyp.system.service.RewScoreInfoService;
|
|
|
|
import com.hyp.system.service.RewScoreInfoService;
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import java.util.Objects;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* packageName com.hyp.web.controller.manager
|
|
|
|
* packageName com.hyp.web.controller.manager
|
|
|
@ -51,4 +59,21 @@ public class ScoreInfoManager {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* 查询评分
|
|
|
|
|
|
|
|
* @param applyId
|
|
|
|
|
|
|
|
* @param createId
|
|
|
|
|
|
|
|
* @return java.util.List<com.hyp.system.domain.RewScoreInfo>
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<RewScoreInfo> getScoreInfo(String applyId,Long createId){
|
|
|
|
|
|
|
|
LambdaQueryWrapper<RewScoreInfo> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
|
|
|
|
|
queryWrapper.eq(RewScoreInfo::getApplyId,applyId);
|
|
|
|
|
|
|
|
queryWrapper.eq(Objects.nonNull(createId), RewScoreInfo::getCreateId, createId);
|
|
|
|
|
|
|
|
return scoreInfoService.list(queryWrapper);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|