From 32b4f6188f32e6c08e813efa98a25d94eacdc0c6 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 02 四月 2024 09:32:29 +0800 Subject: [PATCH] Revert "新考核" --- ycl-server/src/main/java/com/ycl/platform/service/impl/TExamineScoreServiceImpl.java | 99 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 99 insertions(+), 0 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/platform/service/impl/TExamineScoreServiceImpl.java b/ycl-server/src/main/java/com/ycl/platform/service/impl/TExamineScoreServiceImpl.java new file mode 100644 index 0000000..49e197b --- /dev/null +++ b/ycl-server/src/main/java/com/ycl/platform/service/impl/TExamineScoreServiceImpl.java @@ -0,0 +1,99 @@ +package com.ycl.platform.service.impl; + +import com.ycl.platform.domain.entity.TExamineScore; +import com.ycl.platform.domain.vo.TExamineScoreVO; +import com.ycl.platform.mapper.TExamineScoreMapper; +import com.ycl.platform.service.ITExamineScoreService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import utils.DateUtils; + +import java.util.List; + +/** + * 鑰冩牳璁″垎Service涓氬姟灞傚鐞� + * + * @author ruoyi + * @date 2024-03-13 + */ +@Service +public class TExamineScoreServiceImpl implements ITExamineScoreService +{ + @Autowired + private TExamineScoreMapper tExamineScoreMapper; + + /** + * 鏌ヨ鑰冩牳璁″垎 + * + * @param id 鑰冩牳璁″垎涓婚敭 + * @return 鑰冩牳璁″垎 + */ + @Override + public TExamineScore selectTExamineScoreById(Long id) + { + return tExamineScoreMapper.selectTExamineScoreById(id); + } + + /** + * 鏌ヨ鑰冩牳璁″垎鍒楄〃 + * + * @param tExamineScore 鑰冩牳璁″垎 + * @return 鑰冩牳璁″垎 + */ + @Override + public List<TExamineScoreVO> selectTExamineScoreList(TExamineScore tExamineScore) + { + + + return tExamineScoreMapper.selectTExamineScoreList(tExamineScore); + } + + /** + * 鏂板鑰冩牳璁″垎 + * + * @param tExamineScore 鑰冩牳璁″垎 + * @return 缁撴灉 + */ + @Override + public int insertTExamineScore(TExamineScore tExamineScore) + { + tExamineScore.setCreateTime(DateUtils.getNowDate()); + return tExamineScoreMapper.insertTExamineScore(tExamineScore); + } + + /** + * 淇敼鑰冩牳璁″垎 + * + * @param tExamineScore 鑰冩牳璁″垎 + * @return 缁撴灉 + */ + @Override + public int updateTExamineScore(TExamineScore tExamineScore) + { + return tExamineScoreMapper.updateTExamineScore(tExamineScore); + } + + /** + * 鎵归噺鍒犻櫎鑰冩牳璁″垎 + * + * @param ids 闇�瑕佸垹闄ょ殑鑰冩牳璁″垎涓婚敭 + * @return 缁撴灉 + */ + @Override + public int deleteTExamineScoreByIds(Long[] ids) + { + return tExamineScoreMapper.deleteTExamineScoreByIds(ids); + } + + /** + * 鍒犻櫎鑰冩牳璁″垎淇℃伅 + * + * @param id 鑰冩牳璁″垎涓婚敭 + * @return 缁撴灉 + */ + @Override + public int deleteTExamineScoreById(Long id) + { + return tExamineScoreMapper.deleteTExamineScoreById(id); + } +} -- Gitblit v1.8.0