From d1e3a87aad6f737394b33852d9496d673472ddbe Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期二, 16 五月 2023 18:19:17 +0800 Subject: [PATCH] 主要完成修改Class统一命名,与老平台命名一致,删除多余VOClass等。 --- Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeClassifyTemplateMapper.java | 76 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 76 insertions(+), 0 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeClassifyTemplateMapper.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeClassifyTemplateMapper.java new file mode 100644 index 0000000..2915e46 --- /dev/null +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeClassifyTemplateMapper.java @@ -0,0 +1,76 @@ +/* + * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the dreamlu.net developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * Author: Chill 搴勯獮 (smallchill@163.com) + */ +package com.vci.ubcs.code.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.vci.ubcs.code.entity.CodeClassifyTemplate; +import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; +import java.util.Map; + +/** + * 缂栫爜搴撳畾涔�-妯℃澘绠$悊 Mapper 鎺ュ彛 + * + * @author yuxc + * @since 2023-04-10 + */ +public interface CodeClassifyTemplateMapper extends BaseMapper<CodeClassifyTemplate> { + + /** + * 鑷畾涔夊垎椤� + * + * @param page + * @param plCodeClstemplate + * @return + */ + List<CodeClassifyTemplateVO> selectPlCodeClstemplatePage(IPage page, CodeClassifyTemplateVO plCodeClstemplate); + + /** + * 鑾峰彇鎵�鏈夊眰绾т笅绾х殑涓婚敭 + * + * @param oid + * @return + */ + List<String> selectAllLevelChildOid(@Param("oid") String oid); + + /** + * 鏍¢獙鏄惁鏈変笅绾ц妭鐐癸紝涓嶆牎楠屾槸鍚﹀叧鑱斾簡鏁版嵁 + * + * @param oid + * @return + */ + int countAllLevelChildOid(@Param("oid") String oid); + + /** + * 鏍¢獙鏄惁鏈変笅绾ц妭鐐癸紝涓嶆牎楠屾槸鍚﹀叧鑱斾簡鏁版嵁 + * + * @param nameoid + * @return + */ +// @MapKey("REVISIONSEQ") + Map<String,Object> getNextRevision(@Param("nameoid") String nameoid); + + List<CodeClassifyTemplate> selectCodeClassifyTemplateDOByTree(@Param("codeclassifyoid") String codeclassifyoid, + @Param("lcstatus") String lcstatus); + + List<Map<String,String>> selectChildHasReleaseTemplate(@Param("lcstatus") String lcstatus, + @Param("classifyoid") String classifyoid, + @Param("templatelcstatus") String templatelcstatus); +} -- Gitblit v1.9.3