教师月绩效考核-根据月份和教师自动获取一日流程得分

This commit is contained in:
zhanglipeng
2021-07-23 09:31:49 +08:00
parent 723e7e454e
commit 70d5ec51b8
3 changed files with 27 additions and 3 deletions

View File

@ -3,6 +3,7 @@ package com.ruoyi.project.benyi.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.benyi.mapper.ByTeacherassessmentMapper;
@ -38,6 +39,7 @@ public class ByTeacherassessmentServiceImpl implements IByTeacherassessmentServi
* @return 教师月绩效考核
*/
@Override
@DataScope(deptAlias = "a")
public List<ByTeacherassessment> selectByTeacherassessmentList(ByTeacherassessment byTeacherassessment) {
return byTeacherassessmentMapper.selectByTeacherassessmentList(byTeacherassessment);
}

View File

@ -46,6 +46,8 @@
<if test="wsbl != null ">and a.wsbl = #{wsbl}</if>
<if test="zfbl != null ">and a.zfbl = #{zfbl}</if>
</where>
<!-- 数据范围过滤 -->
${dataScope}
order by a.create_time desc
</select>