管理员管理评分项问题处理
This commit is contained in:
parent
199b3584ac
commit
420b0f9a07
|
|
@ -22,6 +22,11 @@ public interface ExStandardMapper extends BaseMapper<ExStandard> {
|
|||
@Param("examineState") Integer examineState,
|
||||
@Param("examineId") String examineId);
|
||||
|
||||
/*部门个性评分标准*/
|
||||
List<ExStandard> standardListUnit(@Param("itemType") Integer itemType,
|
||||
@Param("examineState") Integer examineState,
|
||||
@Param("examineId") String examineId);
|
||||
|
||||
/*部门个性评分标准*/
|
||||
List<ExStandard> unitStandardList(@Param("itemType") Integer itemType,
|
||||
@Param("examineState") Integer examineState,
|
||||
|
|
|
|||
|
|
@ -38,6 +38,20 @@
|
|||
|
||||
</select>
|
||||
|
||||
|
||||
<!--部门普通评分标准-->
|
||||
<select id="standardListUnit" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
es.*,lf.`PerformClassName`
|
||||
FROM ex_standard es
|
||||
LEFT JOIN `listperform` lf ON es.`perform_id` = lf.`ListPerformId`
|
||||
WHERE es.`item_type` = #{itemType}
|
||||
AND es.`examine_state` = #{examineState}
|
||||
AND es.`examine_id` = #{examineId}
|
||||
ORDER BY es.`sort_id` ASC;
|
||||
|
||||
</select>
|
||||
|
||||
<!--部门普通评分标准-->
|
||||
<select id="unitStandardList" resultMap="BaseResultMap">
|
||||
|
||||
|
|
@ -54,7 +68,6 @@
|
|||
AND (es.`perform_id` = #{performId} OR es.`perform_id` IS NULL OR es.`perform_id` = '')
|
||||
ORDER BY es.`sort_id` ASC;
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -490,7 +490,7 @@ public class ExamineController extends BaseController{
|
|||
public MultiResult<ExStandard> standardListUnit(@Valid StandardListUnitDto standardListUnitDto)throws Exception{
|
||||
MultiResult<ExStandard> result = new MultiResult<>();
|
||||
//评分标准
|
||||
List<ExStandard> standards = exStandardMapper.unitStandardList(ExItemType.PERSONALITY.getType(),standardListUnitDto.getExamineState(),standardListUnitDto.getExamineId(),standardListUnitDto.getListperformid());
|
||||
List<ExStandard> standards = exStandardMapper.standardListUnit(ExItemType.PERSONALITY.getType(),standardListUnitDto.getExamineState(),standardListUnitDto.getExamineId());
|
||||
result.setData(standards);
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user